Skip to Content
author's profile photo Former Member
Former Member

Input as Transaction Code

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Apr 24, 2007 at 12: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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Apr 24, 2007 at 12: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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Apr 24, 2007 at 12: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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.