Skip to Content

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

Question of commit work

This is my program.

CALL FUNCTION 'BAPI_GOODSMVT_CREATE'

.

.

.

commit work.

.

.

.

CALL TRANSACTION 'KKF2' USING bdcdata MODE 'E' UPDATE 'S'

MESSAGES INTO MESSTAB.

The BAPI and tcode KKF2 will use the same ORDER_ID to do some jobs...but when the program run to the tcode KKF2...It said "*****(me) is modifying ******(ORDER_ID) now"

Why it still said that when I have used commit work?

Even I add:

CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'

and

CALL FUNCTION 'ENQUE_SLEEP'

The program still said I am modifying the ORDER_ID....

Please help me,thanks .

Tags:
Former Member
Not what you were looking for? View more on this topic or Ask a question