06-03-2011 12:30 PM
Hi all,
i need to Submit And Return a Report having some parameters and Select options, from a Function Module.
all i want that the Selection Scrren of Report should appeared as Subscreeen, so that Calling Screen sould be visible in Background.
Is this Possible , if yes then How ?
thanks in advance,
Nitin
06-03-2011 1:34 PM
Hi.,
I am not sure.,create selection screen as subscreen and try using call selection screen.
check this docu: http://help.sap.com/saphelp_nw04/helpdata/en/9f/dba83d35c111d1829f0000e829fbfe/content.htm
this may help u.,
Thanks & Regards,
Kiran
06-03-2011 1:07 PM
Running new report means opening new internal session. This can't be embeded within the current internal session where your function group (function module specifically) runs. So there is no such a way which you could run a report inside a subscreen area.
If you however want only selection screen of the report to be embeded inside your subscreen area (not run) you can use
"report Z_SUBSCREEN_REPORT
SELECTION-SCREEN BEGIN OF SCREEN 0200 as SUBSCREEN.
PARAMETERS pa type c.
SELECTION-SCREEN end of SCREEN 0200.
"main screen's flow logic in function group with subscreen area
PROCESS BEFORE OUTPUT.
call SUBSCREEN area INCLUDING 'Z_SUBSCREEN_REPORT '0200'.
Regards
Marcin
06-03-2011 1:34 PM
Hi.,
I am not sure.,create selection screen as subscreen and try using call selection screen.
check this docu: http://help.sap.com/saphelp_nw04/helpdata/en/9f/dba83d35c111d1829f0000e829fbfe/content.htm
this may help u.,
Thanks & Regards,
Kiran