2009 Aug 04 2:27 PM
Hi All Experts,
i make one report,my requirement is when i execute my report then it displays 100 records, i select 20 records from 100 records
then based upon 20 records execute the another report with out slection screen. i know the process through the submit statement,but it doesn't give exact output 20 of 20 based upon selected entries.
my Code is:SUBMIT ZPS_PROJ_CN41N USING SELECTION-SCREEN '1000' WITH SELECTION-TABLE RSPAR_TAB
AND RETURN.
give suggistions and correct syntax of submit statement.
Thanks.
2009 Aug 04 2:39 PM
the syntax of the SUBMIT is correct, check the filling and declaration of RSPAR_TAB
(réf - WITH SELECTION-TABLE rspar in SUBMIT - selscreen_parameters or Filling the Selection Screen of a Called Program)
Regards,
Raymond
2009 Aug 04 2:55 PM
put a break point on the submit statement and check what value is passed to the RSPAR_TAB table
2009 Aug 04 3:09 PM
Hi,
= 'EQ ' for parameters
In for range or selct-options
SUBMIT <Report name>
WITH r_budat IN s_budat " Selection screen parameters
WITH kostl IN s_kostl
WITH kstar IN s_kstar
AND RETURN.
"With Variant
SUBMIT <Report Name>
USING SELECTION-SET 'BPC TEST' "BPC set is Varaint name for report
EXPORTING LIST TO MEMORY AND RETURN.
"capturing the output to another report
SUBMIT <Report name>
WITH r_budat IN s_budat " Selection screen parameters
WITH kostl IN s_kostl
WITH kstar IN s_kstar
EXPORTING LIST TO MEMORY AND RETURN.
Prabhudas