cancel
Showing results for 
Search instead for 
Did you mean: 

Transformations and 0RECORDMODE

Former Member
0 Kudos

Hi SDN,

Please help me with the following:

During a transformation, if the load is a delta load, the data set contains both from the 0RECORDMODE perspective, such as type: "N", "X", "R" and blank.

What happens to each type of record during:

1. Start Routine (what should we do or not do with 'X' and 'R' type rows)

2. Transformation Rules (Do these rules apply to 'X' and 'R' rows?

3. End Routine ( I don't see 0RECORDMODE) in the Result Package. What happens to the 'X' and 'R' type rows which need to continue onward to delete/change records further on?

Please advise.

SM

PS. Points are always awarded.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

If you are talking about whether we can use 0recordmode in routines , no we cannot .

0recordmode is used to update data, like before image , after image , new image etc .

Kind Regards,

Ashutosh Singh

Former Member
0 Kudos

Further on this:

For this data packet:

  1. RECORDMODE Order Item P'Key

1 N 0004337570 000005 001

2 X 0004337570 000005 001

3 0004337570 000005 001

4 R 0004337570 000005 001

I was expecting the End Routine to have an empty Result Package but I see the Result Package having one row. Suggestions?

Thanks.

SM

former_member188011
Active Contributor
0 Kudos

Hi SM:

Some questions for you.

- Which is the DataSource you're working with?

- Does your Data Flow has Custom modifications or is it only Standard Business Content?

- What happens if you track the data through all your DataFlow? (RSA3 on ECC, PSA, DSO active table and Changelog, InfoCube, MultiProvider, InfoSet, BEx Query, etc.). For the sake of simplicity perform some tests filtering the data to get a handful of records on your testing scenario.

- What are the Keys on your DSO? (if any)

Also, take a look at the SAP Notes below since you can find on them valuable information related to your question.

Note 747037 - "Update of before images in ODS objects"

Note 440679 - "Processing of deleted transaction data in the ODS"

Note 1358780 - "Limitations of DATASTORE loading scenarios"

Note 399739 - "Questions and answers on InfoObject 0RECORDMODE"

Note 711750 - "No reverse/delete image; using ODS"

Note 1133282 - "Initialized fields in the data part of a DataStore object"

Regards,

Francisco Milán.

Former Member
0 Kudos

Hi,

First of all the transformations and routines apply to the final value. So for instance, if before image value is 3 and after is 5 so final value is 5 and all routines will work on this value. However you do not have to consider the records with different images in your routine code.

Also if the records mentioned by you come where everything is nullified then at PSA level you would see the records but when you update to DSO or cube, 0 records would be added.

Debanshu