BADI / EXIT in MIGO

Hi
We want to give some custom msg during document saving in MIGO.
Can someone suggest a BADI or EXIT for this.
Regards
Vikas

Hi,
following  BAdi is available in MIGO, it can be used for creating custom tab,
BADI     MB_MIGO_BADI                      BAdI in MIGO for External Detail Subscreens
Use
Application component: MM-IM-GR; MM-IM-GI
With the Business Add-In (BAdI) MB_MIGO_BADI, you can extend the
interface of the goods movements transaction (MIGO) with additional
tabstrip controls for the detailed information (detail tabstrips) and
header information (header tabstrips). It is possible for an external
application
o   to display an additional detail tabstrip with own subscreen (max. 10
    lines) in MIGO
o   to display an additional header tabstrip with own subscreen (max. 3
    lines) in MIGO
The program name, screen number and tab page text can be determined
dynamically. Different screens can therefore be controlled according to
the mode (for example, change mode, display mode, goods receipt, goods
issue).

Similar Messages

  • Need a BADI/ exit for MIGO transaction

    Hi,
    I need a BADI / exit for tha transaction MIGO. My requirement is before displaying the materials in the item tab, check whether the user has authorization for that material or not. If he has no authorization, give error message. This should be done for all types of documents.
    Please let me know if you need more information.
    thanks,
    Kishore

    hi,
    You can have the authorization for the inventory management via authorisation..
    Check the path: SPRO --> MM --> Purchasing --> Inv. management nad physical inventory --> Authorization management  --> Maintain roles and assign users....
    Regards
    Priyanka.P

  • BADI/EXIT for MIGO for accounting  document posting

    Hi
    I am using MIGO where SAP post Mat Document and Accountying document.
    This Uses FM  'MB_POST_GOODS_MOVEMENT  < Include LMIGOKG1>, once this FM executed both MKPF and BKPF data gets filled . I can see tha data for MKPF in debug but I am not able to see data for Accounting Document.Even I cant see the Acc. document no assigned by SAP
    I need to change some fieds for Acc. Document <BSEG-VBUND>
    Can any one help me to find in which structure or table I can get data for Accounting document

    am using the method POST_DOCUMENT,
    am writing the code like..
    sample code..
    DATA: wa_mseg type mseg,
    wa_mch1 type mch1,
    wa_ausp type ausp.
    loop at it_mseg into wa_mseg.
    *select single * from mch1 into wa_mch1 where matnr = wa_mseg-matnr*
                                                               and charg = wa_mseg-charg.
    if sy-subrc is initial.
    *select * from ausp into wa_ausp where objek = wa_mch1-cuonj_bm*
                                                   and klart = '023'.
    if sy-subrc is initial.
    if wa_ausp-atwrt EQ 'ACCEPTED'.
    continue.
    else.
    if wa_ausp-atwrt EQ 'REJECTED'.
    call function 'popup_to_display_text'.
    endif.
    endif.
    endif.
    endif.
    endloop.
    when i debug ,i find no data in the mch1 table ..
    any help..
    thanx

  • BADI/EXIT for MIGO Tcode..

    Hi all,
    When am creating GR for a PO, i want to raise a pop up when the batch is REJECTED.
    any one help me in solving this issue..?
    thanks

    am using the method POST_DOCUMENT,
    am writing the code like..
    sample code..
    DATA: wa_mseg type mseg,
    wa_mch1 type mch1,
    wa_ausp type ausp.
    loop at it_mseg into wa_mseg.
    *select single * from mch1 into wa_mch1 where matnr = wa_mseg-matnr*
                                                               and charg = wa_mseg-charg.
    if sy-subrc is initial.
    *select * from ausp into wa_ausp where objek = wa_mch1-cuonj_bm*
                                                   and klart = '023'.
    if sy-subrc is initial.
    if wa_ausp-atwrt EQ 'ACCEPTED'.
    continue.
    else.
    if wa_ausp-atwrt EQ 'REJECTED'.
    call function 'popup_to_display_text'.
    endif.
    endif.
    endif.
    endif.
    endloop.
    when i debug ,i find no data in the mch1 table ..
    any help..
    thanx

  • Exit or Badi to prevent MIGO Goods Receipt on PO with Inbound Delivery

    Hi,
    I am hoping that someone can provide me with some direction on how to prevent the use of MIGO for GR when the PO being received is (or should be) linked to an inbound delivery.
    For purchase orders with a confirmation control key an inbound delivery is to be created and the goods receipt needs to be done from the inbound delivery. This scenario also includes the case of stock transport orders whereby an inbound delivery is created form the outbound delivery. On the other hand for purchase orders without a confirmation control key no inbound delivery is created and the MIGO transaction is to be used to post the goods receipt.
    Since both processes are possible, I would like to prevent people from posting the GR using MIGO if certain conditions pre-exist.
    Can anyone suggest a means to accomplish this goal? Is there an exit or badi in MIGO that you would suggest using?
    Thanks,
    Paul

    Hi,
    The following user eixts and badis available for migo transaction:
    Enhancement/ Business Add-in            Description                                                                               
    Enhancement                                                                               
    MB_CF001                               
    Customer Function Exit in the Case of Updating a Art. Doc.     
    MBCF0011                               
    Read from RESB and RKPF for print list in  MB26                
    MBCF0010                               
    Customer exit: Create reservation BAPI_RESERVATION_CREATE1     
    MBCF0009                              
    Filling the storage location field                             
    MBCF0007                              
    Customer function exit: Updating a reservation                 
    MBCF0006                              
    Customer function for WBS element                              
    MBCF0005                              
    Article document item for goods receipt/issue slip             
    MBCF0002                               
    Customer function exit: Segment text in article doc. item                                                                               
    Business Add-in                                                                               
    MB_RESERVATION_BADI                    
    MB21/MB22: Check and Complete Dialog Data                      
    MB_QUAN_CHECK_BADI                    
    BAdI: Item Data at Time of Quantity Check                      
    MB_PHYSINV_INTERNAL                    
    Connection: Core Inventory and Retail AddOn                    
    MB_MIGO_ITEM_BADI                      
    BAdI in MIGO for Changing Item Data                            
    MB_MIGO_BADI                           
    BAdI in MIGO for External Detail Subscreens                    
    MB_DOC_BADI_INTERNAL                 
      BAdIs when Creating an Article Document (SAP Internal)         
    MB_DOCUMENT_UPDATE                    
    BADI when updating article document: MSEG and MKPF             
    MB_DOCUMENT_BADI                       
    BAdIs when Creating an Article Document                        
    MB_CIN_MM07MFB7_QTY                    
    Proposal of quantity from Excise invoice in GR                 
    MB_CIN_MM07MFB7                        
    BAdI for India Version exit in include MM07MFB7                
    MB_CIN_LMBMBU04                        
    posting of gr                                                  
    MB_CHECK_LINE_BADI                     
    BAdI: Check Line Before Copying to the Blocking Tables         
    ARC_MM_MATBEL_WRITE                   
    Check Add-On-Specific Data for MM_MATBEL                       
    ARC_MM_MATBEL_CHECK                    
    Check Add-On-Specific Criteria for MM_MATBEL     
    If it is helpful rewards points
    Regards
    Pratap.M

  • BADI/User exit for MIGO fi postings

    Hello Experts,
    I have one requirement regarding at the time of MIGO accounting entry is generating based on the OBYC settings,now the client want along with this entry, want to create one more FI document through background,In the background we will give the debit g/l and credit g/l.That means at the time of MIGO two FI documents has to generate one is with OBYC setting gl's and second FI entry is from programe hard coded gl's.
    For this requirement has any BADI/USER Exit.I appriciate your valuable inputs.
    Regards,
    Nivas.

    Hi,
      May I know why you need two accounting documents?
      You may refer the similar thread: BADI / Exit required for MIGO for posting FI document
      And about the number ranges - I would suggest a custom number range object and a different number range for these additional documents.
      Also refer the doc: Methods to find Customer/User Exit's & BADi's for a Transaction Code!
    Regards,
    AKPT

  • EXIT for MIGO and MB01

    Hello,
    I need to find a BADI or USER-EXIT for MIGO and MB01 at the time of posting, to store in table BSEG fields ZBD1T LIFNR ZTERM the table EKKO.
    I found User-exits several but none contains the BSEG as output instead contains MSEG and the MKPF which I serve.
    Someone can help me?
    Thanks
    Diego

    Try this BTE  00001120
    link:
    Fill in BSEG-ZUONR with PO BEDNR field
    Thanks,
    AMS

  • How to create user exit for MIGO check  "item OK" Field select/unselect?

    Hi All,
       I want to know User Exit for MIGO Screen. when I click check button it will be show "Item OK " Field select or not.
    MIGO Screen post if Item ok field select both parent id and line id . otherwise it will be show error message?.
    Can Please  every one tell me how to do user exit for MIGO?
    mail id: [email protected]
    thanks,
    S.Muthu,

    Hi,
    check the BADI <b>MB_MIGO_BADI</b> ( method: POST_DOCUMENT).
    COMD enhancment <b>MBCF0005</b>
    Regards

  • User Exit for MIGO Save

    Hi Gurus,
    I am looking for user exit for MIGO transaction.  User exit should be given after saving the material document & I need this document number for carrying out some updations.
    regards,

    Hi
    You need to use the BAdi MB_DOCUMENT_BADI.
    This BAdi has two methods
    MB_DOCUMENT_BEFORE_UPDATE
    MB_DOCUMENT_UPDATE
    The method MB_DOCUMENT_BEFORE_UPDATE is called up before the FI document is created. This means that it is called up even if the program is terminated by an error during the subsequent processing. The update of data in separate tables should always be contained in function modules that are called up with the addition 'in update task'. This ensures that all the data is updated consistently.
    The method MB_DOCUMENT_UPDATE is not carried out until update. This means that all updates are carried out immediately in their own tables and do not have to be contained in 'update task' in function modules. For performance reasons, you should not re-read the tables or carry out any time-consuming routines at this point.
    You should always call up MB_DOCUMENT_BEFORE_UPDATE before MB_DOCUMENT_UPDATE, particularly if time is a critical factor when posting the material documents. The method MB_DOCUMENT_UPDATE is processed after the FI document numbers are called. As a result, no other FI documents can be posted until this document is completely updated.
    hope this helps...
    Thanks & Regards
    Kishore

  • User Exit in MIGO after SAVING of the document.

    Hi,
    After posting a MIGO transaction, I want to post another migo transaction immediately through a BAPI. The BADIS/ EXITS which I found gave a dump as there were two MIGO transactions happening at the same time.
    I need a BADI/EXIT after all the data from my first MIGO transaction is posted. This will not cause any confusion in the system... thus avoiding dump hopefully .
    Please suggest BADIs/Exit which will serve my purpose.
    Thanks & Regards,
    Abhishek Mondkar

    Hi
    I would suggest to define an output type for the material document.
    Assign the program to this output in configuration which will trigger the posting of another MIGO.
    You may use transmission medium as 8 -Special function.
    I hope this helps you.
    Regards
    Prasad

  • BADI/EXIT/Enhancement spot in during creation of PO to edit Vendor partner

    Hello,
    I am looking for BADI/EXIT/Enh. spot to edit the vendor partner during creation of a PO.
    Due to some business requirement we maintained multiple vendor partner( for same role like goods supplier) in the vendor master and for such cases during creation of PO it throws a pop-up to choose one of the partners. However, in some cases, I have to select a particular vendor partner based on some other field value, and suppress the pop-up.  So to choose the right vendor partner I need a suitable location where I can put my program logic.
    Looking forward to your replies...
    Thanks in advance.
    Best Regards,
    Amarjit Singh

    By now I am unable to test this BADI to see which data is retrieved and the moment that this happens. But the popup that you mentioned is a Z routine ?? If yes couldn't  you put your logic there?
    Regards,
    Felipe

  • Badi/exit/Workflow called during  execution of the BSP "SRMSUS_SELFREG"

    Hi all,
    We are running on SRM 5.0.(SP06) Strategic sourcing scenario.We are using enterprise Portal as the front end.My query is that at the end of Supplier  registration process,when the Supplier admin creates the USER ID's for the Suppliers(through BSP SRMSUS_SELFREG),is there any way by which we can create the enterprise Portal users for those suppliers at the same time(Automation) ?My BASIS person told me that the automation is possible when the EP system is connected only to 1 backend but in our landscape we are having several systems connected to EP.
    Other alternative would be to send a mail to the EP administrator stating that the Vendors User ID's have been created in SRM and the EP ID's need to be created.
    For this ,i didnt get any BADi/exit which gets triggered during this USER ID creation process wherein i can write my logic for sending the mail to the EP admin.
    There are some Std workflows (e.g. WS10000209)for USER creation but these dont seem to be useful in this scenario.
    So the only method left is to modify the Std BSP which  we dont want.Has anybody worked on this kind of scenario?
    Any suggestions are welcome and will be rewarded as well.
    BR,
    Disha.

    Hi
    I am still searching.. but no BADI/Exit is called in this case..
    <u>Meanwhile, i found few SAP OSS notes, which you can go through -></u>
    Note 1031896 Delimiting of Supplier Reg URL due to Special characters
    Note  1031070 Supplier cannot be registered
    Note  996030 Need to relogin to srmsus_selfreg service when using aliases
    Note 1032573 FormofAddr field mandatory in userselfreg.htm page
    Note 1003820 Supplier cannot be registered
    Note 889451 Not Possible to register in Supplier self-registration
    Note  807511 Error message after self registration of supplier admin user
    Note 784883 Irrelevant warning message stops self registration
    Do let me know.
    Regards
    - Atul

  • BADI/EXIT in Purchase Order

    Hi ALL,
    When i create a PO , payment terms displays automatically because In vendor master payment terms is maintained but in some case based on the material/vendor combination i have to select a different payment terms which i have maintained in a Z table. What i should know is, Is there any BADI/Exit which will be triggered
    1) when a line item is entered where i should be able to change the payments terms value (OR)
    2) when i check the Purchase order
    3) When i save the purchase order.
    Note : Both Header & Line item value should be available in the EXIT/BADI.
    Thanks & Regards,
    Rajanidhi Rajasekeran.

    Hi,
    Follow the below steps to find out what all BADI's are called when you press any button in any transaction.
    1) Goto se24 (Display class cl_exithandler)
    2) Double click on the method GET_INSTANCE.
    3) Put a break point at Line no.25 (CASE sy-subrc).
    Now
    4) Execute SAP standard transaction
    5) Press the required button for which you need to write an exit logic, the execution will stop at the break point.
    6) Check the values of variable 'exit_name', it will give you the BADI name called at that time.
    7) This way you will find all the BADIs called on click of any button in any transaction.
    Regs,
    Venkat Ramanan

  • Badi / Exit / Enhancement for replacing INSMK during PO creation

    Hi Gurus,
    we want to default the INSMK field (stock type) during Purchase Order creation..
    Can someone help me findind the right BAdI / exit / enhancement for it?
    Thanks in advance,
    Regards,
    Alessio

    Hi Alessio,
    You may check these first:
    Re: Negative postings to MVER table
    Re: select stock type
    Thanks,
    Gordon

  • Any standarad badi exits for tranction for bp ie in crm

    any standarad badi exits for chnaging or writing code in sap-crm standard tranction bp(busness patner) tr code is bp

    hello,
    BP is BDT (Business Data toolset) enabled (you can check it by adding break point in FM BUS_PBO and executing BP transaction). You can add your check directly to standard view (the check will be executed each time when user pushes enter) or you could add you check to appropriate action (during saving etc.) there are number of actions which you could use it depends on your requirements. You can find a lot of info about BDT (if you are not familiar) in Wiki.
    br,
    dez_

Maybe you are looking for

  • Total sum to be displayed in a table view control ?

    Hi,   I am unable to display the total sum of a column in a table view control( using HTMLB ). How should one display the sum of a column ? THanks in advance, VaraPrasad

  • Images in Address Book 4.0.4

    Hi, I am updating my address book and I was wondering if there is way to increase the image size for my contacts. At the moment it just show a tiny image and I have to double click it to see a larger version. Thanks for your help.

  • Copy movie to dvd

    can you upload movie to dvd?

  • Auto Alert Configuration

    Dear All, Anybody give me the configuration details for "Auto Alert by Email" When backup job completed. Regards, Senthil

  • System tablespace issue

    Sir, The system datafile is growing my USERS DF size is of 30G then the SYSTEM DF size is of 25G why is it so? I have checked whether any other user user is using system tbs as default tbs But that is not the case then what could be the problem? than