Skip to Content

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

BAPI_GOODSMVT_CREATE: sequence of movements

Hello,

In my program, i have to do the following things:

1. lower the stock of a material in a plant

2. transfer the stock to another plant.

This functionality can be implemented with BAPI_GOODSMVT_CREATE ( movements 501 and 502)

The problem is that with this bapi, problems can arise when calling it in sequence. Sometimes (not always) the movements are not performed, allthough there are no errors given. I've searched the internet a bit, and this seems to be a known problem with this BAPI. Does anyone know a good solution so i can be sure that the movement is done. I've tried 'wait up to 1 seconds' after committing the bapi, but this not always a garanty that the movement is really done.

I hope my question is a bit clear and that someone can help me to solve this issue.

Kind regards,

Joren

PS: It's not a code issue or something, and not a commit issue either , because 70% of the time the movements are done. But i prefer 100%.

Tags:
Former Member

Helpful Answer

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