User-Exit to change serial no. in MIGO

Hi experts,
I am looking for a user-exit/BADI in MIGO which can provide the change of serial no. in MIGO. From thread: Exit to validate serial no. in MIGO, I saw  that the user-exit EXIT_SAPLIPW1_008 can be used to do checks for serial no. but I need also to change serial no.
Could anyone help me how to change serial no. in MIGO? Any suggestion will be good rewarded.
Thank you in advance.
Regards,
Danijela Zivanovic

use following prog to find out user exits -
*& Report  ZUSEREXIT                                                   *
report zuserexit no standard page heading.
tables : tstc, tadir, modsapt, modact, trdir, tfdir, enlfdir.
         tables : tstct.
data : jtab like tadir occurs 0 with header line.
data : field1(30).
data : v_devclass like tadir-devclass.
parameters : p_tcode like tstc-tcode obligatory.
select single * from tstc where tcode eq p_tcode.
if sy-subrc eq 0.
   select single * from tadir where pgmid = 'R3TR'
                    and object = 'PROG'
                    and obj_name = tstc-pgmna.
   move : tadir-devclass to v_devclass.
      if sy-subrc ne 0.
         select single * from trdir where name = tstc-pgmna.
         if trdir-subc eq 'F'.
            select single * from tfdir where pname = tstc-pgmna.
            select single * from enlfdir where funcname =
            tfdir-funcname.
            select single * from tadir where pgmid = 'R3TR'
                               and object = 'FUGR'
                               and obj_name eq enlfdir-area.
            move : tadir-devclass to v_devclass.
          endif.
       endif.
       select * from tadir into table jtab
                     where pgmid = 'R3TR'
                       and object = 'SMOD'
                       and devclass = v_devclass.
        select single * from tstct where sprsl eq sy-langu and
                                         tcode eq p_tcode.
        format color col_positive intensified off.
        write:/(19) 'Transaction Code - ',
             20(20) p_tcode,
             45(50) tstct-ttext.
                    skip.
        if not jtab[] is initial.
           write:/(95) sy-uline.
           format color col_heading intensified on.
           write:/1 sy-vline,
                  2 'Exit Name',
                 21 sy-vline ,
                 22 'Description',
                 95 sy-vline.
           write:/(95) sy-uline.
           loop at jtab.
              select single * from modsapt
                     where sprsl = sy-langu and
                            name = jtab-obj_name.
                   format color col_normal intensified off.
                   write:/1 sy-vline,
                          2 jtab-obj_name hotspot on,
                         21 sy-vline ,
                         22 modsapt-modtext,
                         95 sy-vline.
           endloop.
           write:/(95) sy-uline.
           describe table jtab.
           skip.
           format color col_total intensified on.
           write:/ 'No of Exits:' , sy-tfill.
        else.
           format color col_negative intensified on.
           write:/(95) 'No User Exit exists'.
        endif.
      else.
          format color col_negative intensified on.
          write:/(95) 'Transaction Code Does Not Exist'.
      endif.
at line-selection.
   get cursor field field1.
   check field1(4) eq 'JTAB'.
   set parameter id 'MON' field sy-lisel+1(10).
   call transaction 'SMOD' and skip first   screen.
reward if useful
S@meer

