Exit/Badi for Serial number generation in MIGO

Dear ALL,
Requirement: Based on the serial number profile i will maintian the number range in custom table and on doing MIGO system will find the serail number profile thorugh material and based on that system should generate the serial number automatically.
Advise for the user exit /badi ... I have checked some exit starting with IQ....  .
Please provide the exact badi or exit for this purpose.
Regards
Rahul

You can see the local class lcl_migo_globals used in include LMIGOGL1 which inturn has a variable
called kernel with reference to class lcl_migo_kernel. Here exists an example [Serial Numbers Modify in LINE_MODIFY method in MB_MIGO_BADI|http://saptechsolutions.blogspot.com/2011/11/serial-numbers-modify-in-linemodify.html]of accessing & modifying the lines by accessing the call stack using class lcl_migo_kernel and method line_get & line_modify through badi MB_MIGO_BADI .

Similar Messages

  • Problem on forms for serial number generation with last record next_record.

    Hi Experts,
    currently i'm facing one problem like :
    i'm populating one receipt detail in Multi block , like when user key in one receipt number that time record should go in first record ,and if they key in second receipt number then record should go in second record . mean to say every time record go in last record ..but the problem is i want to generate Serial no correspondence to every last record ..
    here is my approch :
    cursor c1 is
    select * from table
    where cname =:blk_name.clm_name.
    Last record;
    next_record;
    for v1 in c1 loop
    processed record;
    next_record;
    end loop;
    last_record;
    go_block(___);
    first_record;
    :sno := system.cursor_record ;
    next_reocrd;
    end loop;
    first_record;
    And in block level i'm writing code for Serial number generation when user key in manual entry for receipt detail:
    :blk_name.coulumn_name := :system. cursor_record;
    so in this approach their is no problem it is working properly but the problem is that
    when user fetch one receipt automatically and then after he want to enter next record manually and he decided to go in detail block ,
    and once he reached in detail block that time block level trigger i firing .ans serial number 2 generated and then suddenly he came to know no i want to fetch next record automatically mean to say now user going again master block and fetching next receipt detail ,
    but the problem is when user leaving seccond sr no and going in master block and population next receipt detail that time cursor going on 3 record
    but logically have to replace the second Serial no and generate the again serial number 2 record population .mean to say its not refreshing last_record..
    so i'm appreciating is anyone if came accoross this type of issue please corrrect my code and send updated code ..plsssssssssssssssssssssssssssssss
    Thanks
    Abhishek
    [email protected]

    hi
    I put this below code on when_new_record_instance on block level..
    :blk_name.column_name :=system.cursor_record;
    so can you please help me.....
    Thanks
    Abhishek

  • Deactivate Serial Number Generation in MIGO

    Hi,
         In MIGO,Serail number generation is made mandatory through Create serial no.s automatically checkbox in serial number tab.The process is such that the user will Check and then Post.So while pressing the Check button,internally serail numbers are generated and while posting the serial numbers are generated skipping the generated numbers in Check.ex.while checking 001 and 002 are internally generated and aftr Post if we check in IQ03 we get 003 and 004;ie 001 and 002 are skiiped.
    Can anybody suggest how to avoid serial number generation while Check?

    Hi,
    Apply Transaction Variant and Screen Variant through transaction SHD0 for MIGO. Hope it will solve your problem.
    Otherwise, discuss this requirement with MM Functional Consultant. In SPRO, it may have some setting to make it display...
    Thanks
    Vikranth

  • Enhancement for Automatic Serial Number Generation

    Hi,
    Has anybody worked on the enhancement iqsm0001?
    If so, please give me some idea on how to use this enhancement for automatic serial number generation.
    Thanks for your kind help.
    Regards,
    Renjith Michael.

    Hi Renjith,
    You can check the following link, Hope it helps you to some extent:
    Re: Implement unique serial number within a client
    And you can also try user exit EXIT_SAPLIPW1_001 for Automatic serial number assignment.

  • In ME21N,User Exit/BADI for  Defaulting  Vendor number at item level.

    Hi Experts.
    In ME21N, for every purchase order, we have condtion tab for each line item.
    Many condition typesot taxes  are listed based on the config for the materials.
    My requirements is, When we go inside by selecting a condition type we find vendor number displayed.
    I need a user exit/BADI for defaulting the Vendor number.
    Regards
    Balaji R

    Hi,
    check with below link,
    fo this one you will find both user exit and badis
    https://www.sdn.sap.com/irj/scn/wiki?path=/display/abap/find%252bapplication%252bclass%252bwith%252bexits%252band%252bbadis%252bfor%252ba%252btransaction
    Regards,
    Madhu

  • User Exit for "Serial Number" in VL02N before "Post Goods Issue".

    Hi Friends,
    Current Scenario:
    End User has to scan "Serial Number" for Main Unit (Item CAtegory - TAN) while doing "Outbound Delivery". But, sometimes he forget to do this activity of scanning "Serial Number". And do "Post Goods Issue" without "Serial Number".
    Requirement:
    When End user will click "Post Goods Issue", system should first check "Serial Number" for Main Unit (Item Category - TAN). If he will not find "Serial Number" then system should give warning message for "Serial Number".
    Please suggest the suitable "User Exit" that can be used for above purpose.
    Or if there is any other way then let us know.
    Regards
    Siva

    hi
    check is there any standard User Exit available for VL02N. apply your logic and activate

  • User Exit/BAdi for Number Range

    Hi All,
    Can anyone tell me is there any User Exit/BAdi for Number Range?
    Rgds,
    Trinadha

    Hi,
    Please check RHIV0001 through transaction SMOD.
    Hope this helps.
    Donnie

  • User exit/BADI for Deleting the Empty Handling unit

    Hi All,
    Can anyone give me the suitable User exit/BADI for the below scenario.
    While creating the TO (Transfer order) for a delivery using the transaction code LT12, the system will automatically generate HU (Handling unit) number. If the materials are not found in the storage bin for the selected HU, we have to delete the Handling Unit from the delivery document.
    Thanks in advance.
    Thanks
    Ramesh.

    Find below couple of  User Exits for Transfer Order.
    MWMTO001 - EXIT_SAPLL03T_001 (Enhancements for end of transfer order generation)
    MWMTO002 - EXIT_SAPLL03T_002 (User Exit at End of TO Confirmation (in Update Task))
    The Exits gives you access to LTAK and LTAP.....
    Hope this is helpful to you.
    Vinodh Balakrishnan

  • Disable Serial Number Field in MIGO Screen

    Hi all,
      I want Disable Serial Number  field in MIGO Screen how do i disable ?
    is there any user exit or enhancement ?
    Anybody please tell me.
    Thanks
    Regards,
    S.Muthu.

    S. Muthu
    Apply Transaction Variant and Screen Variant through transaction SHD0 for MIGO. Hope it will solve your problem.
    Otherwise, discuss this requirement with MM Functional Consultant. In SPRO, it may have some setting to make it display...
    Thanks & regards
    Amol Lohade

  • Exit/Badi for Accounting Document

    Dear Friends
    Is there any user exit/BADI for accounting document. My requirement is quite simple which you would also faced in many implimentation. Client wants number ranges business area/plantwise. I was just thinking as plant/business area is a line item field it may be little difficult to have different number range controll at that level, so I thought we could use user id as the import parameter. But these is possible once I get any user exit/badi for number range change. We dont want to create so many document type also.
    Thanks and Regards
    Pankaj Gupta

    Hi Marta,
    Check these notes
    SAP Note 1259505 - FAQ: New cancellation procedure in SD,
    SAP Note 400000 - FAQ: Transaction VF11: Cancellation of SD billing documents
    See with attention note 1259505 question 4. It says
    Most of the userexits in the SD-FI interface (see note 301077) will not be
    performed.
    So, try to do it with BTE's
    Sorry, try with USEREXIT_PRICING_COPY in program RV61AFZA.
    I hope this helps you
    Regards
    Eduardo
    Edited by: E_Hinojosa on Nov 21, 2011 9:15 AM

  • Serial number generation

    Hi friends,
    I have a question regarding the serial number generation.
    1. In serial number generation  do we have option of generating either when creating and releasing the production order or when doing the GR for the production order.
    If yes, please let me know how we can do that.
    2. If we have the serial number activiated for the material can we use auto goods receipt for the material?
    Thanks and regards,
    Satish

    Dear Satish,
    Go to OIS2 and create the serial number profile which will be later assigned to the material master.
    Select the serial number profile and select serializing procedure
    Here,select "PPAU Serial numbers in PP order" and enter the value as desired in serial number usage column.
    Similarly you can try for order release.
    We cannot activate auto GR for the items with serial numbers.
    regards,
    Joseph Charles Vaikathussery

  • MAC OS remember my bad cs5 serial number!

    Sorry for me English!
    i buy version cs5 and upgrade to cs6
    i installed cs6 and install app ask me for cs5 serial number - i write cs5 serial and install - so i have a problem, saller write to me bad cs5 serial number - now i have new cs5 serial number - but i have problem, when I install cs6 - i think mac remember last cs5 serial number - because don't ask me for cs5 sn. I uninstalled later ADOBE CS6 and use Adobe CCleaner - not work for me! How I can delete CS5 last serial number and write correct number? Please help me!

    Ok - problem solved!
    I delete all Adobe folders and files on my Mac and new install - now ask my serial number cs5 version.

  • User Exit / Badi for MIRO / MB60

    Hi,
         I want a user exit or badi for the MIRO /MB60 Transactions.
    When select something on GL Account Number(from table control of these transactions) and press on enter then I want to add some code. Can you please let me know the exit/badi for this scenario.
    Thanks,
    Srinivasa Rada

    hi
    Following exits are available for MIRO.
    Transaction Code - MIRO                     Enter Incoming Invoice
    Exit Name           Description
    LMR1M001            User exits in Logistics Invoice Verification
    LMR1M002            Account grouping for GR/IR account maintenance
    LMR1M003            Number assignment in Logistics Invoice Verification
    LMR1M004            Logistics Invoice Verification: item text for follow-on docs
    LMR1M005            Logistics Inv. Verification: Release Parked Doc. for Posting
    LMR1M006            Logistics Invoice Verification: Process XML Invoice
    MRMH0001            Logistics Invoice Verification: ERS procedure
    MRMH0002            Logistics Invoice Verification: EDI inbound
    MRMH0003            Logistics Invoice Verification: Revaluation/RAP
    MRMN0001            Message output and creation: Logistics Invoice Verification
    <b>
    BADI...
    </b>
    To search for a badi, go to se 24 display <b>class cl_exithandler.</b>
    double click on method get_instance, get a break point on case statement.
    execute and start the required transaction in new session.
    look for variable <b>exit_name.</b> It would show the available badi's.
    Please do reward if useful
    Regards
    Dinesh

  • User exit / BADI for billing block in VL01n

    Hello Techies,
    Through custom transaction we are creating delivery notes. We run a background job to pick up these delivery notes & create return deliveries using BDC call transaction method calling VL01N (We also create order of type return for same). Though i can not see any place where billing block is filled in custom program but still there are some deliveries with billing block. Could you please let me know if there is any User exit / BADI for billing block or any configuration setting for same?

    Just to add more details:
    Our program sets memory id field.
    We call transaction VL01N.
    program clears memory id field value.
    all this happens in loop for number of deliveries.
    In VL01 user exit overwrites LIKP-FAKSK value to 05. However we have written code here which imports value from memory id. by this we come to know that we have created this delivery using custom transaction & billing block should not be set.
    From this we can conclude that only when sy-subrc for import memory id is not equal to 0 then billing block is set.
    what could be the reason for sy-subrc for import memory id is not equal to 0 ?
    can it be because of number of deliveries created at a time where memory id export / import is causing problem?
    we are not able to replicate this issue in Dev/Quality systems.
    Thanks & Regards,
    Sachin

  • USER-EXIT/BADI for "MIRA"

    Hello Gurus,
    My requirement is that I need to change an Invoice Line Item data before the actual posting in Background via Program RMBABG00.
    It would be great if somebody could please tell me, is there any USER-EXIT / BADI for doing the above mentioned task.
    I will be really helpful as it is very urgent!!!!!
    Thanks in advance

    Hi,
    these user exits avialable for Tcode MIRA...
    LMR1M001            User exits in Logistics Invoice Verification
    LMR1M002            Account grouping for GR/IR account maintenance
    LMR1M003            Number assignment in Logistics Invoice Verification
    LMR1M004            Logistics Invoice Verification: item text for follow-on docs
    LMR1M005            Logistics Inv. Verification: Release Parked Doc. for Posting
    LMR1M006            Logistics Invoice Verification: Process XML Invoice
    MRMH0001            Logistics Invoice Verification: ERS procedure
    MRMH0002            Logistics Invoice Verification: EDI inbound
    MRMH0003            Logistics Invoice Verification: Revaluation/RAP
    MRMN0001            Message output and creation: Logistics Invoice Verification
    regds,
    paras

Maybe you are looking for

  • Problem compiling java file to access web service! newbie troubles !

    I am new to web services and this is my first program... I am compiling java file which has import statement like: import org.apache.soap.util.xml.*; import org.apache.soap.*; import org.apache.soap.rpc.*; It says ----- package org.apache.soap.util.x

  • Can we install tomcat using BO installer files

    Hi Everyone, We want to install Business Objects with Tomcat but on 2 separate servers. Tomcat in one and the rest of the BO Servers in another. Can we use the installer files provided by SAP to install just the Tomcat? If yes what should be the righ

  • Why won't my browser allow me to load Google pages/links or Bing?

    When I try to go to Google.com, an error message comes up and says, "The connection has timed out. The server at www.google.com is taking too long to respond." It also does this at Bing.com and if I do a Yahoo search, but I can get on Yahoo.com to ch

  • Phone wont take calls or messages nor send them.....

    every since I updated my phone the other day, I cant send or receive phone call and text. Anybody else having this issue? I have reset my phone, my network, took my sim out. I have tried everything. I keep having to switch it to airplane mode then ba

  • Engineering Drawings - Legend OCR

    Hi, I scan hundreds of technical/engineering drawings but acrobat will not OCR oversized documents.  Every drawing has a legend in the bottom right corner of every drawing which contains a unique drawing number and it's version number, I want to be a