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

Change the GUI status

Former Member
0 Kudos

Hi all,

how do we change the GUI status , of a standard transaction.

say for eg: se38 when run and i write some code which has selection screen . now when i test.

i will have standard option in th menu bar "program" "edit" "goto" "system" .

in the "program" option i have , "execute" , "execute and print" , "execute in background" , except "execute in background" rest of the options should be deactivated or removed.

Do help me with this as soon as possible.

Thanks in Advance

Kishore Kumar Yerra.

1 ACCEPTED SOLUTION

athavanraja
Active Contributor
0 Kudos

what i understand is thatyou want to have your own GUI status for your custom report program?

if yes

define a gui status and

just set the gui status at selection-screen output.

alternatively at initializatio you could call RS_SET_SELSCREEN_STATUS to restrict the options available.


data: begin of int_exc occurs 0,
      code like sy-ucomm,
      end of int_exc.
data; wf_repid .

initialization.

  clear int_exc.

  int_exc-code = 'SJOB'. append int_exc.
move: sy-repid to wf_repid .

  call function 'RS_SET_SELSCREEN_STATUS'
    exporting
      p_status  = '%_00'
      p_program = wf_repid
    tables
      p_exclude = int_exc.

Regards

Raja

4 REPLIES 4

Former Member
0 Kudos

Hi,

What is the transaction you are trying to implement this?.

Please let me know,.

Thank you.

Regards,

Karun M

hymavathi_oruganti
Active Contributor
0 Kudos

standard gui status for standard transactions ,

program name: SAPLKKBL

GUI STATUS: STANDARD

so u can use that set pf status and exclude what ever u want

athavanraja
Active Contributor
0 Kudos

what i understand is thatyou want to have your own GUI status for your custom report program?

if yes

define a gui status and

just set the gui status at selection-screen output.

alternatively at initializatio you could call RS_SET_SELSCREEN_STATUS to restrict the options available.


data: begin of int_exc occurs 0,
      code like sy-ucomm,
      end of int_exc.
data; wf_repid .

initialization.

  clear int_exc.

  int_exc-code = 'SJOB'. append int_exc.
move: sy-repid to wf_repid .

  call function 'RS_SET_SELSCREEN_STATUS'
    exporting
      p_status  = '%_00'
      p_program = wf_repid
    tables
      p_exclude = int_exc.

Regards

Raja

0 Kudos

Hi Durairaj Athavan Raja

Thanks a lot for the code and information , finally i could solve the problem . and you have understood my requirement exactly.

Thank You,

Kishore Kumar Yerra.