Tuesday, January 12, 2016

EMIGALL: Configure the fields of Migration object

1. Go to Tcode EMIGALL and enter our company TEST, then click continue. 


2. Double click on the migration object CONNOBJ, then it will display the structures belongs to that migration object under 'Auto.Struct'. To display all the structure of the migration object, go to menu, click on Automatic structure->Display List->All. Now we can see all the structures belongs to CONNOBJ.


3. Double click on each structure under 'Auto.Struct' to see the fields belongs to it. To display all the fields of a structure, go to menu, click on Field->Display List->All


4. Now we need to configure the below fields for CONNOBJ which we already identified by creating an actual connection object in the system using Tcode ES55.

PLTXT- Description
STREET- Street
HOUSE_NUM1- House number
COUNTRY- Country
TIME_ZONE- Time zone
TAXJURCODE- Tax Jurisdictn


4. Double click on the first structure EHAUD, then find (Ctrl+F) the field PLTXT in the first structure. Double click on PLTXT. You will get the below screen.


Note: Enable check box 'Generate'. Enable 'Req. Fld' only if the field is mandatory. Select radio button 'Transfer' if the value for the field is provided through file during data migration.

Search the next field STREET in the sturcture EHAUD. Since it is not available in this structure, search in the next structure ADDR_DATA. Enable check box 'Generate' for fields STREET and HOUSE_NUM1. Keep radio button 'Transfer' as these fields will also get value from file.

Double click on the field COUNTRY in structure ADDR_DATA. Enable check box 'Generate' and 'Req Fld' since country is maintained as a mandatory field for connection object in the system. We can assume country as a constant if we are migrating data for a specific country. In that case, we can select radio button 'Fixed value' to maintain country as a constant. That means, we don't need to maintain this value in the migration file.


Under tab 'Fxd val', create fixed value for country. 


Similarly, configure TIME_ZONE and TAXJURCODE as fixed value. 

Note: Disable check box 'Generate' for all other fields which are not required. Also disable check box 'Generation' at Automatic structure level (Menu->Automatic structure->Change).

5. Now go to menu, click on Field->Display List->Non-generated off, we get only the required fields which we configured as per our business requirement. Also at structure level, we can display only required structures (Menu->Automatic structure->Display List->Non-Generated off). Now our migration object looks like this.



6. Click on generate button to create programs required for migration. Yellow mark changes to green if the programs generated successfully and the migration object is ready for migration now. 



No comments:

Post a Comment