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

Former Member
0 Likes
2,049

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
Read only

Former Member
0 Likes
1,977

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
Read only

Former Member
0 Likes
1,977

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

Regards,

Felipe

Read only

0 Likes
1,977

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

Read only

0 Likes
1,977

Hi,

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

Regards,

Klaus

Read only

0 Likes
1,977

both have same defination menge_d

Read only

Former Member
0 Likes
1,978

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.

Read only

0 Likes
1,977

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

Read only

0 Likes
1,977

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

Read only

0 Likes
1,977

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

Read only

0 Likes
1,977

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

Read only

0 Likes
1,977

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