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

Dynamic Selection Screen ABAP

Hi all ,

In ECC 6.0 , i want to create a dynamic screen .

Requirement is as follows :

I will maintaining a Z table which will contain Program Name (Zreport1 , zreport2 , zreport3 , etc ) all with a common selection parameter PAYROLL AREA . Now , the selection screen of the new program needs to be such that if I maintain Zreport 1 and 2 in this Z table , then Report 1 and report2 description and the payroll area should come in sel screen

eg

THIS IS REPORT 1

Payroll Area : ____________

This is REPORT 2

PAYROLL AREA ...

Thus the sel screen of the new program should differ based on the Z table entires .

Pls lemme know suggestions on the same

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

6 Answers

  • Posted on Mar 04, 2011 at 11:02 AM

    You can handle the same in AT INITIALIZATION event. Here check for entries in Z table and set the text .

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Mar 04, 2011 at 11:24 AM

    Hi Supriya,

    This can be done in the event AT_SELECTION_SCREEN_OUTPUT.

    Regards

    Hareesh

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Mar 04, 2011 at 11:35 AM

    Hi,

    AT Initialization event will work for you.

    Just fetch the data from the table , read it with index1 and use the Write Statement to display it.

    Thats all.

    Thanks

    Arbind

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Mar 04, 2011 at 11:51 AM

    hI ,

    But in this case , how will i specify the selection screen initially .

    Also , my DB may have any number of records , so how can i change the text dynamically if initially i specify on selected number of user inputs ?

    Thanks

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Mar 04, 2011 at 11:55 AM

    What I understood that you need to create dynamic selection screen based on the entries of some table.

    I haven't come across with such requirement, but may be below link will be helpful to you

    http://help.sap.com/SAPhelp_nw04/helpdata/en/67/93b80914a911d2953c0000e8353423/content.htm

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on May 30, 2011 at 07:57 AM

    Requirement scrapped

    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.