Skip to Content
Former Member
Dec 01, 2011 at 03:02 PM

Adding Records in End Routine to result_package


Hi !

I am trying to add records in the result_package using end rutine on transformation.

the package comes with 26 records, and I generate 22 new records to insert, but when executing insert 26 and the rest is not inserted.

I read about a button, in the toolbar of transformation, to change the way update, but this button is in the 7.0 version and i'm using 7.3. that button doesn't exist in this version.

this is my code if it helps :

* I get new records here
LOOP AT wt_datapack INTO wa_datapack.
     *  insert here all the records values
   *assign all the information generated to result_package
      RESULT_PACKAGE[] = wt_datapack[].

thanks and greetings to all