cancel
Showing results for 
Search instead for 
Did you mean: 

BAPI_GOODSMVT_CREATE: Movement Type 122

Former Member
0 Kudos

Hi,

     I am trying to do movement type 122 using bapi BAPI_GOODSMVT_CREATE but i get this error message "No goods receipt possible for purchase order XXXXXXXXXX XXXXX".  i did search sdn but did not find any solution. 

data that am passing to bapi is as follows,

GOODSMVT_HEADER-PSTNG_DATE  =    sy-datum

GOODSMVT_HEADER-DOC_DATE      =    sy-datum

GOODSMVT_CODE                                   01

GOODSMVT_ITEM-MATERIAL                    XXX

GOODSMVT_ITEM-PLANT                          XXX

GOODSMVT_ITEM-STGE_LOC                   XXX

GOODSMVT_ITEM-BATCH                         XXX

GOODSMVT_ITEM-MOVE_TYPE                122

GOODSMVT_ITEM-VENDOR                      XXX

GOODSMVT_ITEM-ENTRY_QNT                 XXX

GOODSMVT_ITEM-ENTRY_UOM                XXX

GOODSMVT_ITEM-PO_NUMBER                XXX

GOODSMVT_ITEM-PO_ITEM                      XXX

GOODSMVT_ITEM-MVT_IND                       B

GOODSMVT_ITEM-MOVE_REAS                XXX

GOODSMVT_ITEM-REF_DOC_YR               XXX

GOODSMVT_ITEM-REF_DOC                     XXX

GOODSMVT_ITEM-REF_DOC_IT                 XXX

Thanks,

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Thanks all for your replies,

the problem was the reference document that i was giving was not the right one. that was causing this error.

Answers (3)

Answers (3)

Former Member
0 Kudos

check the po item, delivery tab, and make sure the item is valid for goods receipt. THis is typically when you wouuld get this message. You might also want to check the "delivery complete" indicator.

I have not tested this, but it is possible that if the delivery complete indicator is on, it will not allow a 122, since the system considers the item "closed".

Former Member
0 Kudos

Dear Chetan,

We use Mvt 122 to return goods to the vendor against a particular purchase order. Is it your requirement too ?

Regards

Anupam

Former Member
0 Kudos

Dear Chetan,

You cannot set the returns indicator for items, for which goods receipts and invoice receipts do not refer to the quantity.

This is the case for the following items:

  • Service items ( item type D)
  • Limit items (item type B)
  • Items with invoicing plan

Regards

Soumyashree Sha