2006 Jan 31 8:33 PM
hi,
i am working on Reports, i need to know how the BDC recording works, and when the error log log be created
2006 Jan 31 8:39 PM
Hi Anitha,
Please go through the enclosed document this will provide you the complete details on BDC programming.
<a href="http://www.sappoint.com/abap/bdcconcept.pdf">BDC</a>
<a href="http://www.sappoint.com/abap/bdcrec.pdf">BDC_RECORDING</a>
Lanka
2006 Jan 31 8:45 PM
i am getting the error log msgid as RQ what does this mean. What are the types of msgid.
2006 Jan 31 8:47 PM
Hi Anitha,
RQ is the Message class. You can check all the message class with Tcode SE91.
2006 Jan 31 8:53 PM
Hi anitha,
You have got a message generated from message class "RQ" with message number "XXX".
Are you getting this error during recording. Which transaction you are using for recording.
The error messages will be generated when you documented is not proceesed completly via BDC. You can collect the error messages in to an internal table and print at the end of the program as a report.
If you are using Call Traansaction
*------ Declaring Internal Table to Store BDC Errors *----
DATA: BEGIN OF T_MESSTAB OCCURS 0.
INCLUDE STRUCTURE BDCMSGCOLL.
DATA: END OF T_MESSTAB.
CALL TRANSACTION 'TCODE' USING BDC_TAB MODE 'A'
MESSAGES INTO T_MESSTAB.
LOOP AT T_MESSTAB.
WRITE / TEXT-001.
WRITE:/10 T_MESSTAB-DYNAME, 30 T_MESSTAB-DYNUMB.
WRITE:/10 T_MESSTAB-MSGV1.
-
-
ENDLOOP.
Lanka