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

GUI Status

Former Member
0 Likes
788

Can we define our own GUI Status for our selection screen?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
680

You can use FM RS_SET_SELSCREEN_STATUS at event AT SELECTION-SCREEN OUTPUT.


AT SELECTION-SCREEN OUTPUT.
IF SY-DYNNR = 1000.
CALL FUNCTION 'RS_SET_SELSCREEN_STATUS'
EXPORTING
P_STATUS = 'SELK "your status
TABLES
P_EXCLUDE = EXCLUDE
EXCEPTIONS
OTHERS = 1.
ENDIF.

Also check program DEMO_SEL_SCREEN_STATUS and this link.

https://www.sdn.sap.com/sdn/collaboration.sdn?contenttype=url&content=https%3A//forums.sdn.sap.com/t...

3 REPLIES 3
Read only

Former Member
0 Likes
681

You can use FM RS_SET_SELSCREEN_STATUS at event AT SELECTION-SCREEN OUTPUT.


AT SELECTION-SCREEN OUTPUT.
IF SY-DYNNR = 1000.
CALL FUNCTION 'RS_SET_SELSCREEN_STATUS'
EXPORTING
P_STATUS = 'SELK "your status
TABLES
P_EXCLUDE = EXCLUDE
EXCEPTIONS
OTHERS = 1.
ENDIF.

Also check program DEMO_SEL_SCREEN_STATUS and this link.

https://www.sdn.sap.com/sdn/collaboration.sdn?contenttype=url&content=https%3A//forums.sdn.sap.com/t...

Read only

Former Member
Read only

Former Member
0 Likes
680

hi,

you can set your own made gui status .

for that you have to create one GUI status .

example : if name of gui status is 'zststus'

call these function in event selection-screen.

call function 'Rs_set_selscreen_status'

exporting

p_status = zstatus

exceptions

others = 1.

you will get you own made gui status in screen..

Give Rewards if helpful.