Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Submit statement

Former Member
0 Likes
686

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.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
607

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.

4 REPLIES 4
Read only

Former Member
0 Likes
607

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.

Read only

Former Member
0 Likes
608

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.

Read only

0 Likes
607

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.

Read only

0 Likes
607

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