‎2007 May 16 1:04 PM
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.
‎2007 May 16 1:09 PM
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
‎2007 May 16 1:12 PM
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.
‎2007 May 16 1:15 PM
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
‎2007 May 16 1:15 PM
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
‎2007 May 16 1:22 PM
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