User exit needed for KDMAT (customer-material number )

Hi! I need to find a user exit for filling in the customer-material number (KDMAT) in the Sales order. If there is not a cutomer material info record, the filed should be filled in with the Old material number from the Material master (MARA-BISMT). Does anyone knows such a user-exit.
Thanks

You can try with any of the following sale order user exits
-  User exits in the program MV45AFZZ - USEREXIT_READ_DOCUMENT
-  User-Exits in program MV45AFZB - USEREXIT_CHECK_VBAP
-  User-Exits in program MV45AFZB - USEREXIT_CUST_MATERIAL_READ
thanks
G. Lakshmipathi

Similar Messages

  • Correct user exit need for vl32n - post goods receipt.

    Sorry this is not the correct forum . SO please don't look in to this
    For vl32n , upon "Post goods receipt" button click, I was  writing code in "mv50afz1" ...Basically in the  "mv50afz1" program, I am clearing the value of batch(charg) and the same batch value I am assigning to vendor batch(am doing by moving xlips-charg value to xlips-lichn).
    But the thing is my logic should be written in one of the userexit before this user exit( Why because  SAP generates one batch on it's own and assigns that to batch if it the batch field in vl32n is space - If batch field is not space SAP's generated batch won't be assigned - So I need to make the batch value space in vl32n upon click of "Post goods receipt" button to allow assignment of SAP's batch).
    So could you please suggest me is there any user exit available for this ? 
    THANKS.
    Edited by: sam kumar on May 8, 2009 7:22 PM

    I am sorry this i snot the correct forum.

  • MRP Run with User Exit key for Follow up material

    Dear Gurus,
    I want to run MRP only for followup materials by using User exit key. For example i have a material X(with discontinued Indicator as 1) and it's follow material is Y.
    So we have a user exit key as ZFL, with coding as shown below. Now when i run MD01 with user exit key ZFL and parametre as 1, it only runs MRP for material X and not for material Y. What else we need to do so that when i run MD01 with user exit key ZFL, it shoudl consider both X and Y. 
    WHEN 'ZFL'.
    DATA : BEGIN OF ITAB5 OCCURS 0,
    KZAUS LIKE MT61D-KZAUS,
    END OF ITAB5.
    TRANSLATE USER_PAR TO UPPER CASE.
    SPLIT USER_PAR AT ',' INTO TABLE ITAB5.
    IF ITAB5[] IS INITIAL.
    EXIT.
    ENDIF.
    CLEAR: NO_PLANNING, STOP_PLANNING.
    READ TABLE ITAB5 WITH KEY KZAUS = MT61D-KZAUS.
    IF SY-SUBRC <> 0.
    NO_PLANNING = 'X'.
    ENDIF. 

    Hi Kumar,
         You can use either MRP Type, MRP Controller, MRP Group in this user exit to control the MRP run. For these set of Materials you have to assign any of same value or at least differentiate these material from other material. Then only you can control the MRP by using this user exit even though if you use different MRP Group and MRP Controller. In User Exit, you may have to add your dependent material's MRP Group/MRP Controller. Make sure that these set of materials are different than all other materials.
    If you don't have any plan to run MRP for other materials then as per Ajit suggestion you make that material's MRP type as "ND". But, in your business case they may want to activate the MRP for all the material not now but may be latter.
    Thanks

  • User exit/BADI for updating custom table in MB1B transaction-

    Dear All,
    When performing a material to material conversion in MB1B transaction for  batch managed materials,system is creating a new batch by copying the characteristics of issuing material/batch.The details of the new batch created are updated in standard batch tables(MCH1,MCHA,MCHA).
    The requirement is when the new batch is created,the batch details and characteristics has to be stamped in a custom table.
    Kindly suggest a user exit/BAIi available for updating the same in the custom table.
    Regards,
    Deepak

    Deepak, Exits for MB1B are
    MBCF0002            Customer function exit: Segment text in material doc. item
    MBCF0005            Material document item for goods receipt/issue slip
    MBCF0006            Customer function for WBS element
    MBCF0007            Customer function exit: Updating a reservation
    MBCF0009            Filling the storage location field
    MBCF0010            Customer exit: Create reservation BAPI_RESERVATION_CREATE1
    MBCF0011            Read from RESB and RKPF for print list in  MB26
    MB_CF001            Customer Function Exit in the Case of Updating a Mat. Doc.

  • Issue with MIR7(BADI or User exit needed for stop SO data updating)

    Hi,
    While using MIR7 to post invoice, corresponding sales order item data is changed ,such as 'Billing date'.
    We don't want this happen. Please let me know if there is any BADI or Uer exit for achieving this. Thanks in advance..
    Regards..

    Hi,
    These are all BADI/Exit of MIR7 transactions.
    MRM_TRANSACT_DEFAULT
    MRM_HEADER_DEFAULT
    WRF_PREPAY_INVOICE
    MRM_ITEM_CUSTFIELDS
    BADI_FDCB_SUBBAS01
    BADI_LAYER
    BADI_FDCB_SUBBAS02
    BADI_FDCB_SUBBAS03
    BADI_FDCB_SUBBAS04
    BADI_FDCB_SUBBAS05
    PPA_CUST_BADI
    FI_TRANS_DATE_DERIVE
    Thanks ,
    Abhijit

  • 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

  • Two customer material number assignment for 1 Master material.

    Hi Experts,
    In customer material info records its a one on one mapping, ie for every master material there can be only one cutsomer material number.
    Is it possible to assign two different customer material numbers for one sap material.
    The requirement is for 1 material users wants to keep two customer material info records which can be used in diff scarios as per the requirement.

    Hi,
    Mapping is one to one between material and customer.
    >Is it possible to assign two different customer material numbers for one sap material.
    Yes possible, provided that's for 2 different customers.
    You can have 2 customer material numbers for same customer / same material.
    Same material can have more than 1 customer material numbers, for different customer.
    Best regards,
    Anupa

  • User Exit needed updating Order Reason for Sales order

    Hi,
      we have a requirment wherein we need to update the Order Reason of a sales order(present in the Sales tab) by a default value if the sales order is of type ZDR(debitmemo order type).Which is the user exit responsible for this?if theres no user exit what is the other alternative?
    Thanks,
    Rakesh.

    Hi,
    You can use the User Exit Include MV45AFZZ of Main Sales order program SAPMV45A,
    Use the form FORM USEREXIT_MOVE_FIELD_TO_VBAP     or
    FORM USEREXIT_SAVE_DOCUMENT.
    Regards,
    Anji

  • 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 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

  • Define new User exit screen for LM51 --  Please take as much time as you need.  No hurry.

    Hi gurus ,
    I am trying to define new User exit screen for LM51. I have developed new screen assigned as,
    logical == 9151 variant=9 actual screen = 2151
    assighned in lrfmd with variant = 9
    Even In Lm51 its not calling the subscreen 9151.i am not getting reson,
    kindly help me
    Edited by: Matt on Dec 17, 2008 10:05 AM - Please read the Rules of Engagement.  "urjt" not allowed.

    Hi,
    Did you try with these exits???
    MWMMOB01            Enhancement for Verification Field in the Warehouse Master
    MWMMOB02            Extension for Barcode Translation                        
    MWMRFSRT            ENHANCEMENT FOR TO SORTING
    Thanks

  • Customer Material Number to be mandatory in VD51/52

    Hi,
    There is a requirement to make Customer Material Number (KDMAT) mandatory while creating CMIR through VD51 or VD52 transactions.
    I tried, but couldn't find any user exit or BADI for the same.
    Can anyone suggest, is there a way to achieve it?
    Regards,
    Aslam.

    Hi Mohammed,
    Try Implicit Enhancement for the particular screen. If available, check whether the field is Initial, based on that allow the system to proceed further steps.
    Also SHD0, please find the link below.
    How to Create a Transaction Variant
    Regards
    Rajkumar Narasimman

  • 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

  • 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-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

Maybe you are looking for

  • Changing the setting from PDF file to a  JPEG file.

    Is there a way I can change the scan setting on my printer. It is a HP Deskjet F4480. I want to change the setting from PDF file to a JPEG file. I want to scan them so I can see them on my screen saver.

  • How to Identify OAS installed in a machine?

    Hi Experts, I am new to OAS, i dont know whether its a sily one or not. In my Laptop Oracle 10g is installed. I dont know whether OAS is installed or not. All i want to know, How can i identify whether OAS is installed in my Laptop? If so how can i s

  • Importing & Song Names

    I just put a cd in my computer to be imported, it has the cd info on it, and the auto name option is on. It would have worked, but my internet was disconnected. I started to put the names in myself, and then found out that the internet was off. It wi

  • New Server for Preview SAP WAS ABAP and Java

    Hi I wish to purchase a new PC or server to specifically house my ABAP and Java preview installations rather than have them running on an old PC and laptop. Anyone out there got some recommended configurations?  Max spend will be £1500. Cheers Ian

  • Is it possible to dynamically create psp variables?

    I'd like to be able to dynamically create psp variables on the fly.  Without getting into details; using straight shared variables defined in a library is too constraining for my application.  I've found that I can create PSP variables dynamically us