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: 

error handling in BDC session

Former Member
0 Kudos

How to handle error in BDC sessions? Im aware that errors are handled by default in session. but how to get this log for display?

In calltransaction--- we have BDCMSGCOLL and message_text_build..

So, in sessions how to get these errors?

1 ACCEPTED SOLUTION

Former Member
0 Kudos

The errors can be found in the table "bdcmsgcoll".

for handling error records in session, you follow this navigation..

1) goto SM35----> for processing the SESSION.

2) here you select the SESSION.( which was created in bdc program)

3) after selecting the SESSION, you choose LOG tab option.

4) select the session and choose ANALYSE SESSION, here you found two options ALL and INCORRECT which are radiobutton options from this you select INCORECT radiobutton option for displaying the ERROR records and the reasons for the errors.

5) if possible correct the error records manually and process the session.

3 REPLIES 3

Former Member
0 Kudos

Hi SRK,

Process the session in ERROR mode.

IT will stop only at the error screen of the error record. There you can find the error message. Accoringly you can correct the data on the screen, and continue processing the records.

Refer

https://forums.sdn.sap.com/click.jspa?searchID=12904788&messageID=3464118

Regards

Kiran Sure

Former Member
0 Kudos

Hi,

1. You have to physically check this error in SM35 in Incorrect tab.

2. If you are authorized to re-process the errors records.

3. Go to Analysis tab to view the detailed in LOG (tab).

Note: BDC is always processed like user interface screen by screen, if a error is raised no further processing.

Regards,

Prabhu Rajesh

Former Member
0 Kudos

The errors can be found in the table "bdcmsgcoll".

for handling error records in session, you follow this navigation..

1) goto SM35----> for processing the SESSION.

2) here you select the SESSION.( which was created in bdc program)

3) after selecting the SESSION, you choose LOG tab option.

4) select the session and choose ANALYSE SESSION, here you found two options ALL and INCORRECT which are radiobutton options from this you select INCORECT radiobutton option for displaying the ERROR records and the reasons for the errors.

5) if possible correct the error records manually and process the session.