‎2007 Feb 06 2:55 PM
Hi,
it's possible to dynamically fill the report name for the SUBMIT statement by using something like SUBMIT (l_prog) ....
But is it also possible to dynamically create the parameter and/or select-option part for the SUBMIT ? So that you dynamically create the WITH <parameter> = <value> and/or WITH <selopt> IN <range> for the SUBMIT ?
CASE l_prog.
WHEN c_prog1.
no parameters
no selection options
WHEN c_prog2.
create parameter part for the SUBMIT
no select options
WHEN c_prog3.
no parameters
create select-options part for the SUBMIT.
ENDCASE.
SUBMIT (l_prog)
... parameter part ...
... select-option part ....
etc.
regards,
Hans
‎2007 Feb 06 2:58 PM
Yes, you want to use the WITH SELECTION-TABLE extension.
http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/dba51a35c111d1829f0000e829fbfe/frameset.htm
Regards,
Rich Heilman
‎2007 Feb 06 2:58 PM
Yes, you want to use the WITH SELECTION-TABLE extension.
http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/dba51a35c111d1829f0000e829fbfe/frameset.htm
Regards,
Rich Heilman
‎2007 Feb 06 3:13 PM