‎2008 Nov 27 12:53 PM
Hi all,
I am using SUBMIT statement with slection-sel seltab export list to memory and return.
I am have to submit one of my report which has TAB's on selection screen.
How can i pass parameters to this submit statement.
Since Main screen number is 1000.
For each tabs has screen number as 110, 120, 130 etc.
Is that i require to mention tab screen numbers in submit statement.
other wise how can i use submit statement to execute the program.
‎2008 Nov 27 1:02 PM
You just not required to provide tab(names or nos or screen no).
Only field name has to be specified
Ex:
SUBMIT RBDAPP01 WITH DOCNUM IN R_IDOC_NUM
WITH MESTYP = P_MESTYP
WITH P_PCKSIZ = 1
WITH P_PARALL = PA_PARAL
WITH P_RFCGR = PA_RFCGR
WITH P_WAIT = PA_WAIT
AND RETURN EXPORTING LIST TO MEMORY.
here P_PARALL P_RFCGR P_WAIT are in 2nd tab of the std prog.
Rhea.
‎2008 Nov 27 12:55 PM
hi,
try this
SUBMIT ymm_article_mast_i
WITH s_matnr IN gr_matnr_r
WITH p_file EQ gv_fname "gv_path
WITH p_file1 EQ gv_fname1
WITH p_type EQ gv_type
TO SAP-SPOOL
SPOOL PARAMETERS gv_printparam
WITHOUT SPOOL DYNPRO
VIA JOB gv_jobname NUMBER gv_jobnumber
AND RETURN.
‎2008 Nov 27 1:02 PM
You just not required to provide tab(names or nos or screen no).
Only field name has to be specified
Ex:
SUBMIT RBDAPP01 WITH DOCNUM IN R_IDOC_NUM
WITH MESTYP = P_MESTYP
WITH P_PCKSIZ = 1
WITH P_PARALL = PA_PARAL
WITH P_RFCGR = PA_RFCGR
WITH P_WAIT = PA_WAIT
AND RETURN EXPORTING LIST TO MEMORY.
here P_PARALL P_RFCGR P_WAIT are in 2nd tab of the std prog.
Rhea.
‎2008 Nov 27 1:24 PM
I have a Select-options with no intervals option.
Eq:- SELECT-OPTIONS : P_BURKS no intervals
BUT i need to check for company code 1000 to 3000.
How can i provide the range in SUBMIT statement for the above example.
‎2008 Nov 27 1:33 PM
Hi,
In the above ex which i have given have a range .R_IDOC_NUM.
try this.
RANGES R_BUKRS FOR ANLA-BUKRS
MOVE 'I' TO R_IDOC_NUM-SIGN.
MOVE 'BT' TO R_BUKRS-OPTION.
MOVE '1000' TO R_BUKRS-LOW.
MOVE '3000' TO R_BUKRS-HIGH.
APPEND R_BUKRS.
ENDIF.
SUBMIT "ur prog" WITH BUKRS IN R_BUKRS.
Revert back if more help required.
Rhea.
Edited by: rhea on Nov 27, 2008 2:39 PM