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 Error

Former Member
0 Likes
807

Hi

This is the program code.

Report zpm_data_cleansing_jobs.

Initialization.

but1 = text-001.

start-of-selection.

selection-screen skip 2.

selection-screen begin of line.

select-options period for sy-datum.

selection-screen pushbutton 50(16) but1 user-command create.

selection-screen end of line.

end-of-selection.

This is the error that I'm getting when I activate the program.

It says it is syntactically correct.

Error when generating the selection screen "1000" of report

"ZPM_DATA_CLEANSING_JOBS ".

Points will be given.

Thanking you

Regards

Bhanu.

5 REPLIES 5
Read only

Former Member
0 Likes
768

hey bhanu ,

dont write selection-screen syntax in SATRT-OF-SELECTION event.

u have to write that code for slection screen out of start-of-selection event..

please reward some point if answer is useful.

Regards,

Padmakar

Read only

Former Member
0 Likes
768
try this..

Report zpm_data_cleansing_jobs.

selection-screen skip 2.
selection-screen begin of line.
select-options period for sy-datum.
selection-screen pushbutton 50(16) but1 user-command create.
selection-screen end of line.

Initialization.
but1 = text-001.

start-of-selection.

end-of-selection.
Read only

Former Member
0 Likes
768

Hello,

Change ur statements order from

select-options period for sy-datum.

selection-screen pushbutton 50(16) but1 user-command create.

to

selection-screen pushbutton 50(16) but1 user-command create.

select-options period for sy-datum.

Check this :-


Tables: usr02.

Data: but1 type char100.

Initialization.
but1 = text-001.

*start-of-selection.
selection-screen skip 2.
selection-screen begin of line.
selection-screen pushbutton 50(5) but2 user-command create.
select-options period for usr02-TRDAT.
selection-screen end of line.
end-of-selection.

Regards,

Deepu.K

Read only

Former Member
0 Likes
768

hi,

It is problem with offset value which u have given for pushbutton.selection-screen pushbutton 50(16).

give less offsetvalue 3(15).

Reward with points if helpful.

Message was edited by:

Vinutha YV

Read only

Lakshmant1
Active Contributor
0 Likes
768

Hi Bahnu,

You are getting the shotdump becuase both the select-option statements are withing the same selection-screen begin of line and selection-screen end of line.

There needs to be separate selection-screen begin of line and selection-screen end of line for each select-options statement.

Hope this helps

Thanks

Lakshman