USER EXIT PA for change material code

Hi,
I am looking for an user-exit for PA. In some cases, when we create a Post Document we need to change the material code, only in PA, not in FI.
I have been looking for an user-exit to solve this question, but I find nothing. Do you know an user exit?
To implement an usert exit for PA, is it necessary always to use tx KEDR?
Thanku2019s in advance.
Regards.

Hi;
For implementation of User Exit in COPA you need to use KEDR.
My understanding of your Requirement is old Material No Raplacement to New Replacement..
my assumption of your  scenario you  will create new Table and maintain Old No Against New Material No; from this table  user Exit  call  new material and substituting old No or do you have any other ideas on your requirement?
try one more way
Derivation Rule 1.
use clear Option and Remove Old Material No in COPA documents.
Derivation Rule 2
Use Derivation Rule Option and make Condtions like old No = New material No.
Regards
satish

Similar Messages

  • User exit/BADI for changing the exchage rate type in MIGO

    Dear guru's,
    Please help me in finding the user exit/BADI to change the exchange rate type in MIGO.
    Regards,
    Abdul Rahim

    did you check this one MB_GOODSMOVEMENT?
    also exchange rates needs to be changed at Purchase order level and those will be reflected while creating MIGO.

  • BADI/User Exit/BTE for updating Bar code in FI Invoice posting

    Hi,
    We have a requirement to update the bar code value in the table BDS_BAR_IN, once the FI invoice is generated. This is an inbound. I tried, but didn't find any user exit/BADI/BTE to do the same.
    Basically, I need to get any of these enhancement points where I can update bar code with the generated FI document number.
    Would appreciate your help.
    Thanks
    Itishree.

    Hi,
    Pls check if any of the following is good for ur scenario;
    BBPIV001  User Exits EBP Invoice Verification
    EBIA0019  IS-U: Customer-Specific Invoice Comparison
    IDCP0001  Customer Data for Printing Prenumbered Invoices
    J_1ASD06  User-exit invoice reference in billing document (SD)
    LMEXF001  Conditions in Purchasing Documents Without Invoice Receipt
    LMR1M001  User exits in Logistics Invoice Verification
    LMR1M003  Number assignment in Logistics Invoice Verification
    LMR1M004  Logistics Invoice Verification: item text for follow-on docs
    LMR1M006  Logistics Invoice Verification: Process XML Invoice
    MCBR0001  INVCO: Statistics update from invoice verification, valuatn
    MCP20009  Extrapolation of Invoiced Sales for OTB
    MCS60001  SIS: Statistics update, invoices
    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
    NBILL003  IS-H: Case-Related Invoice Processing
    NEBILL00  IS-H: Function Exits for Estimated Invoice
    NPRI0001  IS-H: User exits for invoice printout
    NPRISG01  IS-H: Function Exits for Invoice Print SG
    OICM0001  Exit for IS-Oil Repricing at Invoice Verification
    PCA00004  Check valuation for invoice verification with transfer price
    PCA00005  Check valuation for invoice verification with transfer price
    V54C0004  Shipment Costs Processing: Determine Loc. for Tax Invoice
    BADIs
    /CWM/DEFAULT_VAL_IV             BAdI for Default Logic in Invoice Verification
    /DSD/SL_FSR_INV_PROC            DSD Final Settlement Run: Processing Invoice Data
    /SAPDII/SPP_INV_XML             XML file download for invoice details
    /SPE/CRM_SUPPL_IV               Supplier Invoice
    BADI_INV_PRTDATA                Customer Exit for Data Procurement for Invoice Printing
    FI_GET_INV_PYMT_AMT             BAdI for determining the payment amount for an invoice
    FMFG_IMPROPER_PANEL             Additional Processing of Improper Invoice Panel
    ICL_INVOICE                     BAdI: Changes to Invoices or Collective Invoices
    INVOIC_FI_INBOUND               BADIs for Inbound IDoc INVOIC FI (Vendor Invoice)
    INVOICE_UPDATE                  Business Add-In: Logistics Invoice Verification
    ISH_DOP_DEDUCTION               IS-H: Deduct Down Payment From Invoice
    ISH_FILL_RNF49                  IS-H: Fill Form Structure RNF49 (Cllct. Invoice Cnc. Doc.)
    ISH_FILL_RNFP2S                 IS-H: Fill Form Structure RNFP2SE (Collective Invoice Items)
    ISH_INV_CANCEL_CHK_1            IS-H: Check Whether Invoice Can Be Canceled
    ISH_INVOICE_CHECK               IS-H: Check Invoice Creation
    ISH_PRINT_INVOICE               IS-H: Invoice Print
    ISJP_ITEM                       Invoice Summary Items
    MB_CIN_MM07MFB7_QTY             Proposal of quantity from Excise invoice in GR
    ME_CIN_LEINRF2V                 BADI for LEINRF03 excise_invoice_details
    MR_CIN_MM08RFS0                 BAdI for carrying excise duty to carry invoice verfication
    MRM_RELEASE_CHECK               BAdI for Additional Checks Before Invoices are Released
    OIA_ERS_ENHANCEMENT             Invoice split possibility
    SS01_BADI                       Payment Statistical Sampling BAdI - Invoice Batching
    VLC_INIV_EXECUTE                Execute Action INIV (Create Incoming Invoice)
    VLC_OUIV_EXECUTE                Execute Action OUIV (Create Outgoing Invoice)
    WB2_ALV_IV                      Change ALV Data from Invoice Verification Documents
    WB2_SALES_INV_INPUT             BADI to modify input data for sales invoice
    WB2_SALES_INV_OUTPUT            BADI to get data from created sales invoice
    WOSCR_EXI                       SAP Retail Store: Vendor Invoice
    Regards,
    Renjith Michael.

  • User Exit/ Badi for Changing Quant parameters during TO Creation

    Hi Gurus,
    Could you please guide me to advice the User Exit/Badi which can be used for changing Quant Data during TO Creation.
    User Requirement: Using "Recepient Field" in MIGO as a Key Value for FIFO in WM during goods issue. Receipient is copied into TR and TO (Standard SAP Functionality). For the purpose of Stock Removal based on Receipient Value, we need to copy this value into Quant Data field named Certificate Number ("LQUA-ZEUGN").
    I will highly appreciate reply from Gurus.
    Regards,
    Gupta M

    Hi manish,
    Use the Exit MWMTO001 for this purpose and modify the table accordingly. This will solve your problem.
    Thanks,
    Shibashis

  • User Exit / Badi for posting Material configuration in VA01

    Hi All
    I am looking for a user exit /Badi to automatically update the material configuration & its values while Sales Order Entry (VA01).
    Can any one tell me, is there any enhancement exist to do this.
    Thanks
    Ravi

    Hi,
    in MV45afzz, userexit_savedocument_prepare,
    CUCB_GET_SINGLE_instance use this function to get values for configuration, we need to pass XVBAP-CUOBJ to instance importing parameter.
    we can see there values line type in the tables parameter.
    we can update configuration data, just check function  group 'CUCB', you will get function module to update configuration for va01.
    Thanks
    Ramesh

  • IW31 - User Exit / BADI for changing data in Component's Order.

    Hi gurus,
    I need to update the field WEMPF in the order components during the Order Creation (Tx IW31).
    Is there any User Exit or Badi I can use?
    Thanks in advance !!

    At WO10009 User Exit...we can use this FM:
    CO_BC_RESBD_OF_ORDER_GET -> Get RESB internal table.
    CO_BT_RESB_UPDATE -> Update RESB table.
    Althought during creation (IW31) when the order numer is temporal ($$$$$$$$$$$1), this FM works great, cause it reads from memory, not from database.
    Regards,

  • User exit/Badi for changing operation work center based on service product

    Hi,
    I have an requirement to change the operation work center based on the service product in IW31/IW32 transaction. I am using the BAdi 'IM_SM_BADI_READT399A' for changing the main work center. It changes all the operation work centers except the first one. But I need to change it all the operations.
    Thanks in Advance.

    I am using the enhancement spot 'IWO1_TL_INTEGRATION2' for changing the first operation work center

  • MRP User Exit/BAdI for changing plant stock

    Hi,
    I have a client who is wanting to add consignment stock to plant stock during the MRP run for materials with a certain material group.
    I need to find an exit or a BAdI which is called at an appropriate time to have a developer code this function.
    Anyone have any ideas? I don't want to make changes to SAP Standard code!
    Thanks,
    Mark

    Hi,
    If am right, you want to consider the customer consignment stock in MRP, if yes then I believe the BADi -> MD_CHANGE_MRP_DATA should meet your need.
    I have not used this BADi, but check with your abaper if the method CHANGE_MDPSX_MARD reads the stock & then the unrestricted stock can be added with customer consignment stock from MSKU.
    Check & revert if the above meets your need.
    Regards,
    Vivek

  • User-Exits/Badis for T.Code Co01 Production Order

    Hi Friends,
    Please can any one give the User-Exits/ Badis For Co01 , I need to link the Material with Documents....
    Thanks,
    Ravi...........

    These are the available user exits..
    CCOWB001            Customer exit for modifying menu entries
    COIB0001            Customer Exit for As-Built Assignment Tool
    COZF0001            Change purchase req. for externally processed operation
    COZF0002            Change purchase req. for externally procured component
    PPCO0001            Application development: PP orders
    PPCO0002            Check exit for setting delete mark / deletion indicator
    PPCO0003            Check exit for order changes from sales order
    PPCO0004            Sort and processing exit: Mass processing orders
    PPCO0005            Storage location/backflushing when order is created
    PPCO0006            Enhancement to specify defaults for fields in order header
    PPCO0007            Exit when saving production order
    PPCO0008            Enhancement in the adding and changing of components
    PPCO0009            Enhancement in goods movements for prod. process order
    PPCO0010            Enhancement in make-to-order production - Unit of measure
    PPCO0012            Production Order: Display/Change Order Header Data
    PPCO0013            Change priorities of selection crit. for batch determination
    PPCO0015            Additional check for document links from BOMs
    PPCO0016            Additional check for document links from master data
    PPCO0017            Additional check for online processing of document links
    PPCO0018            Check for changes to production order header
    PPCO0019            Checks for changes to order operations
    PPCO0021            Release Control for Automatic Batch Determination
    PPCO0022            Determination of Production Memo
    PPCO0023            Checks Changes to Order Components
    STATTEXT            Modification exit for formatting status text lines

  • User exit/BADI for material Po text

    HI,
    can any one suggest me User Exit/BAdi for material PO text in item level in PO
    Regards

    USE ME_PROCESS_PO_CUST
    METHOD : PROCESS_ITEM
    REGARDS
    KANISHAK

  • CIF user exit works for Integration Model only when we De-Activate

    Hi Friends,
    I have enhanced the CIF User Exit [EXIT_SAPLMEAP_001] and populated the code in Include ZXCIFU14 for calculating the value of Open Order Quantities[OOQ] with respect to Material, Plant and Contracts, PO's then It transfer the OOQ from R/3 to APO.
    Here it is Triggering the User Exit and working fine only when we De-Actrivate and Activate the Integration Model thru CFM3.
    But In case of PO changes it is automatically calling the User Exit and Trasfer the OOQ from R/3 to APO.
    When we change the Master Data it is not triggering the User Exit Automatically.
    Could you someone suggest why we required to De-Activate the User Exit when we run the Integration Model every time.
    Please suggest if we need to follow any pre required steps and why this behaviour for User Exit [EXIT_SAPLMEAP_001].
    Waiting for your answer......Thanks in advance.......
    Regards,
    M N Kumar

    Hello,
    Could you please provide details about the master data you mentioned in your query. This exit is called for PO, PR ,confirmation, shipping notificatoin objects.
    Rgs- Vikas

  • User Exit Mv45afZZ for Promotional BOM

    Hi All,
    I am adding custom code to the user exit MV45AFZZ for Promotional BOM. The aim is to add a new entry in the Line tiems details with the BOM header data.
    Say if the initial order is  like this:                                       It should like this after user exit execution:
    Material         Quantity            Itm Ctg                                          Material         Quantity            Itm Ctg
      M1                   10                  X                                                   M3                   1                    Z
      M1                   10                  X                                                   M1                   10                  X
                                                                                    M2                   10                  X
    We assume that in the configuration, we have configured so, such that, BOM Item M3 comprises of Items (M2, M1) with 10 Qty each.
    For this purpose, we are adding a new row to the XVBAP table at runtime. But, when we post the order, finally the quantity field for item M3 is automatically getting changed to 10.
    Please help and revert back. Let me know if i have to clarify more on my doubt.
    Thanks
    Debabrata

    Hi,
    The userexit save_document_prepare will directly hit the tables like vbak and vbap. So, as i can see that you would like to change at the pricing conditions so it is better to user the user exit:userexit_pricing_prepare_tkomk...
    All the pricing conditions will be stored in the tkomp and tkomk tables.
    The changes can be happnd at this level also.
    Thanks
    rohith

  • To find out appropriate user exit/ badi for transaction VT01n

    Hi,
       I have the following requirement.
    Cass shipment type (VTTK-ADD03) field needs to be required and should be automatically populated upon creation of the shipment document.  The rules for populating the value (SO, ST, PO and RA) are as follows:
    If any of the orders on the shipment are customer order types, then the CASS shipment type should be a SO,
    If all of the orders are STO orders, then the Cass shipment type should be "ST",
    If all of the orders are PO orders, then the Cass shipment type should be "PO" , and
    If all of the orders are customer return orders, then the Cass shipment type should be "RA".
    I have to find out proper user exit / badi to do this.I have tried with many userexit but it won't work.
       Thanking in advance to give your suggestion in order to resolve it.
    With regards,
    Ajit.

    Hi this code will enable you to find the user exit for any transaction . Just give the transaction as input
    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.
    *---End of Program
    Just for your information the User exits available for VT01n are
    MV56AINI            Initialization of transaction control for transportation          
    V56AFCCH            Shipment processing: Check function code allowed                  
    V56AGTAR            User Exit for Filtering Shipping Unit Calculation                 
    V56ARCHV            Customer-spec. checks for archiving shipments                     
    V56ATKTX            Change the number of lines for text input in shipment             
    V56BMOD             Transportation processing: Field modification                     
    V56DISTZ            Shipment Processing: Determine Distance                           
    V56FCOPY            Shipment processing: Copy delivery data                           
    V56FSTAT            Shipment processing: Activities when setting a status             
    V56L0001            Status of Shipments for a Delivery                                
    V56LDELI            Read Delivery Data for Shipment Processing                        
    V56LOCID            Shipment Processing: Determine Location Identification            
    V56MVT04            Extensions for Collective Processing of Shipments                 
    V56SLDET            Shipment processing: Leg determination                            
    V56TDLIF            Filter Delivery Items for Shipment                                
    V56UCHCH            Shipment processing: Check whether changes were made              
    V56UCHCO            Check shipments are complete                                      
    V56UDLUP            Obsolete as of 4.6C: Delivery Update on Delivery Routines         
    V56UNUMB            Shipment number allocation                                        
    V56USTAT            User-individual definition of transportation planning status      
    V56USVDO            Update new objects for transport                                  
    V56USVDP            Preparation for updating new objects for transport?               
    Award points if helpful..
    Thanks

  • Request for info. on USER EXIT/BADI for FB60

    Hi,
    This is with reference to FB60 user exit/badi for with holding tax.I want to use the customized table for withholding tax.
    ]Please guide some alternative solution rather than user exit and badi.
    I dont think the following user exit and badi are used for withholding tax.
    I done some analysies.I didnt find any user exit/badi related to withholding tax.I found the following
    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
    FEDI0001 Function Exits for EDI in FI
    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)
    Badi
    FQST_CALC_COUNTRY,FQST_CIN_WITHITEM are related with withholding tax and they are for country specific such as India.
    Every expert answer will be rewarded.
    Thanks in advance
    Cra

    Try Business Transaction Events. Transaction code BERP.
    Regards,
    Zoltá

  • Can anyone give me user exit name for create/update purchase order partners

    Hello guys
      Can anyone gives me user exit name for create/update purchase order partners?
      Requirement is to insert/update partner when SC flag is checked while creating/updating purchase order (ME22N / ME21N)  by using user exit.

    hi,
    check these exits.
    Transaction Code - ME21N                    Create Purchase Order
    Enhancement/ Business Add-in            Description
    Enhancement
    MEQUERY1                                Enhancement to Document Overview ME21N/ME51N
    MEVME001                                WE default quantity calc. and over/ underdelivery tolerance
    MM06E001                                User exits for EDI inbound and outbound purchasing documents
    MM06E003                                Number range and document number
    MM06E004                                Control import data screens in purchase order
    MM06E005                                Customer fields in purchasing document
    MM06E007                                Change document for requisitions upon conversion into PO
    MM06E008                                Monitoring of contr. target value in case of release orders
    MM06E009                                Relevant texts for "Texts exist" indicator
    MM06E010                                Field selection for vendor address
    MMAL0001                                ALE source list distribution: Outbound processing
    MMAL0002                                ALE source list distribution: Inbound processing
    MMAL0003                                ALE purcasing info record distribution: Outbound processing
    MMAL0004                                ALE purchasing info record distribution: Inbound processing
    MMDA0001                                Default delivery addresses
    MMFAB001                                User exit for generation of release order
    MRFLB001                                Control Items for Contract Release Order
    MELAB001                                Gen. forecast delivery schedules: Transfer schedule implem.
    AMPL0001                                User subscreen for additional data on AMPL
    LMEDR001                                Enhancements to print program
    LMELA002                                Adopt batch no. from shipping notification when posting a GR
    LMELA010                                Inbound shipping notification: Transfer item data from IDOC
    LMEQR001                                User exit for source determination
    LMEXF001                                Conditions in Purchasing Documents Without Invoice Receipt
    LWSUS001                                Customer-Specific Source Determination in Retail
    M06B0001                                Role determination for purchase requisition release
    M06B0002                                Changes to comm. structure for purchase requisition release
    MEFLD004                                Determine earliest delivery date f. check w. GR (only PO)
    MEETA001                                Define schedule line type (backlog, immed. req., preview)
    ME590001                                Grouping of requsitions for PO split in ME59
    M06E0005                                Role determination for release of purchasing documents
    M06E0004                                Changes to communication structure for release purch. doc.
    M06B0005                                Changes to comm. structure for overall release of requisn.
    M06B0004                                Number range and document number
    M06B0003                                Number range and document number

Maybe you are looking for