cancel
Showing results for 
Search instead for 
Did you mean: 

Difference b/w Images

Former Member
0 Kudos

What is After Image and Before Image in delta processing?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Can you explain me with an example please for both Before and After Images?

Former Member
0 Kudos

hi,

before image is snapshot of the data before a change took place

after image is snapshot of the data after change.

these are used for delta update.

Before image is denoted by 'X' indicates the status is transfered before data is changed or deleted.

After Image is denoted by '', and indicates the staatus is transfered after something is changed or added

When extracting in the 'delta' update mode in the extracted records for the indicator, a DataSource that uses a delta process can deliver only those characteristic values that are specified in the delta process.

After image is denoted means represented as " " . and it means that the data is transfered After change has occoured.

And before image is represented by "X" and represents the data before change has occoured.

" " and "X" are values of recordmode field for idetifing the data.

and before image is snapshot of the data before a change took place & after image is snapshot of the data after change. these are used for delta update.

in case of an after image the field recordmode is populated with a space. For all other updates you have some entries in there like a 'X' for the before image or a 'D' for a deletion ...

You can check following links for more details.

http://help.sap.com/saphelp_erp2004/helpdata/en/84/81eb588fc211d4b2c90050da4c74dc/frameset.htm

http://help.sap.com/saphelp_erp2004/helpdata/en/57/b9d43d89e6b34aa2c6fa9fe2ab243f/frameset.htm

Assign points for useful ans

Shreya

Answers (3)

Answers (3)

Former Member
0 Kudos

After image is denoted means represented as " " . and it means that the data is transfered After change has occoured.

And before image is represented by "X" and represents the data before change has occoured.

" " and "X" are values of recordmode field for idetifing the data.

in case of an after image the field recordmode is populated with a space. For all other updates you have some entries in there like a 'X' for the before image or a 'D' for a deletion ... Check out the help, documentation for dataelement rodmupdmod in your bw system.

check this link for after image.

and before image is snapshot of the data before a change took place

after image is snapshot of the data after change.

these are used for delta update.

suppose one new sales order created.

Order item quantity

1000 10 10 (After Image = ' ' will be passed for new orders and new change values)

order changed the quantity to 8.

2 records will be passed

1000 10 8 (After Image = ' ')

1000 10 10 ( Before Image = 'X')

I want to tell you one point New Data will passed with After Image.Changed Data(Current updated data) Will passed with After Image.

Old data will be passed with Before image. If there is any before image entry from the source system. that entry will be deducted from DT(10 + 8 -10 = 8).That is what we are looking for...

Former Member
0 Kudos

Hi Dona,

<b>BW Delta Process: Record Mode</b>

This attribute describes how a record in the delta process is updated. The various delta processes differ in that they each only support a subset of the seven possible characteristic values. If a DataSource implements a delta process that uses several characteristic values, the record mode must be a part of the extract structure and the name of the corresponding filed must be entered in the DataSource as a cancellation field (ROOSOURCE-INVFIELD).

The seven characteristic values are as follows:

' ': The record delivers an after image.

The status is tranferred after something is changed or added. You can only update the record straight to an IncoCube if the corresponding before image exists in the request.

'X': The record delivers a before image

The status is transferred before data is changed or deleted.

All record attributes that can be aggregated have to be transferred with a reverse +/- sign. The reversal of the sign is carried out either by the extractor (default) or the Service API. In this case, the indicator 'Field is inverted in the cancelation field' must be set for the relevant extraction structure field in the DataSource.

These records are ignored if the update is a non-additive update of an ODS object.

The before image is complementary to the after image.

'A': The record delivers an additive image.

For attributes that can be aggregated, only the change is transferred. For attributes that cannot be aggregated, the status after a record has been changed or created is transferred. This record can replace an after image and a before image if there are no non-aggregation attributes or if these cannot be changed. You can update the record into an InfoCube without restriction, but this requires an additive update into an ODS Object.

Regards,

Prakash

Former Member
0 Kudos

hi

in this link the differnce is discussed witht help of ods