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 ?

Former Member
0 Likes
621

The Submit command can be ued to call a program . I have a Report that needs to be called in a dialog program . I wanted to know , how I can submit the parameters to the submit for the report.

thanks

1 ACCEPTED SOLUTION
Read only

former_member194669
Active Contributor
0 Likes
518

Hi,\


SUBMIT RMCB0300 WITH SL_WERKS-LOW EQ SO_WERKS-LOW
WITH SL_MATNR IN SO_MATNR
WITH VA EQ 'X'
WITH SL_SPMON-LOW EQ W_BUDAT1
WITH SL_SPMON-HIGH EQ W_BUDAT1
WITH SL_MTART-LOW EQ 'ROH'
WITH SLV_NO EQ 'STOCK'
AND RETURN.

aRs

4 REPLIES 4
Read only

former_member194669
Active Contributor
0 Likes
519

Hi,\


SUBMIT RMCB0300 WITH SL_WERKS-LOW EQ SO_WERKS-LOW
WITH SL_MATNR IN SO_MATNR
WITH VA EQ 'X'
WITH SL_SPMON-LOW EQ W_BUDAT1
WITH SL_SPMON-HIGH EQ W_BUDAT1
WITH SL_MTART-LOW EQ 'ROH'
WITH SLV_NO EQ 'STOCK'
AND RETURN.

aRs

Read only

0 Likes
518

Thankyou

Read only

Former Member
0 Likes
518

Hi krish

You can call application programs in your module pool program using:

1.CALL TRANSACTION for type M program

2. SUBMIT for type 1 program

since your report would be a type 1 program/executable prog , you can use the submit statement as follows:

Lets say u have the following parameters on your selection screen of the report:

1. s_aufnr (order)

2. s_werks (plant)

3. p_matnr (material)

SUBMIT X

WITH s_aufnr IN s_aufnr

WITH s_werks IN s_werks

WITH p_matnr EQ p_matnr

AND RETURN.

Hope this helps.

Thanks and Regards

shivika

Read only

0 Likes
518

Thankyou .