Hi experts.
I have to export delta data from a DSO with a open hub destination. I am filling a database table and I need to delete the open hub table before every load. I have checked the optin delete in the DTP but it doesn't work. Anybody knows how to solve this problem?
Thanks in advance.
Alec.
Hi Alec,
You need to make this selection under the Destination tab, of your Open Hub destination. There is a checkbox there for "Deleting Data from Table." You usually make this selection while creating the Open Hub destination.
The following is an excerpt from the SAP Help explaining your options:
Open Hub: Database Table Write Mode
Write mode into the database table for an Open Hub Destination
Use
The write mode has two characteristic values:
1. Delete Table before Extraction is deactivated
In this case, the extracted data records are added to the database table using an 'INSERT'. Any structural differences between the database table and extracted data are bridged using a 'MOVE-CORRESPONDING', which involves combining fields which have the same name. BEWARE: Where a record is extracted with the same key as a record already in the system, a short cump occurs due to the presence of duplicate records. We recommend this record when wanting to keep a history of the extracted data.
2. Delete Table before Extraction activated
In this case, the table is completely deleted and then regenerated before extraction takes place. Structural changes made in the template structures are copied into the InfoSpoke template structures. The insertion of duplicate records is thus implicitly avoided. We recommend this mode when a data history is not to be stored in the table.
Hope this helps,
Julio
Add a comment