02-15-2006 10:58 AM
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.
02-15-2006 11:27 AM
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
02-15-2006 11:16 AM
Hi,
What is the transaction you are trying to implement this?.
Please let me know,.
Thank you.
Regards,
Karun M
02-15-2006 11:23 AM
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
02-15-2006 11:27 AM
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
02-15-2006 12:41 PM
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.