‎2007 Jul 19 7:12 PM
Hi Experts,
I am writing a BDC program that uses the session method for tcode XD02
and after which i am using SUBMIT RSBDCSUB to schedule the sessions as a background job.
Now if i get errors in the sessions, i can see them in SM35 but
how do i report them on my report for the user?
What should i code in my program after the SUMBIT RSBDCSUB to report the errors <b>without using</b> CALL Transaction.
Thanks
Dany
‎2007 Jul 19 7:27 PM
‎2007 Jul 19 7:27 PM
‎2007 Jul 19 7:34 PM
Hi,
Use addition EXPORTING LIST TO MEMORY with SUBMIT <i>program_name</i> AND RETURN.
It will export the log to the ABAP memory. After the session is processed, control will come back to the program. Then, use function module 'LIST_FROM_MEMORY' to get the log into an internal table. Once, your internal table is populated, display it as a list for the user.
Reward points if the answer is helpful.
Regards,
Mukul
‎2007 Jul 19 7:40 PM
Hi,
Using this FM: EXPORTING LIST TO MEMORY i am able to view the sessions that have been scheduled but not the error logs for a that session.
Any other clues..please...?
Thanks
Dany
‎2007 Jul 19 7:47 PM
Hi,
Check out tables : APQI & APQD.
Reward points if the answer is helpful.
Regards,
Mukul
‎2007 Jul 19 7:38 PM
Just download the session log into Local file .
Use Program RSBDCLOG to download Logs
Thanks
Seshu
‎2007 Jul 19 7:47 PM