I have created an Infoobject - Business Partner (Master Data bearing characteristics). The attributes to this are Region, Sales Person, Industry code which are master bearing characteristic as well.
I need to load data to the business partner from a csv file.
The layout of the CSV file is -
BP number, BP text (long Text), Region Code, Region Desc (Med Text), Sales Person Code, Sales Person Desc (Med Text), Industry Code, Industry description (Med Text).
How do I define the infosource to load this data.
Appreciate any help with this.
First of all, I need to note that there are two kind of Infosources: with direct and flexible update.
If you choose a direct IS, then in the creating of the IS you just enter the name of the infoobject where you are going to load data. The system will create a IS (comm. structure). Enter this IS for changing. The system will propose you the communication structure, click on a bottom icon Transfer structure/Transfer rules, choose as a Source system your flat file system. Agree with the system when it asks you to save assignments (up to 3 times). Activate TRs. Then click in the field for Datasource. You may see there another datasources (for texts, attributes and hierarchies). Choose one by one another datasources with their activation.
Now you can create an infopackage for a load you can choose what kind of package it is going to be for loading texts, attributes or hierarchies.
Note that in this case the structure of the flat file is proposed by the system and you need just prepare the flat file corresponding to the proposed structure (different for each of 3 possible datasources). Execute infopackage.
If you use a flexible IS, then you may insert into comm. structure the fields that you think you may need in the master data. Note that here you may have not only attributes but TEXTS also. Save a comm. structure. Assign a flat file source system and activate a TRs.
After that in RSA1-dataproviders tab right click insert IO as a data target choose your IO. Refresh the screen. Youll see up to three data targets. Create update rules for each of them. In URs map the fields in the IS with the fields in URs.
Welcome to SDN!!
Goto RSA1 -> Infosource -> Create Infosource in the Infoarea you want -> Assign the flatfile source system to the Infosource. Now go inside the Infosource and add all the info-objects in the communication structure with respect to Business Partner. It would be Business Partner and its attributes. <i><b>The texts info-object should not be included as an attribute. they would be loaded separately.</b></i>.
Click the transfer button in the communication structure. Now activate both the Comm str and transfer rules. Now create the infopackage and load the data. The straucture of the flatfile should correspond to the transfer structure.
(Do not forget to assign points!!)