Hello Gurus,
I have a selection screen program. When I run the program ZPROGA from se38, I want a custom button on selection screen application toolbar.
To do this, I have created a custom GUI status with the additional button in Program ZPROGB. Now due to reasons I cannot create GUI status for program ZPROGA.
So in Initialization of selection program ZPROGA, I am writing following:
Report ZPROGA.
INITIALIZATION.
select single INDEXING from ZCONFIG
into v_indexing where ZPROGRAM = sy-repid.
if v_indexing = 'X'.
set pf-status 'GUINDEX' of program 'ZPROGB'.
ENDIF.
But I get a error message saying that STATUS 'GUINDEX' of the user interface ZPROGA misisng.
Please help how can I set pf-status of other program in the selection screen of another program.
Regards,
Rajesh.