Vous êtes sur la page 1sur 4

Creating DataSources for Master Data of Characteristic "Product"

Use
You create two DataSources for the characteristic Product. The DataSources are required to copy the master data attributes (values) and texts for the characteristic Product from the file to the BI system.

The master data for the characteristics Product Group and Channel are later created directly in the system. No DataSources are therefore required in our scenario for these characteristics.

Prerequisites
File source system PC_FILE exists.

Procedure
Perform the following procedure for the attributes and texts for characteristic Product. 1. You are in the Modeling functional area of the Data Warehousing Workbench. 2. Choose DataSources. Choose Source System. 3. From the toolbar in the right screen area, choose

4. In the menu option File, select the source system with the technical name PC_FILE. A hierarchical tree of the DataSources for this source system is displayed. The DataSources are structured semantically by application component. 5. Select Create application component... from the context menu at the root node of the DataSource tree. 6. On the next screen, enter a technical name and a description for the application component. The application component is used to group your DataSources for this scenario. 7. In the context menu of your application component, choose Create DataSource. 8. Enter the required data on the next screen. Input Field DataSource Data Type DataSource 9. Choose Transfer. Attributes Z_RDATIUE DPO_TRBTS Master Data Attributes Texts Z_RDTXS DPO_ET Master Data Text

The DataSource maintenance screen appears. 10. Enter the required data on the tab page General Info. Input Field Attributes Texts

Short description

PoutAtiue rdc trbts

PoutTxs rdc et

11. Go to the tab page Extraction and define the following: Field Adapter File Name Attributes Load Text-Type File from Local Workstation From the files of your local host, select the file Tutorial_Prod_Attr.csv. Header Rows to be Ignored Data Format Data Separator Escape Sign Number format Thousands Separator Decimal Point Separator 1 Separated with Separator (for Example, CSV) ; Direct Entry . , Texts Load Text-Type File from Local Workstation From the files of your local host, select the file Tutorial_Prod_Texts.csv. 1 Separated with Separator (for Example, CSV) ; User Master Record Not applicable Not applicable

The information on the tab page is as follows for attributes:

The information on the tab page is as follows for texts:

1 . Select the tab page Proposal and choose 2

Load Examples.

13. Using the data in the file, the system creates a field proposal for the DataSource. 14. Go to the Fields tab page. In the dialog box, choose Yes. The field list of the DataSource is copied from the Proposal tab page. 15. Make the following changes and enhancements: For the attribute: i. ii. i. ii. Change the data type of the field PRICE from DEC to CURR and confirm your entry. Under Curr/Unit enter C R E C for the referenced currency/unit field URNY Change the data type of the field LANGUAGE from CHAR to LANG and confirm your entry. Select Language Field as the field type for the field LANGUAGE. The field list for attributes is as follows:

For the texts:

The field list for texts is as follows:

16. Activate the DataSource.

17. Go to the tab page Preview and check the data before the actual load process by choosing Preview Data.

Read

Result
You created the master data DataSources for characteristic Product. At activation, a table is created for each DataSource in the entry layer of the BI system, the persistent staging area (PSA), and the source data is stored there during the transfer.

Continue with ...


Creating DataSources for Transaction Data

Vous aimerez peut-être aussi