‎2010 Feb 16 7:14 AM
I have a report A and i am calling report B from A
while calling report B from A , i don't need wait for report B to be finished.
My requirment is after submit report B system needs to comeback immediately without waiting
I tried with submit without return but it not working
How to do it
Chan
‎2010 Feb 16 7:17 AM
Hi,
If you don't need to wait for report B, I think you should use SUBMIT with RETURN...
Ganga
‎2010 Feb 16 7:19 AM
But how you see report B is finished or not
Any transaction code to see that
Chan
‎2010 Feb 16 7:24 AM
There are a few options that you have...
if your report B produces a list output, you can use the addition EXPORTING LIST TO MEMORY with SUBMIT statement. This will keep the list output in the memory, which can be retrieved later using the function LIST_FROM_MEMORY
if your report does some database updates, you can of course check the relevant tables at a later stage...
please specify your requirement in bit more detail to get specific answers....
‎2010 Feb 16 7:44 AM
I need to create jpb and submit but without using JOB_OPEN
Chan
‎2010 Feb 16 8:20 AM
another option is....have a wrapper function module for your report B...that means...write the code for SUBMIT in this function module...and then call this FM from report A with STARTING NEW TASK option. To retrieve the results later, you can use the RETRIEVE RESULTS FROM statement.
Try it..it might just work for you
‎2010 Feb 16 9:15 AM
> I need to create jpb and submit but without using JOB_OPEN
Hello Keshav,
For submitting the report as a background job you need to use the JOB_OPEN FM which OP does not want to use
Cheers,
Suhas
‎2010 Feb 16 10:20 AM
‎2010 Feb 16 7:21 AM
Hi Boss,
You can create a FM which contains this Program and use CALL FUNCTION func STARTING NEW TASK
Hope this will serve your purpose.
Regards
Ramchander Rao.K
‎2010 Feb 16 7:49 AM
Hi,
As far as I can see It is not possible to return without full execution of report B,
However there is one way out instead of submitting you can shedule the report B to execute in background and can continue your processing with A.
Regards
Bikas
‎2010 Feb 16 8:37 AM
Why not submit program B as a JOB ?
What about Submit Via Job name ...
submit Z123
with S_PERNR IN ITAB
via job v_jobname
number v_jobcount
to sap-spool without spool dynpro
spool parameters w_params
and return.
Keshav
Edited by: Keshav.T on Feb 16, 2010 2:09 PM
Edited by: Keshav.T on Feb 16, 2010 2:11 PM
‎2010 Feb 16 9:13 AM
Hi ,
You can use SUBMIT and RETURN.
Later check output of the program called through submit, using transaction 'SP02'.
Regards,
Salil Sonam.
‎2010 Feb 16 10:26 AM