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

LSMW issue

Former Member
0 Likes
735

Hi,

When i am doing LSMW it is updating only last record of the flat file into the database table. when the session is processing in the fore ground it is showing the all the records and also showing the session is processed successfully. But, when i saw in database table i found only the last record of the flat file. Could you please help me in this regard? i am doing this LSMW for VK11 Transaction Code...

1 ACCEPTED SOLUTION
Read only

ThomasZloch
Active Contributor
0 Likes
683

some bug in your process, hard to tell from the distance.

- are you properly saving the data at end of each transaction (BDC)?

- are you using distinct keys for each transaction or accidentally the same one each time?

Thomas

Hi,

When i am doing LSMW it is updating only last record of the flat file into the database table. when the session is processing in the fore ground it is showing the all the records and also showing the session is processed successfully. But, when i saw in database table i found only the last record of the flat file. Could you please help me in this regard? i am doing this LSMW for VK11 Transaction Code...

3 REPLIES 3
Read only

ThomasZloch
Active Contributor
0 Likes
684

some bug in your process, hard to tell from the distance.

- are you properly saving the data at end of each transaction (BDC)?

- are you using distinct keys for each transaction or accidentally the same one each time?

Thomas

Read only

0 Likes
683

Hi Thomas,

You are right. i am using the same keys at the same time. That's why it is over writing the previous one. So, what i can do is i will save the all records at a time. is it correct?

Read only

0 Likes
683

Sorry, I cannot give specific advice on VK11, have not used it recently. But since we narrowed down the problem now, you might be able to come up with a solution. Try either way, all at once or one at a time.

Thomas