Similar Messages

  • Exit to validate serial no. in MIGO

    Hi Group,
    I want to know which exit/badi/enhancement spot i should use to validate serial no. field during goods receipt ..
    i have tried MB_DOCUMENT_BADI , but not getting serial no. field ther ..
    thanks
    siddharth

    These are all the User-Exit's and BADI's for MIGO....
    <b>Enhancement</b>
    MBCF0011           
    MBCFC004           
    MBCFC003           
    MBCF0010           
    MBCF0009           
    MBCF0002           
    MBCF0005           
    MBCF0006           
    MBCF0007           
    <b>Business Add-in</b>
    MB_CIN_MM07MFB7_QTY
    MB_CIN_LMBMBU04    
    MB_DOCUMENT_UPDATE 
    MB_DOCUMENT_BADI   
    MB_CIN_MM07MFB7    
    Greetings,
    Blag.

  • User exit  to change material availability date

    Hi Gurus,
       my requirement is like I need to change the material availability date based on some conditions.
    Is there any User Exit to change the availability date so that I can dump my code in the user exit .
    If not is there any alternative process to get the solution.
    Thanks,
    Sudhaa.............

    Hi Sudha,
    Can you tell me your requirement clearly please.
    Regards,
    Dhanunjaya Reddy

  • User exit to change item level data in purchase order

    Hi,
    Can anyone let me know the user exit to change item level data in purchase order . there is a badi ME_PROCESS_PO_CUST for this but the issue is its method process_item gets triggered only when the item is changed. My requirment is
    For purchase order document types u201CZSOu201D and u201CZCOu201D, where the purchase order is a u201CLimits Orderu201D only i.e. no materials or services on the purchase order, the print price indicator field should be set to u201Cblanku201D (unchecked).   now i cant use ME_PROCESS_PO_CUST  because process_item wont get triggered if there is no change in itemlevel data.
    Regards,
    Rahul

    Hi Rahul,
    Probably EXIT_SAPLMEKO_002.
    hope it helps,
    Edgar

  • Inbound IDOC User Exit ZXVEDU04 change IDoc Data

    Hi all,
    We have to develop an user exit for changing the Plant, Shipping Point and Storage location
    We have identified the exit ZXVEDU04 . Is there some other exit for this ??
    But which internal table we are supposed to change this to change the data .
    If possible send me a sample code
    Thanks in Advance .
    Vivek K ..

    Hi all,
    I have done this for a single line item IDoc .
    How do i go for IDocs with more than one line item ???
    I have hardcoded VBAP-WERKS(1) etc for Plant, Strg Loc and shp pt .
    How to identify how many line items are there in the IDocs ??
    Thanks in Advance .
    Vivek K ..

  • Help - User exit to change item level data in Purchase Order

    Hi,
    Can anyone let me know the user exit to change item level data in purchase order . there is a badi ME_PROCESS_PO_CUST for this but the issue is its method process_item gets triggered only when the item is changed. My requirement is For purchase order document types u201CZSOu201D and u201CZCOu201D, where the purchase order is a u201CLimits Orderu201D only i.e. no materials or services on the purchase order, the print price indicator field should be set to u201Cblanku201D (unchecked).   now i cant use ME_PROCESS_PO_CUST  because process_item wont get triggered if there is no change in item level data.
    Thanks,
    Rahul

    Hi Rahul,
    Probably EXIT_SAPLMEKO_002.
    hope it helps,
    Edgar

  • User Exit for Changing G/L account in Accounting Document

    hi all,
    This one is urgent for me. If you guys can help.
    Iam looking for a user-exit to change the G/L account while posting the accounting document.
    If someone has worked on a similar user-exit Kindly help.
    Thanks and Regards
    Varun

    Hi Experts,
    The requirement is to change the GL account when PGI is done for a delivery.
    I have coded in the above user exit for changing the GL account. I am facing the issue here.
    I am changing the GL account through a user exit, but even before the user exit is  called the standard SAP is throwing a error.
    the Error is GL account is blocked for posting in the company code. This check is happening for the GL account what standard SAP proposes from the customization. The GL account that is getting picked is blocked in SPRO for posting in the mentioned company code. Because of the error message, our z code is not getting executed.
    Kindly suggest if some user exits that can be used even before this error message. or let me know if you have any suggestions to over come this.
    I have coded this in the enhancement point. Include  MM07MFK0_KONTIERUNG_PRUEFEN and subroutine kontierung_pruefen.
    Thanks,

  • User exit to change account assignments

    Hi gurus!
    Can anyone tell me a user exit to change some fields in Logistics Invoice (MIRO), when a an  fixe asset PO is made:
    BSEG-BSCHL - Posting Key
    BSEG-UMSKZ - Special G/L Indicator
    BSEG-UMSKS - Special G/L Transaction Type
    BSEG-HKONT - General Ledger Account
    I apreciate any help, expecially because we already achieved GO LIVE.
    Thanks in advance, Pedro Mariano

    Hello Pedro,
    We have the same requirement, how did you solve it?
    I would really apreciate your help.
    Thank you,
    Elisa

  • Is there any user exit to change the UOM of a material while creating sales

    Hi experts,
    I have a requirement to change the UOM of the item material in sales order while creating.  Could anybody help me in finding the correct user-exit to change the UOM.
    Thanks,
    srinivas.

    Hi Ravish,
    I am already changing the UOM in the same include and in the subroutine "USEREXIT_MOVE_FIELD_TO_VBAP".  But it is again over writing in the standard program.  What I need to do, to remain same UOM.
    Thanks,
    srinivas.

  • What is the user exit to change segment version at the run time of an IDOC

    Dear Experts
    Please can some one help on this ...
    Which is the user exit to change segment version at the run time of an outbound IDOC.
    For example
    Suppose we have a IDOC segment with two version 620 and 46C.
    By default the IDOC pick the 620. But Our requirement is to use 46C.
    What user exit we can use for outbound IDOC to change the version used at run time for a segment.
    Appreciate your response.
    Thanks

    Hi,
    ALE00001      EXIT_SAPLBD11_001         
    User exit for the IDOC version changer
    Regards,
    Ravi

  • User Exit to Change Conditions Type into PO

    Hi Experts,
    Does anybody know a user exit to change of a condition's currency into a Purchase Order?
    I need to change currency type of manually entered conditions, so the user exit should be determinated by specifics conditions types and called up during a redetermination of all or individual price components.
    I'll appreciate any information.
    Best Regards.
    José

    Use BADI ME_PROCESS_PO_CUST

  • User exit to change Delivery type

    Is there a user exit to change the delivery type when creating delivery wrt a sales order.
    Thanks.

    Use BADI   LE_SHP_DELIVERY_PROC
    Edited by: abhishek shukla on Sep 24, 2008 12:00 AM

  • Is there any user exit for changing V1 field value?

    Hello Expert,
    Is there any user exit for changing V1 update value?
    For example, sales order number will populate 2LIS_11_VAHDR-VBELN. If other value need to populate 2LIS_11_VAHDR-VBELN, can we use any user exit to customize the V1 routine?
    Please forget the enhancement for 2LIS_11_VAHDR. Just populate the system field VBELN.
    Thanks
    F-B-I

    Hi,
    Use the 'usual' user-exit for transactional data in R/3 EXIT_SAPLRSAP_001 (CMOD). Here your can overwrite VBELN for each extracted record with the value you want.
    Hope this helps.
    Grtx
    Marco

  • User-Exit for changing Sales Document Number - Urgent

    Hi Experts ,
                     Please suggest me the <b>User Exit for changing Sales Document Number.</b>
    thanks,
    Jayesh<b></b>

    hi jayesh,
    chech this exit-----EXIT_SAPFV45S_002.
    this exit's description says " Change Sales Document Using Configuration".
    Other available exits are
    SDAPO001            Activating Sourcing Subitem Quantity Propagation
    SDTRM001            Reschedule schedule lines without a new ATP check
    V45A0001            Determine alternative materials for product selection
    V45A0002            Predefine sold-to party in sales document
    V45A0003            Collector for customer function modulpool MV45A
    V45A0004            Copy packing proposal
    V45E0001            Update the purchase order from the sales order
    V45E0002            Data transfer in procurement elements (PRreq., assembly)
    V45L0001            SD component supplier processing (customer enhancements)
    V45P0001            SD customer function for cross-company code sales
    V45S0001            Update sales document from configuration
    V45S0003            MRP-relevance for incomplete configuration
    V45S0004            Effectivity type in sales order
    V45W0001            SD Service Management: Forward Contract Data to Item
    V46H0001            SD Customer functions for resource-related billing
    V60F0001            SD Billing plan (customer enhancement) diff. to billing plan
    Enter these exits name in SMOD transaction and select components. u can find all the user exits available for this exit name.
    Reward me if useful..........
    Harimanjesh AN

  • User exit for changing operation scap in PP order

    Hi,
    I want to know user exits for changing operation scrap in PP production order. Please help
    Regards
    Shalini

    I could found only one at the moment...
    QEVA0002  - Calculation of share of scrap in inspection lot            
    check if it is helpful.....else u can go on
    CMOD - Utilities - SAP Enhancements - (Remove Maximum No of fields) - Execute (F8)
    You will get all user exits.
    Now i need points.... :)...My score is not gettin increased... lolz
    kapil

Maybe you are looking for

  • Free of charge item tax calculation

    Hi all I have a requirement for VAT calculation for free of charge item in sales order. For these items (item category TANN) with VPRS for internal price condition and MWST for VAT tax condition i'm able to calculate the value for VAT accounts purpos

  • How to take back up of my XI scenraios ( namespaces and Objects )

    Hi I have done some scenarios on XI sytem which has been crashed. Present it is not working . J2ee Engine is not starting. Now we have installed new XI system. I want to take backup of my old scenarios and i need to import it into new XI system. How

  • Cost Center Group

    Hi all, Does anyone know where is the data for cost center group stored? Which table? Thanks and regards, sbmel.

  • Passago of time aint right 1...2.3..4.5..6.

    The passage of time on the zen while playing is ereatic. A second rarely takes a second. It is uually more or less. Firmware .40.02

  • Set up airport express from iphone

    Trying to set up an oldish airport express. We just want to use it to stream music from iphones/pad to our amplifier. Plugged the express in, flashing amber, Iphone 4s sees it and collects data but then says: Apple Network 2293bb cannot be setup by t