2007 Apr 20 3:43 AM
How to track errors in BDC session method other than processing the error records manually?
2007 Apr 20 10:51 AM
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
2007 Apr 20 10:40 AM
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??
2007 Apr 20 10:45 AM
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
2007 Apr 20 10:51 AM
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