Loading Master Data From Flat File

53
Loading Master data from flat file 1. Create flat file create a flat file in excel as given below and save it as csv file

description

uhbvfg

Transcript of Loading Master Data From Flat File

Page 1: Loading Master Data From Flat File

Loading Master data from flat file

1. Create flat file

   create a flat file in excel as given below and save it as csv file

2. Create DataSource

select our source system and double click on it.. in our case "Cloud flat file".

Page 3: Loading Master Data From Flat File

which will take us to Datasource screen..

create an application component for our exercise.. application component is simply a folder

Page 5: Loading Master Data From Flat File

Now create data source from the context menu of our application component

Page 7: Loading Master Data From Flat File

give a technical name for datadource and select master data attributes as data type.

Then click on OK..

Now our Datasource is created.. Now we should configure it... below screen is the configuration screen

Page 8: Loading Master Data From Flat File

In the extraction tab.. mention the directory and name of the source file

Page 11: Loading Master Data From Flat File

Give the header rows to be ignored as " 1 ".data format as " CSV "data seperator as " , "escape sign as " ; "

Page 13: Loading Master Data From Flat File

We can see our flat file data here

Now click on fields tab

Page 18: Loading Master Data From Flat File

As we can see , our infopackage is created below our datasource.. now we need to configure it..

we don't need to do much as of now... click on schedule tab..

Page 19: Loading Master Data From Flat File

and click on start button.. this action will start pulling data from our source file to our datasource..

Page 21: Loading Master Data From Flat File

we can see 5 records are successfully moved..

4. Create target (infoprovider)

As we are dealing with master data now... our infoprovider is InfoObject..we always store master data in infoobjects..

So we should create an infoobject to store the customer master file..

now click on infoprovider on the left panel..

Page 23: Loading Master Data From Flat File

as you can see our practise area is being created..Now click on infoobjects in the left panel..

Page 24: Loading Master Data From Flat File

create infooject catalog from context menu of our infoarea..

Page 25: Loading Master Data From Flat File

we have two types of infoobject...charateristics infoobjectkeyfigure infoobject

Page 31: Loading Master Data From Flat File

give datatype as "char"and give the needed length of the field.

In our example "Customer id " is an entity and " customer name " "customer address" and " customer phone" are attributes..

so we should define the attributes for "customer id"..

click on attributes tab..

Page 33: Loading Master Data From Flat File

we can give any technical name... when we press enter after adding all technical names... we will be prompted to create all the attributes...

Page 40: Loading Master Data From Flat File

actiavte all dependent objects

after activation  we can see that all dependent objects are now in green color..

Page 41: Loading Master Data From Flat File

all the infoobjects needed are created now...

now click on infoprovider and assign our infoobject "zcust2" as target..

Page 44: Loading Master Data From Flat File

Click on datasources on the left panel... from the context menu of our datasource create transformation..

give the source and target..

Page 46: Loading Master Data From Flat File

No activate this transformation..

portion highlighted in green is transformation..

6. Create DTP

Page 50: Loading Master Data From Flat File

We can see that 5 records have been moved to  our target...

our process of moving master data from a flat file to our target (infoobject) is complete...

now lets go and check our data in our target..