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: 

BDC Errir Log

Former Member
0 Kudos

How to create error log file in BDC call transaction. I tried table declared using structure BDCMSGCOL but i am not getting relevant error messages.

4 REPLIES 4

Former Member
0 Kudos

You say it's a structure - it needs to be an internal table.

Rob

0 Kudos

Yes I know. I have declared an internal table

DATA: messtab LIKE bdcmsgcoll OCCURS 0 WITH HEADER LINE.

but while executing call transaction program in debug mode i am not able to find relevant error information in this table. I want to create a report file of all the errors caused during the call transaction process.

Former Member
0 Kudos

HI

GOOD

IF YOU HAVE DECLARED EVERYTHING PROPERLY THAN I HOPE YOU MUST GET YOUR ERROR MESSAE PROPERLY.

ANYWAY CHECK WITH THESE

DATA : IT_BDCDATA LIKE BDCDATA OCCURS 0 WITH HEADER LINE,

IT_BDCMSGCOLL LIKE BDCMSGCOLL OCCURS 0 WITH HEADER LINE.

-


FORM BDC_DYNPRO USING PROG SCR.

CLEAR IT_BDCDATA.

IT_BDCDATA-PROGRAM = PROG.

IT_BDCDATA-DYNPRO = SCR.

IT_BDCDATA-DYNBEGIN = 'X'.

APPEND IT_BDCDATA.

ENDFORM.

FORM BDC_FIELD USING FNAM FVAL.

CLEAR IT_BDCDATA.

IT_BDCDATA-FNAM = FNAM.

IT_BDCDATA-FVAL = FVAL.

APPEND IT_BDCDATA.

ENDFORM.

-


GO THROUGH THE FOLLOWING LINK ALSO

http://www.geocities.com/siliconvalley/campus/6345/call_tra.htm

THANKS

MRUTYUN

Former Member
0 Kudos

resolved