Hi All,
I am using a BAPi (BAPI_GOODSMVT_CREATE) to create a material document using a PO. Please note that the PO contain no material number. It contains short text. The account assignment is being copied in to the MIGO from PO (when i am doing the process manually without BAPI). But when i am using the BAPI at that time i am getting an error as:
E M7 036 No goods receipt possible for purchase order 45XXXXXXXXXX 00010 .
Logically this should not happen as when i do it manually i am able to post MIGO.
Under goods movement header i am giving :
posting date
doc date
text
goods movement code :
01
GOODSMVT_ITEM
plant
mov type
po number
vendor
line item
short text
cost cenrtre
order no(int ord no)
mov indicator: B
GL account
base unit of measure
Where i am going wrong?