Hello,
I am having an InfoPackage load failure due to the "RETURNCODE = 4" code indicated in the transfer routine code snippet shown below. The error message is "Return code 4 when converting field type CURTYPE in record ...", which seems reasonable since that is the code that I inserted in the transfer routine. I thought my problem was due to the error handler being set to error the package out at 1,000 records, so I reset the error handler in the InfoPackage to null. The load is still erring out. What am I doing wrong? Is my code wrong? Is it the error handler setting? Or, am I missing something else?
Any and all help will be greatly appreciated.
Thanks,
Sonya
$$ begin of routine - insert your code only below this line -
DATA: l_s_errorlog TYPE rssm_s_errorlog_int.
RESULT = TRAN_STRUCTURE-CURTYPE.
IF RESULT = '10'.
RETURNCODE = 0.
ELSE.
RETURNCODE = 4.
returncode <> 0 means skip this record
ENDIF.
abort <> 0 means skip whole data package !!!
ABORT = 0.
$$ end of routine - insert your code only before this line -