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.
Showing results for 
Search instead for 
Did you mean: 

How to add GUI Stautus to selection-screen . please give some sample c

Former Member
0 Kudos

How to add GUI Stautus to selection-screen . please give some sample code?


Active Contributor


I usually copy the standard status (<b>%_00</b> in function group <b>SETB</b>) to my report and adjust it. Status %_00 is used as GUI-status for selection screens if no other is provided. Add the following lines to your report:

  set pf-status 'SELSCREEN'.  " copy of %_00



Former Member
0 Kudos

check the links

<a href=""></a>


shiba dutta

Former Member
0 Kudos


please use RS_SELSCREEN_STATUS function module it will solve ur problme....



Former Member
0 Kudos


U assign ur porgram to a transaction by going to se93. While creating the transaction select the types of transaction as Program and selection screen (report transaction). After this u go to se80 and open ur program. Now u can create GUI status .


Write the statement set pf-status 'STATUS' in ur program

Now double click on status it will ask u for creation and then u can create.

Message was edited by:

aruna ch

Former Member
0 Kudos

The GUI status of a selection screen is generated by the system. The SET PF-STATUS statement in the PBO event of the selection screen has no effect on the standard GUI status. If you want to use your own GUI status for a selection screen or deactivate functions in the standard GUI status, you can use one of the following function modules in the PBO event of the selection screen:


Sets another GUI status defined in the same ABAP program, or deactivates functions of the standard GUI status.


Sets a GUI status defined in an external function group. You must use the SET PF-STATUS statement to set the status in a special function module in this function group. You must pass the name of the function module that sets the status as a parameter to the function module RS_EXTERNAL_SELSCREEN_STATUS.

Please reward if helpful....