Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

LSMW Recording method for T.Code FB70

Former Member
0 Kudos
372

Hi,

I have a single flat file with header and line items where in the header data is repeated for each line item.Could anybody suggest me how to do the recording for this requirement in lsmw.And how to declare the structure in lsmw.

Please help me out.

regards,

jaya

1 REPLY 1

Former Member
0 Kudos
146

Hi,

I would suggest the use of BAPI instead of LSMW for transactions like FB70. The main reason being, it is a bit difficult to deal with table control in recording.

In LSMW you have to create 2 source structures one for header and the other for line items. For this in step 2 of LSMW create header first and then create the structure for line items at a lower level(u wll get the option). While doing the recording use Page down icons to input data in next line.

Regards,

Aby