Creating an InfoSource for Characteristic Data
In Chapter 1, we learned that ETTL is a challenging task. BW uses InfoSources and transfer rules to define the mapping and transformation rules that govern the ETTL process.
In this section, we use IO_MAT as an example to show how to define an InfoSource and transfer rules for characteristic data. In Section 3.6, we will discuss how to define an InfoSource and transfer rules for transaction data.
Work Instructions
Step 1. Right-click the newly created Application Component demo, and then select Create InfoSource….
SCREEN 3.7
Step 2. Select the option Master data/texts/hierarchies, and then click
SCREEN 3.8
Note
In BW, characteristic data can consist of master data, texts, and hierarchies. Selecting this option ensures that the InfoSource to be created will apply to a characteristic. Section 7.1, "BW Star Schema," discusses master data, texts, and hierarchies and explains their relationships to characteristics.
Step 3. Enter IO_MAT, and then click
SCREEN 3.9
Step 4. Click
SCREEN 3.10
Step 5. Now we need to tell the newly created InfoSource where to find the data and what the transfer rules are. Right-click Material number, and then select Assign DataSource….
SCREEN 3.11
Note
A DataSource is not only a structure in which source system fields are logically grouped together, but also an object that contains ETTL-related information. Four types of DataSources exist:
- DataSources for transaction data
- DataSources for characteristic attributes
- DataSources for characteristic texts
- DataSources for characteristic hierarchies
Chapter 11, Generic R/3 Data Extraction, discusses how to create a DataSource.
Step 6. Enter the source system created in Section 3.1, SS_DEMOFF, in the field Source system, and then click
SCREEN 3.12
Note
DataSources are associated with source systems, so we must first tell BW where to find the DataSources.
Step 7. Click
SCREEN 3.13
Note
When we created IO_MAT in Section 2.3, we elected to create master data and texts as shown in Screen 2.16. When the source system is a file system, as in this example, because of this selection, BW creates two DataSources: IO_MAT_ATTR for master data, and IO_MAT_TEXT for texts. In the next section, when we load the data, we will see the difference between these two DataSources.
SCREEN 3.14
Step 8. Click
Note
The icon
SCREEN 3.15
Result
We have created an InfoSource and transfer rules. A status message Transfer rules IO_MAT_ATTR_AH activated will appear at the bottom of Screen 3.15.
Now that the InfoSource and transfer rules are in place, we can create InfoPackages to load the characteristic data.