we loaded data first into the ODS object,and then into the InfoCube. The data in the InfoCube came from an initial loading process (Screen). Now let's see how ODS uses the characteristic 0RECORDMODE values—X,D,and R—to control consequent delta loading processes.
You use 0RECORDMODE value X to mark rows to be skipped in the delta data load. You use D and R to delete or remove rows,respectively,from the active ODS table if the rows can be identified by the table primary key. Otherwise,D and R work just like X—they do not affect either the change log or the active data table.
Now let's illustrate how the ODS delta load works.
Table lists the first four rows of the original sales data from Table. What happens to the data in the ODS object and the InfoCube after loading the Table data into them? Table has an extra column that contains the 0RECORDMODE values. Also,the sales quantity is doubled.
FIRST FOUR ROWS OF THE ORIGINAL DATA BEFORE CHANGES
FIRST FOUR ROWS OF THE DATA AFTER CHANGES
Repeating the procedure outlined in Section for loading data into the ODS object,we see that the PSA data in Screen match the data in Table. This result is expected.
After loading the PSA data into the ODS object,the table /BIC/AODS_DEMO10 contains the new data (Screen). The second row of Table does not appear here,which indicates that BW detected the value X in the 0RECORDMODE column and then skipped the second row.
After activating the ODS data,Screen shows that four rows are appended to the end of the change log table,/BIC/B0000842000. The first of these rows matches the first row in Table. The remaining three rows match the first,third,and fourth rows in the table /BIC/B0000842000,except that "-" is added to the /BIC/IO_QUAN value.
Screen shows the active data in the table /BIC/AODS_DEMO00. This result comes from compressing the change log; that is,the "-" sign actually makes the number on its left negative,and the result of the compression deleted the first,third,fourth,and last three rows from the change log.
Now we load the ODS data into the InfoCube as shown in Screen. This time we select the Delta Update option.
BW makes the corresponding selection automatically in the InfoPackage definition.
After we launch the delta load process,changes to the data appear in the InfoCube fact table (Screen). Three new rows are added as another data load request. The values in the three new rows are obtained by compressing the last four rows in Screen. The "-" sign has the same meaning—it makes the number on its left negative.
These steps prove what we said at the beginning of this section: You use 0RECORDMODE value X to mark rows to be skipped in the delta data load. You use D and R to delete or remove rows,respectively,from the active ODS table if the rows can be identified by the table primary key. Otherwise,D and R work just like X—they do not affect either the change log or the active data table.
SAP BW Related Interview Questions
|SAP BI Interview Questions||SAP WM Interview Questions|
|SAP BO Interview Questions||SAP Netweaver Interview Questions|
|SAP BODS Interview Questions||SAP Webi Interview Questions|
|SAP Web Dynpro Interview Questions||SAP BDC Interview Questions|
|SAP BW on HANA Interview Questions|
All rights reserved © 2020 Wisdom IT Services India Pvt. Ltd
Wisdomjobs.com is one of the best job search sites in India.