‎2011 Sep 07 5:10 AM
Hi Experts,
I am scheduling a program from a program using SUBMIT keyword. The program being scheduled have select options which are more than 45 characters in length. I am using below code:-
SUBMIT zmd_batch_import_backend_pgm VIA JOB name_emp_assign NUMBER number_emp_assign
USING SELECTION-SCREEN '1000'
WITH S_FILE in lt_selection_tab
Here lt_selection_tab is a range table of char16384. When this code is executed only 45 characters is being passed to select option S_FILE of program zmd_batch_import_backend_pgm .
Any help in this regard will be highly appreciated.
Regards,
Vimal
‎2011 Sep 07 6:08 AM
Hi,
The visible length of selectoption is 45, try giving the addition no-display for s_file in program zmd_batch_import_backend_pgm.
Mentioned here link:[PARAMETERS|http://help.sap.com/saphelp_45b/helpdata/en/34/8e72d16df74873e10000009b38f9b8/content.htm]
The maximum permitted length of a parameter on the selection screen is 45 (scrollable up to length 132). If you have defined it longer than this (either explicitly with p(200) or implicitly with LIKE ), the parameter is truncated on the selection screen after the 132nd character. However, you can use SUBMIT to pass longer parameters to a report if these are not displayed on the selection screen at all because of the addition NO-DISPLAY . Without NO-DISPLAY, the parameter is truncated if the selection screen is processed in the background ( SUBMIT without VIA SELECTION-SCREEN addition).
Kesav
‎2011 Sep 07 6:08 AM
Hi,
The visible length of selectoption is 45, try giving the addition no-display for s_file in program zmd_batch_import_backend_pgm.
Mentioned here link:[PARAMETERS|http://help.sap.com/saphelp_45b/helpdata/en/34/8e72d16df74873e10000009b38f9b8/content.htm]
The maximum permitted length of a parameter on the selection screen is 45 (scrollable up to length 132). If you have defined it longer than this (either explicitly with p(200) or implicitly with LIKE ), the parameter is truncated on the selection screen after the 132nd character. However, you can use SUBMIT to pass longer parameters to a report if these are not displayed on the selection screen at all because of the addition NO-DISPLAY . Without NO-DISPLAY, the parameter is truncated if the selection screen is processed in the background ( SUBMIT without VIA SELECTION-SCREEN addition).
Kesav