04-24-2007 1:02 PM
Hi All,
i have written a program in dialog programming which replicates a screen
( or Transaction )by using function module RS_SCRP_COPY. i give program name and screen number as input in the main screen. it is working fine. but now i want to replace those two input fields and give input field as Transaction Code. by giving TCODE it should work exactly as the previous one.
Could you please tell me how to achieve this.
regards,
samm
04-24-2007 1:05 PM
Hi,
Use the Table TSTC, u have tcode and the related program and screen number ..according to the entered TCODE you can get the program name and from there the logic remains the same
santhosh
04-24-2007 1:05 PM
by giving only the TCODE as input it is not possible i guess
TCODE may contain many screens , so u have to give the input as to which screen to copy
04-24-2007 1:06 PM
Hi,
This is a Std fun module which doesn't have TCODE as import parameter. How do you give Tcode as input parameter?
You can't give like that.
reward if useful
regards,
ANJI