‎2010 Jul 12 5:21 PM
Hi all
Is there a function module that I can use to get the source code of another function module at a specific version?
For example, can I call a function module passing in "FM_NAME" and "FM_VERSION" and have it return the lines of code associated with that object?
Thanks in advance.
Stuart
‎2010 Jul 13 7:46 AM
Thanks guys
That's incredibly helpful! I have one more question that I just thought of last night...
Is there a way to hook into the code activation process? I want to be able to take a snapshot of the ABAP source code at each point when it is activated for use in another system, but need to be able to intercept this event and get the source code at that point in time.
Any ideas?
Thanks!
‎2010 Jul 12 5:33 PM
Refer this program "RSVRSRS1" and i think this is the function module "SVRS_GET_REPS_FROM_OBJECT"
Edited by: Ramesh Kumar Pampapathi on Jul 12, 2010 6:34 PM
‎2010 Jul 12 5:37 PM
Hi,
use the FM SVRS_GET_VERSION_REPS_40 for the same..
thanks
Subhankar
‎2010 Jul 13 7:46 AM
Thanks guys
That's incredibly helpful! I have one more question that I just thought of last night...
Is there a way to hook into the code activation process? I want to be able to take a snapshot of the ABAP source code at each point when it is activated for use in another system, but need to be able to intercept this event and get the source code at that point in time.
Any ideas?
Thanks!
‎2010 Jul 13 10:09 AM
Check badi
CTS_CURRENT_PROJECT
WB_PROCESS_FCODE
These badis gets triggered when a program is activated.
‎2010 Jul 13 10:11 AM