2006 Oct 09 9:48 AM
Hi all,
For eg: there is an FM exit: EXIT_SAPMM06E_006.
This gets triggered whenever i go to transaction ME21N (PO Creation).
But when i go to the main program (SAPLMEGUI) of ME21n through system--> Status.
When i go inside this pgm and press find to get the FM EXIT_SAPMM06E_006, it says no such string available.
Can anybody through a light by how, an FM exit gets called in a standard SAP pgm and how to find it.
Regards,
JLN
2006 Oct 09 10:03 AM
Hi,
Please check the include "LMEGUICIX". In this prg, routine call for "CUSTSCR1_HEAD_SET_DATA_PBO" exists. In this routine,you can find Function call for "EXIT_SAPMM06E_006".
For doin this, if you know the FM then goto SE37->check out for where used list & check if there is any relationship with your program.
Regards,
Dharitree
2006 Oct 09 9:52 AM
Please check include: MM06EF0C_CUSTSCR1_HEAD_SET_D04. Line No: 39.
Also note that all exits need not be hardcoded in the programs.
Kind Regards
Eswar
2006 Oct 09 9:54 AM
If you have the exit fm's name, you can do a where used list in se37 and trace backwards.
the customer exits function modules are called using the following syntax.
call customer-function '<number>'
Regards,
ravi
2006 Oct 09 9:59 AM
Hi,
The exit you are searching is available in transaction ME21 in the include mentioned in the above post. I'm not sure if it is called from ME21n as it is Enjoy transaction.
Hope this helps.
2006 Oct 09 10:03 AM
Hi,
Please check the include "LMEGUICIX". In this prg, routine call for "CUSTSCR1_HEAD_SET_DATA_PBO" exists. In this routine,you can find Function call for "EXIT_SAPMM06E_006".
For doin this, if you know the FM then goto SE37->check out for where used list & check if there is any relationship with your program.
Regards,
Dharitree
2006 Oct 09 10:10 AM
Hi lakshminarayan,
1. FM EXIT_SAPMM06E_006, it says no such string available.
Yes, u are right !
2. It won't be available.
3. Such FMS (of exit) are not called directly.
4. Instead they are called in this fashion.
CALL CUSTOMER-FUNCTION '006'
5. This is a special ABAP syntax.
6. It does the following things :
a) It searches for the FM
with the following name
EXIT_ + PROGRAMNAME + _006
b) then it checks whether the enhancement is active or not.
c) If yes, then it automatically calls the related FM.
(EXIT_SAPMM06E_006 in your case)
7. This is how the customer-exits (FM exits) work.
regards,
amit m.
2006 Oct 09 11:36 AM
To find Function Module Exit in any Standard program Find it By CALL CUSTOMER-FUNCTION in search item AND it will display all FM Exit and then look out for ur Exit.