Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

selection screen time parameter error.

Former Member
0 Likes
833

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.

8 REPLIES 8
Read only

Former Member
0 Likes
778

my error message looks like this in a small field

@20\QSelect: Equal to@

Read only

former_member404244
Active Contributor
0 Likes
778

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

Read only

SuhaSaha
Product and Topic Expert
Product and Topic Expert
0 Likes
778

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

Read only

Former Member
0 Likes
778

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'.

Read only

SuhaSaha
Product and Topic Expert
Product and Topic Expert
0 Likes
778

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

Read only

0 Likes
778

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

Read only

faisalatsap
Active Contributor
0 Likes
778

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

Read only

Former Member
0 Likes
778

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