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: 

Data Transfer

Former Member
0 Kudos
120

How to track errors in BDC session method other than processing the error records manually?

1 ACCEPTED SOLUTION

Former Member
0 Kudos
79

Hi Muruga,

Look at program RSBDCCTU. Basically this is what is used in SM35. The logic is, you get all the APQI-GROUPID and QID for the errored transactions. Then with each GROUPID, QID combination, you will open that particular transaction using BDC_RECORD_OPEN. This will give you an internal table called TRANSACTIONS. Loop through this table, and call BDC_RECORD_GET using the transaction index. That will give you the BDC screen data that you originally passed. Now you need to parse through that information to find out which field has which value for a failed transaction.

Hope this helps,

Rewords some points.

Rgds,

P.Naganjana Reddy

3 REPLIES 3

Former Member
0 Kudos
79

Actually while processing BDC's we can move the error messages to one internal table of type BDCMSGCOLL.

Using this table u can get all the errors??

Former Member
0 Kudos
79

use internal table with the structure of<b> BDCMSGCOLL</b>

and in that structure u get whole information about messages handled by the BDC

Reward if it helps u

Vijay Pawar

Former Member
0 Kudos
80

Hi Muruga,

Look at program RSBDCCTU. Basically this is what is used in SM35. The logic is, you get all the APQI-GROUPID and QID for the errored transactions. Then with each GROUPID, QID combination, you will open that particular transaction using BDC_RECORD_OPEN. This will give you an internal table called TRANSACTIONS. Loop through this table, and call BDC_RECORD_GET using the transaction index. That will give you the BDC screen data that you originally passed. Now you need to parse through that information to find out which field has which value for a failed transaction.

Hope this helps,

Rewords some points.

Rgds,

P.Naganjana Reddy