ME54 and ME55 user-exit

Hi all,
we are on R/3 4.6C. We need to insert a custom authority-check in ME54 and/or ME55.
This because we need that each user can release only PR created by him.
With user-exit MEREQ001 we were able to reach our goal in ME52N and ME53N. Unfortunately MEREQ001 is not working for old (not enjoy) tcodes (ME52 and ME53).
Since ME54 is an old tcode, probably it works as ME52 and ME53: MEREQ001 is not relevant for them. In 4.6C ME54N does not exist.
Any idea for insert an authority-check in ME54 anr/or ME55 ?
Thanks in advance
Andrea Cavalleri

Hey,
   Did you find any solution to the problem? I am facing a similar situation in 4.6C and cannot find a user exit/BADi that gets triggered for ME54.

Similar Messages

  • Save on user-exit for ME54 and ME55

    I am stuck in ME54 and Me55. I have to find a save on user exit while releasing through this transaction.
    The requirement is to validate the release code and its corresponding approver.
    When save and release button is pressed then this exit should trigger.

    I have created one project and assigned the user exit that you suggested, and activated the project and exit.
    I have put a break point in the exit to ensure that it works or not.When trying to execute the release and save button(me54) it does not stop at that break point.
    Can you please tell me in detail that how to achieve it?. Is there any configuration to be maintained?.
    Since it suggests that against that release code the workflow indicator should be 9.Please suggest.
    If there is any other way round then also let me know.

  • No change document  and no user exit is found   for CK11N tcode

    Dear All,
        After execution of the transaction CK11N  in CDHDR table i dint find any entry for change document.
    But there is a business object for this transaction :BUS2044 which has no event .
    As there is no event in the business object and there is no change  document also so how i will trigger this business object for CK11 transaction.
    I serached for user exits also but i dint find any.
    So can any body pls tell me how to trigger the business object for the transaction CK11.
    Thanks
    sharmistha
    Message was edited by:
            sarmistha das

    If there is no event it is difficult to trigger an event. So in any case you have to create your own subtype of BUS2044 and define the event you want to create.
    If there are no user exits (I assume you have also looked for user-exits of type BTE and BAdI, even substitutions) you are perhaps out of luck? Being out of luck in this context means you will have to resort to a modification.

  • Currency Conversion for billing doc and after user exits in COPA

    Hello Friends,
    Need your view on this issue:
    1. Company codes currency and Operating currency is different., Costing Based CO-PA.
    2. Value filed "Gross Sales" get posted via Billing doc. In case of correction billing or re-posting (after reversal of original one) of billing doc value
    field "Gross sales" get posted based on exchange rate of original (very first) posted document because system is updating "Translation date"
    in table BKPF from very first document posted and not taking current date as a translation date. SAP standard program is  reading "Translation date" from BKPF to chose exchange rate and valuating "Gross Sales" on that ex.rate.
    3. Some user exits in COPA valuation to populate some values for other value field (Example - Gross Sales value should populate in value field
    "Sales ASP"). After valuation in exits, SAP standard program is re-valuating value fields value (program statement is : perform currency conversion for fields that were changed in exit ) and for this valuation system is taking posting date for exchange rate.
    Due to above logic company code currency value is different in Gross Sales and Sales ASP.
    Requirement is : Sales ASP value should be same as Gross Sales.
    Can you please share your thought to find the solution.
    Thanks
    Ravi

    Check if the currency key and the unit of measurement are filled in (these will be the reference fields specified in the field definition of the structure at the database level).

  • Calling a Tcode IW51 and restrict user exit

    Hi ,
    A new validations are placed in IW51 tcode and it is woking fine.
    When i am calling the IW51 by using call transaction method the previous User is calling .
    If this TCODE IW51 is calling by using call trancaction method I should not exicute the user Exit.
    Regards,
    Esh

    If there is no event it is difficult to trigger an event. So in any case you have to create your own subtype of BUS2044 and define the event you want to create.
    If there are no user exits (I assume you have also looked for user-exits of type BTE and BAdI, even substitutions) you are perhaps out of luck? Being out of luck in this context means you will have to resort to a modification.

  • Hi strong functional and technical,  user exit,   oss note

    HI
    Transaction codes are J1INCHLN and J1INCERT.
    for this TC, there is no user exit, but i have to use one of the fields as cheque no field i.e. in short i have to use one unused field for my purpose.
    there is OSS note for this TC and in that user exit is there. 
    i want to know the OSS note for this TC.
    what is the solution.
    thanx
    rocky

    Hi,
    General Notes
    You can execute the following commands in the transaction code (tcode) field with Enter. You will find some useful transaction codes below to work in tandem with the following commands:
    To call a transaction - In the same session (window) Enter: /nxxxx (xxxx = transaction code). - In an additional session, Enter: /oxxxx (xxxx = transaction code).
    If you enter this function before any of the tcodes below, you are able to break out of your current screen/business and begin a completely new session. Otherwise, the current business process has to be terminated, and return to the initial user screen (the main menu) has to be initiated before entering tcode spro). /o tcode saves you the effort of having to do this.
    To end the current transaction Enter: /n. Caution: Unsaved changes are lost without warning
    To delete the current session. Enter: /i.
    To generate a session list Enter: /o.
    To log off from the system Enter: /nend.
    From John O'Meara
    OSS Note 0026171 has additional information on OKCodes in SAP, and is a very useful read
    Thanks,
    Shankar

  • VA21 and VA22 User Exits

    Hi
    I have built a user exit for VA21 and VA22 in RV61AFZB as an include
    I need to modify the way conditions tab is displayed...
    Its a very simple requirement where I need to sumup the records of XKOMV which have the same KSCHL (say VA000) into one record...
    KSCHL        KWERT  KMPRS
    VA00          5
    VA00          10
    Now I need to show it as
    KSCHL        KWERT  KMPRS
    VA00          5
    VA00          10
    VA00          15           X
    I have done the above successfully for the table XKOMV but the problem is the above summation runs in a kind of loop and the summation gets appended everytime because of some other standard SAP code
    Has anyone faced the problem above... I have tried appending the values only for the last loop but it has other complications

    Hi,
    Here is my suggestion..
    In the pricing procedure add a line after the condition type VA00...
    Then assign a new formula for that line...
    In the new condition value formula (VOFM)...sum up the value based on the entries in XKOMV and assign the value XKWERT...
    It will display the value as per your requirement...
    Hope this what you are looking for...
    Thanks,
    Naren

  • VA02 and VF02 User Exit - entering transaction

    Hi all,
    I am trying to find a user exit that will be called when the user opens a document.
    For example the user types in VA02 and enters the sales order number. When they press enter, the user exit is called.
    Can someone tell me which user exit can be used for VA02 and VF02 (or how to find it)?
    Thanks,

    Following are the BADI's called while opening a sales document in VA02.
    <BADI farm removed by moderator>
    Following are the user exits called while opening a sales document in VA02
    <exit farm removed by moderator>
    Moderator message: please reply with specific information only, not a long list of technical objects that might or might not help.
    Edited by: Thomas Zloch on May 20, 2011 9:28 AM

  • Finding and Implementing User Exits in SAP CRM 2007 Web Gui

    I will appreciate any information about this topic.
    Thanx in advanced.

    What I need to know is the following...
    Through the WEB GUI I modified a BP Mktg Attributes and two BDOCs are triggered: CHARVAL_MSG
    and MKTPROF_MSG. But if no changes are made to the BP principal data BUPA_MAIN is not triggered so what I need to know is how can I Enhance BP Web GUI TX(Screen) to always modify a field... this way BUPA_MAIN will always be triggered.
    I have already Enhanced CRM XIF BUPA IDOC to send MKTG Attributes.
    Thanx in advanced.

  • Difference between bex user exit and macros in functionality?

    Hi all,
    I need to create a report on material master data. I created an infoset on 0material and 0mat_plant. In the requirem
    ent, I have a report containing different material numbers followed by attributes in each row. the final column in each
    row should be calculated using logic. the logic involves comparing different row values and arrive at final conclusion.
    the logic comprises of large number of if conditions. so should i use bex user exit or excel macros?
    what is the difference between user exit and macros in funcitonalilty?
    is there an issue transporting the macro to Prod for end users to use?
    any performance criteria?
    Any how to documents ..will be of a lot of help
    plz send them to [email protected]
    Message was edited by:
            ravi a

    Hi,
    Macros offer a powerful and flexible way to extend the features of MS Excel. You can either create a macro using VB code or Record a macro. Use Alt+F11 for creating macro using VB code.
    You can refer to Microsoft help site or this link for more details:
    http://www.taltech.com/support/sw_tricks/exmacros.htm
    User-exits are empty subroutines that SAP Developers have provided for you.You can fill them with your own source code.Technically this is a modification.Customer exits are nothing but a include in customer name space will be provided in the function module which starts with CALL CUSTOMER.You can fill them with your own source code.Technically this is an enhancement.
    look into following links for procedure to find and use user-exits transaction for finding user-exits is 'SMOD'
    http://www.sapbrain.com/TUTORIALS/TECHNICAL/user_exits_tutorial.html
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm

  • Hi i want to become  storng in user exit and bapi

    hi experts.,
    i want to become strong in the area of user exits and badi's .
    please send  me the documents for it ,
    Thanks in advance.
    Regards,
    Hitu

    Hi Hitu,
    Check these links..
    <u><b>Badi</b></u>http://help.sap.com/saphelp_erp2005/helpdata/en/73/7e7941601b1d09e10000000a155106/frameset.htm
    http://support.sas.com/rnd/papers/sugi30/SAP.ppt
    http://www.sts.tu-harburg.de/teaching/sap_r3/ABAP4/abapindx.htm
    http://members.aol.com/_ht_a/skarkada/sap/
    http://www.ct-software.com/reportpool_frame.htm
    http://www.saphelp.com/SAP_Technical.htm
    http://www.kabai.com/abaps/q.htm
    http://www.guidancetech.com/people/holland/sap/abap/
    http://www.planetsap.com/download_abap_programs.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/c8/1975cc43b111d1896f0000e8322d00/content.htm
    /people/thomas.weiss/blog/2006/04/03/how-to-define-a-new-badi-within-the-enhancement-framework--part-3-of-the-series
    /people/thomas.weiss/blog/2006/04/18/how-to-implement-a-badi-and-how-to-use-a-filter--part-4-of-the-series-on-the-new-enhancement-framework
    http://esnips.com/doc/e06e4171-29df-462f-b857-54fac19a9d8e/ppt-on-badis.ppt
    http://esnips.com/doc/43a58f51-5d92-4213-913a-de05e9faac0d/Business-Addin.doc
    http://esnips.com/doc/10016c34-55a7-4b13-8f5f-bf720422d265/BADIs.pdf
    http://esnips.com/doc/1e10392e-64d8-4181-b2a5-5f04d8f87839/badi.doc
    http://esnips.com/doc/365d4c4d-9fcb-4189-85fd-866b7bf25257/customer-exits--badi.zip
    http://esnips.com/doc/3b7bbc09-c095-45a0-9e89-91f2f86ee8e9/BADI-Introduction.ppt
    <u><b>User-Exits</b></u>
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://www.sap-img.com/ab038.htm
    http://www.planetsap.com/userexit_main_page.htm
    http://www.sap-basis-abap.com/sapab013.htm
    http://sap.ittoolbox.com/documents/popular-q-and-a/user-exits-for-the-transaction-code-migo-3283
    These links will help you to learn more on user exits.
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/c8/1975cc43b111d1896f0000e8322d00/frameset.htm
    http://www.planetsap.com/userexit_main_page.htm
    http://www.allsaplinks.com/user_exit.html
    www.sap-img.com/abap/what-is-user-exits.htm
    Also please check these threads for more details about user exits.
    Re: Screen exit
    user exit and customer exit
    user exit
    1. Document on UserExits in FI/CO
    http://www.ficoexpertonline.com/downloads/User%20ExitsWPedit.doc
    2. Finding User Exits...
    http://sap.ionelburlacu.ro/abap/sap2/Other_Useful_Tips.html#Finding_User_Exits
    3. List of all User Exits...
    http://www.planetsap.com/userexit_main_page.htm
    Regards,
    Younus
    <b>Reward Helpful Answers:-)</b>

  • User Exits and VOFMs

    I am looking for a document that suggests coding practices and rules that should be followed in User Exits and VOFMs in SAP R/3. Like value the variable XKWERT with the desired value in Pricing Condition Formula VOFMs, or never read an SAP defined internal table into the header line. Things like that. Does any one know of such a document?

    Hi, this may help you.
    User exits (Function module exits) are exits developed by SAP. The exit is implementerd as a call to a function module. The code for the function module is written 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>
    To find a Exit.
    Goto Transaction -- Find The Package
    SMOD >f4>Use the Package here to Find the Exits In the Package.
    Else if you Want to search by Application Area wise ,
    There is one more tab to find the Exits in the Respective Application Area.
    Implementing the Exit-- CMOD Create ProjectsAssgn your Component .
    Now Run ur Transaction to Check if it Triggers.
    Thats it..
    Suppose you need to find out all the user exits related to a tcode.
    1. Execute the Tcode.
    2. Open the SAP program.
    3. Get the Development Class.
    4. Execute Tcode SE84.
    5. Open the Node 'Envir. -> Exit Techniques -> 'Customer Exits -> Enhancements'
    6. Enter the Development class and execute.
    Check out this thread..
    The specified item was not found.
    1. Type the transaction : system->status-> <PROG. NAME>
    2 open SE37 , type EXIT<PROG NAME> and press F4 to get the list of function exits available.
    3. Open CMOD utilities->SAP enhancements
    EDIT->All selections
    4.type the function module name obtained in step 2, in fields 'component name' in 'additional selections' block. and execute.
    5. The displayed list contains the enhancements names for the transaction You were looking for.
    6. Create a project in CMOD and the code in default include->activate.
    http://www.erpgenie.com/sap/abap/code/abap26.htm
    which gives the list of exits for a tcode
    http://help.sap.com/saphelp_nw04/helpdata/en/bf/ec079f5db911d295ae0000e82de14a/frameset.htm
    For information on Exits, check these links
    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.planetsap.com/userexit_main_page.htm
    User-Exits
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://www.sap-img.com/ab038.htm
    http://www.planetsap.com/userexit_main_page.htm
    http://www.sap-basis-abap.com/sapab013.htm
    http://sap.ittoolbox.com/documents/popular-q-and-a/user-exits-for-the-transaction-code-migo-3283
    These links will help you to learn more on user exits.
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/c8/1975cc43b111d1896f0000e8322d00/frameset.htm
    http://www.planetsap.com/userexit_main_page.htm
    http://www.allsaplinks.com/user_exit.html
    www.sap-img.com/abap/what-is-user-exits.htm
    Also please check these threads for more details about user exits.
    Re: Screen exit
    user exit and customer exit
    user exit
    1. Document on UserExits in FI/CO
    http://www.ficoexpertonline.com/downloads/User%20ExitsWPedit.doc
    2. Finding User Exits...
    http://sap.ionelburlacu.ro/abap/sap2/Other_Useful_Tips.html#Finding_User_Exits
    3. List of all User Exits...
    http://www.planetsap.com/userexit_main_page.htm
    VOFM is the transaction where you can maintain Requirement routines, which are assigned through cusomization.
    To create a routine you need access key & routine no. starts with "9".for ex. 901,902 etc.
    one important thing to note that even if you have some syntax errors inside your routine, it will get activated without errors. So, you need to do Main Program check before activation.
    Refer to SAP Note no : 327220,381348,156230.
    goto VOFM tcode for wrting the Routines
    from menu Requirements-> pricing
    You can create the pricing related routines here
    Use the Number from 900 only
    take the acess key and try to copy the existing routine and change the code to your requirement  and keep a break point and see
    Activate it before execution
    Reward If Helpfull.
    Regards Madhu.

  • User exit / BADI in MSC1N and MSC2N

    Hi all,
    I would like to make some automatic changes to MCH1-LWEDT in the course of batch posting (MSC1N and MSC2N). I found the definition BATCH_MASTER and some user exits, but none of them looks if I could make changes to the recorded batch data.
    Does anyone of you have an idea how to resolve the problem?
    Thanks in advance
    Reiner

    Hi Abbu,
    I opened a new OSS message. SAP told me that the mentioned user exit is not available in MSC1N and MSC2N. It's not a fault - it's intended not to process this exit in online transactions.
    Now I'm none the wiser. Does anyone has an idea how to adapt MCH1 / MCHA data during the posting in the course of online usage of transaction MSC1N MSC2N?
    And forget about BADI BATCH_MASTER. In this BADI no change of HSDAT LWEDT is possible.
    Thanks and best regards,
    Reiner

  • Badi and user exit active at the same time ?

    Hi All,
    Please let me know whether
    1> I can have a BADI and a user exit both active at the same time for the same enhancement?
    2> I can have a BADI and a user exit both active at the same time but they are for different purpose.
        eg: BADI       -- > to change statistical date of po item line on ME21N screen
              User Exit -- > to change the exchange rate on PO header on me21n screen
    Please response to the second point... as this is what I am working on.
    Regards,
    Shital

    Hello,
    Thanks for your response.This is my code.
                             WSA_header = IM_HEADER->GET_DATA( ).
                              wsa_header-wkurs = '0.6668'.
                           CALL METHOD im_header->set_data
                                EXPORTING
                                       im_data = wsa_header.
    Kind Regards,
    Shital

  • User exits-- also ---synchronous and asynchronous struc..

    dear all
    pls. let me know the basics of user exits. i have gone thro williams iam unable to follow. does it require abap knowledge. i sincerely request one and all (experts) to let me know about user exits. it seems very imp as per interviews.
    also what is synchronous and asynchronous structures whats the difference. can anybody share knowledge on this.
    thanks in advance
    regards

    Dear Sekhar,
    Please find the info regarding User-Exit's in the following links:
    http://help.sap.com/saphelp_nw04/helpdata/en/bf/ec07a25db911d295ae0000e82de14a/frameset.htm
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    Re: doubt on user exits
    user exits and Badis
    User exits is the enhancements provided by SAP
    You can use them in transactions. Each transaction will have user exits.
    If you want to use your own requirements by making your coding while the transaction is run you can use user exits.
    For example if you want to run the MRP in MD02 specific to MRP controller you can user exit.
    Please also refer the document below.
    USEREXIT
    Userxits allow us to add our own functionality to SAP standard program
    without modifying it . These are implemented in the form of subroutines and hence are also known as FORM EXITs. The userexits are generally collected in includes and attached to the standard program by the SAP.
    All Userexits start with the word USEREXIT_...
    FORM USEREXIT_..
    z..
    ENDFORM.
    The problem lies in finding the correct userexit and how to find it if one exists for the purpose. Once the correct userexit is found the necessary customer code is inserted in the customer include starting with the z.. in the form routine.
    e.g. USEREXIT_SAVE_DOCUMENT_PREPARE
    Certain application like SD still provide this form of enhancement using userexit but this practice is no longer being followed for newer extensions instead they are using EXITs which come bundeled in enhancement packages . Neverthiless existing USEREXITS will be supported by SAP an all the newer versions of SAP.
    HOW TO FIND USEREXITS
    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 .
    Some examples of userexits in SD(SALES & DISTRIBUTION ) are:
    1)ADDING OF NEW FIELDS IN PRICING
    In Pricing in SD the fields on the basis of which pricing is done are derived from the FIELD CATALOG which is a structure KOMG .This structure is used to transfer transaction data to the pricing procedure in SD and is also known as communication structure.This structure KOMG consists of two tables KOMK for Header related fields and KOMP for item related fields. The fields which are not in either of the two tables KOMK and KOMP cannot be used in pricing .Sometimes a need arises when the pricing is to be based on some other criteria which is not present in the form of fields in either of the two tables. This problem can be solved by using USEREXITS which are provided for pricing in SD. Pricing takes place both when the SALES ORDER ( Transaction VA01) is created as well as when INVOICING ( Transaction VF01) is done.Hence SAP provides 2 userexits ,one for sales order processing which is
    USEREXIT_PRICING_PREPARE_TKOMP or
    USEREXIT_PRICING_PREPARE_TKOMK
    Depending upon which table (KOMK or KOMP) the new fields were inserted we use either of the above two userexits.These userexits are found in include MV45AFZZ of the standard SAP sales order creation program SAPMV45A.
    In the case of userexit which will be called when invoicing is done ,these
    are provided in the include RY60AFZZ which is in the standard SAP program SAPMV45A. The name of the userexits are same. i.e
    USEREXIT_PRICING_PREPARE_TKOMP or
    USEREXIT_PRICING_PREPARE_TKOMK
    These userexits are used for passing the data from the communication structure to the pricing procedure, for this we have to fill the newely created field in the communication structure KOMG for this we fill the code in the above userexit using the MOVE statement after the data that has to be passed is taken from the database table by using the SELECT statement. The actual structure which is visible in these userexits and which is to be filled for that particular field is TKOMP or TKOMK.
    Before the coding for these userexits is done ,it is necessary to create a new field in either of the two tables KOMK or KOMP .For this purpose includes are provided in each of them .
    To create the field in header data(KOMK) the include provided is KOMKAZ
    and to create the field in item data(KOMP) the include provided is KOMPAZ.
    One possible example for the need of creating new fields can be e.g. Frieght to be based upon transportation zone ,for this no field is available in field catalog and hence it can be created in KOMK and then above userexits can be used to fill the transportation data to it.
    2)The other method of finding userexit is to find the word USEREXIT in the
    associated program of the transaction for which we want to determine userexit using SE38.
    3)The other method of finding userexits is to find the include in case of SD/MM applications where the userexits are located ,this can be found in the SAP reference IMG generally in the subfolder under SYSTEM MODIFICATION.
    Some other examples of userexits in SD are:
    USEREXIT_NUMBER_RANGE
    This userexit is used to assign a different internal document number to the
    sales order(VA01) when it is created depending on some criteria like a different SALES ORGANIZAION(VKORG) .
    USEREXIT_SAVE_DOCUMENT_PREPARE
    This userexit is used to insert the ABAP code which will be called when
    the document (sales order VA01) is just about to be saved.This userexit is used generally for custom checks on different fields , to display some information before the order will be saved or for making changes to certain fields before the sales order will be saved.
    Exits & Enhancements
    There are mainly six types of EXITs in sap which have been collected in the form of enhancement packages and attached to standard code in SAP.
    These are different from USEREXIT in the way that they are implemented
    in the form of FUNCTIONs while in USEREXITS we use form routines for their implementation. These are also sometimes known as function exits .
    These start from the word EXIT_ followed by the program name and then followed by a three digit number.
    e.g. EXIT_SAPMV45A_002
    This exit is found in SD in enhancement V45A0002.
    TYPES OF EXITS
    1)MENU EXITS
    2)FUNCTION EXITS
    3)TABLE EXITS
    4)SCREEN EXITS
    5)KEYWORD EXITS
    6)FIELD EXITS
    We use SAP transactions CMOD and SMOD to manage exits. Before implementing an exit , it is required to create the project by using CMOD
    selecting the enhancement e.g. V45A0002 and selecting the component
    (one which fulfills our need) i.e the exit which will be implemented in SMOD and after coding has been done the project has to be activated.
    An exit can be coded only once.
    FUNCTION EXITS
    These are used to add functionality through ABAP code . These start from the word EXIT_programname_NNN ending in a 3 digit number. No access code is required to implement any tupe of exit including function exits.
    The function exits are called from the standard SAP program in the form
    of ABAP statement
    CALL CUSTOMER-FUNCTION 'NNN'
    This is in contrast to USEREXITs where PERFORM statement is used to call
    the required userexit.
    To implement the FUNCTION EXITs first of all the project is created and a suitable enhancement package is selected and from its compnents the function exit to be implemented is selected and on double clicking it the exit code will appear in ABAP EDITOR(se38) where a Z include will be found and the customer code should be entered in this include.
    e.g.
    ADDING A DEFAULT SOLD-TO-PARTY in Sales Order Creation
    To show a default sold-to-party in this field when the user creates a sales order (VA01) we can use a function exit .This function exit is located in enhancement no V45A0002 . Before we can choose the exit we have to create a project in CMOD after that enter V45A0002 in the enhancement field and click on the components . In the components you will see the exit EXIT_SAPMV45A_002 . This exit is used for our purpose.
    Double clicking on this exit will takes us to function builder (SE37) . This
    function exit has one exporting parameters and two importing parameters, we are interested in exporting parameter which is E_KUNNR of type KNA1-KUNNR i.e if we move the desired customer name to this structure(E_KUNNR) it will be shown in the field as the default value when we create the sales order. This function also contains a customer include ZXVVA04 . This include will be used to write our custom code .
    Double clicking on this include and it will prompt us that this include does not exists do you want to create this object ,select yes and the include will be created .In this include we can write our own code that will fill the field E_KUNNR.
    e.g. E_KUNNR = 301.
    Activate the include and Activate the project. Now when ever the SALES ORDER will be created , sold-to-party field will come up with a predefined customer .
    FIELD EXITS
    The field exits are managed,created,activated through program RSMODPRF. The field exit is associated with a data element existing in ABAP dictionary and hence to the screen field using that data element.
    The format of field exit is :
    FIELD_EXIT_dataelement_A-Z or 0-9
    If a particular screen and program name is not specified than the field exit will effect all the screens containing that data element.
    The function module associated with field exit shows two parameters
    INPUT and OUTPUT. Input parameter contains the data passed to the field exit when the field exit was invoked by the R/3 , We can write our own code to change the output parameter depending upon our requirements.
    Before the field exit can have any effect the system profile parameter
    ABAP/FIELDEXIT in all the application servers should be set to YES
    ABAP/FIELDEXIT = YES.
    Regards
    Naveen.

Maybe you are looking for