Business Information Warehouse for SAP (Prima Techs SAP Book Series)

Team-Fly

Assuming that you have defined and activated transfer and communication rules for individual InfoSources and have created an InfoPackage, you're ready to load data in SAP BW.

Right-click the InfoPackage and select InfoPackage scheduler, as shown in Figure 10-9. For a master data type InfoSource, you are asked to identify whether this request is for Master data, Texts, or Hierarchies, as shown in Figure 10-10.

Figure 10-9: Scheduling an InfoPackage to Load Data in SAP BW.

Figure 10-10: Scheduling Data Load in SAP BW.

Loading Data for Master Data Attributes

Before loading transaction data in SAP, first load the relevant master data. To load primary master data, click the Master data button (see Figure 10-10). The icon's color changes from gray to green.

Select the ExternData tabstrip to provide file location information. You have two options to identify the location of the data file, as listed here:

To schedule data loads, click the Schedule tabstrip. You have a choice to load data in the background or in real time. Then click the Start button.

Note 

When loading data in the background, all external data files must reside on the application server. The reason is that when a background job is launched, SAP BW has no knowledge of which workstation to go to in order to fetch the needed data files.

Loading Text and Hierarchy Data in SAP BW

Loading text and hierarchy data in SAP BW is similar to loading data for master data attributes. The only difference is that for text data, you need to first click the Text button and provide the name of the file that contains text data. Then you schedule the job.

To load hierarchy data in SAP BW, click the Hierarchies button, as shown in Figure 10-11. After entering the data file name, click the Select hierarchy tabstrip. Because a master data can have one or more hierarchies associated with it, here you will see a list of defined hierarchies for the InfoSource-in this example, it is Product. Select the hierarchy for which the data file contains the data. Finally, schedule the data load.

Figure 10-11: Loading Hierarchy Data in SAP BW

Remember that the structure of a hierarchy data file must match the hierarchy metadata definition sorted by CHILDID and NEXTID, as shown in Figure 10-7. The top node ID, the root, is always 00000000, and the next level down, child nodes, has the ID 00000001. These IDs are used to define treelike structures in flat files to build hierarchies in SAP BW.


Team-Fly

Категории