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 in selection screen

Former Member
0 Likes
689

Can anyone plz tell me how can i set pf-status by using the fucntion modules RS_SET_SELSCREEN_STATUS and RS_EXTERNAL_SELSCREEN_STATUS in selection screen.

Thanks in advance

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
625

hi,

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 = 'ZSELK'           "your status
      TABLES
        P_EXCLUDE = EXCLUDE
      EXCEPTIONS
        OTHERS = 1.
   ENDIF.

Also check program DEMO_SEL_SCREEN_STATUS .

Rgds

Reshma

Can anyone plz tell me how can i set pf-status by using the fucntion modules RS_SET_SELSCREEN_STATUS and RS_EXTERNAL_SELSCREEN_STATUS in selection screen.

Thanks in advance

2 REPLIES 2
Read only

Former Member
0 Likes
626

hi,

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 = 'ZSELK'           "your status
      TABLES
        P_EXCLUDE = EXCLUDE
      EXCEPTIONS
        OTHERS = 1.
   ENDIF.

Also check program DEMO_SEL_SCREEN_STATUS .

Rgds

Reshma

Read only

Former Member
0 Likes
625

chk this demo

DEMO_SEL_SCREEN_STATUS