(Glue-2411) Extraction of Advanced DSO
In the simplest scenario of Advanced DSO replication, there are four components forming each of the replication processes – Glue Table, Advanced DSO fetcher, Glue Table consumer, and Extraction Process. These four components represent a configuration – setting up the source object, target object, and transformation rules. Following steps navigate you through the preparation of the whole flow – creating all required objects and executing the load.
Creating Glue table:
Start transaction /DVD/GLUE and click Data Dictionary.
Enter the name of a new table and click Create. You can enter the description of the table.
Under the Attributes tab fill in the Storage ID (for binary storages necessary to fulfill the File storage options, too).
Under the Fields tab field GLREQUEST with data type: DEC, length: 30, dec places: 0 is added automatically.
Under the Fields tab click on Import Fields, choose From InfoProvider and fill in the name of the ADSO. If you check the checkbox Navigational attributes, the fields corresponding to navigational attributes will be also added. The structure from the source Advanced DSO will be imported. You can manually adjust the fields as required.
Click Save. If the table was not saved before, the system will ask you to fill in the Package. If you have a development package created upfront designated for SNP Glue development, you can use that package. Otherwise, for isolated sandbox purposes, $TMP will do.
Activate by clicking on Activate button. Only after you activate the SNP Glue table, it is created on storage.
Creating Advanced DSO Fetcher:
Start transaction /DVD/GLUE and click Object Navigator.
In the context menu (right-click) of the desired package select Create Extractor 2.0 object.
A pop-up appears. Enter the name of the new Fetcher in the Object name.
Select Advanced DSO Fetcher in the Component type dropdown and confirm the pop-up.
Fill in the Advanced DSO by the required Advanced DSO name and press ENTER. For a basic scenario, we will leave the Delta type to FULL. Further options can be found in the detailed fetcher documentation.
The fields from Advanced DSO will be added to part Filter definition. If you want to load data with a selection (filter on some fields), check the checkbox in column Selection for these fields. The section Recordmode selection is related to Delta type: Request, so in this case we can leave it as default.
Activate the fetcher.
Creating Consumer:
Run the transaction /DVD/GLUE and open Object Navigator.
In the context menu(right-click) of the desired package select option Create Extractor 2.0 object.
Enter the name of the new Consumer in the Object name and select Consumer under the Component type dropdown and the GLUE table consumer under the Component implementation dropdown.
Confirm the pop-up.
After creation, the object is in the saved state. Fill in the Glue table name and press ENTER.
Activate the consumer.
Creating Extraction Process:
Start transaction /DVD/GLUE and open Object Navigator.
In the context menu (right-click) of the desired package, select the option Create Extractor 2.0 object.
Enter the name of the new Extraction Process under the Object name.
Select Extraction Process under the Component type dropdown and under the Component implementation dropdown.
Confirm pop-up.
Insert the Fetcher name and Consumer name created in the steps before. Press ENTER.
Suggest transformation mapping button in the toolbar. The mapping between target and source fields is now created in a 1:1 fashion. Further options for modification of the rules are described in the documentation.
Activate extraction process.
Executing Extraction Process:
Click Execute.
Execute(F8) the replication with default settings. Select Background and Immediate in upcoming pop-ups for scheduling SAP jobs.