How does delta know the value of keyfigures to substract?

Hi
I was wondering... I have a delta load to a ODS. The delta would go like this:
doc nr.     item nr.     qty
111111    0000010     15
111111    0000010     -15
111111    0000010     19
But how does the delta know that it has to subtract 15 before it adds 19? Is it just looking in the ODS for a record with the same primary key? In that case, how does it then know what to subtract when it is an infocube that is the target?
Thanks in advance.
Kind regards,
Torben

Hi Torben,
Delta Process is the Property of the Datasource as mentioned by Tripple K.
You can go to table ROOSOURCE in OLTP (R/3) sytem and check the property of the Datasource for which you are extracting the data.
And also you can see table RODELTAM to see details about a particular Delta Process Type.
RODELTAM table contains the details abt DELTA PROCESS like
ABR, A, ADD, AID, AIED, AIM ets
Delta only with Full Upload (ODS or InfoPackage Selection)
A ALE Update Pointer (Master Data)
ABR Complete Delta wth Deletion ID Using Delta Queue (Cube-Cap.)
ABR1 As 'ABR' Procedure, but Serializatn only Request by Request
ADD Additive Extraction Using Extractor (e.g.LIS-InfoStructures)
ADDD As 'ADD' but via Delta Queue (Cube Enabled)
AIE After Images Using Extractor (FI-GL/AP/AR)
AIED After-Images with Delete Indicatr via Extractr (FI-GL/AP/AR)
AIM After Images Using Delta Queue (e.g. FI-AP/AR)
AIMD After Images wth Deletion ID Using Delta Queue (e.g. BtB)
CUBE InfoCube Extraction
D Unspecific Delta Using Delta Queue (Not ODS-Capable)
E Unspecific Delta Using Extractor (Not ODS-capable)
FIL0 Delta Using File Import with After Images
FIL1 Delta Using File Import with Delta Images
NEWD Only New Records (Inserts) via Delta Queue (Cube Enabled)
NEWE Only New Records (Inserts) via Extractor (Cube Enabled)
O
ODS ODS Extraction
X Delta Unspecified (Do Not Use!)
The Datasource contains a field called ROCANCEL which is mapped to 0RECORDMODE in BW(if ODS is present in BW Data Flow). The Role of this field is to indicate the Cancellation of data record , similarly the field 0RECORDMODE determines whether the records are added to or overwritten. It determines how a record is updated in the delta process: A blank character signifies an after image, ‘X’ a before image, ‘D’ deletes the record and ‘R’ means a reverse image.
By mapping ROCANCEL to 0RECORDMODE the data extraction and concept of delta is realised in BW.
So while modelling the Data Flow in BW and Delta mechanism in BW the Datasource property (ROOSOURCE and RODELTAM) plays a vital role in Modelling.
Basically this ROCANCEL Field will have values like "blank" - after image, and "X" - before image and if you check in RSA7 for the records extracted in your last delta run you will find multiple records for same key fields, as there are multiple images (After, Before, Reverse etc) depending on Delta Process of Datasource.
Hope this clears.
Please let us know if you have further queries.
Thanks!
CK

