Skip to Content
author's profile photo Former Member
Former Member

Multiply records in the transformation


I have DS sending records in following structure:

Item Category Group1 Group2


cat1 x x itm2 cat2 x

I need to load data in the InfoObject with following structure:

Item String

Category String

Group Int

And use following algorithm:

1) If Group1 is checked, make 1 record with Group = 1

2) If Group2 is checked, make 3 record with Groups in (2,3,4)

So from the input on top I would get following output:

Item Categ Group itm1 cat1 1 itm1 cat1 2 itm1 cat1 3 itm1 cat1 4 itm2 cat1 1

I was about to load data to DSO first where I can have the Group<Int> field. Then use start routine to multiply records. Im just very new to ABAP and not sure if this could be the right way.

Thank you for advice.


Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Aug 25, 2015 at 04:12 PM

    Hi Pavel,

    I suggest to use the End Routine. Here you have the Characteristic Group available as part of the RESULT_PACKAGE. This is missing in the Start Routine.

    Please review SAP Note 1223532 - Design rule: Addition of records to end routine.

    Best regards,


    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.