Skip to Content
avatar image
Former Member

User exits

Guys

Where can i find the userexits . I want a Tcode

regards

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • avatar image
    Former Member
    Nov 05, 2007 at 05:07 AM

    HI NIKHIL,

    Userexits can be found in number of ways:

    1) To find userexits in SD module , goto object navigator(SE80) and select

    development class from the list and enter VMOD in it. All of the userexits in SD are contained in the development class VMOD. Press

    enter and you will find all the includes which contain userexits in SD for

    different functions like PRICING, ORDER PROCESSING etc. Select the userexit according to the requirement and read the comment inserted in it

    and start coding .

    go to SMOD press F4, give the dev class there and then enter

    this will give the exits for any transaction..

    Reward points pls.

    Regards,

    Govind.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Nov 05, 2007 at 05:09 AM

    Hi Nikhil,

    GOTO SE38--Enter USEREXIT and F8

    Enter the tcode like VA01-- F8

    User exits (Function module exits) are exits developed by SAP. The exit is implementerd as a call to a functionmodule. The code for the function module is writeen by the developer. You are not writing the code directly in the function module, but in the include that is implemented in the function module.

    The naming standard of function modules for functionmodule exits is:

    EXIT_<program name><3 digit suffix>

    The call to a functionmodule exit is implemented as:

    CALL CUSTOMER.-FUNCTION <3 digit suffix>

    Example:

    The program for transaction VA01 Create salesorder is SAPMV45A

    If you search for CALL CUSTOMER-FUNCTION i program

    SAPMV45A you will find ( Among other user exits):

    CALL CUSTOMER-FUNCTION '003'

    exporting

    xvbak = vbak

    xvbuk = vbuk

    xkomk = tkomk

    importing

    lvf_subrc = lvf_subrc

    tables

    xvbfa = xvbfa

    xvbap = xvbap

    xvbup = xvbup.

    The exit calls function module EXIT_SAPMV45A_003

    Display the program where you are searching for and exit and search for CALL CUSTOMER-EXIT

    If you know the Exit name, go to transaction CMOD.

    Choose menu Utillities->SAP Enhancements. Enter the exit name and press enter.

    You will now come to a screen that shows the function module exits for the exit.

    Using Project management of SAP Enhancements, we want to create a project to enahance trasnaction VA01 .

    - Go to transaction CMOD

    - Create a project called ZVA01

    - Choose the Enhancement assign radio button and press the Change button

    In the first column enter V45A0002 Predefine sold-to party in sales document.

    Note that an enhancement can only be used in 1 project. If the enhancement is already in use, and error message will be displayed

    Press Save

    Press Components. You can now see that enhancement uses user exit EXIT_SAPMV45A_002. Double click on the exit.

    Now the function module is displayed. Double click on include ZXVVAU04 in the function module

    Insert the following code into the include: E_KUNNR = '2155'.

    Activate the include program. Go back to CMOD and activate the project.

    Goto transaction VA01 and craete a salesorder.

    Note that Sold-to-party now automatically is "2155" .

    Sales realated exits

    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

    V46H0001 SD Customer functions for resource-related billing

    V45W0001 SD Service Management: Forward Contract Data to Item

    V45S0004 Effectivity type in sales order

    V45S0003 MRP-relevance for incomplete configuration

    V45S0001 Update sales document from configuration

    V45P0001 SD customer function for cross-company code sales

    V45L0001 SD component supplier processing (customer enhancements)

    V45E0002 Data transfer in procurement elements (PRreq., assembly)

    V45E0001 Update the purchase order from the sales order

    V45A0004 Copy packing proposal

    V45A0003 Collector for customer function modulpool MV45A

    V45A0002 Predefine sold-to party in sales document

    V45A0001 Determine alternative materials for product selection

    SDTRM001 Reschedule schedule lines without a new ATP check

    SDAPO001 Activating Sourcing Subitem Quantity Propagation

    Billing related exits

    SDVFX007 User exit: Billing plan during transfer to Accounting

    SDVFX008 User exit: Processing of transfer structures SD-FI

    SDVFX009 Billing doc. processing KIDONO (payment reference number)

    SDVFX010 User exit item table for the customer lines

    SDVFX011 Userexit for the komkcv- and kompcv-structures

    V05I0001 User exits for billing index

    V05N0001 User Exits for Printing Billing Docs. using POR Procedure

    V60A0001 Customer functions in the billing document

    V60P0001 Data provision for additional fields for display in lists

    V61A0001 Customer enhancement: Pricing

    Delivery related exits

    V50PSTAT - Delivery: Item Status Calculation

    V50Q0001 - Delivery Monitor: User Exits for Filling Display Fields

    V50R0001 - Collective processing for delivery creation

    V50R0002 - Collective processing for delivery creation

    V50R0004 - Calculation of Stock for POs for Shipping Due Date List

    V50S0001 - User Exits for Delivery Processing

    V53C0001 - Rough workload calculation in time per item

    V53C0002 - W&S: RWE enhancement - shipping material type/time slot

    V53W0001 - User exits for creating picking waves

    VMDE0001 - Shipping Interface: Error Handling - Inbound IDoc

    VMDE0002 - Shipping Interface: Message PICKSD (Picking, Outbound)

    VMDE0003 - Shipping Interface: Message SDPICK (Picking, Inbound)

    VMDE0004 - Shipping Interface: Message SDPACK (Packing, Inbound)

    V02V0001 - Sales area determination for stock transport order

    V02V0002 - User exit for storage location determination

    V02V0003 - User exit for gate + matl staging area determination (headr)

    V02V0004 - User Exit for Staging Area Determination (Item)

    User Exits For Price Determination

    USEREXIT_PRICING_PREPARE_TKOMK (module pool SAPLV60A, program RV60AFZZ)

    This user exit allows you to copy additional fields for pricing in the TKOMK communication structure (header fields), which have not been provided in the standard SAP system. These fields can also be used for pricing in the billing document.

    This user exit is described in detail in the "New fields in pricing" section.

    USEREXIT_PRICING_PREPARE_TKOMP (module pool SAPLV60A, program RV60AFZZ)

    This user exit allows you to copy additional fields for pricing in the TKOMP communication structure (item fields), which have not been provided in the standard SAP system. These fields can also be used for pricing.

    This user exit is described in detail in the "New fields in pricing" section.

    USEREXIT_FIELD_MODIFICATION (module pool SAPMV61A, program MV61AFZA)

    You can use this user exit to adjust the display of individual lines in the condition screen by changing the display attributes of the screen fields. This does not include the display of subtotals.

    This user exit is also used in order processing.

    USEREXIT_FIELD_MODIFIC_KZWI (module pool SAPMV61A, program MV61AFZB)

    You can change the display of subtotals in the condition screen by changing the display attributes of the screen fields.

    This user exit is also used in order processing.

    USEREXIT_FIELD_MODIFIC_KOPF (module pool SAPMV61A, program MV61AFZB)

    You can adjust the display of subtotals in the condition screen to your requirements by changing the display attributes of the screen fields.

    This user exit is also used in order processing.

    USEREXIT_FIELD_MODIFIC_LEER (module pool SAPMV61A, program MV61AFZB)

    You can adjust the display of blank lines in the condition screen to your requirements by changing the display attributes of the screen fields.

    This user exit is also used in order processing.

    USEREXIT_PRICING_CHECK (module pool SAPMV61, program MV61AFZA)

    You can install additional checks to the standard checks of condition lines (e.g. maximum/minimum value).

    USEREXIT_PRICING_RULE (module pool SAPLV61A, program RV61AFZA)

    In the standard SAP system, it is predefined which condition categories and classes can be copied or recalculated per pricing type. You can change the predefined standard procedure for each pricing type.

    USEREXIT_CHANGE_PRICING_RULE (module pool SAPMV61A, program MV61AFZA)

    You can use this user exit to change the pricing type that has been predefined in the copying control table in billing.

    USEREXIT_XKOMV_BEWERTEN_INIT (module pool SAPLV61A, program RV61AFZB)

    This field is used in the formulas and therefore initialized before the loop for the pricing procedure starts.

    USEREXIT_XKOMV_BEWERTEN_END (module pool SAPLV61A, program RV61AFZB)

    Within a loop for the price components during pricing, specific values can be transferred into the communication structures in pricing to be further processed.

    USEREXIT_XKOMV_ERGAENZEN (module pool SAPLV61A, program RV61AFZB)

    In change mode, you can change the dynamic part of the condition record (KONVD) that is always redetermined (i.e. it is not stored in database table KONV).

    USEREXIT_XKOMV_ERGAENZEN_MANU (module pool SAPLV61A, program RV61AFZB)

    You can use this user exit to change the ready-for-input fields of the manually entered condition record in add mode in the condition screen.

    USEREXIT_XKOMV_FUELLEN (module pool SAPLV61A, program RV61AFZB)

    This user exit is always called up during a redetermination of all or individual price components. You can change the work fields of the condition line. However, this only applies to conditions that have been determined via a condition record.

    USEREXIT_XKOMV_FUELLEN_O_KONP (module pool SAPLV61A, program RV61AFZB)

    This user exit is always called up during a redetermination of all or individual price components. You can change the work fields of the condition line. However, this only applies to conditions that have been determined via a condition record. This may include subtotals, manually entered conditions or conditions that have been calculated with a formula.

    USEREXIT_PRICING_COPY (module pool SAPLV61A, program RV61AFZA)

    You can change the KONV fields for copied price components.

    User Exits for Partner Determination

    Partner determination contains the following user exits for your use:

    EXIT_SAPLV09A_001

    You can use this user exit to control whether an address that was entered manually and has already been used in other documents (referenced), should be referenced again if it changes or whether a new address shold be created (duplicated).

    EXIT_SAPLV09A_002

    Call up this user exit if a customer has not been maintained in the current sales area.

    EXIT_SAPLV09A_003

    Use this user exit to control the origin of partners in the partner determination procedure (origin X, Y or Z). If X, Y, or Z has been entered in the Origin field, this user exit is automatically called up during partner determination.

    EXIT_SAPLV09A_004

    Use this user exit to integrate your own check in a program, that runs before the partner is saved in the document.

    For more detailed information, see the program documentation for each ofthe user exits.

    User Exits For Credit Checks And Risk Management

    Credit Check

    If you want to carry out your own individual credit checks, that differ from those in the standard system, you must define them in the following user exits:

    LVKMPTZZ

    LVKMPFZ1: USER_CREDIT_CHECK1

    LVKMPFZ2: USER_CREDIT_CHECK2

    LVKMPFZ3: USER_CREDIT_CHECK3

    User exit for availability check

    User exit USEREXIT_AVAIL_CHECK_CREDIT exists in Include MV45AFZF.

    This user exit allows you to determine whether the system should or should not carry out an availability check after a blocked document has been released or after a new credit check.

    Risk Management for Receivables

    RVKMPUS2

    Using this user exit, you can define new forms of payment guarantee

    Award points if it adds information.

    Thanks

    Mohan

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Nov 05, 2007 at 06:46 AM

    Hi

    The most recent exits will be found in CMOD. Using CMOD (or SMOD), you can list all the enhancements available, that use this technique. As is usual in the SAP world, the later the version of SAP you are using, the more exits are available.

    Other exits do not use the enhancement technique. For example, in Sales Order Processing (SAPMV45A), SAP have provided empty forms, such as USEREXIT_SAVE_DOCUMENT_PREPARE that can be used to provide customer functionality. With one client, this was used to set the blocking indicator on a sales order, if a manual change had been made to pricing.

    Another technique is the use of validation and substitution rules in the financial modules.

    The best way to find the user exits available is through the IMG. The relevant nodes will take you to where the customisation can be performed. Usually, the associated IMG note details the use of each exit, though there are gaps.

    http://www.erpgenie.com/abap/code/abap26.htm

    http://www.easymarketplace.de/userexit.php

    Add comment
    10|10000 characters needed characters exceeded