Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Report errors from BDC sessions

Former Member
0 Likes
726

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
661

hi Dan,

Check this out this might be of some help while coding

6 REPLIES 6
Read only

Former Member
0 Likes
662

hi Dan,

Check this out this might be of some help while coding

Read only

Former Member
0 Likes
661

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

Read only

0 Likes
661

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

Read only

0 Likes
661

Hi,

Check out tables : APQI & APQD.

Reward points if the answer is helpful.

Regards,

Mukul

Read only

Former Member
0 Likes
661

Just download the session log into Local file .

Use Program RSBDCLOG to download Logs

Thanks

Seshu

Read only

ferry_lianto
Active Contributor
0 Likes
661

Hi,

Please check program RSBDCBTC.

Regards,

Ferry Lianto