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

Data Transfer

Former Member
0 Likes
678

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
637

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
Read only

Former Member
0 Likes
637

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??

Read only

Former Member
0 Likes
637

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

Read only

Former Member
0 Likes
638

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