‎2009 Jan 14 12:55 PM
I see a display error on the selection screen to the left of the Run Time field. When my mouse hovers over the display error, another display then appears below the Run Time field. I believe an = sign should appear to the left of the Run Time.
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-034.
PARAMETERS: p_jobnam TYPE tbtco-jobname MODIF ID 1.
SELECT-OPTIONS: s_runda FOR tbtco-strtdate DEFAULT sy-datum TO sy-datum MODIF ID 1 ,
s_runti FOR tbtco-strttime DEFAULT time_0 TO time_24 MODIF ID 1.
PARAMETERS: p_supjob AS CHECKBOX .
SELECTION-SCREEN END OF BLOCK b1.
‎2009 Jan 14 12:56 PM
my error message looks like this in a small field
@20\QSelect: Equal to@
‎2009 Jan 14 12:59 PM
Hi,
Try like this
tables : tbtco.
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-034.
PARAMETERS: p_jobnam TYPE tbtco-jobname MODIF ID 1.
SELECT-OPTIONS: s_runda FOR tbtco-strtdate DEFAULT sy-datum TO sy-datum MODIF ID 1 ,
s_runti FOR tbtco-strttime DEFAULT tbtco-STRTTIME TO sy-uzeit MODIF ID 1.
PARAMETERS: p_supjob AS CHECKBOX .
SELECTION-SCREEN END OF BLOCK b1.
Regards,
Nagaraj
‎2009 Jan 14 1:01 PM
Hello Gurdeep,
Can you please tell how you have declared time_0 & time_24?
I think your getting the error because of these declarations.
BR,
Suhas
‎2009 Jan 14 1:05 PM
hi suhas ,
this is how i declared and also when i tried the same code in diffrent dummy program the error i snot displayed it displayed = symbol.
DATA time_0 LIKE edidc-updtim VALUE '000000'.
DATA time_24 LIKE edidc-updtim VALUE '240000'.
‎2009 Jan 14 1:14 PM
Hello Gurdeep,
Works perfect for me !!!
tried the same code in diffrent dummy program the error i snot displayed it displayed = symbol
Are you getting an error during selection-screen generation ?
What symbol are you talking about? Plz use more clear language.
BR,
Suhas
Edited by: Suhas Saha on Jan 14, 2009 2:15 PM
‎2009 Jan 14 1:16 PM
Hi,
I tried like this and it worked..plz try..
tables : tbtco.
DATA time_0 LIKE edidc-updtim VALUE '000000'.
DATA time_24 LIKE edidc-updtim VALUE '240000'.
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-034.
PARAMETERS: p_jobnam TYPE tbtco-jobname MODIF ID 1.
SELECT-OPTIONS: s_runda FOR tbtco-strtdate DEFAULT sy-datum TO sy-datum MODIF ID 1 ,
s_runti FOR tbtco-strttime DEFAULT time_0 TO time_24 MODIF ID 1.
PARAMETERS: p_supjob AS CHECKBOX .
SELECTION-SCREEN END OF BLOCK b1.
Regards,
Nagaraj
‎2009 Jan 14 1:47 PM
Hi, Gurdeep,
Following code may help you in this way,
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-034.
PARAMETERS: p_jobnam TYPE tbtco-jobname MODIF ID 1.
SELECT-OPTIONS: s_runda FOR tbtco-strtdate DEFAULT sy-datum TO sy-datum MODIF ID 1 ,
s_runti FOR tbtco-strttime." DEFAULT time_0 TO time_24 MODIF ID 1.
PARAMETERS: p_supjob AS CHECKBOX .
SELECTION-SCREEN END OF BLOCK b1.
INITIALIZATION.
s_runti-low = '000000'.
s_runti-high = '240000'.
APPEND s_runti to s_runti.Please Reply If any Issue,
Kind Regards,
Faisal
‎2009 Jan 14 2:13 PM
AT SELECTION-SCREEN OUTPUT.
LOOP AT SCREEN.
" if radio button display on screen i sselected then make subject,sheduler
and user email disable and if radio button send email is selected make
the same fields enable.
IF screen-group1 = '3' .
IF p_disp = 'X'.
screen-input = 0.
ELSEIF p_email = 'X'.
screen-input = 1.
ENDIF.
ENDIF.
*if check box report on job status is selected making jobname,rundate,runtime fields
disable and if it is not checked maiking these fields enable.
ELSEIF screen-group1 = '1'.
IF p_re_sts = ' ' .
screen-input = 0.
ELSEIF p_re_sts = 'X'.
screen-input = 1.
ENDIF.
ENDIF.
*if attach .csv check box is seleted then making the fields status,application path
*and file enable otherwise disable.
ELSEIF screen-group1 = '2'.
IF p_att = ' '.
screen-input = 0.
ELSEIF p_att = 'X'.
screen-input = 1.
ENDIF.
CLEAR : p_apdir1.
MODIFY SCREEN.
ENDIF.
this code am using i have a check box if i check that am making above selction screen parameters enable disable .
i found out that if i commented this loop at screen code am getting no error .
please help