Application Development 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: 

in BDC session method error handling

Former Member
0 Kudos

Hi all

In BDC method system will generate default log file right?

if enduser want to see that errors .how it is possible?

4 REPLIES 4

Former Member
0 Kudos

hi

0 Kudos

Naveen,

check tcode sm35

Thanks

Bala Duvvuri

Former Member
0 Kudos

Hi ynaveenreddy

Session method itself takes care of the ERROR handeling part .

You could view the session USING SM35 , it will display the error in the records .

Regards

Swapnil

Former Member
0 Kudos

1) Check SM35... you can process the session, and check the log .

2) From program ,capture the errors and display it

*Process BDC session 'Test'

SUBMIT rsbdcsub WITH mappe EQ 'Test'

WITH von EQ sy-datum

WITH bis EQ sy-datum

AND RETURN.

*Get qid

SELECT SINGLE qid

INTO lqid FROM

apqi WHERE

datatyp = 'BDC'

AND groupid = 'Test'

AND progid = sy-repid

AND userid = sy-uname

AND credate = sy-datum.

IF v_qid IS NOT INITIAL.

  • BDC session error log

SUBMIT rsbdc_protocol

WITH session EQ 'Test'

WITH user EQ sy-uname

WITH queue_id EQ lqid

AND RETURN.

ENDIF.