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

Require BAPI

Former Member
0 Likes
830

hi all,

Does any BAPI exist for GR? (Transaction MIGO)

Regards

Agrim D.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
713

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

6 REPLIES 6
Read only

Former Member
0 Likes
713

Hi Agrim,

check out BAPI_GOODSMVT_CREATE

-Mikko

Read only

Former Member
0 Likes
713

Hi,

Try out the BAPIs BAPI_GOODSMVT_*.

BAPI_GOODSMVT_CREATE might be the one you are looking for.

Regards,

Anand Mandalika.

Read only

Former Member
0 Likes
713

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

Read only

Former Member
0 Likes
714

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

Read only

0 Likes
713

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

Read only

0 Likes
713

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