08-20-2007 9:42 AM
Hi All,
I have a requirement to create a program / function module dynamically, based on user input on a screen.
Based on user input on a screen, I have to generate a syntax/code and create an object, which can be called by other objects.
Please let me know how this is possible.
Thanks in advance,
Archana.
08-20-2007 9:55 AM
08-20-2007 9:53 AM
Hi,
There are function modules whihc let you to create objects. These are the FM's which are interface to the Repository info system. Search for RPYINS in se37. Specifically RPY_PROGRAM_INSERT,
RPY_CLIF_MULTI_INSERT,
RPY_FUNCTIONMODULE_INSERT.
These would meet your requirements.
Regards,
Sharat.
08-20-2007 9:55 AM
08-20-2007 12:37 PM
Hi,
Thanks for you reply...it worked for creating new FM.
Further to that in case I want to change the source code or other things in an FM created already, how is it possible to do that ?
I read your reply on the thread you sent but in case of changing source code it doesn't work.
Apreciate your help.
Thanks in advance,
Archana Admane