User exit needed

Hi all,
i have to provide some user's to change the sales order related stuff, in VA02
transaction, i have searched this forum but get confused in which user exit should
i write my code.
Please suggest me the required user exits.

Hi Srikant,
here is the difference between these two user exits
FORM USEREXIT_FIELD_MODIFICATION -> by using this user exit you can enable/disable any screen fields
FORM USEREXIT_SAVE_DOCUMENT_PREPARE -> changes or checks, before a document is saved.    
Please see this wiki link for better understandings about user exit.
SAP Library - System Modifications

Similar Messages

  • User  exit  needed (Problem related to duplicate batch entry in Migo(GR))

    Dear all,
                  I need a help from you.we facing problem in Goods receipt in MIGO.
    where we want to apply a check on batch which has already been assigned to a raw material in MIGO  .we are using manual
    batch entry .we don't want to make duplicate entry of same batch
    against any material.
    I tried to find out the user exit for that but i have not succeed .
    what is solution to
    avoid duplicate batch entry.

    Transaction Code - MIGO                     Goods Movement
    Exit Name           Description
    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.
    No of Exits:          8
    USER EXIT
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://www.sapgenie.com/abap/code/abap26.htm
    http://www.sap-img.com/abap/what-is-user-exits.htm
    http://wiki.ittoolbox.com/index.php/HOWTO:Implement_a_screen_exit_to_a_standard_SAP_transaction
    http://www.easymarketplace.de/userexit.php
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://www.sappoint.com/abap/userexit.pdfUser-Exit
    http://www.sap-img.com/ab038.htm
    http://help.sap.com/saphelp_46c/helpdata/en/64/72369adc56d11195100060b03c6b76/frameset.htm
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://www.sap-img.com/abap/what-is-user-exits.htm
    http://expertanswercenter.techtarget.com/eac/knowledgebaseAnswer/0,295199,sid63_gci982756,00.html
    Rewards if useful.........
    Minal

  • MIRO - Invoice Party - User Exit needed

    Hi,
    I have a requirement like this....
      On MIRO tcode, the i need to put a condition if the user gives a Inv Party (3rd tab 'Details' on Header data of MIRO screen) other than the defalut one (vendor which comes by default with the PO)
    <u>Inputs to MIRO are :</u>
    1. invoice date on first tab of header data
    2. Existign PO number in Purchase Order/Scheduling Agreement ( just below the header data block
    3. in 3rd tab of header details (Details tab), on Inv.Party field, it takes the vendor number by default when we give the 2nd input (PO number)
    Can any body tell, which function module exit to work with ?
    PLEASE DO NOT GIVE ME the list of exits and badis by executing the ZUSEREXIT program.
    I have already done this.
    I would like to know which user exit to select out of this total exits.
    Thanks for your Help
    "Share and Learn"

    Hi Ali,
    My requirement is like,
    the user should not be allowed to give the Invoice Party field - value as different from the one different from the vendor number which already assigned to the PO while PO Creation.
    Please read the query in this thread for more details.
    I have found the list of exits, for MIRO, by executing ZUSEREXIT, and i got a list of exits and one BADI. But I am not sure which Exit will work for my requirements.
    ========== xxx ============
    Please, also tell me, how to identify the exact 'function module exit' which suits to our requirement, from the set of all exits displayed after executing ZUSEREXIT program.  (approaches/methods , u follow to identify)
    Thanks

  • User Exit needed at PBO for transaction code CAT2

    Hi all,
    I'm enhancing CAT2 screen for the client. I've created a new field for CAT2 -> Data Entry Section and have made that field visible via config. I would like to implement a search help for my new field and would like to manipulate the search help via abap code. I understand that there's a whole list of CAT2's user exit that can be used. However, i need an user exit that is triggered before the Data Entry Section screen appear which is the PBO. I'm not allowed to modify the SAP Standard program and therefore i'm using the user exit.
    I've tried SAP Enhancement CATS0005 but it is not triggering my ABAP Code before it enters the Data Entry Section screen. Kindly assist to advice is there's any particular User Exit that i can use for my purposes or another workaround.
    Regards,
    Loo

    I don't think there is one, but you may either implement an implicit enhancement option (routine GET_NEXT_NUMBER in program SAPLSTRD), or make a custom program which creates transport requests (it is then easier to get the number).

  • CRM Badi or user exit needed

    I need a user exit or a badi that would fill zfields in CRM based on the data arriving from ERP.
    any idea experts? then mail me details.
    [email protected]
    Thanks.

    Narasimha,
    SMOUTIL3 is one user exit.
    This one is called after the Bdoc is generated. The user exit does not allow to modify the Bdoc contents. however depending on the contents of the BDOC custom fields can be filled. This user exit can also be used to modify Z tables
    I have used it for one scenario. Sending the documentation of it to you.
    Hope this helps.
    <b> <i> IceCube </i> </b>

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

  • 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

  • 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 needed on check of pick quantity..

    Hi Gurus,
    This is the case. VL02n -> Delivery quantiy = 500, but picked quantity = 505. The system does give a message that the picked quantity is too large.
    Is there a user exit available after entering the pick quantity? The plan is to update stock first, so the pick quantity does not exceed the delivery quantity.
    Thanks and regards,
    Ron.

    no longer actual. Case closed.

  • User exit need to add a filed in TC WPUK(THERE IS A TABSTRIP INWHICH I NEED

    Hi,
    Please help me in User exit.
    In SD TRANSACTION CODE WPUK  there is a screen which consists of Tabstrip

    These are the user-exits available for this transaction:
    WPAV0001            POS upload role resolution
    WPDA0001            Function exits for POS inte
    WPSA0001            Retail enhancements POS int
    WPUE0001            GR Check (Correct Quantitie
    WPUE0002            POS inbound processing
    Please reward full points.
    Thanks,
    Rahul

  • Iw31,iw32 ..user exits needed...

    Hi all.
      This functional design specifies the invocation of programmatic logic through a user exit within Plant Maintenance Orders which will do the following as the PM Order is RELEASED
    •     If the WBS Element, to which the PM Order is to be assigned, is populated in the order’s Additional Data view, then automatically populate the PM Order settlement rule so that the PM order will settle accumulated costs to the same Work Breakdown Structure Element to which the PM Order is assigned.  
    •     Conversely, if WBS Element, to which the PM Order is to be assigned, is NOT populated in the order’s Additional Data view, look to see if the Settlement Rule is populated.   If Settlement Rule is populated then copy the Settlement Receiver field to the assignment WBS Element field.
    •     If both of the above fields are populated then this enhancement should do nothing.    Specifically, the WBS Element field in the Additional Data view should not overwrite an existing value of the Settlement Receiver in the Settlement Rule.
    The enhancement given to me is iwo10002 .do u thnk its gonna work?? if not plz gimme the  other exits where i can write the logic??? 
    And if anybody hav worked on the similar kind of exits .plz do forward the code also ..tat wud b of gr8 value for me.

    Hi Hemanth,
    Use Enhancement IWO10027.
    Check below post for sample program
    Generate settlement rules
    Regards,
    Satish

  • 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

  • User Exit needed (MR01)

    Dear all ,
    For certain materials, the Quality Inspection process is to be implemented with the Invoice Block Feature.  Partial configuration has been completed; however, support is required to complete the process.  The automatic determination of the Inspection Plan to the inspection lot isnu2019t working and the invoice block for quality isnu2019t updating appropriately.
    The invoice block is supposed to pick up inspection block u201CIu201D, however it picks up u201CRu201D.  The reason indicated is for quality however the incorrect code is populated.  The u201CIu201D code has been configured, however, it isnu2019t picked up.
    Can any one help regarding this ?
    Regards,
    Pradeep

    Hi Pradeep,
        if you want to find the BADI Or EXIT for any T_Code. Please use following Program..
    *& Report  ZSD_FINDEXIT_BADI                                           *
    REPORT  zsd_findexit_badi                                           .
    TABLES : tstc,
    tadir,
    modsapt,
    modact,
    trdir,
    tfdir,
    enlfdir,
    sxs_attrt ,
    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,
    p_pgmna LIKE tstc-pgmna .
    DATA wa_tadir TYPE tadir.
    START-OF-SELECTION.
      IF NOT p_tcode IS INITIAL.
        SELECT SINGLE * FROM tstc WHERE tcode EQ p_tcode.
      ELSEIF NOT p_pgmna IS INITIAL.
        tstc-pgmna = p_pgmna.
      ENDIF.
      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 IN ('SMOD', 'SXSD')
        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:/(105) sy-uline.
          FORMAT COLOR COL_HEADING INTENSIFIED ON.
    Sorting the internal Table
          SORT jtab BY object.
          DATA : wf_txt(60) TYPE c,
          wf_smod TYPE i ,
          wf_badi TYPE i ,
          wf_object2(30) TYPE c.
          CLEAR : wf_smod, wf_badi , wf_object2.
    Get the total SMOD.
          LOOP AT jtab INTO wa_tadir.
            AT FIRST.
              FORMAT COLOR COL_HEADING INTENSIFIED ON.
              WRITE:/1 sy-vline,
              2 'Enhancement/ Business Add-in',
              41 sy-vline ,
              42 'Description',
              105 sy-vline.
              WRITE:/(105) sy-uline.
            ENDAT.
            CLEAR wf_txt.
            AT NEW object.
              IF wa_tadir-object = 'SMOD'.
                wf_object2 = 'Enhancement' .
              ELSEIF wa_tadir-object = 'SXSD'.
                wf_object2 = ' Business Add-in'.
              ENDIF.
              FORMAT COLOR COL_GROUP INTENSIFIED ON.
              WRITE:/1 sy-vline,
              2 wf_object2,
              105 sy-vline.
            ENDAT.
            CASE wa_tadir-object.
              WHEN 'SMOD'.
                wf_smod = wf_smod + 1.
                SELECT SINGLE modtext INTO wf_txt
                FROM modsapt
                WHERE sprsl = sy-langu
                AND name = wa_tadir-obj_name.
                FORMAT COLOR COL_NORMAL INTENSIFIED OFF.
              WHEN 'SXSD'.
    For BADis
                wf_badi = wf_badi + 1 .
                SELECT SINGLE text INTO wf_txt
                FROM sxs_attrt
                WHERE sprsl = sy-langu
                AND exit_name = wa_tadir-obj_name.
                FORMAT COLOR COL_NORMAL INTENSIFIED ON.
            ENDCASE.
            WRITE:/1 sy-vline,
            2 wa_tadir-obj_name HOTSPOT ON,
            41 sy-vline ,
            42 wf_txt,
            105 sy-vline.
            AT END OF object.
              WRITE : /(105) sy-uline.
            ENDAT.
          ENDLOOP.
          WRITE:/(105) sy-uline.
          SKIP.
          FORMAT COLOR COL_TOTAL INTENSIFIED ON.
          WRITE:/ 'No.of Exits:' , wf_smod.
          WRITE:/ 'No.of BADis:' , wf_badi.
        ELSE.
          FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
          WRITE:/(105) 'No userexits or BADis exist'.
        ENDIF.
      ELSE.
        FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
        WRITE:/(105) 'Transaction does not exist'.
      ENDIF.
    AT LINE-SELECTION.
      DATA : wf_object TYPE tadir-object.
      CLEAR wf_object.
      GET CURSOR FIELD field1.
      CHECK field1(8) EQ 'WA_TADIR'.
      READ TABLE jtab WITH KEY obj_name = sy-lisel+1(20).
      MOVE jtab-object TO wf_object.
      CASE wf_object.
        WHEN 'SMOD'.
          SET PARAMETER ID 'MON' FIELD sy-lisel+1(10).
          CALL TRANSACTION 'SMOD' AND SKIP FIRST SCREEN.
        WHEN 'SXSD'.
          SET PARAMETER ID 'EXN' FIELD sy-lisel+1(20).
          CALL TRANSACTION 'SE18' AND SKIP FIRST SCREEN.
      ENDCASE.
    Thanks & Regards,
    Aniruddha Bane

  • COOM0003 User-exit: need sample code

    Hello.
    If somebody write UE with extension COOM0003, please, reveal your code.
    Thanks.

    Thanks, but I know it sample:
    *   INCLUDE LXKOBSF01                                                  *
    * Example: settle to fix G/L account 315000 for strategie C01;
    *          settle to fix cost center 4711 for strategie C02 if object
    *          type = internal orders, to fix cost center 4712 for other
    *          object types.
    Me need real sample, please.

  • Function module or BAPI or User Exit  needed

    Hello All,
    In the transaction CRMD_ORDER for the transction type type TA (Sales Order). In the Sales Order of general tab there is reference date
    field. This field should be populated by value at the time of creation with the system date.
    This is very urgent. Can anybody help me out in this issue.  
    I will reward you with points.
    Thanks,
    Karan

    Hi Indra
    You can use the BADI CRM_SALES_BADI. In that, use the method CRM_SALES_MERGE.
    In the Changing parameter CS_SALES_BADI, enter the PO_DATE_SOLD as sy-datum.
    But...there is a small issue..
    This BADI will be called only after you make any manual entry to the External refernce or the reference date or any of the fields in that structure.
    Hope that helps!!
    Please reward points if helpful!!
    Warm regards
    Debolina

Maybe you are looking for

  • Web page print do not take language other than english. earlier it was working.

    I use Firefox 16.0.2 in mylaptop having windows 7 starter. the web pages in languages ther than english is readable. But when i take web page print junk language is coming up. I use cutepdf as my printer. earlier I was comfortably having the print .

  • Skillbuilders modal page plugin

    Hi! Is it possible to implement modal inside another modal? I am using Skillbuilders modal page plugin 2.0, APEX 4.0.2. version. If it is, can someone explain how in short notes... I have a form in modal, which would have a create button to open anot

  • Is there a way to delete ALL of my music off of my iTunes/computer EXCEPT for the music that's on my iPod touch?

    I have old music that I have deleted from my iPod that I no longer wish to have on there, but it reappeared in my iTunes. All of the music on my iPod I want to keep, and one other CD I've gotten since then. Is there any way to delete everything (for

  • Error in Extended Receiver Determination

    Hello Experts, We are working on a scenario where, we are using Extended Receiver Determination. In this reveiver determination mapping we are doing JDBC lookup and some receivers are determined on that basis. Also, we have a default receiver in mapp

  • Distribution rules issue

    Hi, Could anybody explain what is distribution rule and where it comes into picture. Your help is highly appreciated. rgds srikanth rvs