‎2005 May 02 8:11 AM
hi all,
Does any BAPI exist for GR? (Transaction MIGO)
Regards
Agrim D.
‎2005 May 02 8:40 AM
Yes, you can use it for goods receipts. The bapi is general in that sense..You can define which kind of goods movement (gr/gi..) you are entering by filling the movement indicator field with proper values. See the bapi documentation for more reference.
-Mikko
‎2005 May 02 8:16 AM
‎2005 May 02 8:16 AM
Hi,
Try out the BAPIs BAPI_GOODSMVT_*.
BAPI_GOODSMVT_CREATE might be the one you are looking for.
Regards,
Anand Mandalika.
‎2005 May 02 8:35 AM
hi,
I have already got 'BAPI_GOODSMVT_CREATE' before I posted this query,
but can I use it for 'Goods Receipt'?
As this BAPI is for goods movement, I just want to make sure.
Thanks & Regards,
Agrim D
‎2005 May 02 8:40 AM
Yes, you can use it for goods receipts. The bapi is general in that sense..You can define which kind of goods movement (gr/gi..) you are entering by filling the movement indicator field with proper values. See the bapi documentation for more reference.
-Mikko
‎2005 Jun 28 9:53 AM
Hi Mikko,
I m using BAPI_GOODSMVT_CREATE to post a GR with reference to PO.
The parameters I m passing are the dates in header, goods mvt code 01, in Item I m passing PO No, PO Item, Plant, Storage Loc, Mov Indicator (B), Mov Type (101)
etc.
I m using BAPI_TRANSACTION_COMMIT after this bapi, but i m getting one error- Inconsistency in document field and prof. seg number.
I m not passing any profit seg no in the Item table, and also I m not able to identify which is the document field in Item.
Can u help me on this?
Thanks,
Prasad
‎2005 Jun 28 1:04 PM
Hi Prasad,
seems like a functional error.. Have you tried using the goods receipt transaction with the same values? You should get more info about the possible value inconsistencies there.
-Mikko