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

MIGO user exit to get serial number

Hi Experrts:-

I need to change the status of serial number (equipment number ) during Migo (good receipt,Transfer posting).

I have checked all the user exits and number of badis but i am not getting serial number at run time if i get serial numbar

in exit od badi i will change the status

I have used following badi:-

MB_DOCUMENT_BADI

MB_MIGO_ITEM_BAdI

Thanks

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Feb 18, 2011 at 09:57 AM

    Use this FM in GET_SERNOS_OF_DOCUMENT in BADI MB_DOCUMENT_BADI~MB_DOCUMENT_BEFORE_UPDATE to get serial numbers from memory.

    Edited by: Manohar Reddy Kallem on Feb 18, 2011 9:57 AM

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hello,

      I am working on a requirement to get the serial numbers entered manually or automatically while posting a goods receipt in tcode MIGO.

      I have tried to use the same steps suggested by Manohar..ie, using the FM GET_SERNOS_OF_DOCUMENT' within the BADI MB_DOCUMENT_BADI~MB_DOCUMENT_BEFORE_UPDATE. But the FM returns NO_DATA_FOUND exception ...Can you please let me know how you solved this issue?

      Thanks

  • Posted on Feb 18, 2011 at 09:43 AM

    Hi

    Try with MB_MIGO_BADI method LINE_MODIFY for the corresponding fields for no.serie in GOITEM.

    Regards

    Eduardo

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      i implement this badi I am getting every thing but not serial number. can you tell me exact field name in CS_GOITEM structure where i get serial number.

      Edited by: dilipgupta on Feb 18, 2011 12:05 PM

  • Posted on Jul 23, 2014 at 02:19 PM

    Hi ,

    m also using GET_SERNOS_OF_DOCUMENT

    but not getting serial number.

    need to get serial number in MIGO.

    how to pass parameters to this fm.

    KEYDATA-TASER = 'SER03' "Goods mvmnt

    KEYDATA-SDAUFNR = ??

    KEYDATA-POSNR = ??

    CALL FUNCTION 'GET_SERNOS_OF_DOCUMENT'

    EXPORTING

    KEY_DATA =

    TABLES

    SERNOS =

    EXCEPTIONS

    KEY_PARAMETER_ERROR = 1

    NO_SUPPORTED_ACCESS = 2

    NO_DATA_FOUND = 3

    OTHERS = 4

    please guide..

    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.