Skip to Content
0
Former Member
Aug 04, 2008 at 01:56 PM

Transformation end routine

21 Views

Could anyone please help me with the transformation end routine problem? It is necessary to declare a database table within transformation routine (TABLES: some_table.) I do, press the save button, activate the transformation rules, and all of my changes disappears from the subroutine.

What am I doing wrong?

The code I put within class method, seems to work well and doesn't disappears. But declaration of table, disappears immediately..

ENDCLASS.                    "routine DEFINITION

*$*$ begin of 2nd part global - insert your code only below this line  *

TABLES: some_table.

... "insert your code here
*$*$ end of 2nd part global - insert your code only before this line   *

*---------------------------------------------------------------------*
*       CLASS routine IMPLEMENTATION
*---------------------------------------------------------------------*
*
*---------------------------------------------------------------------*
CLASS lcl_transform IMPLEMENTATION.  

Or am I choose a wrong place for declaration like this?