Application Development 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: 

How to cancel goods movements 103 by using BAPI_GOODSMVT_CREATE?

QuyVu
Participant
0 Kudos

Hi experts,

I'm using BAPI_GOODSMVT_CREATE with GM_CODE = 06 to cancel Good Receipt 103. But I don't know how to pass value in parameter BAPI_GOODSMVT_CREATE to take it.

I know we can use BAPI_GOODSMVT_CANCEL to cancel 103 but this BAPI doesn't support test run so I don't use it.

Can help me to pass value in parameter BAPI_GOODSMVT_CREATE to cancel GR 103?

Best regards,

LeoVu

Purchase Order

error message

4 REPLIES 4

raymond_giuseppi
Active Contributor
0 Kudos

The error message should have contained the movement code in addition to the reason code

Could you

  • Try with BAPI_GOODSMVT_CANCEL?
  • Look at Customizing transaction OMJJ

0 Kudos

Hi raymond.giuseppi,

Thank for your advice.

Because BAPI_GOODSMVT_CANCEL doesn't support test run so I only want to use BAPI_GOODSMVT_CREATE.

Do you know how to pass param in BAPI_GOODSMVT_CANCEL to cancel GR 103.

Best regards,

LeoVu

0 Kudos

Setting in OMJJ

0 Kudos

Setting in OMJJ