Similar Messages

  • How does oracle know the databse is inconsistent and needs recovery?

    Hello,
    How does Oracle know that the datafiles are inconsistent and db needs recovery when rebuilding the db off of the online/hot backups? Whereas, it doesn’t ask for recovery when rebuilding the database from cold backup (I understand that, for cold backup, database is shutdown immediate and hence the db is consistent). In both scenarios, a new control file is created (that means it won’t have SCN) and only datafile header will have the SCN. What’s that piece of info that oracle check to know if the database is consistent or inconsistent during the backup restore and recovery and where that info resides?
    Thank you for any hints and answers.
    Jay

    Oracle uses the datafiles to identify if they are consistent. If the datafiles backup was taken when the database was OPEN, they are marked as "fuzzy" in the header. Also, likely, the Checkpoint SCNs may be different if tablespace checkpoints (e.g. by ALTER TABLESPACE BEGIN BACKUP) are at different points in time.
    If the backup was a cold backup with the database shutdown normal/immediate, the headers are marked appropriately.
    When you run CREATE CONTROLFILE, it has to read the datafiles because the controlfile, itself, has no SCN and LogSequenceNumbers information.
    Hemant K Chitale

  • Does anyone know the value of "y" here

    //What is the value of y after the following switch statement is executed?
    x = 2;
    switch (x + 2)
    case 2: y = 2;
    case 4: y = 4;
    case 6: y = 6;
    default: y = y * 2;
    }

    that sounds about right, given our relative
    post-counts, which as we all know, is the
    standard yardstick for competence....I'm posting as fast as I can, but I don't feel any
    smarter! What am I doing wrong?concurrency issues. you need more than one browser open

  • How does JVM know the method's stack depth?

    When a caller push several operands into its operand
    stack,how does the JVM know the number of the
    callee's parameters and pop correct number of operands
    out of the stack.

    It's determined by the signature of the method given in the invokestatic, invokevirtual, invokeinterface, or invokespecial bytecode.

  • How does Java keep the value from temporary variable?

    Hello all:
    I have a Question for Java Assignment operator.
    Object v1;
    Object v2;
    v1 = v2; // Java assignment by reference if I understand correctly
    ///// for example:
    import java.io.*;
    import java.util.*;
    public class TestOne {
    Vector v1;
    public void changeV() {
    Vector v2 = new Vector();
    v2.addElement(new Integer(10));
    v2.addElement(new Integer(11));
    v2.addElement(new Integer(12));
    v1 = v2;
    public TestOne() {
    changeV();
    System.out.println(v1.size());
    System.out.println("0: " + v1.elementAt(0));
    System.out.println("1: " + v1.elementAt(1));
    System.out.println("2: " + v1.elementAt(2));
    public static void main(String[] args) {
    new TestOne();
    // Output from Screen
    bash-3.00$ java TestOne
    3
    0: 10
    1: 11
    2: 12
    If I understand correctly, " v1 = v2; " is assigned by reference.
    So the question is when function 'changeV' return, why v1 still holds the
    values from v2 which has been destroyed?
    Thank you
    -daniel

    firstly, the assignment is by-value, not by-reference.
    the value the variables hold is a thingy called "reference." (In other languages such as C or C++ it might be called "pointer.") So "v1 = v2" always copies the value of v2 to v1.
    secondly, the vector object that is created in the changeV method, is created on the heap, that is, in dynamic memory. The variable v2 holds only a reference to it. So when the method returns, only the reference is destroyed, not the actual object.
    The object is automatically destroyed when there are no more reachable references to it (it is "garbage collected").

  • How does JWS know the files have updated? Is this a bug?

    Ok, I have the following problem. I have applications installed on computers which are not in the same timezone as the server where the installation is - they are several hours ahead. The 1st time I start the application, it never checks for updates, it just starts the old version installed on the computer. The 2nd time it always downloads the application from the server, the 3rd time it doesn't and so on - regardless of whether the application has changed on the server or not!
    I believe this problem started with the JWS from jdk 1.5 - I think the 1.4 was updating properly.

    For the basic protocol, javaws makes HEAD requests to the server and uses the timestame informatiopn returned in the response. This code is the same in 1.4.2 as in 5.0.
    Your problem sounds like a problem in 5.0 (fixed in update 1) where the timeout value was changed from 1+1/2 seconds to 1/2 second. For applications with offline-allowed, if javaw scannot determine within the timeout if the application has updated, it will launch it from the cache and then continue the check in the background. on the next launch, the update would have completed and marked that the application needs updating. By changing the timeout value to 1/2 second, we caused many apps to timeout where they would find the update within the 1+1/2 seconds, so it was changed back in 1.5.0_01
    /Andy

  • How can I know the security role of the logged in user

    When you design an enterprise bean or Web component, you should always think about the kinds of users who will access the component. For example, an Account enterprise bean might be accessed by customers, bank tellers, and branch managers. Each of these user categories is called a security role, an abstract logical grouping of users that is defined by the person who assembles the application. When an application is deployed, the deployer will map the roles to security identities in the operational environment.
    But wondering when I log into my application with some user name and password (specified in my Oracle database),wondering how this works with the security role I created .How does J2EE know the security role of the logged in user.
    Thanks
    Manohar

    shet wrote:
    role at run time.
    When I login say as "manju" and password as "money" then how does it know that this user belongs to this security role.Is that the j2ee administrator has to say that user manju has this this security role.Programmitically how does it really work.I am confusedThe j2ee implementation assigns the roles using the JAAS module you have configured for your application on your application server. different JAAS modules get roles in different ways. many allow a single static role to be assigned using a config file. if using a database, often there will be configuration to specify additional database fields which specify the role for a given username.
    At runtime, a developer can test roles using methods like EJBContext.isCallerInRole().

  • How does firefox know to fill in my credit card details in a webpage? i don't like it to keep them on file.

    how does firefox know the details of my credit card to fill in a web form.? how can I prevent firefox from keeping a copy of my credit card numbers?
    == This happened ==
    Not sure how often
    == i previously filled in the same web page a month ago.

    See [[Form autocomplete]]
    http://kb.mozillazine.org/Deleting_autocomplete_entries

  • DATASET_WRITE_ERROR :How to know the value of a field at the time of error?

    Hi All,
    I have an ABAP code that write some records to a  flat file. Am getting a DATASET_WRITE_ERROR when this program is run.
    in ST22 i checked for any info that could be of help.
    The Error Text is: "No Space left on device"
    Error code: 28.
    Now i want to know after writing how many records did the program threw the error.
    I have a counter named WRITE_CTR. <b>Is there any way in the debug mode I can check for the value of WRITE-CTR just before the program terminated ?</b> checking the value of counter each time a record is written is not practical as there are almost 40k records in total.
    In ST22 i checked the section "Chosen Variables". unfortunately this counter's value is not listed there.
    Please let me know if there is any way i can see the contents of a field just before a short dump is generated.
    Otherwise is there any option during debug that i can set a breakpoint on a statement when the field WRITE-CTR=<some value> say when WRITE-CTR = 30000 ?
    Thanks in advance,
    Rit

    Ok. Havent used Try..Catch in ABAP. I'll try using that. That should be a better way. Thanks.
    I think it throws the error only after 20 or 30000 records are written. So its not possible to set a breakpoint where it writes to file and check which all records are written.
    I wanted to know if there's any way to know the value of a filed just before the error is thrown. In the 'Watch' feature i saw an option to select a field and then give a comparison operator and all. Do you know how to use that ? Will that help me to break the execution when a field value equals a limit ? Just wondering what the Watch option is for!!
    Regrads,
    rit

  • Does anyone know the procedure, how to publish in NewsStand  my own magazins?

    Does anyone know the procedure, how to publish in NewsStand  my own magazins? What does it cost? How much time? Tell me please, may be a link. Or common steps.

    http://www.quora.com/How-does-one-publish-magazines-to-Apples-Newsstand

  • HELP!!!! I have spent hours trying to find out how to embed an image with a link or a Microsoft Word document with a hyperlink built within the document -- not as an attachment! Does ANYONE know the secret? Can it be done, or not! My PC clients do it.

    HELP!!!! I have spent hours trying to find out how to embed an image with a link, or embed a Microsoft Word document with a hyperlink built within the document -- not as an attachment into my email -- but where it shows as the email content when opened! Does ANYONE know the secret? Can it be done, or not? My PC clients do it all the time easily. Then I want to be able to send the embedded image/document (not as an attachment, but visable within the email when opened) to many email contacts at once, BUT the individuals receiveing them DO NOT SEE the other email contacts. Cannot seem to be able to find anything on being able to do these 2 tasks.PLEASE, SOMEONE, HELP!!!

    Don't know if this applies to Lion, but read here:
    http://www.makeuseof.com/tag/create-html-announcement-mail-iweb-mac/

  • How does apple know what the fault is with my iphone?

    How does apple know what the fault is with my iphone when sending it to them on apple care. My sleep/ wake button seems to be stuck so I sent in for a repair on the website and they sent me a apple care box and said send it back but I Carnt remember if I told them the fault or do they know by the repair ID number? Please help as I'm sending it off in a couple of day.

    Include a note in the shipping box describing in detail the issue you have with the phone. Include your name, address, phone number, email, iPhone model and serial number, and a detailed explanation of the problem.

  • How does one know if the latest Camera Raw is included Photoshop CC?

    How does one know if the latest Camera Raw is included  with Photoshop CC?

    Help>About Plug-In>Camera Raw...

  • HT5243 How does one know if they use "java applets"? What do they do? How will I know if I need to 'disable the java web plug-in browser' if I do not use them? ( I'm not very literate in computer-speak.

    How does one know if they use "java applets"? What do they do? How will I know if I need to 'disable the java web plug-in browser' if I do not use them? (Obviously I'm not very literate in computer-speak.)

    Well, when you go to a web page a section of the web page will have a coffee cup picture where the java applet will run. The applet loads then runs. If you are not seeing this behavior then you are not using java. If it make you feel more comfortable then disable the browser java plugin. On my machine I have not disable java- but you
    may what to.

  • Does anyone know the best software to make a scalene triangle using 3 predefined values?

    Does anyone know the best software to make a scalene triangle using 3 predefined values?

    kitweb,
    It is not too difficult in Illustrator.
    Presuming the values are the side lengths, you may turn on the Smart Guides and:
    1) Create a circle with its centre at X=Y=0 and with its radius equalling the first side length;
    2) Create another circle with its centre at X equalling the second side length and Y = 0, and with its radius equalling the third side length;
    3) With the Pen Tool click at the centres of the circles (Smart Guides say centre), then at one of the intersections of the circles (Smart Guides say intersect), then back at the first centre;
    4) Delete the circles, and if needed Object>Transform>Rotate/Reflect/Move/whatever for the right orientation/position.
    Obviously, you may use any order of the predefined sidelengths from the beginning.

Maybe you are looking for

  • I cannot get picture on TV but get the audio on the ipod classic

    Bought the right cables as recommended "component AV cable" to watch my ipod 80gb video to TV. Have the same coloured ports on the back of TV but can only get audio and no video. Followed basic instructions correctly. Now gone into ipod to get TV out

  • Whats the difference in regular storage and icloud storage?

    Trying to download i0s 7my iphone 4 says not enough storage, go to manage storage.  I upped my icloud storage thinking, this would do the trick and increase reg storage.  Puzzled.

  • How to find the AK Region name from JSP

    I have the requirement to hide some of the fields/regions in Oracle Sales Online. To do that from AK Developer Region Name/Code and Region Item is required. How to find this Region Code.

  • Standard operating temperature ranges

    Where can I find the standard operating temperature ranges? I download the iStat widget last week and it gives me a list of the temps of different parts of my machine, but I'm not sure when they're running hot versus running cool or normal. I'm not h

  • Program to pic random files

    I have a folder with thousands of pics in it. I need a way to randomly pic just 1000 and store in another folder..Anyone seen anything like this?