on 08-03-2006 10:07 PM
I added some code to the Transfer Routine and it looks like the following:
===============================================
DATA: l_s_errorlog TYPE rssm_s_errorlog_int.
IF TRAN_STRUCTURE-/BIC/ZS_TIME CP 'YTD'.
RESULT = 'YTD'.
ELSEIF TRAN_STRUCTURE-/BIC/ZS_TIME CP 'Q'.
RESULT = 'QTD'.
ELSEIF TRAN_STRUCTURE-/BIC/ZS_TIME CP 'OPEN'.
RESULT = 'BEG'.
ELSEIF TRAN_STRUCTURE-/BIC/ZS_TIME CP 'YR'.
RESULT = 'FYR'.
ELSE.
RESULT = 'OTH'.
ENDIF.
returncode <> 0 means skip this record
RETURNCODE = 0.
abort <> 0 means skip whole data package !!!
ABORT = 0.
$$ end of routine - insert your code only before this line -
ENDFORM.
======================================================
The transfer routine is evaluating Infoobject ZS_TIME and using the result to populate ZK_TIMTYP.
I am getting an error from the editor but I can't see the problem.
ABAPers please help.
Saf.
You are getting a 'syntax error' when checking/activating it?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
While within the editor, do a syntax check to see if it is ok (Menu option routine-->check). The complete set of start/transfer routine makes up one program, so it could be that the error is in some other routine resulting in the message you see(in which case you need to open each routine and do individual checks) .
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.