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

Call a Table Control screen with specific input values from another screen.

Hi Gurus,

I am in a situation where in i need to display data in table control, by specifying the input values in another screen .

let me explain it.

in Screen 1--i have one input field.

by giving proper inputs i'll display table control by calling another screen i.e., Screen 2.

What i did is ,

in calling screen(screen 1) used CHAIN Statement.

selected the fields from the table to display,

read statement, calls screen( screen2) with table control.

But this seems not working for me.Please suggest me proper way.

Thanks & Regards.

<< Moderator message - basic screen processing - unmarked as a question >>

Message was edited by: Rob Burbank

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jun 11, 2012 at 07:59 AM

    hi Rohan,

    please follow below logic it works

    PROCESS BEFORE OUTPUT.

    LT_ZSRA is your internal table


    LOOP AT LT_ZSRA(internal table)

    WITH CONTROL ZEDIT (your table control)

    CURSOR (your table control)ZEDIT-CURRENT_LINE.

    field LT_ZSRA-ZCASE_NUMBER module POPULAT_DATE.

    ENDLOOP.



    MODULE populat_date OUTPUT.

    zedit is your table control

    MOVE-CORRESPONDING lt_zsra TO zedit.

    ENDMODULE.

    thank you,

    jacob.kata.


    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Former Member ,

      Hi Jacob,

      LOOP AT LT_ZSRA(internal table)

      WITH CONTROL ZEDIT (your table control)

      CURSOR (your table control)ZEDIT-CURRENT_LINE.

      field LT_ZSRA-ZCASE_NUMBER module POPULAT_DATE.

      ENDLOOP.

      here field lt_zsra-zcase_number is it my input field.

      if so what if i have more than one input field.

      regards.

  • author's profile photo Former Member
    Former Member
    Posted on Jun 12, 2012 at 11:15 AM

    Hi Guys,

    i never got the satisfied answer for this thread so, please help me to solve this particular problem of mine.

    i tried all possible way to display data in table control by giving input in another screen but i couldn't get the solution please HELP.

    thakns & Regards.

    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.