Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

LSMW - ME21 How to map multiple line items

Hi all,

I am using LSMW tool with batch input recording technique to create POs via ME21. I have defined source structures as HEAD with POSI as its subordianted structure. This settings worked perfectly for one single item line. However, it created a new transaction for each line item in the file. I did some searches in this forum and I noticed that someone suggested to dynamically set the line positon at the processing points. I tried a few times and could not get it work. Anyone knows how to map multiple items in LSMW, please help.

Here is part of my recording:

EKPO-EMATN(01) 000995NM

EKPO-MENGE(01) 1 RM06E-EEIND(01) 2006.04.27 EKPO-NETPR(01) 10 EKPO-WERKS(01) 0001 EKPO-LGORT(01) 0001

My input file looks like this:

H 77777400 NB2006.05.140001001T

L000995NM00000000052006.05.15 1000010001CAON

L000998NM00000000052006.05.15 1000010001CAON

H 77777400 NB2006.05.140001001T

L000995NM00000000052006.05.15 1000010001CAON

Thanks!

Tags:
Not what you were looking for? View more on this topic or Ask a question