‎2008 Feb 08 12:27 PM
Hi,
how to fill selection screen of called program from values of calling program through submit.
‎2008 Feb 08 12:29 PM
Hello,
YOu can do like this.
SUBMIT Z48R_PROJEKTSTATUS WITH SO_PROJ IN SO_PROJ
WITH SO_PSP IN SO_PSP
WITH SO_WWSTO IN SO_WWSTO
WITH SO_WWGFG IN SO_WWGFG
WITH SO_ISTAT IN SO_ISTAT
WITH SO_ESTAT IN SO_ESTAT
EXPORTING LIST TO MEMORY
AND RETURN.
Cheers,
Vasanth
‎2008 Feb 08 12:31 PM
Hi,
check this
given clearly in SAP keyword help
submit <report name> WITH SELECTION-TABLE rspar
Effect
If you specify this addition, parameters and selection criteria on the selection screen are supplied from an internal table rspar. You must specify an internal table with the row type RSPARAMS for rspar. The structured data type RSPARAMS is defined in the ABAP Dictionary and has the following components, all of which are data type CHAR:
SELNAME (length 8),
KIND (length 1),
SIGN (length 1),
OPTION (length 2),
LOW (length 45),
HIGH (length 45).
To supply parameters and selection criteria for the selection screen with specific values, the lines in the internal table rspar must contain the following values:
SELNAME must contain the name of a parameter or selection criterion for the selection screen in block capitals
KIND must contain the type of selection screen component (P for parameters, S for selection criteria)
SIGN, OPTION, LOW, and HIGH must contain the values specified for the selection table columns that have the same names as the selection criteria; in the case of parameters, the value must be specified in LOW and all other components are ignored.
If the name of a selection criterion is repeated in rspar, this defines a selection table containing several lines and passes it on to the selection criterion. If parameter names occur several times, the last value is passed on to the parameter.
The contents of the parameters or selection tables for the current program can be entered in the table by the function module RS_REFRESH_FROM_SELECTOPTIONS.
‎2008 Feb 08 1:02 PM
Hi,
the values in the calling program is collected in internal table through select queries,these values should be passed to called program