User Exit or BADI  to get the Total Tax Amount in a New PO (ME21M)

Hi,
Can somebody tell me any user exit or BADI I can look at to get the total Tax amount of a new PO, after user press SAVE button and before data is written to tables (EKKO, EKPO etc).
Key requirement here is AFTER save button is pressed and before data is written to tables. I want to do some validation before data goes in the table.
Thanks in advance.  Please help me.

Dear MiniSap..
Maybe you can use function PRICING or CALCUALTE_TAX_ITEM .
Best regards,
Ale

Similar Messages

  • User exit or BADI for determining the output type inme21n orme22n

    hi all,
         i have used the user exit 'exit_sapmm06e_012', it is getting triggered in me22n, i am able to check whether the vendor email id is present or not, but this is happening all the time that is even when the user dont want to send a email to the vendor i.e. he just wants to print the purchase order, even at that time this user exit is getting triggered and giving a message that the vendor email id is not maintained.
      the reson why this is happening is there is no import parameter to this user exit which gives the "medium of data transfer"  the user has entered. if i get this parameter visible inside the user exit, then i can check this parameter inside the user exit and do the required operation.   i checked up with all the user exits in "me" package and even the other related packages but none of them is getting triggered,
      do antone know a user exit or badi which imports this parameter and also gets triggered at the time of creation of purchase order.
      plz give me a solution.
    regards,
    santosh.

    Hi Santosh,
    Why not continue the other post ?
    Anyway, i am not sure to understand your requirement.
    Do you want to check that vendor email exist and issue a message only if email is not available ?
    Kind regards,
    Yann

  • User exit or BADI available for the CAPP in CA03.

    Hi,
                I have a requirement to populate the standard CAPP values to the work center activities of the routing only when all the activities are having a blank value.Please see the below paragraph for better understanding.         
    Currently in SAP when executing CAPP for a work center of the routing it over writes the existing values populated on the routing for the setup,labor,standard labor,man occupation,machine occupation…etc whether the values are blank or not. An enhancement needs to be made to only populate operations standards when all the values are blank.
    If routing is not populated with setup, machine, labor standards, man occupation, machine occupation and work center is setup for default standards in CAPP, then run the CAPP process to apply standards from work center zcappstds table. The program that is run to apply these standards currently is SAPLCETO. Potentially ca96 and the batch process that updates the material master RCPMAU01 will have to be adjusted as well.
    Please help me if anybody knows the user exit/Badi for this requirement.Please reply me soon this is an urgent requirement
    thanks in advance,
    Samyuktha.

    I dont have details abt exact user Exit or badi which will suit ur requirement. But below info will give you the way to find out the same.
    Have a look at below link,
    http://www.erpgenie.com/sap/abap/code/abap26.htm
    which gives the list of exits for a tcode
    There are multiple ways of searching for BADI.
    • Finding BADI Using CL_EXITHANDLER=>GET_INSTANCE
    • Finding BADI Using SQL Trace (TCODE-ST05).
    • Finding BADI Using Repository Information System (TCODE- SE84).
    1. Go to the Transaction, for which we want to find the BADI, take the example of Transaction VD02. Click on System->Status. Double click on the program name. Once inside the program search for ‘CL_EXITHANDLER=>GET_INSTANCE’.
    Make sure the radio button “In main program” is checked. A list of all the programs with call to the BADI’s will be listed.
    The export parameter ‘EXIT_NAME’ for the method GET_INSTANCE of class CL_EXITHANDLER will have the user exit assigned to it. The changing parameter ‘INSTANCE’ will have the interface assigned to it. Double click on the method to enter the source code.Definition of Instance would give you the Interface name.
    2. Start transaction ST05 (Performance Analysis).
    Set flag field "Buffer trace"
    Remark: We need to trace also the buffer calls, because BADI database tables are buffered. (Especially view V_EXT_IMP and V_EXT_ACT)
    Push the button "Activate Trace". Start transaction VA02 in a new GUI session. Go back to the Performance trace session.
    Push the button "Deactivate Trace".
    Push the button "Display Trace".
    The popup screen "Set Restrictions for Displaying Trace" appears.
    Now, filter the trace on Objects:
    • V_EXT_IMP
    • V_EXT_ACT
    Push button "Multiple selections" button behind field Objects
    Fill: V_EXT_IMP and V_EXT_ACT
    All the interface class names of view V_EXT_IMP start with IF_EX_. This is the standard SAP prefix for BADI class interfaces. The BADI name is after the IF_EX_.
    So the BADI name of IF_EX_CUSTOMER_ADD_DATA is CUSTOMER_ADD_DATA
    3. Go to “Maintain Transaction” (TCODE- SE93).
    Enter the Transaction VD02 for which you want to find BADI.
    Click on the Display push buttons.
    Get the Package Name. (Package VS in this case)
    Go to TCode: SE84->Enhancements->Business Add-inns->Definition
    Enter the Package Name and Execute.
    Here you get a list of all the Enhancement BADI’s for the given package MB.
    Best Regards,
    Vibha
    *Please mark all the helpful answers

  • User Exit or BADI to update the service order  in R/3

    Hi,
    When creating a service order the following fields need to be populated automatically using an user exit or badi.
    1. Planner Group
    2. PMActType – Plant maintenance activity type
    3. Cost/Profit Centre
    4. WBS element
    5. Work center
    so my requirement is there any function module or Badi or user exit to update the service order details when service order is created / changed.
    Pls do the needful.
    Reg
    Ramana

    Hi Ramana,
    Go to SPRO Transaction and follow the below path
    Customer relationship management>Transactions>Settings for Service Processes>Business Add-Ins and you will find 8 BADI's.
    Check these BADI's useful for you.
    Regards,
    Lijo Joseph

  • User Exit or BADI  to update the  service order

    hi,
    When creating a service order the following fields need to be populated automatically using an user exit or badi.
    1.     Planner Group
    2.     PMActType – Plant maintenance activity type
    3.     Cost/Profit Centre
    4.     WBS element
    5.     Work center
    so my requirement is there any function module or  Badi or user exit to update the service order details when service order is created / changed.
    Pls do the needful.
    Reg
    Ram
    Message was edited by:
            RAMANA MYLAPALLI

    Best Possible way is.
    go to se24 -> type in CL_EXITHANDLER -> Go to get_instance method.
    Put a breakpoint on CALL METHOD cl_exithandler=>get_class_name_by_interface.
    Now run the transaction and check which all BADI and user exits are invoked when u call the transaction.
    Idenitfy the BADI which can be useful to you.
    Reward if u find it useful.
    Thanks
    Kartavya

  • User Exit or BADI for catch the document number after saving the document

    Hi ,
    I am working on data conversion where Document number(BELNR),BKPF and BSEG  data should
    transfer to my Z table(Containes fileds of BKPF and BSEG) after SAVE the document related to
    Tcodes F-01 , F-22 , F-28 , F-43 , FB01 , FB02, FB60 ) . It need to go through by any user-exit or
    BADI.So Could you please suggest me any User exit or BADI ASAP.
    Waiting for reply.
    Thanks
    Lakshmi

    You should use BTE (Business transaction event). This concept is used especially for FI related enhancements...
    Study this document to know how to use BTE
    http://www.todoabap.com.ar/archives/FI%20Enhancement%20Technique%20-%20How-To-Guide%20on%20the%20Usage%20of%20Business%20Transaction%20Events%20(BTE).pdf
    Let me know if you face any specific issues..

  • User exit or badi neede for the vl02

    Hi All,
    My user will do the GOODS ISSUE Through the VL02 ,So the shelflife expiry date will perform at this time,it will give the error message if the Batch shelf life expiredate is not matching with material master shelflife expriry date,but my user wants to skip this check for a particular movement type , So to solve this issue can any one tell which enhancement technique is suitable to solve this issue,if that is user-exit or BADI Please could you give that user-exit/BADI Name .
    Thanks in advance..
    SRIHASA

    you can use these many badi for user exist in vl02:
    Enhancement/ Business Add-in            Description
    Enhancement
    VMDE0004                                Shipping Interface: Message SDPACK (Packing, Inbound)
    VMDE0003                                Shipping Interface: Message SDPICK (Picking, Inbound)
    VMDE0002                                Shipping Interface: Message PICKSD (Picking, Outbound)
    VMDE0001                                Shipping Interface: Error Handling - Inbound IDoc
    V53W0001                                User exits for creating picking waves
    V53C0002                                W&S: RWE enhancement - shipping material type/time slot
    V53C0001                                Rough workload calculation in time per item
    V50S0001                                User Exits for Delivery Processing
    V50R0004                                Calculation of Stock for POs for Shipping Due Date List
    V50R0002                                Collective processing for delivery creation
    V50R0001                                Collective processing for delivery creation
    V50Q0001                                Delivery Monitor: User Exits for Filling Display Fields
    V50PSTAT                                Delivery: Item Status Calculation
    V02V0004                                User Exit for Staging Area Determination (Item)
    V02V0003                                User exit for gate + matl staging area determination (headr
    V02V0002                                User exit for storage location determination
    V02V0001                                Sales area determination for stock transport order
    Business Add-in
    DELIVERY_ADDR_SAP                       Address Change in Delivery Processing
    DELIVERY_PUBLISH                        Announcement of delivery data during database update

  • User Exit or BADI to change the product cost

    Hi All,
    My requirement is to change the product cost when the costing engine is running via ck11n or ck40n. Iam looking for user exits and BADI's for this requirement.
    I did look into the BADI DATA_EXTENSION_CK but this particular BADI does not have export or changing parameters. Can anyone suggest any user exit or BADI's for this requirement. I also looked into other BADI's like
    CK_KALAMATCON2_CI
    COSTINGRUN_CK
    COST_APPORTION_CK
    CO_PROD_COSTING_CK
    DYNPRO_EXTENSION_CK
    ORDER_COSTING_CK
    QUANTITY_STRUCT_CK
    SUR_STOCK_TRANSF_CK
    VALUATION_CK
    But none of them served the purpose. Plz help...Thanks in advance...
    Regards,
    Nirmal.

    Hi,
    Check followinf enhancement spots:
    CO_PROD_COSTING_CK              Cost Management for Joint Products (Costing, Target Costs)
    COSTINGRUN_CK                         Edit Costing Run
    ES_CAL2TYPE                             ES_CAL2TYPE
    ES_LCK40VWS
    ES_SAPLCK00                            es_SAPLCK00
    ES_SAPLCK01                            es_SAPLCK01
    ES_SAPLCK04                            SAPLCK04
    ES_SAPLCK2U                            es_saplck2u
    ES_SAPLCK36                            es_saplck36
    ES_SAPLCKCC02                        ES_SAPLCKCC02
    ES_SAPLCKDI                             ES_SAPLCKDI
    ES_SAPLCKKK
    ES_SAPRCKCU
    ESC_CL_COSTING_PERSISTENCE
    LCKDIO2M_01                             ES_SAPLCKDI
    LCKDIO2T_01                              ES_SAPLCKDI
    ORDER_COSTING_CK                 Enables Header Data Changes in Preliminary Order Costing
    QUANTITY_STRUCT_CK               Enables Quantity/Structure Changes in Costing
    VALUATION_CK                           BAdI for Valuation in Product Costing
    Hope this may be useful..
    Regards,
    Prashant

  • Rate - How to get the total invoice amount?

    Hi Experts,
    I need assign the 'total invoice amount' to an operand then do some discount calculation. The question is how I could get it. I tried COMPUT99, but it doesn't get anything.
    Thank you,

    Hi - Why don't you use DISC*  ( discount ) variant programs instead of comput99 , you can create a custom variant and fetch the invoice value from ERDK .
    Regards,
    Shekhar

  • User-Exit - MIGO How to get the Number of Material Document

    Hi everyone!!
    I'm looking for an user-exit after saving in MIGO transaction. I need the Number of Material Document (MKPF-MBLNR) to generate an IDOC.
    Does anybody knows an user-exit to get this number?
    Regards,
    Rubens Kumori
    Edited by: Rubens  Kumori on Oct 20, 2008 3:26 PM

    In BADI definition [MB_DOCUMENT_BADI|https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_all&query=mb_document_badi&adv=false&sortby=cm_rnd_rankvalue], you may use interfaces [MB_DOCUMENT_BEFORE_UPDATE|https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_all&query=mb_document_badiMB_DOCUMENT_BEFORE_UPDATE&adv=false&sortby=cm_rnd_rankvalue] (before update task) and [MB_DOCUMENT_UPDATE|https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_all&query=mb_document_badiMB_DOCUMENT_UPDATE&adv=false&sortby=cm_rnd_rankvalue] (in update task)
    Regards

  • User exit or BADI to change the delivery date in ME51N  transaction

    Hi Gurus,
       I need a user exit or a BADI where I can change the delivery date in the item overview  tab for each material. I need to calculate the date according the vendor contact details.
    Please let me know if there is any BADI or a user exit for the same
    Thanks a lot!!!
    Sharath

    quick search for exits/badis: get package name and supply it into se80
    or
    se15
    thanq

  • User exit or Badi for changing the lead time in ATP check in VA01/VA02

    Hi All,
    Currently, SAP standard functionality takes up the lead times maintained in material master to create the schedule lines in the sales order in VA01. I am looking for some user exiit/Badi/Enhancement point where I can change the lead time. This is somewhat urgent so any help in this regard is appreciated.
    Regards,
    Sandeep
    Edited by: Sandeep Gaitonde on Sep 1, 2011 9:16 PM

    Hi Sandeep,
    These are the user exits will trigger in va01 .
    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
    Please check this and post .
    Regards,
    Madhu.

  • USER EXIT or BADI to update the field in trx. ME41

    Hi guys,
    My requeriments is  update the field EKKO SUBMI of record when the trx. ME41 but can not find how to do it, the BADI ME_PROCESS_CUST the method POST not allowed me to meet user and not allow the update the field.
    Please help ...
    Thanks.

    Hi Ramana,
    Go to SPRO Transaction and follow the below path
    Customer relationship management>Transactions>Settings for Service Processes>Business Add-Ins and you will find 8 BADI's.
    Check these BADI's useful for you.
    Regards,
    Lijo Joseph

  • User exit or badi for saving the data in mm01

    Hi All,
    I added one custom screen in mm01  using SPRO ,as well as i added 2 new fields in makt table using Append statement, now the problem is am not able to save the custom screen data in standard makt table  can any one  help me in this ,tell me which Badi or Exit is useful for this requirement.
    Thanks,
    Priyanka
    Edited by: priyankanukala on Feb 21, 2012 7:55 AM
    Edited by: priyankanukala on Feb 21, 2012 8:01 AM
    Edited by: priyankanukala on Feb 21, 2012 8:04 AM

    Hi
    You don't need them. See Note 44410 - Integrating cust.-specific fields in matl master for further information, and copy the code for PAI event in your custom dynpro. You need something similar to this:
    process after input.
    *coding......
      chain.
        field: mara-zzfield1,
               mara-zzfield2.
        module checks_on_zz on chain-request.
      endchain.                                               
    * coding .......
    I hope this helps you
    Regards
    Eduardo
    Edited by: E_Hinojosa on Feb 21, 2012 9:26 AM

  • User Exit or BADI used to block the payment in MIRO

    Hi all,
    Is there any user exit or BADI to block the payment in MIRO . please give me in detail with all methods used.
    Thanks
    babu

    can anybody give me any answer. thanks.

Maybe you are looking for