User Exit/BADI/BAPI for ME51n

Hi Experts,
       My requirement is somewhat like this: I need to capture all the EBAN and EBKN data for a NEW PR created. Could you please tell me which User Exit or BADI or BAPI can be used to capture the details AFTER the SAVE button is pressed in ME51N (Create PR)? Most probably it should one of the last ones called just before insertion into the database??!!
Thanks a lot in advance. Your input would be of great help.
Amrita.

Hi
For PR creation ME51N will call BAPI_PR_CREATE.
For more information, refer to the interface documentation: IF_EX_ME_BAPI_PR_CREATE_02
Standard settings
The BAdI can be used multiple times.
There is no default implementation.
Information about the implementation of BAdIs in the context of the Enhancement Concept is available in the SAP Library for SAP NetWeaver under BAdIs - Implementation.
Example
The class CL_EXM_IM_ME_BAPI_PR_CUST is available for an example implementation

Similar Messages

  • User Exit, Badi, BApi for MD01

    Hi,
    I got a requirement for running MRP at PLANT LEVEL. I have developed an userexit such that when its triggered it will
    consider only HALB and FERT Materials and not for ROH ( ie Pur.Req will not be generated ) and in the same way my
    client want the next userexit such that while running the MRP it should consider only ROH ( ie Pur.Req should be
    generated ) and  Planned Order for HALB and Fert should not generated.  I couldn't do this requirement in userexit
    without exploding the BOM .( I feel only if we explode the BOM PR will be generated, but my client don't want planned
    order generated for HALB and FERT materials )  ( i cannot use md02) Can anyone tel me the logic or the Method
    possible to meet this requirement.

    I need to implement the same for ROH type of object
    Can u tell me how to do this...

  • MIGO - User Exit / BADI / BAPI

    Hi All,
    I have an reuirement that when user save document in MIGO then I want to send an e-mail alert to concerned user for inspection of goods in store. Is there any user exit / BADI / BAPI where I can write my code to send mail in MIGO tcode.
    Thanx and Regards,
    Rajesh Vasudeva

    Hi,
    Try using BADI MB_MIGO_BADI or MB_MIGO_ITEM_BADI or WB2_ADDITIONAL_DATA or WB2_EXPENSE_ENHANCE or BADI_MATN1 or WVKU_DETERMINE_SP or ME_CIN_LEINRF2V or ME_CIN_LEINRF2R.
    KR Jaideep,

  • User Exit / Badi / BTE for Asset creation A ?

    Hi Experts,
    I need User Exit  / BADI / BTE for asset Creation.
    After saving newly created Asset from As01 we need to send a mail to the person for whom the Asset is assigned.
    i have tried all this.But no one is triggering after saving the As01 transaction.
    Exit Name           Description                                                                               
    AAPM0001            Integration of asset accounting and plant maintenance                    
    AFAR0003            External changeover method                                               
    AFAR0004            Determination of proportional values for retirement                      
    AINT0004            Change amount posted for certain areas                                   
    AINT0005            Dummy for extended syntax check. Do not use.                             
    AISA0001            Assign Inventory Number                                                  
    AIST0001            Exchange number range in master data maintenance                         
    AIST0002            Customer fields in asset master                                          
    AMSP0002            Determine relationship type for two company codes                        
    TRAN0001            User exit for asset transfer           
    Please suggest if anybody worked on this.
    regards,
    Imran

    Hi,
    Check out the following posts pertaining to similar topic.
    Change Asset Workflow
    Asset Management WORKFLOW
    Regards
    Sreekanth

  • User Exit/ Badi/ FM for Tcode IW32

    Hi Experts,
    I have a requirement which i need to update the next line with the same part number concatenate with u201CNVu201D and in the quantity enter u201C-1u201D and  enter the item category as u201CLu201D.
    The scenario is this,
    In the service order (IW32) when ever a component is entered on a new line item, example below:
    RESBD-MATNR= spare part(Ex: 0614-2331) compponent
    System should update the next line with the same spare part number concatenate with u201CNVu201D
    Ex: 0614-2331NV
    and
    Required quantity (RESBD-MENGE) =-1
    Item Category(RESBD-POSTP) = L
    Plant(RESBD-WERKS)= US40
    has anyone done this before? Can you lend a hand? I just need the exit/ badi where the coding can be done.
    Thanks.
    Regards,
    Min Dee

    Hi,
    try this User Exit..
      Exit name    Short text
      IWO10012  Maintenance order: Priority handling on central header
    to find the user exits & Badi's for the T-code..
    go to table TSTC>enter T-code and execute> get the Program for the t-code..
    and go to-se38-->get the package attached to the t-code..
    next go to t-code Se15>expand the enhacement tab>enter package under userexit and
                                                         execute you will get the list of exits
                                                         available...
                                                      -->enter package under Badi's tab and
                                                         execute you will get the list of Badi's
                                                         available... 
    All the User exits are stored in Table MODSAP..
    Prabhudas

  • Developing custom IDOC , USER Exit , BADI , BAPI and RFC

    Hi,
    I want basic information on developing custom IDOC , USER exit , BADI ,BAPI and RFC.
    Thanks in advance

    Neha,
    >custom IDOC ,
    http://www.geocities.com/xplosion78/customised_ALE_IDOC_BY_SACHIN_DABHADE.zip
    >USER exit
    USER EXIT
    > BADI
    BADI Development Contents
    > BAPI and RFC
    Re: BAPI Development
    Cheers
    Agasthuri Doss

  • User-Exit / Badi / BTE for STWB_WORK for integrating 3rd party tool

    Hi,
                 I need a user-exit / badi / BTE for the transaction STWB_WORK user test worklist. I'm trying to integrate a 3rd party tool to this transaction. When a worklist from this transaction is selected, i'll run the 3rd party tool executable from abap coding in the user-exit/badi/bte. Can anybody help me find one?
    thanks,
    Venky

    Hello Venky,
    I saw your question in sdn and I am wondering, if you got a solution for your question.
    I will be very happy, if you can help me you. I have the same problem as you.
    cu Manfred

  • User exit/ badi needed for planned order create/change,collective ATP check

    Dear All,
    I'm looking for a user exit/ badi which can be used for planned orders at the stage of
    mass collective availability check (COMAC tcode) update; or at some other relevant stages of mass update of planned orders.
    I need after collective availability check to perform the following:
    1) to copy date from "total comitment" field on header tab of planned order and paste it (replace old date) to order finish date on header screen
    then
    2) to start a scheduling.
    Very appreciate your help.
    Best Regards,
    Andrey
    Edited by: Andrey Kruglov on Apr 15, 2010 3:06 PM
    Edited by: Andrey Kruglov on Apr 15, 2010 3:07 PM

    Dear,
    Use the BAPI : BAPI_PLANNEDORDER_CHANGE
    Or use the function module MD_SET_ACTION_PLAF for Schedule planned order.
    and the transaction MDAC Execute action for planned order
    This function module includes the following actions:
    Explode BOM
    Explode BOM, check availability
    Check availability, only explode BOM in the case of a requirement
    Check availability, do not explode BOM
    Reset availability
    Change planned order data
    Schedule planned order
    Delete planned order
    Assign the key for the respective action control to the materials in the material master (MRP 4 view).
    Please refer this thread,
    Re: MDVP for collective orders
    Regards,
    R.Brahmankar

  • User Exit or BAPI for Auto Backflush

    Hi,
    We have a requirement like-
    In backflush transaction (MFBF) for finish good we have many dependant materials that also need to be backflushed individually. To avoid this manual backflushing one by one we want to automate the process with the help of user exits available in SAP.
    Is there any User-Exits or BAPI by which we can acheive the above process automatically. Need some examples
    Thanks & Regards
    AK

    Hi,
    For MFBF there are sollowing user-exits....
    XMRM0001 - Backflushing in Repetitive Manufacturing.
    PTRM0001 - For lead column in REM planning Table.
    SAPLRMPU - Customer Exit for Article Staging.
    Reward points if useful....
    Regards
    AK

  • User-Exit/BADI/BTE for transaction /COCKPIT/1

    Hi everybody,
    I need to send and Idoc when a MM invoice enters the system from transaction /COCKPIT/1.
    I already made a function to send the idoc but now I'm having trouble to find a place to fire it.
    Any help would be very much appreciated.
    Thanks.
    Fábio Galvã

    Hi ,
    I dont know if replying on such an old link will help.
    Did you find the user exit /Badi for this transaction?
    Regards,
    Kushmeen

  • Need the user exit/BADI name for Reverese order MIGo- ME21N(changing item)

    Hi
    I have the below requirement.
    I am changing the item details in the transaction MIGO transaction,the value of MSEG entries
    are got changed.and also it should change in the Purchase order level also(in the table EKKO).
    Can anybody tell me the User Exit /BADI name which is triggered in the Reverse order
    i.e MIGO -> ME21N.So that i can implement my code in the reverse order in the User Exit/BADI.

    hi I did not find any paramater type EKPO in the Exporting or changing of any methods in the BADI's given by you...........

  • USER-EXIT /BADI/ BTE for ROUTING.

    Hi,
    Can somebody help us with  USER-EXIT / BADI / BTE which gets triggered when a routing is being saved? (TX CA01 and CA02)
    We try to use BADI  CUSLNTRTO_ADDIN but it does not meet our requirements.
    Regards.

    Hi,
    You can find it own your own. In one session open SE37 and FM BF_FUNCTIONS_FIND. Set a break-point at call function syntax. Then in another session open F871 and create a doc. Now the system stops at the break-point. Read the container I_EVENT. It'll container the BTE that is triggered when this doc. is created. Then customize that BTE using tcode FIBF.
    Regards,
    Raj

  • Validation \ User-exit \ BADI \ BTE for F-43 for missing exchange rate

    Hi,
    I maintain the exchange rate on a daily basis in TCURR exchange rate table.
    But, let's say that, by accident, in one day I fail to input the exchange rate.
    In this case, when I input a invoice in F-43, I'd like for the system to issue a warning (blocking) message saying that there is no exchange rate for that specific posting (translation) date.
    I tryed to create a validation for F-43. But the conditions available in validation are just too simple and I couldn't achieve my goal.
    However, I saw I can attach an user exit to the validation or an user exit directly in F-43.
    I found in SMOD the following user-exits for F-43 (in package FBAS), but I don't know how to use them:
    F050S001 FIDCMT, FIDCC1, FIDCC2: Edit user-defined IDoc segment
    F050S002 FIDCC1: Change IDoc/do not send
    F050S003 FIDCC2: Change IDoc/do not send
    F050S004 FIDCMT, FIDCC1, FIDCC2: Change outbound IDoc/do not send
    F050S005 FIDCMT, FIDCC1, FIDCC2 Inbound IDoc: Change FI document
    F050S006 FI Outgoing IDoc: Reset Clearing in FI Document
    F050S007 FIDCCH Outbound: Influence on IDoc for Document Change
    F180A001 Balance Sheet Adjustment
    FARC0002 Additional Checks for Archiving MM Vendor Master Data
    RFAVIS01 Customer Exit for Changing Payment Advice Segment Text
    RFEPOS00 Line item display: Checking of selection conditions
    RFKORIEX Automatic correspondence
    SAPLF051 Workflow for FI (pre-capture, release for payment)
    Can you help me to attach an user-exit to a validation or an user exit directly in F-43 to do the specified validation?
    Or maybe this can be done with a BADI \ BTE?

    Thanks for the reply.
    I succeded creating the validation with an user-exit. I made the following steps:
    1) I created the validation in GGB0 (for document header), issuing a standard message (420 "Exchange rate not found") from message class (ZRSAU) - which is a copy of RSAU message class (in the beggining I put no pre-requisites, checks or rules, just the message).
    2) In OB28 I attached the validation (with call point document header) and I made it active (without batch input).
    3) I copied the RGGBR000 program (which is standard program with an example of validation) into ZRGGBR00 (it should be maximum 8 characters).
    Then I changed the ZRGGBR00 program (form U100) comparing the translation date (from BKPF) with the date from table TCURR (and exchange rate type M, and documents currency other than local currency).
    If the program doesn't find any exchange rate in TCURR in that date, it issues the error message (assigned in GGB0).
    4) In GGB0, I put the U100 user exit as a check and rule
    5)  In GCX2, I attached the ZRGGBR00 program to the GBLR application area (which is for user exits for validations / rules).
    Now it's working fine!

  • User exit/BADI  required for coding for the selection custom fields in RSA3

    Hi,
       I have a requirement  in the Datasource extractor. I need to add custom Z fields  in the Data souce of the  2LIS_02_SCL and need to include in the selection part. So I have added the custom filed in the append structure and include the check in the selection checkbox in the transaction LBWE  under the datasource specified above. For the corresponding custom fields, to be populated in the ALV list, I have written the code in corresponding user exit  ZXRSAU01.
    Now I can view my custom Z fields in the list as well as on the selection fileds  while executing the transaction RSA3. But I need to write code for the selection criteria part.  On entering value in the selection criteria of my custom z field, no  values are selected to the corresponding query. Please let me know where should i write the coding part for the selection criteria of the Z fields for the Datasource.
    On debugging, to my understanding only  the standard fields are alone getting filtered by providnig the values in the selection part of the RSA3 tcode. It is called in Macros : Sel  < Datasorce> .... and  the fetch cursor is included inside the macros.
    Please let me know any user exits or Badi;s available for it.
    Thanks in advance

    Hi shivu,
    you might try the BAdI RSU5_SAPI_BADI. A good introduction can be found in the following document:
    [Enhancing DataSources with BAdI RSU5_SAPI_BADI|http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/3001894b-b1fb-2910-77ba-e80b6f2053b7]
    The BAdI is called at the time of extraction, so this would be the right place to populate your additional fields.
    Best,
    Chris

  • Needs User-Exit/BADI name for Purchase Order in ECC 5.0

    MM Experts,
    We are using ECC 5.0. We have a requirement to change the value of standard SAP fields on the line item and header of the PO tables after PO is saved in the system.
    I will appreciate if someone can guide me about which BADI or User-Exit I have to use to achieve this.
    Rewards will be awarded for helpful tips.
    Thanks in advance!
    MP

    Charlie,
    Thanks for your quick reply. Do you have sample code for this BADI. If yes, then can you please let me know your email address .
    Thanks.
    MP

Maybe you are looking for