‎2006 Sep 13 8:24 AM
hi
Can anybody tell me how to make execute button disable in a selection screen.
vikas
‎2006 Sep 13 8:27 AM
TRY..
REPORT ZKIS.
[code]include rsdbc1xx.
parameters: p_check type c.
at selection-screen output.
append 'ONLI' to current_scr-excl. "Execute
append 'PRIN' to current_scr-excl. "Execute and Print
append 'SJOB' to current_scr-excl. "Execute in Background
[/code]
OR.
u have to make new pf-status.
‎2006 Sep 13 8:32 AM
Hi vikas,
try this:
*
INCLUDE .
*
*
SELECTION-SCREEN: SKIP.
SELECTION-SCREEN: BEGIN OF LINE.
SELECTION-SCREEN: PUSHBUTTON 30(20) PB01 USER-COMMAND ONLI.
SELECTION-SCREEN: END OF LINE.
*
*
INITIALIZATION.
*
CONCATENATE ICON_EXECUTE_OBJECT 'Ausführen' INTO PB01.
*
Regards, Dieter
‎2006 Sep 13 8:40 AM
hi vikas,
Pls check this program and modify according to ur requirement
REPORT YCHATEST.
DATA itab TYPE TABLE OF sy-ucomm.
PARAMETERS test(10) TYPE c.
AT SELECTION-SCREEN OUTPUT.
APPEND: 'PRIN' TO itab,
'SPOS' TO itab.
CALL FUNCTION 'RS_SET_SELSCREEN_STATUS'
EXPORTING
p_status = sy-pfkey
TABLES
p_exclude = itab.what is the solution??
Message was edited by: Chandrasekhar Jagarlamudi
‎2006 Sep 13 10:29 AM