Skip to Content
author's profile photo Former Member
Former Member

Migo For GR using barcode data

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Oct 23, 2005 at 04:42 AM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 23, 2005 at 04:51 AM

    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'.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.