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

Query regarding SUBMIT keyword

Former Member
0 Likes
334

Hi Guru's,

I am working with module program.

R_auart is declared as ranges in global declarations.

I have screen 500 & 550.

before calling the screen 550 my range variable is upadated with 2 values...(order type) ie.,r_auart

so some coding is done in screen 500 ok,

now what is my query is in screen 500 flow logic,I want to call a report prog with selection screen with the help of submit keyword so as to update the r_auart with some more order types based on the selection criteria and this will be my first statement in flow logic ie., in PAI is it possible to call the report prog....

Regards,

Ravi V Ganji

1 REPLY 1
Read only

Former Member
0 Likes
287

Hi,

Report can be submitted from Module pool program using the following syntax,

SUBMIT RFITEMGL

WITH SD_BUKRS EQ GP_BUKRS-LOW SIGN 'I'

WITH SD_SAKNR IN GT_RANGE_SAKNR

WITH PA_STIDA EQ GP_DATE-LOW

WITH X_OPSEL EQ 'X'

VIA SELECTION-SCREEN

EXPORTING LIST TO MEMORY

AND RETURN.

IMPORT IT_POS TO GT_POS FROM MEMORY ID 'ITAB'.

Hope this helps,

Rgds,