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: 

Only 1 line item extension fields getting updated using bapi goods movement not working for multiple

pawan_rai
Participant
0 Kudos
242

Hi Experts,

I am using BAPI Goods Movement for updation of extension fields in MATDOC

Problem occurs when i am trying to update multiple data

Suppose i choose 2 document numbers to update in matdoc

it perfectly updates the extension fields in matdoc table

but problem starts for the 2nd doc, even a material doc no is getting created but extension fields are not getting updated for 2 document onwards

Any response is appreciated

1 REPLY 1

pawan_rai
Participant
0 Kudos
209

Closing the Thread as i got the answer

Problem was with the ZEILE field

When we are calling bapi in loop for different doc number Zeile should be cleared each time