Skip to Content

Pass the Parameter Value to another T-Code Parameter

Hi All,

I have one Report program, and there i want to pass my parameter value to another T-Code when we click on Display button and execute there itself the same lot no which i pass through my report program.

This is my Report Program Parameter Lot No.

Want to pass this lot no into this (below) T-Code and display there itself.

Thanks in Advance,

Niraj

status01.png (6.5 kB)
status02.png (11.0 kB)
Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • Posted on Feb 16, 2016 at 01:03 PM

    What did you try from SPA/GPA parameter to build of a small BDC?

    Regards,

    Raymond

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Feb 16, 2016 at 02:32 PM

    Hi Niraj,

    It can easily be done through a BDC and call transaction.

    Create a BDC for the second Tcode and when you press the display button on first t code , call transaction with BDC data for second t code.

    Thanks,

    Ritesh

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Feb 16, 2016 at 02:33 PM

    Hi Niraj,

    if it is z report, try export/import Memory id.

    Hope it helpful,

    Regards,

    Venkat.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Feb 16, 2016 at 03:09 PM

    Hello

    Try


    DATA: LT_BDC_TAB TYPE STANDARD TABLE OF bdcdata.

    FIELD-SYMBOLS : <fs_bdc_data> LIKE LINE OF LT_BDC_TAB.


    APPEND INITIAL LINE TO LT_BDC_TAB ASSIGNING <FS_BDC_TAB>.

    <FS_BDC_TAB>-program = '(TARGET TCODE PROG NAME)'.

    <FS_BDC_TAB>-dynpro = ''(TARGET TCODE SCREEN NUMBER)'.'.

    <FS_BDC_TAB>-dynbegin = 'X'.

    APPEND INITIAL LINE TO LT_BDC_TAB ASSIGNING <FS_BDC_TAB>.

    <FS_BDC_TAB>-fnam = '(LOT DYNPRO NAME in TARGET TCODE)'.

    <FS_BDC_TAB>-value = '(LOT NUMBER)'.

    CALL TRANSACTION (YOUR TARGET TCODE) USING LT_BDC_TAB .

    and if you want to skip the first screen, just add 'SKIP FIRST SCREEN'

    Sab

    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.