Skip to Content
0
Former Member
May 21, 2009 at 02:04 PM

Transformation Routine to convert single record into multiple

23 Views

All,

I need your help with ABAP Syntax. My requirement is to take a single record and convert it to multiple records into a DSO with a condition to not create a record if a KF value is 0.

R/3 Data Record:

Employee | Date | Char1 | KF1 | Char2 | KF2 | Char3 | KF3 | Char4 | KF4

Conversion Result into DSO:

Employee | Date | Char1 | KF1

Employee | Date | Char2 | KF2

Employee | Date | Char3 | KF3

Employee | Date | Char4 | KF4 (This record will not be written if no value is in KF4)

I have read about the result table in update rules, however within BI 7.0 Transformations I am unfamiliar as to where the RESULT_TABLE function applies. Has this been replaced by the Expert Routine?

Could any ABAP expert provide sample code as to how I would perform this conversion in a Transformation Routine?

Thanks,

David