‎2008 Dec 23 9:43 AM
I want to execute a report without pressing F8 but by using the same functionality in a pushbutton.
‎2008 Dec 23 9:47 AM
Hi,
Create a pushbutton on the selection screen and it will resolve this.If u want to disable the execute button use the FM "RS_SET_SELSCREEN_STATUS"
Regards,
Shafi
‎2008 Dec 23 9:45 AM
HI,
Find the F8 fcode for the selection screen. Rearrange this fcode created push button on the screen field. THis will be helpful
Regards,
Naresh
‎2008 Dec 23 9:47 AM
Hi,
Create a pushbutton on the selection screen and it will resolve this.If u want to disable the execute button use the FM "RS_SET_SELSCREEN_STATUS"
Regards,
Shafi
‎2008 Dec 23 9:51 AM
below is for adding pushbutton on selection-screen......
PARAMETERS: p_carrid TYPE s_carr_id,
p_cityfr TYPE s_from_cit.
SELECTION-SCREEN: FUNCTION KEY 1,
FUNCTION KEY 2.
INITIALIZATION.
sscrfields-functxt_01 = 'LH'.
sscrfields-functxt_02 = 'UA'.
AT SELECTION-SCREEN.
CASE sscrfields-ucomm.
WHEN'FC01'.
p_carrid = 'LH'.
p_cityfr = 'Frankfurt'.
WHEN 'FC02'.
p_carrid = 'UA'.
p_cityfr = 'Chicago'.
ENDCASE.
below f.m module is to exclude the standard pushbutton
RS_SET_SELSCREEN_STATUS