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: 

BAPI_GOODSMVT_CREATE

Former Member
0 Kudos

Hi Expert ,

I am using a FM but i am getting error at the time of document posting.

here is my code for using of this function module and i am getting error type of below

i have try with the procedure but it will not work.

Thanks,

Mahi

1 ACCEPTED SOLUTION

former_member184569
Active Contributor
0 Kudos

Did you check the plant for order number aufnr in the master table AUFK ? Is it the same as the plant werks inputted in the BAPI?

Else, try commenting out the conversion exit.

10 REPLIES 10

Former Member
0 Kudos

Try to do the document posting in MB1A with the same data you are using in the BAPI and check the results.

Regards,

Felipe

0 Kudos

i have already done it with one material and result was fine but using bapi it will not work properly

0 Kudos

Hi,

the code line with entry_qnt and booking_area is looking strange. Please check and correct it if needed..

Regards,

Klaus

0 Kudos

both have same defination menge_d

former_member184569
Active Contributor
0 Kudos

Did you check the plant for order number aufnr in the master table AUFK ? Is it the same as the plant werks inputted in the BAPI?

Else, try commenting out the conversion exit.

0 Kudos

sorry but not working i have tried both your instruction but i got same error

0 Kudos

Hi,

what are the values of LS_IFSI-WERKS and LS_BOOKING-AUFNR ?

If you are checking against table AUFK with LS_BOOKING-AUFNR, is field AUFK-WERKS identical LS_IFSI-WERKS ?

What are these values exactly ( to avoid conversion errors) ?

Please post all 4 values:

  • LS_BOOKING-AUFNR
  • AUFK-AUFNR
  • LS_IFSI-WERKS
  • AUFK-WERKS.

Regards,

Klaus

0 Kudos

LS_BOOKING-AUFNR       1551381

AUFK-AUFNR         1551981

LS_IFSI-WERKS                1000

AUFK-WERKS     1000

LS_HEADER-REF_DOC_NO       1551381

LS_ITEM-ORDERID          000001551381

LS_ITEM-PLANT               1000

0 Kudos

Okay,

that's a different AUFNR:

1551381 vs 1551981

Please check the value for the plant in SE16 for table AUFK with 1551381.

Regards,

Klaus

0 Kudos

Hi it was written by mistake actually there might be some problem of configuration with UOM/ISO UOM because i have analyse that we got same error at the time of Interface with one machine and the master data was correct but still they are givving error for same UOM but process was competed means hole work is fine so first we will analyse it then if i found any problem then i will contact to you.

Thanks,

Mahipal