05-01-2006 11:53 PM
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.
05-01-2006 11:55 PM
05-02-2006 12:02 AM
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.
05-02-2006 5:09 AM
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
04-28-2009 7:39 PM