cancel
Showing results for 
Search instead for 
Did you mean: 

Migo For GR using barcode data

dhananjay_khamkar
Participant
0 Kudos

Hi All,

I want to run MIGO or MIGO_GR

for creating GR with respect to PO using input type in the format of bar code for recieved items against PO

And MIGO sould run only for received items quantity only.

Barcode contains following details when it decodes

Header Bar code :-

PONO@DCNO@BOLNO@HEADERTEXT@@

Detail Bar Code text :-

For serialialized material LINENO#MATERIALNO#QTY##SERIALNO

For batch material LINENO#MATERIALNO#QTY#BATCHNO#

For serialialized and batch material LINENO#MATERIALNO#QTY#BATCHNO#SERIALNO

For nonserialialized and nonbatch material LINENO#MATERIALNO#QTY##

scanner will scan above details from bar code and then MIGO runs for creating GR with ref to decoded PO number and other details.

Please give me any idea, how to set above values for standard MIGO.

Is it possible using BDC.

I will call you in the evening.

Thanks And

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Dhananjay,

U can do this, Using the BAPI, 'BAPI_GOODSMVT_CREATE' here populate the values for the Header & Line Items, using your custom Z program. This Bapi will take takecare of posting the Data.

This is the Effecient method than using BDC.

    • Call the BAPI for Goods Receipt

CALL FUNCTION 'BAPI_GOODSMVT_CREATE'

EXPORTING

goodsmvt_header = st_gmvt_header

goodsmvt_code = st_gmvt_code

IMPORTING

goodsmvt_headret = st_gret_head

TABLES

goodsmvt_item = it_gm_item

return = it_return.

    • Commit the Transaction

CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.

Former Member
0 Kudos

Create a Z program to take these fields as input (Header and detail). Split the fields and call BDC. Standard transaction MIGO will not support this as it is.