Before and after image question.

Dear all,
I have a similiar scenario below
something i got off from previous post*****
1000 10 10 (new)
1000 10 8 (changed in the next day)
then extractor will send like this.
first load means when the entry is created in the source system.
1000 10 10.
after change to 8. source will send the entry like this
1000 10 -2.
My question is, when i do a FULL LOAD into the next ODS, i keep getting only -2 as my result, not 8. How can i solve this in my update rule?

Hi again,
The delta records from an ODS always gets before and after images. For the full update, the records are always read from active table so this will only get the after image. Now suppose you are having wrong data in ODS2, you have to selectively delete the records from ODS2 and then do a full repair from ODS1. Incase of overwrite update rule, you need not do a selectively delete. So if ur data in ODS2 is wrong, delete it first and then do a full repair. You ran a full repai without deleting the already existing data and this might have created the problem.
Sriram

Similar Messages

  • Data Loading(Before and After Image)

    I heard that a datasource which has both "Before and After Image " ,then the data can be sent directly to the infocube or from the DSO to the Infocube but where as
    If a datasource supports after image then first it has to be loaded to the DSO and then to the Infocube ,
    My question is how to know the image types of the datasource ?

    Hi Ravi,
    Check in ROOSOURCE tables in ECC. You can find the behvariaour options in DELTA field, so based on this table we can say will it support Cube/ODS.
        Delta Only Via Full Upload (ODS or InfoPackage Selection)
    A    ALE Update Pointer (Master Data)
    ABR    Complete Delta with Deletion Flag Via Delta Queue(Cube-Comp)
    ABR1    Like Method 'ABR' But Serialization Only by Requests
    ADD    Additive Extraction Via Extracto (e.g. LIS Info Structures)
    ADDD    Like 'ADD' But Via Delta Queue (Cube-Compatible)
    AIE    After-Images Via Extractor (FI-GL/AP/AR)
    AIED    After-Images with Deletion Flag Via Extractor (FI-GL/AP/AR)
    AIM    After-Images Via Delta Queue (e.g. FI-AP/AR)
    AIMD    After-Images with Deletion Flag Via Delta Queue (e.g. BtB)
    CUBE    InfoCube Extraction
    D    Unspecific Delta Via Delta Queue (Not ODS-Compatible)
    E    Unspecific Delta Via Extractor (Not ODS-Compatible)
    FIL0    Delta Via File Import with After-Images
    FIL1    Delta Via File Import with Delta Images
    NEWD    Only New Records (Inserts) Via Delta Queue (Cube-Compatible)
    NEWE    Only New Records (Inserts) Via Extractor (Cube-Compatible)
    O  
    ODS    ODS Extraction
    X    Delta Unspecified (Do Not Use!)

  • What are Before and After Images ?

    Hello Masters,
    Best wishes to all.
    For the past one week I've learnt many concepts from SDN, got all my doubts clarified.
    On the same roll, I have one more question
    What are Before and After Images ?
    Where do we come across these terms ?
    Could you please explain with an example ?
    I always thank my replies in points 
    Thanks in advance...

    <b>Hai</b>....
    <u><b>Before and After Images:</b></u>
    This Term is Used in the " Change Log "....
    Change Log is one of the Table used in ODS....
    That means the Changes in Running Request in ODS....
    Example:
    If you Enter the Request to " New Table" after activation the Request will be Deleted From the Table, You can see that in Change log......
    <i><b>Assign Points If It Halps</b></i>....
    <u><b>BalajeeKannan</b></u>

  • Before and after images in ODS

    Hi everyone,
    Please let me know what are the before and after images when we are handling ODS.When those are coming in to the picture. I appreciate for great answers
    Thanks
    Ratna

    Hi!
    check this link for after image.
    Re: regarding ODS
    and before image is snapshot of the data before a change took place
    after image is snapshot of the data after change.
    these are used for delta update.
    with regards
    ashwin
    <i>   PS n: assigning poinst is the way of saying thanks here. please close the threads after you find the solution because its easier to refer to other people. if you do not close it is thought that you could not find a solution. and closing thread is assigning 10 points. if you find the solution yourself you can still close by clicking the radio button "solved myself beside the question".</i>

  • Compare BEFORE and AFTER image in replicat

    Do any of You experts know how to make the following code smaller?
    ...,p_kolonner=@STRCAT("ID='",@IF(@COLTEST(BEFORE.ID,PRESENT),BEFORE.ID,""),"'>'",@IF(@COLTEST(ID,PRESENT),ID,""),"'¤",
    "OBSOLETED_ON='",@IF(@COLTEST(BEFORE.OBSOLETED_ON,PRESENT),BEFORE.OBSOLETED_ON,""),"'>'",@IF(@COLTEST(OBSOLETED_ON,PRESENT),OBSOLETED_ON,""),"'¤",
    "SMRT_ID='",@IF(@COLTEST(BEFORE...The actual parameter would look like:
    P_KOLONNER:  ID=''>'11531'¤OBSOLETED_ON=''>''¤SMRT_ID=''>'1'¤SM_SMID=''>'2011X0074-00'¤SMT_ID=''>''...
    This code is part of the params section of a sqlexec in a replicat file where I want to concatenate before and after images of a table into one parameter. I have to replace all NULLs with '' or the whole string evaluates to NULL when one of the columns are NULL. I have a procedure receiving the parameter.
    How do I write this code shorter? I have to use less code to accomplish the same thing.

    Hi Yosemite:
      You're right, the correct term is "Key Fields", in the previous post I made a mistake when referring to it as "Key Part", I'm sorry for the confusion.
    Anyway, it is not clear to me if you managed to solve the problem or if you're still struggling with your data loads, if this is the case, Could you please elaborate?
    -Which is the data source you are working with?
    -Did you map the ROCANCEL field both to the 0STORNO and 0RECORDMODE InfoObjects?
    -Are you using Addition or Overwrite on the Update Rules/Transformation Rules to the DSO?
    -Have you applied any relevant SAP Note to fix this issue?
    In case you have not read the blog by Swapna Gollakota, take a look at it, you might find it useful.
    How does a datasource communicates "DELTA" with BW?
    /people/swapna.gollakota/blog/2007/12/27/how-does-a-datasource-communicates-delta-with-bw
    Regards,
    Francisco Milán.
    Edited by: Francisco Milan on Oct 29, 2010 12:31 PM

  • How to covert before and after image details from logdump to SQL

    Hi,
    Through logdump,i am able to retrieve below before and after image details for an update statement.
    Instead of below ascii format output, i need to know the complete sql statement before update and after update.
    Is there any command to covert below output to readable SQL sentence?
    2012/09/26 02:30:16.999.659 FieldComp Len 300 RBA 2528
    Name: TEST.TESTTABLE
    Before Image: Partition 4 GU m
    5e50 86f5 af70 9660 b6fa 785c e34f 8881 0497 9507 | ^P...p.`..x\.O......
    799f 2ee2 6399 d539 ea92 90de 828b 83d9 adc9 c8c4 | y...c..9............
    ca87 9632 7136 a5fc 826f 8cc7 6ddd 7f8a e02e 816a | ...2q6...o..m......j
    6ac4 739a 8011 5068 068a 4553 4937 93e7 cc5a d3d3 | j.s...Ph..ESI7...Z..
    6a2b 2540 3be9 1df7 6d0c 0f17 d795 efd4 e0c5 dae9 | j+%@;...m...........
    a488 a757 7c07 78a4 5f2a 1330 d2bb 5a05 7075 6b95 | ...W|.x._*.0..Z.puk.
    529c f681 97d8 df6f 58d5 37dc e36d 8bc0 19d5 c7f0 | R......oX.7..m......
    Bad compressed block, found length of 34549 (x86f5), RBA 2528
    Logdump 2335 >n
    Hdr-Ind : E (x45) Partition : . (x04)
    UndoFlag : . (x00) BeforeAfter: A (x41)
    RecLength : 300 (x012c) IO Time : 2012/09/26 02:30:16.999.659
    IOType : 15 (x0f) OrigNode : 255 (xff)
    TransInd : . (x01) FormatType : R (x52)
    SyskeyLen : 0 (x00) Incomplete : . (x00)
    AuditRBA : 24567 AuditPos : 4268948
    Continued : N (x00) RecCount : 1 (x01)
    2012/09/26 02:30:16.999.659 FieldComp Len 300 RBA 2947
    Name: TEST.TESTTABLE
    After Image: Partition 4 GU m
    5e50 86f5 af70 9660 b6fa 785c e34f 8881 0497 9507 | ^P...p.`..x\.O......
    799f 2ee2 6399 d539 ea92 90de 828b 83d9 adc9 c8c4 | y...c..9............
    ca87 9632 7136 a5fc 826f 8cc7 6ddd 7f8a e02e 816a | ...2q6...o..m......j
    6ac4 739a 8011 5068 068a 4553 4937 93e7 cc5a d3d3 | j.s...Ph..ESI7...Z..
    6a2b 2540 3be9 1df7 6d0c 0f17 d795 efd4 e0c5 dae9 | j+%@;...m...........
    a488 a757 7c07 78a4 5f2a 1330 d2bd 5a05 7075 6b95 | ...W|.x._*.0..Z.puk.
    529c f681 97d8 df6f 58d5 37dc e36d e8b8 19d5 1af0 | R......oX.7..m......
    Bad compressed block, found length of 34549 (x86f5), RBA 2947

    From the reference guide:
    *FORMATSQL*
    Valid for Extract
    Use the FORMATSQLparameter to output data in external SQL format, instead of the default
    Oracle GoldenGate canonical format. FORMATSQLgenerates SQLstatements (INSERT, UPDATE,
    DELETE) that can be applied to both SQLand Enscribe tables by utilities other than Oracle
    GoldenGate Replicat.
    NOTE Do not use FORMATSQL if the data will be processed by the Replicat process.
    Replicat expects the default canonical format. Do not use FORMATSQLif
    FORMATASCIIor FORMATXMLis being used.
    A FORMATSQL statement affects all extract files or trails defined after it.
    Default output
    Without options, FORMATSQLtransactions are output as follows, in comma-delimited format:
    ● The begin-transaction indicator, B.
    ● The timestamp at which the transaction was committed.
    ● The sequence number of the transaction log in which the commit was found.
    ● The relative byte address (RBA) of the commit record within the transaction log.
    ● The SQL statements.
    ● The commit indicator, C.
    ● A newline indicator.
    Every record in a transaction is contained between the begin and commit indicators. Each
    combination of commit timestamp and RBA isunique. You can customize the output
    format with optional arguments.
    Default See “Default output”
    Syntax FORMATSQL [<option>] [, ...]

  • White spaces before and after Images

    I have several images in my FM document,
    They are either gif or jpg.
    All set in Anchored frames, left-aligned.
    I have made most of them conditional for Online help, so they
    dont show up in my Online help.
    My issue is I am not sure how to remove all the space that
    appears before and after the images (they are not displayed because
    I have set it to conditional)
    I remember somewhere that the spaces for such images can be
    removed.
    Please let me know if there is.

    Hi,
    Thanks for replying.
    I have removed the spaces before and after the images in
    Frame.
    Set the images to be conditional (only for print). If there
    are any images they are in anchored frame--left aligned.
    So my problem is that the space before - after and the place
    where the image originally was (now not displayed as it is
    conditional) have these huge white spaces displayed.
    I am not sure how to map them or how to delete them.
    I am familiar in FM, and Robohelp (although i have worked
    with Word only and it was easy). For some reason this seems too
    hard.
    Hope I have gotten across to you with my question.

  • LO Cookpit: what is "Before Image" and "After Image" related to Delta ?

    Someone mentions "Before Image" and "After Image" which is related to Delta method in source systems.  Someone know what they mean?
    Thanks

    Before Image and After Image are different Record modes present.
    Before Image :
    Lets assume the data present in the Cube and ODS is
    Doc No --Mat Type --- QTY
    120 -
    M01----
    10
    Now let assume that the data has changes and the quatity has to be changed from 10 to 8.This can be done in different way depending on if we are using a Cube or ODS.
    If its a Infocube . i.e it is additive so we can send the before image and the after image together
    Eg:
    Doc No -
    MAT type -
    QTY
    120--M01--
    -10
    120--M01--
    8
    If the Data Source sends both the before image and the after image, this combination can be loaded in any cube or ODS target. For ODS targets, if Overwrite setting is made, then only the after image(the last one) will make it to the Activation queue table of the ODS. If the ODS is set to Addition then both before and after image are needed to make a correct load to the target.

  • ! symbol and before and after

    I am finding when I bring up images that were previously in LR2 that in the bottom right hand corner there is an (!).  When I click on it it asks if I want to update my image.  Then come up a before and after image.  I cannot for the life of me get back to just having a single image.  Thanks anyone.

    Adobe has a Lightroom video titled "What's New in Lightroom 3" at http://tv.adobe.com/watch/getting-started-with-adobe-photoshop-lightroom-3/whats-new-in-li ghtroom-3/
    If you watch it you will see a detailed explanation of the ! symbol at about 6:27.  I went ahead and converted all of my images so they could all take advantage of the new Develop features.
    Jim

  • Before and after

    In PSE 9 how can I see before and after
    images in full edit mode?

    I don't know how familiar you are with PS. So please apologize if my proposal may sound improper or confusing.
    In PS there may be of course lots of "befores" and "afters". Therefore, I would recommend you to use the "History" panel enabling you to easily switch between different states of your editing procedure. Also within the History panel there should be a "Snapshot" feature (I know there is in PS - not sure if this is valid also for PSE) which makes it even easier to name and identify a "before" (or "after") state.
    Some users prefer to create a duplicate of the original file first to avoid undesired changes and to be able to compare original and duplicate.
    A 3rd option (which I use very often) is to just duplicate the background layer. You then simply apply your tweaks to the resulting "background copy" layer and can switch this layer "on" and "off" (just by clicking on the eye symbol) within the layer panel.
    I hope that may be helpful. Please excuse if I misunderstood and you know all these features already.

  • Before image and after image is not updating correctly with 2LIS_04_P_ARBPL

    Hello BW gurus
    I am facing problem with the posting date extraction from the extractor 2lis_04_p_arbpl. I am getting incorrect before image and after image. Please let me know how to solve this problem.
    Thanks and regards
    kiran.

    Hi,
    It is difficult to check this in the Source System and there is no direct method. I can give you a workaround which we did analysed for some of delta datasources.
    Steps to be followed sequentiall once the step is successful:
    1. Create a Production order or something.. Note down the number.
    2. Check the datasource whether you get the same Production Order as delta
    3. Now do whatever confirmation etc . for the same Production Order
    4. Check the datasource (RSA3) and see wat it extracts.. might be multiple records..
          In that case just see the sequence of records.. and the changes each record has brought in.. hope this way we can simulate the delta datasource realtime..
    And if you find the sequence or somthin is correct and in BW is not updating properly then it is our fault to dig and find out further.. If the issues is at the RSA3 itself, then u can raise an OSS Message as a Bug.
    Hope it helps.
    Regards,
    Chathia.

  • Before image and after image concept of ODS

    Hi Gurus,
    Could anybody help me in understanding the concept of " Before image and after image in ODS"
    Kindly forward me if any good docs are available on my email ID: [email protected]
    With regards,
    wrushali

    check this link for after image.
    Re: regarding ODS
    and before image is snapshot of the data before a change took place
    after image is snapshot of the data after change.
    these are used for delta update.
    Hope it helps.
    Regards

  • Detecting Before and After Field Images

    Is there a way within ADDT to find the value of screen fields prior to update?  I've tried using the custom trigger BEFORE and STARTER events; BEFORE is too late, the field is already changed, STARTER is too early, the field value is NULL.
    I don't believe using straight PHP is an option either because I believe ADDT changes the names of the fields for occurence purposes.
    I would like to produce a detail log of the fields that change.  Comparing them before and after seems like the only way.

    Heya,
    I've really been having a hard time trying to understand exactly what it is you are trying to do. I read your post a few times and caught this line:
    I would like to produce a detail log of the fields that change.
    For this I would go about it by using an update record SB combined with insert into two tables SB. This would update the record of the user and also insert the info into a second table, the 'changed fields' table...
    In 'changed fields' table insert logged in users id via session variable, a timestamp, and whatever fields were updated in the update record SB form and there you'd have it - your record updated and a detailed record of what fields were updated and when with complete backlog for all users. Query 'changed fields' table sorted by user id and you'd see who changed what when.
    Hope that helps!

  • How do I add a before and after transition to a standalone clip in the second or other than primary stack?

    New to FCPX on a project this weekend. I have gotten reasonably comfortable with the basic features but one thing that I CANNOT figure out, is how (what used to be) selecting a track in the timeline to activate it to apply a transition.  I need to select a video clip which stands alone in the stack which is positioned above the primary track and add a blend transition before and after the clip. I have set the opacity to blend with the images in the primary track below but the beginning and end of the clip in the second stack do not fall at the transition points in the lower track which should not matter anyway.  I can’t find it in Help or the third party tutorials that I purchased and completed.  Thanks for your help!

    Tom gave you the answer.  As a follow-on you can then use the Cross Dissolve transition on your newly converted connected clip.  This transition will allow it to dissolve smoothly into the video below it.  Note that the Fade to Black transition will take both that clip and the video below it to black which would probably be undesirable. Use Cross Dissolve instead.  Best wishes.
    stephen

  • What is the best app for before and after photos for my Mac?

    I am looking for a program or app for my mac so i can put pictures up side by side.... like before and after photos.  Any suggestions?

    best cheap solutions. 
    acorn
    https://itunes.apple.com/us/app/acorn-4-image-editor-for-humans/id634108295?mt=1 2
    pixelmator
    http://www.pixelmator.com/
    Fotor (my fave) and FREE
    https://itunes.apple.com/us/app/fotor-photo-editor/id503039729?mt=12
    FXphoto studio
    https://itunes.apple.com/us/app/fx-photo-studio-pro-effects/id312506856?mt=8

Maybe you are looking for