Skip to Content
0
Mar 25, 2015 at 07:56 AM

LSMW with header and item data in the same file without identifier

1672 Views

Hi Gurus,

This may sound as a repeated question. But my problem is that I am receving the data in the below format.

Header Fields Item Fields

--------------------- ---------------------------

F1 F2 F3 F4 F5 F6

1 2 3 10 B C

1 2 3 20 X Y

2 4 6 10 U V

2 4 6 20 U V

............

Header Fields are repeating in case of multiple items.

I can handle the aceario via two files, one for header and another for item. Also via a single file where we have header and items provided separately in the file with an identifier('H' for Header and 'I' for Item).But user is not agreeing on these file formats.

File Format provided to us is provided above. It is easy to handle it via BDC, but i have identified the standard object and its method in LSMW which can handle this. But I am finding it difficult to handle this file in LSMW.

My question is how to segregate the transactions in LSMW for such files.

Thanks In Advance for the replies.

Warm Regards,

Raveesh