Application Development and Automation 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: 
Read only

ME01 LSMW multiple record for same material issue.

Former Member
0 Likes
480

Hi Experts,

I have an issue with multiple record for the same material and plant when I upload the data from the file. Lets I have the records.

Material Plant Start date Enddate Vendor Porg.

1 0010 20060101 99991231 2 0010

1 0010 20060101 99991231 3 0010

When I upload the above data there are 2 IDOCs created when I am using the method LSMW-IDOC method, but only last record is getting updated and the first one is not getting updated in ME01 souce list. But I am getting the success message for both IDOC in LSMW. So I am not sure how to fix this why only last record is updated and not other records??

Hi Experts,

I have an issue with multiple record for the same material and plant when I upload the data from the file. Lets I have the records.

Material Plant Start date Enddate Vendor Porg.

1 0010 20060101 99991231 2 0010

1 0010 20060101 99991231 3 0010

When I upload the above data there are 2 IDOCs created when I am using the method LSMW-IDOC method, but only last record is getting updated and the first one is not getting updated in ME01 souce list. But I am getting the success message for both IDOC in LSMW. So I am not sure how to fix this why only last record is updated and not other records??

1 REPLY 1
Read only

JL23
Active Contributor
0 Likes
364

why do you have 2 idocs?

wouldn't be 1 idoc with 2 items be more logical?

1 record in structure E1EORDH

and 2 records in structure E1EORDM

I believe your 2 IDOCs get posted, but I think your 2nd Idoc overwrites the values entered from the first IDOC.