‎2006 Aug 28 11:32 AM
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
‎2006 Aug 28 12:03 PM
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,