2010 Mar 23 11:51 AM
Hi,
i copied and created a status d0100 from standard status ex. standard (program name -SAPLKKBL) for my xz program.
but when i am executing the z report i am getting a tool bar named SAP in white colour .
i dont want to display this one to my report screen.
How to avoid it??please help
2010 Mar 23 12:02 PM
Did you copy the status ' ST004 ' from program SAPLKKBL ?
is your custom program ALV list display report ?
Hi,
i copied and created a status d0100 from standard status ex. standard (program name -SAPLKKBL) for my xz program.
but when i am executing the z report i am getting a tool bar named SAP in white colour .
i dont want to display this one to my report screen.
How to avoid it??please help
2010 Mar 23 12:02 PM
Did you copy the status ' ST004 ' from program SAPLKKBL ?
is your custom program ALV list display report ?
2010 Mar 23 12:11 PM
Hi,
i copied from status "STANDARD'. program
yes its a alv program SAPLKKBL
2010 Mar 23 12:26 PM
why do you want to copy the standard GUI status 'STANDARD' instead try re-using it.
if you want to use the copied GUI status confirm if it is activated.
let me know how you have made use of the GUI Status in your program.
please post the code, so that i can help you further
2010 Mar 23 12:32 PM
Hi,
Actually its a z report.
When trying to execute the program the user gets an
error
message
Error Message : Status D0100 of the user interface Z_MATBOM_FILE2 missing
Message 00264
Thats why i copied the standard status to fix this issue.
code wriiten in pbo like this
FORM d0100_set_status.
TYPES: BEGIN OF l_ty_s_excl,
func TYPE syucomm,
END OF l_ty_s_excl,
l_ty_t_excl TYPE STANDARD TABLE OF l_ty_s_excl.
DATA: lt_excl TYPE l_ty_t_excl.
SET PF-STATUS 'D0100' EXCLUDING lt_excl. "deba
SET TITLEBAR 'D0100'.
2010 Mar 23 12:40 PM
let me know the Function Module used in your program for the ALV list display
check if there is an exporting parameter i_callback_pf_status_set.
you have a set of code for the PF status.
let me know the Function Module.. i will post the codes for you
call FM 'zzzz'
exporting
i_callback_pf_status_set = 'SET_PF_STATUS'
FORM set_pf_status USING rt_extab TYPE slis_t_extab.
*The refresh ICON is added to the GUI status ZSTANDARD
SET PF-STATUS 'ZSTANDARD'.
ENDFORM. "Set_pf_status
if you want to exclude some function codes from the ZSTANDARD PF status you need to populate ' rt_extab'
rt_extab-func = 'FUNC1'
append rt_extab.
FORM set_pf_status USING rt_extab TYPE slis_t_extab.
*The refresh ICON is added to the GUI status ZSTANDARD
SET PF-STATUS 'ZSTANDARD' excluding rt_extab.
ENDFORM. "Set_pf_status
Edited by: jeevitha krishnaraj on Mar 23, 2010 1:48 PM