Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Reg: GUI Status

Former Member
0 Likes
809

Hi,

Am calling a screen 104 from the main screen, using the following statement..

CALL SCREEN 104 STARTING AT 10 5.

It is including the GUI status of the main screen. But I dont want any GUI status for the screen 104. I need only Title bar. How can I exclude the previous GUI status? Is it like by creating the new GUI status( without any buttons ) or is there any other efficient way to do this?

Regards,

SAP Lover

Hi,

Am calling a screen 104 from the main screen, using the following statement..

CALL SCREEN 104 STARTING AT 10 5.

It is including the GUI status of the main screen. But I dont want any GUI status for the screen 104. I need only Title bar. How can I exclude the previous GUI status? Is it like by creating the new GUI status( without any buttons ) or is there any other efficient way to do this?

Regards,

SAP Lover

5 REPLIES 5
Read only

Former Member
0 Likes
765

Hi,

before calling the screen

SET PF_STATUS 'stat' .

double click on it and application tools --> remove all fcodes.

Reward if useful...

Read only

Former Member
0 Likes
765

Hi,

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 in exceptional cases, you can use one of the following function modules in the PBO event of the selection screen:

RS_SET_SELSCREEN_STATUS

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

RS_EXTERNAL_SELSCREEN_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.

For further information, refer to the function module documentation.

REPORT demo_sel_screen_status.

DATA itab TYPE TABLE OF sy-ucomm.

PARAMETERS test(10) TYPE c.

AT SELECTION-SCREEN OUTPUT.

APPEND: 'PRIN' TO itab,

'SPOS' TO itab.

CALL FUNCTION 'RS_SET_SELSCREEN_STATUS'

EXPORTING

p_status = sy-pfkey

TABLES

p_exclude = itab.

In this example, the Print and Save as variant functions are deactivated. To find out the function codes of the standard GUI status, choose System ® Status and double-click the GUI status field.

regards,

preet

reward if useful..

Read only

Former Member
0 Likes
765

Hai ,

Use SET PF-STATUS SPACE.

SET TITLEBAR title .

Regards.

Eshwar.

Read only

Former Member
0 Likes
765

to do this suppose say there's back button in screen 105 but you dont want it for screen 101 then FOR SCREEN 104 GUI add this:

SET PF-STATUS EXCLUDING BACK.

this surely gonna help

reward if useful.

Read only

Former Member
0 Likes
765

to do this suppose say there's back button in screen 105 but you dont want it for screen 104 then FOR SCREEN 104 GUI add this:

SET PF-STATUS EXCLUDING BACK.

this surely gonna help

plz reward if useful.