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

Delta update to Infocube from ODS with incomplete ODS Key

Hi,

I wrote my own generic extractor with delta management with after immages. I am wondering if its possible to write incomplete ODS keys with 0RECORDMODE set to D in my own functionmodule and to have a routine in the ODS to search for the possible combinations of the missing keyfields to achieve a complete removal for the incomplete key on the infocube.

This is a simplefied example of my problem:

Infocube

Z_ORDER(ch) Z_AGENT(ch) Z_COMMIS(kf)

1000 AGENT1 100$

1000 AGENT2 50$

ODS

Z_ORDER(key) Z_AGENT(key) Z_COMMIS(data) 0RECORDMODE

1000 _ _ D

1000 AGENT1 150$ ( new value ) _

first line should be substituted for all existing combinations in the cube I guess ?

Anyone any suggestions on how to achieve this ?

Thanks,

René

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Best Answer
    Posted on Feb 02, 2005 at 06:35 AM

    Rene,

    to my best knowledge this does not work. To "delete" data from an InfoCube via a delta you have to match the exact key (characteristics) and reverse the key figures.

    An alternative is to look into deletion methods:

    - Selective deletion as a job

    - Delete options in an InfoPackage

    Regards,

    Marc

    SAP NetWeaver RIG, US BI

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Feb 03, 2005 at 04:47 PM

    Hi Rene,

    If your ODS key matches the Extractor Keys, then the delta from ODS--> Cube will generate the required Reverse image.

    In your example, you should do a design - so you read the Active table of the ODS and create Delete records for all combination in the start routine . In your example the same Order no with agent1 , agent2 and agent = # .

    Arvind

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Feb 10, 2005 at 04:32 PM

    Hi,

    I indeed used the start routine to look in the dimension table for the existing combinations for the missing key fields. I inserted new entries with the complete key with the deletion indicator and it works perfectly.

    Regards,

    René

    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.