‎2010 Aug 08 11:33 PM
Hi all,
I used the function module SUBMIT_REPORT in a new program e.g 'ZREPORT' to call a standard program using a variant. And here it works fine. But when I define this ZREPORT program in a transaction code, now when i execute this transaction it works fine with the selection screen but i'm not able to get out of the selection screen. i.e No back,exit and stop button is working. should i need to define the GUI status here or is there anything i'm missing out in the function module.
-Anbu.
‎2010 Aug 09 4:28 AM
‎2010 Aug 09 4:28 AM
‎2010 Aug 09 4:43 AM
Hi ;
PFB one example.
CALL FUNCTION 'SUBMIT_REPORT'
EXPORTING
REPORT = L_V_REPID
RET_VIA_LEAVE = SPACE
SKIP_SELSCREEN = C_X
TABLES
SELECTION_TABLE = FP_IT_SELECTION
EXCEPTIONS
JUST_VIA_VARIANT = 1
NO_SUBMIT_AUTH = 2
OTHERS = 3.
Regards
‎2010 Aug 09 6:54 AM
Hi,
Try to use SUBMIT statement for this purpose if it helps you......SUMBIT program name WITH parameters = value AND RETURN.