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

BAPI_GOODSMVT_CREATE

Adi_Bathineni
Participant
0 Likes
519

Hi,

We are using the BAPI_GOODSMVT_CREATE for 101B movement.

While doing 101 B movment, if the BAPI didn't give any error, everything is going good.

We are getting some errors while posting some of the PO's.

Like PO withdrawn Quantity is exceeded by && LB PO Number.

at this time if i see SM12, the tables are getting Locked and they are not getting released. (EKKO,EKPO,MARC,MBEW)

We have developed a custom program and we are doing the goodsmvmt using that program.

Please guide us how to resolve this issue.

Thanks,

Adi.

3 REPLIES 3
Read only

guilherme_frisoni
Contributor
0 Likes
467

When you get some error, are you calling BAPI_TRANSACTION_ROLLBACK FM?

Frisoni

Read only

Former Member
0 Likes
467

Hi

Are you using bapi_commit statement after the BAPI_GOODSMVT_CREATE .

Aslo try searching for note and try to figure out if this standard problem or not.

Regards

Gaurav

Read only

Adi_Bathineni
Participant
0 Likes
467

solved by myself...

once the Material and PO getting locked, we used the one statement to clear the memory of that session by coming out of the program and calling the same program again.

Leave to transaction 'ZXXXX'.

Thanks,

Adi.