cancel
Showing results for 
Search instead for 
Did you mean: 

Transfer Routine

Former Member
0 Kudos

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.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

You are getting a 'syntax error' when checking/activating it?

Former Member
0 Kudos

Yes.

I press F3 to get out and after confirmation to save I get this error message saying: "Syntex check produced errors..."

Please help.

Thanks.

Former Member
0 Kudos

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) .

Answers (0)