cancel
Showing results for 
Search instead for 
Did you mean: 

splitting in LSMW

Former Member
0 Kudos

I have data for header and item in PP BOM tcode CS01

How can I make a LSMW for this to transfer the data.

any other method for the same.

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member183994
Active Participant
0 Kudos

use lsmw, bapi method, business object BUS1080, method CREATEBOMGROUP

to see which structures you should fill, ask the consultant to create manually a BOM via CS01, then run sxda transaction, goto/dx-tools

object type = bus1080, program type = bapi, program, CREATEBOMGROUP, file type = p physical file name, file name = <fill in an appropriate file name, say bom.txt> and press From test program pushbutton. Enter LSMW in logical system pop-up and run report entering criteria for bom created earlier. This will create in the above file name the bom in idoc format. Then, you can display the contents of file and see which value will have to be set in each field, in lsmw 'Maintain field mapping' step

Former Member
0 Kudos

specify two structures in second step of the lsmw , in first header details, and in second item details , and also define fields seperately for each structure.

like this u can continue.

ne issues just ping.

Thanks

Former Member
0 Kudos

Can u please explain in steps .

I have done the recording in 1st step then after word .

how can make differtent strs in 2nd step.

thanx

.