2016 Nov 29 7:51 AM
I am writing a custom report program and want to call transaction SE01 from there. Whenever I call this transaction, the display tab must be set as initial screen.
I am writing a custom report program and want to call transaction SE01 from there. Whenever I call this transaction, the display tab must be set as initial screen.
2016 Nov 29 8:36 AM
2016 Nov 29 11:33 AM
Thanks Simone for help...I have got a function module that serves my requirement. Using this FM, I can directly jump to that screen, without actually calling the transaction SE01.
TR_SHOW_REQUEST
2016 Nov 29 12:07 PM
Your question was not clear at all (reflected in the "wrong" answers), you should have asked "I want to programmatically display the screen of one TR details, as if it was called from SE01... see attached image"
2016 Nov 29 12:23 PM
2016 Nov 29 1:15 PM
Yes, I accept this. I was earlier using the statements CALL TRANSACTION 'SE01' and skipping the first screen. That is why, I asked this question.
2016 Nov 29 11:09 AM
Change temporarily your workbench settings.
* local data
DATA: rseumod TYPE rseumod,
old_rseumod TYPE rseumod.
* Read current settings.
CALL FUNCTION 'RS_WORKBENCH_CUSTOMIZING'
EXPORTING
suppress_dialog = 'X'
IMPORTING
setting = old_rseumod.
rseumod = old_rseumod.
" Change settings
rseumod-wbo_screen = '7'. " Loolk at RDDM0001 for constants gc_screen_*
EXPORT rseumod TO MEMORY ID 'RSEUMOD'.
" Call transaction
CALL TRANSACTION 'SE01'.
" Restore previous settinfs
rseumod = old_rseumod.
EXPORT rseumod TO MEMORY ID 'RSEUMOD'.Regards,
Raymond