Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Input as Transaction Code

Former Member
0 Kudos

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

3 REPLIES 3

Former Member
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

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