Fetching old and New Data in HRMS for 'Update' Transactions

Hi All,
I need to find out the old and new values for a person_id from HRMS tables (Per_all_people,Address,contacts etc) based on Person Id. Do we have any Standard Script or has someone prepared such script and can share with me. I am not expecting the Corrected records to be fetched as it overrides the same line but atleast for such records which comes under 'Update'.
For Example, If for Perso_id 123, the Telephone# was 8888 and then it is updated to 9999. So my query Should return somethign like:
Information From To Effective Date
Telephone 8888 9999 28-Nov-2011
Note: Can't use any triggers.
Thanks

Hi,
You need to include a new keyfigure in the cube and map with both the new and old compcodes and the write a field routine with the logic that meets your requirement by passing the values of  PSPNR into the internal table and get the output for the keyfigure value. Also you use if else condition as per the requirement.
Hope this helps...
Rgs,
Ravikanth.

Similar Messages

  • How to fetch  old  and  new value  from of a   field(non-key)  from LOGDATA

    Hello SDNers,
    i  m fecthing LOgdata  from  dbtlog table[in  our  case  the  log  is  not  getting  Updated  in CDHDR  and CDPOS table]
    i  m  using  the  same  logic  as  it  is  used  in  RSVTPROT
    but  the  problem  is
    "  IT  is  fetching  OLD  and  NEW VALUE  after  Update from same  field LOGDATA  of  dbtlog  table BUT  when i  used  same  logic  it  is  FEtching  only  OLD  VALUEs,
    CAN  U  GUYS  PLS  TELL  ME  HOW TO FECTH  OLD  VALUE  and  NEW  VALUE  of a PArticular  field(non-key field, fecthing  key  field  is  not an  issue) From LOGDATA  field  of DBTLOG.
    thx  a  lot  in advance
    Regards
    Kuldeep

    Hi,
    May be this link is useful to you.

  • What are the differences between the old and new data flow technology?

    I have seen many places mentioned the new data flow tech ( In BI7) are much different from the old one,, can anyone list a few differences?
    Thanks

    Hi Dylan,
        An infosource can be used in the 7 flow model, but its purpose is completely different from the 3.x model.
    In the 3.x model, the infosource consisted of 2 structures  transfer and communication.
    The transfer structure was where you specified which field in the datasource corresponds to which infoobject ie the field type.
    You now do this in the datasource maintainence in 7.0 (the tabs called proposals and fields)
    The communication structure was the structure which was available for uploading.
    You can refer the link for the 3.x flow
    [http://help.sap.com/saphelp_nw70/helpdata/en/90/64553c845ba02de10000000a114084/content.htm]
    In the 7.0 flow, you generally use a  DSO when you perform sequential transformations ie you want to change the data format or do some processing twice before you actually load to the final infoprovider.
    The sequence in this case would be
    Datasource -> transformation1 -> DSO -> Transformation 2-> DSO -> Transformation 3-> Cube
    The disadvantage of doing this, is that the DSO will store data.  To avoid this, you can use an infosource instead of a DSO.
    You can refer the below link for using 7.0 infosources
    [http://help.sap.com/saphelp_nw70/helpdata/en/7e/001342743eda2ce10000000a1550b0/frameset.htm]
    Hope this helps.
    Regards.

  • [svn:fx-trunk] 5473: Fix for bug around handling of constraints during and after effects were run , both for old and new effects.

    Revision: 5473
    Author: [email protected]
    Date: 2009-03-20 16:02:58 -0700 (Fri, 20 Mar 2009)
    Log Message:
    Fix for bug around handling of constraints during and after effects were run, both for old and new effects. Fix was to correctly record and handle styles that were set or not set in either state and to temporarily set width/height values for the duration of an effect if we disabled the relevant styles that affect width/height.
    QE Notes: None
    Doc Notes: None
    Bugs: SDK-17809
    Reviewer: Jason
    Testing: checkintests, Mustella Effects, ListDataEffects
    Ticket Links:
    http://bugs.adobe.com/jira/browse/SDK-17809
    Modified Paths:
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/FxAnimateInstance.a s
    flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/Effect.as

    Revision: 5473
    Author: [email protected]
    Date: 2009-03-20 16:02:58 -0700 (Fri, 20 Mar 2009)
    Log Message:
    Fix for bug around handling of constraints during and after effects were run, both for old and new effects. Fix was to correctly record and handle styles that were set or not set in either state and to temporarily set width/height values for the duration of an effect if we disabled the relevant styles that affect width/height.
    QE Notes: None
    Doc Notes: None
    Bugs: SDK-17809
    Reviewer: Jason
    Testing: checkintests, Mustella Effects, ListDataEffects
    Ticket Links:
    http://bugs.adobe.com/jira/browse/SDK-17809
    Modified Paths:
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/FxAnimateInstance.a s
    flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/Effect.as

  • Reporting on old and new statistics data

    Hello,
    I have an upgraded system from 3.5 to BI 7.o version, and i have installed the Admin cockpit for statistics content.
    Also in 3.5 version we have created Z* reports based on the multiprovider.
    After upgrade it is not possible to get data from RSDDSTAT because it is obsolete and we can get data from new tables.
    Now i want report based on the old statistics content as well as with new content.
    How can i report based on old data and new data?
    Please help me with valuable inputs.
    Thanks in Advance.
    Regards
    M.A
    Edited by: M.A on May 3, 2010 12:31 PM
    Please give me suggestion how we can report based on old and new statistics data..

    Hello Anand,
    Thanks for the response.
    My requierment is I have my 3.5 statistics data in my info cube (0BWTC_C01 till C05).  Now the system upgrade is done.
    Now my report has to show me the statistics of 3.5 and BI 7.0 data together. Is it possible to create multiprovider based on 3.5 statistics content cube and BI 7.0 statistics cube?
    Thanks,
    Regards
    M.A

  • FIND OUT GAPS IN TAX TO COMPARE  IN OLD AND NEW FOR BUDGETARY PURPOSE.

    CAN I HAVE EXPALINARY DOC WITH EX BUSINESS PROCESS. SPECIFICALLY TO
    FIND OUT GAPS IN TAX TO COMPARE  IN OLD AND NEW FOR BUDGETARY PURPOSE.
    THANKQ FOR IMMIDIATE RESPONSE
    Annie

    You can use DBMS_LOB.COMPARE

  • T.code FF7A: how to see old and NEW open items?

    Hi All,
    I've filled the "Cash Managemeng Group" in the master data of a Customer.
    The report Cash Manag.& Forecast doesn't update its old open line Items.
    Only the documents successive to the insertion of the "Cash Managemeng Group" in the master data are updated in the report.
    Could anyone tell how to obtain all the items (old and new) in the report?
    Thanks
    Gandalf

    There are a couple options depending on the additional details of your situation....
    Within t-code FDFD, there is a button labeled Data Setup.  This button is intended for use when cash management (CM) is activated for an existing company code and CM needs to be updated with transactions created prior to the activation.  It deletes all data in cash management for the Co.Cd. and then builds the CM data for all GL, customer and vendor accounts.  There are also options to update CM for other areas (Sales, Procurement, Treasury, etc.)
    Also within t-code FDFD, there is a button labeled Correct Data.  This button can be used instead of the Data Setup button, if the CM data for a particular area needs to be corrected.  This function has the following options:  All GL accounts, All GL accounts with open items, All GL accounts w/o open items (non-open item managed accounts), All Customers/Vendors, All Customers, All Vendors.
    It's best to run these functions when transactions are not being created on the system.
    Regards,
    Shannon

  • Please help me to merge two places.sqlite to get my old and New history at the same time, every time i rename my two places.sqlite to see my old and new history

    every time i rename my new places.sqlite to see my old history and come back rename old places.sqlite to see my new history, i tired and i found No Way to merge two places.sqlite :( but it's must be found this way for The PPL to see their old and new history :(
    Thank You all in Advance

    You can't merge history otherwise then using Sync to store the history and bookmarks of one places.sqlite on the Sync server and then disconnect.<br />
    Copy the second places.sqlite file to your Firefox profile folder with Firefox closed.
    Then setup Sync once again using that account and merge the content on the Sync server with your computer.
    * Merge this device's data with my Sync data

  • Combing lines in all of my footage old and new???

    I am having combing lines problem with all of my footage. It doesnt matter if it is DV,HD, or uncompressed footage. On all of my projects old and new. Could this be a quicktime thing? It has affected all of my footage. I just noticed this the last time I worked with it all was fine???
    FCP 6.0.4

    Never judge the quality of your footage on the computer monitor nor in the CANVAS or VIEWER. They lower the quality to allow for smooth playback.
    I SHOUT in this stock answer...pardon that.
    #2 Blurry Playback
    Shane's Stock Answer #2: Blurry playback
    ONLY JUDGE THE QUALITY OF YOUR MATERIAL ON AN EXTERNAL BROADCAST MONITOR, OR AT LEAST A TV.
    The Canvas shows you what happens after the codec you are working with has been applied. The Viewer shows you the material in its native format. Once you drop the footage from the Viewer into the timeline, it inherits the attributes of the sequence. If it is a DV sequence, the footage will render out as DV.
    1. Disable overlays on the Canvas.
    2. Make sure you've rendered everything (no green bars at the top of the timeline).
    Video playback requires large amounts of data and many computations. In order to maintain frame rate and be viewable at a normal size, only about one-fourth of the DV data is used in displaying the movie to the screen. However, the DV footage is still at full quality, and is best viewed thru a TV or broadcast monitor routed thru your camera or deck.
    Shane

  • Difference when using old and new PCA datasources

    Hello experts,
    We have implemented the new PCA datasources provided by business content version 3.3. We have built a new infocube (ZPCA_C01) as we were not concerned about the appropriate performance of these new datasources 0EC_PCA_3 and 0EC_PCA_4.
    After loading the new cube (ZPCA_C01) with the new datasources 0EC_PCA_3 and 4, we made a comparison to the content of the old cube 0PCA_C01, that was loaded with 0EC_PCA_1.
    For thesame period (2005.001-002) there is a difference between the contents of the cubes. When checking the results I found that this may be caused by the fact, that 0EC_PCA_4 does not populate "Total credit postings" and "Total debit postings" fields in the new cube, however, we have a couple of records in table GLPCA, where ACTIV = 'PRC4', and that have a corresponding record in GLPCT, where there is a figure in
    TSL02 field. It results in the fact that>
    - 0EC_PCA_1 extracts the figure from GLPCT for Posting Period 2,
    - 0EC_PCA_4 does not extract the same figure from GLPCA.
    Can you please help me with the above problem? Do you know how Credit and Debit figures get to BW from GLPCA, where ACTIV='PRC4'?
    Thanks,
    Csaba

    user10871298 wrote:
    Hi
    I am exeuting a trigger and while retrieving a date field from it using :OLD and :NEW variables, it leaves the timestamp part.
    for example,the actual value for start_date field in the table is '10/12/2005 7:04:25 PM', but when I use :NEW.start_date , it returns only '10/12/2005' .
    How to make it return the timestamp also?
    Thanks.How are you determining that it's missing the time component from it?
    If it's a DATE datatype then it will have both date and time components. If you take that and store it in a DATE datatype column then that too will store the date and time components. If you then go and view that data, it will have both date and time components unless you have your local settings (NLS settings etc) set so that dates are displayed without the time portion. That doesn't mean the data is not there, but that you are not displaying it when you query it.

  • Difference old and new transfer

    I will find out the fifference between old and new transfer process.
    On one hand I know the old works with update rules an inforsource and transfer rules. the new one has an transformation and a dtp.
    also I know that there are update rules for direct writing and update rules for flexible writing.
    direct is for hierarchies also and flexible is to change data before the target.
    So my question:
    I wrote that I need Update Rules when I want to write from master data while loading data into a charakter. I wonder is the name flexible update rule here used in the same way as transformation rule? or do i really have to use the old transfer 3.x?
    At least the question: What is the real difference between direct or flexible update rules and a transformation?
    Why can'T I load a history with a transformation and with flexible update rules? Why do I have to use direct update rules?
    I would be very happy if you tell me that update rules and declaring rules in transformation means the same... but i think it is not like that..

    In BI 7.0 we have DTP to load data. In transformation we have start routine, end routine and transfer routine.
    You can go through these links:
    http://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=32737032
    http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=(J2EE3417800)ID0190221850DB00612828832805035416End?blog=/pub/wlg/6772

  • Regarding passport registration issues, I need to have a letter from you including both the old and new imei numbers. Could you please send me an email mentioning that I have changed the phones with the given imei numbers?

    Regarding passport registration issues, I need to have a letter from you including both the old and new imei numbers. Could you please send me an email mentioning that I have changed the phones with the given imei numbers?

    You're not addressing Apple here. This is a user-to-user technical support forum. If you want to contact Apple, use the Contact Us link at the bottom right of every page for information on how to do so.
    Best of luck.

  • I accidently created a new apple account on my new phone, How do I merge my old and new accounts

    I had an old account but had lost access to the email. In frustration I created a new account to use with iTunes on windows. Now history repeats itself and I've a new iPhone 4 that I want to load with data from both old and new accounts. Do I need to just go to the Genius bar next time I'm in town or is there some way to log into each account, back up the data and merge to the new account?

    Actually not trying to merge the accounts, but back up the DATA i have stored in those accounts. Once I've pulled the many songs I purchased under the old account I'll burn them to something and delete the old account... and I think I've just answered my own question.
    i.e. Don't try to merge anything, just salvage music and other data (contacts, notes)

  • Error : Old and new exceptions cannot be used at the same time.

    HI ALL,
    i build a new exception class with message class and i want to replace the
    old exception that i had in the method ,what i did is delete the exception from the method
    signature and add the exception class .
    the problem is that when i try to activate the method i get error :
    Old and new exceptions cannot be used at the same time.
    CALL FUNCTION 'CALCULATE_HASH_FOR_CHAR'
          EXPORTING
            alg            = 'MD5'
            data           = iv_iss
          IMPORTING
            hash           = lv_issu
          EXCEPTIONS
            unknown_alg    = 1
            param_error    = 2
            internal_error = 3
            OTHERS         = 4.
        IF sy-subrc <> 0.
          RAISE EXCEPTION TYPE cx_user_mng EXPORTING
          textid = cx_user_mng=>wrong_isrs.
        ENDIF.
    I want to use the new exception class ,
    how can i avoid this error ?
    Best Regards
    Edited by: Joy Stpr on Jul 22, 2009 2:56 PM
    Edited by: Joy Stpr on Jul 22, 2009 3:16 PM

    Hi Joy,
    Check this link.
    [Old and New Exceptions Cannot be used at same time|Urgent problem, give me a hand;
    Old and new exceptions cannot be used the same time, what does this mean???
    Regards,
    Lakshman.

  • I bought a used iphone 4 today. how to transfer all my old and important data including apps and email settings from old iphone 3gs to the used iphone 4?

    i bought a used iphone 4 today. how to transfer all my old and important data including apps and email settings from old iphone 3gs to the used iphone 4? that means, making the iphone 4 just like the iphone 3gs?

    Well, you sink everything on your 3GS onto your laptop/computer. Then you reset your iPhone 4. When you are restarting it, add all those apps music (ect)  On to it. It seems difucult but for more info call Apple. I did that and he lead me step by step on how to do it. Well hope this helped~~

Maybe you are looking for