07-19-2007 2:32 PM
Hi,
Is it required to create project for USER-EXITS like CUSTOMER-EXITS, if it is required how to find out enhancement name for a particular USER-EXIT.
ex : J_1I7_USEREXIT_EXCISE_BEF_SAVE.(USER-Exit)
Thanks,
Sreedhar.
07-19-2007 2:41 PM
first see the documentation of this FM or see the SPRO docuementation in this case ?
regards
Peram
07-19-2007 2:42 PM
Hi Sreedhar,
<b>User exit means</b>
we have to provide the additional functionality to sap functionality by developing field exits,screen exits,menu exits.
customer-exits: some function exits provided by sap for customers to add some additional functionality to existing sap functionality
<b>locate customer Exit within program</b>
For this example I am using transaction MIRO Step 1Execute transaction MR1M and display program name by selecting 'Status...' from the 'System' menu Step 2Double click on the program (screen) name to enter source code, or access code via SE80.Step 3Search source code for the 'Customer-Function' string using the find button. Remember to select 'In main program'. Step 4A list of search results should be displayed indicating where all function exits can be found. You can now double click on each of them to go to its position in the source code. This also allows for the insertion of breakpoints so that you can test if the exits are called in the appropriate place. Get Function Module linked to Function Exit
.
FUNCTION field_exit_bstnr.*"----
""Local interface:" IMPORTING" REFERENCE(INPUT)" EXPORTING" REFERENCE(OUTPUT)*"----
-
create field symbol FIELD-SYMBOLS: <status>.* Assign value of variable from calling prog to field symbol ASSIGN ('(SAPMM06E)RM06E-BSART') TO <status>.* Display value retrieved in message* Note: Messages of type i and w are not allowed IF sy-subrc = 0. MESSAGE e003(zr) WITH <status> 'kkk'. ENDIF.ENDFUNCTION.
Adding fields to standard Infotype
Implementing Business Add-Ins (BADI)
Reward pts if found usefull 🙂
Regards
Sathish