Skip to Content
author's profile photo Former Member
Former Member

Delete data open hub

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.

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Nov 30, 2007 at 03:10 PM

    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
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.