‎2015 Feb 14 2:20 PM
Hi all,
Am working with the upgrade as well as re-implementation Project in sap.
I was given the list of user-exit include programs and asked to find the T-Codes.
I have searched through where used lists and done lot of practices but could not found solution.
Please help me getting out of this.. <Text removed by Moderator. Neutralizing the priority>
Please see sample Include Programs..
DBZADSEL
MM07MFM0_M_SEGMENTE_ERGAENZEN
Thanks in Advance..
Message was edited by: Jyoti Prakash
‎2015 Feb 19 8:55 AM
Hi Vinay,
Usually you can find the Tcodes for a given program using table TSTC. But if you have Includes within a Program, it will not help as Transactions are linked to the main program and not the Includes within.
Hope this helps you to get a lead.
Regards,
Karthik Krishnan
‎2015 Feb 19 10:16 AM
Thanks Karthik,
is there any way to find out the t-code for include programs ? ?
‎2015 Feb 19 11:45 AM
I would recommend you to write a recursive method which calls function 'RS_EU_CROSSREF' (returns where-used list of an 'object'). This method should call itself with found entries from where-used list and save all found transaction codes in a table to display at the end.
With your given example MM07MFM0_M_SEGMENTE_ERGAENZEN this returns something like this:
MB01 T
MB02 T
MB03 T
MB04 T
MB05 T
MB0A T
MB11 T
MB1A T
MB1B T
MB1C T
MB31 T
MBNL T
MBRL T
MBSF T
MBSL T
MBST T
MBSU T
.....
‎2015 Feb 19 11:25 AM
You can find lot of programs in SCN to fetch the list of exits and badi in a given transaction or program. Use it to run for all the pgms and trans in your systems and do a vlookup using Excel (or) use the logic in those program to get ur functionality
‎2015 Feb 19 4:01 PM
Do a where-used on the user exit include, it will show you the EXIT FM name, like for e.g. EXIT_SAPLCOMK_001.
The middle one 'SAPLCOMK' in the exit name is the main program to which the TCode will be attached.
So if you go to TSTC table and provide the program name as SAPLCOMK, you will get its TCode.
NOTE: Almost all Standard TCodes are basically attached to main program of a function group, like in case of SAPLCOMK, COMK is the function group name and SAPLCOMK is its main program. Whenever you see SAPL prefixed to a program, it will be the main program of a function group.
‎2015 Feb 20 2:43 AM