Background
I this Blog I will show simple way to upload BOM to SAP with multi structures like sub-items or/and long text using excel generating flat files , the following approach can be alternative to LSMW for this usage .
Download here excel VBA based spreadsheet which generates flat files ready to be uploaded to SAP Standard Batch Input program for creating BOM with or without long texts ,This can save development of designated ABAP programs which writes data to a sequential file in the format required by the ABAP programs (RCSBI010 ,RCSBI020 ,RCSBI040)
Create BOM
This spreadsheet support transactions :
- IB01 for equipment BOMs
- CS01 for material BOMs
- IB11 for functional location BOMs
- CS51 for standard BOMs
- CV11 for document structures
Pre Requisition : Logical File
The BOM crate Programs required to palace the flat file in the Application server , therefore Goto Transaction FILE ( This step is required just for create BOM )
Maintain in the Physical name : BOM_CREATE
Prodcedure
step 1 : Download the BOM tool here
Step 2 : Enables Macros in the Excel menu
Step 3 : Create template using structures (BGR00,BICSK,BICSP..) - choose just the relevant fields .
Step 4 : Fill the BOM header and items data and press Execute in the Excel ribbon button
Step 6 : Upload the flat file generated at step 3 to the application server with transaction CG3Z
the target file name is : BOM CREATE , the source file is the flat file that was genarated in step 4.
Step 7 : Run Transaction OS41 , Fill Logical File name : CS_BI_BOM_CRATE
See the program log and check SAP in transaction CS02
lets check in transaction CS02 that the BOM was created correctly
Change BOM
Using program RCSBI020 - Change BOMs using Batch Inputl
no need to upload the flat file to the application server in the change program you can directly upload the flat file from the presentation server ( your PC ) in transaction OS43
This spreadsheet support transactions :
- IB02 for equipment BOMs
- CS02 for material BOMs
- IB12 for functional location BOMs
- CS52 for standard BOMs
- CV12 for document structures
Generate the Flat File
Upload the file in tcode OS43
After the BOM Change
Best Regards
Ziv