Tracking infotype chnages

plz reply
Hello,
I am coding  to get fileds of  infotpe changes .
I can not use standard program RPUAUD00 for my requirement.
for FM  HR_INFOTYPE_LOG_GET_DETAIL  it exports only itab & fields, but i need to fetch head-opera too, which i can not get from this FM.
Also why  HEAD's aedtm field is showing zeros?
How to get new field values and old field values by HEADER and BELEGE.
Will appreciate your reply.
Thanks.
Edited by: rita pat on Mar 27, 2009 3:45 PM

U'll get the changed fields in the TABLES : FIELDS
CALL FUNCTION 'HR_INFOTYPE_LOG_GET_DETAIL'
  EXPORTING
    logged_infotype        = logged_infotype
  AUTH_CHECK             = 'X'
  USE_ARCHIVE            = ' '
IMPORTING
  SUBRC                  = SUBRC
  TABLES
    infty_tab_before       = infty_tab_before
    infty_tab_after        = infty_tab_after
   FIELDS                 = FIELDS
To know which operation was carried out ..
If both infty_tab_before and infty_tab_after are filled then it is Update ..
If only infty_tab_after is filled then it is Insert
If only infty_tab_before is filled then it is delete .
check include .. LPA_INFTY_LOGF02 for more details ..
    case header-opera.
    when 'U'.
      append after_image.
      append before_image.
    when 'I'.
      append after_image.
    when 'D'.
      append before_image.

Similar Messages

  • Tracking infotype changes

    Hi,
    I got a requirement like this. I have to send a report to client on hourly basis on infotype changes.
    I do not know how to capture changes in a hour. I know how to track daily(using PCL4).
    So please share your valuable experience.
    Thanks,
    Ravi Visarapu.

    Hi Priya,
    Thanks for quick reply and information.It is helpful to me but confirm me one thing.
    In FM  HR_INFOTYPE_LOG_GET_DETAIL  what is the role of BTIME import parameter. Is it considered after that time or before that particular time.
    my requirement is , with in a hour (every hour new updates whether change, delete or insert etc ).So how do I pass the from and to time limits in the functionmodule.
    Appreciate your help.
    Regards,
    Ravi.

  • Tracking Infotypes

    Hi Gurus,
    I have an critical issue where the record maintained for infotype 0040- with 2 subtypes for 2 different dates are suddenly got vanished but for the previous month the payroll records the subtypes are available .
    I checked with RPLINFC0 / HTWLINF0, It gives me a log along with the changes made in the infotype record, when i click on the dates it gives me the data with the numbers and units of 0040.
    But now when i try to see the same in PA30 system shows no data is available, i am wondering where the data has vanished........I believe its not been deleted .
    I was tring to run RPUAUD00 but no use as T585A,T585B,T585C is not maintained so no results even if i maintain it also it will be for future need.
    Can any body please help me on retrieving the previous details.......i dont know where the data is....please help.

    Hi Fedrico & Remi,
    Thanks for your updates, Fedrico can you please guide me a bit more on the same i mean the process for checking it in SE16 one by one and Remi i have already gone through the threads all talk about T585A,T585B,T585C to be configured .
    Yes i can consider it for future purpose but please guide me for the current scenario....please advice.
    Is there any possible other way through which i can get the data of the infotype along with the user details who else could have done any changes to it if possible.

  • Auditing to track user chnages on an application

    Hi All,
    Great if anyone of you can help me out.
    Is it possible to have some sort of auditing in place for all applications hosted in a schema. So as to keep a track of the changes made by the various developers who have the rights for the application whihc needs to be monitored by the administrator.
    Thanks in advance.
    Edited by: ANURA on Feb 20, 2009 2:35 AM
    Edited by: ANURA on Feb 20, 2009 2:36 AM

    Thanks a lot Scott,
    When I look at the specific log through Manage services tab ---> Changes by Developer
    It shows the number of reports to be 2, for the selected time frame.
    Sorry that may be a stupid question but how can I access those reports ? As I am still not able to see the changes made .
    I am presently using apex version 2.0
    I tried to create a report with the following query
    SELECT COUNT(*), AVG(elap), userid
    FROM APEX_ACTIVITY_LOG
    GROUP BY userid
    But it gives me table or view doesn't exists
    How can I make it work, Please guide

  • Query to track changes to a particular table data

    Hi,    
        Do we have some query to track the chnages to a particular table data?how we can do that...please helppp
    Regards
    Aswathy

    The answer can only be as good as the question.
    Your question is not good: there is no detail.
    Say exactly what version of Oracle you have.
    Say for how long in the past you need to track the changes.
    Partial answer: for changes in the last few hours, read Flashback Queries
    Message was edited by: Stew Ashton
    P.S. I forgot to ask: do you want to know WHO and WHEN data was changed, or WHAT data was changed? Hoek answered the first question, I gave a partial answer to the second.

  • Query Tracking

    Hi All,
    Is there any PeopleSoft delivered tools using which we can track the queries ran by the users and the time taken for the query to complete. We need to track the chnages made to the quries and their previous run times. So we are looking for a tool (if delivered ny PeopleSoft) to track the run-time.
    Any help would be appreciated.
    Thanks,
    Chris

    Go to PeopleTools > Utilities > Query Administration
    Search for the queries you want to monitor.
    Select them and click on 'Logging On' button
    After this, PS will track the query stats..
    you can come to the same page and see
    Avg Time, Avg Rows, # of Runs, Last Run Date, Last Run Time etc

  • Trace Changes in Material Document

    Dear All,
    Is there any way to trace which material document has been changed manually by the user? Our situation is as follows:
         User use MB02 to update header text field in the old material documents. We need to extract all the changes information and
         what is the best option to do this? Is this from CDHDR/CDPOS tables? I tried to use the "Change On" field in the table MKPF, but
         nothing can be extracted because it seems that this field is always blank.
    Sorry, please correct me if I'm wrong.
    Thank you in advance for helps.
    Best Regards,
    Edwin

    To track changes :
    Try to check the setting in OPUV for change docs for material
    (or)
    Try to use AUT10 t.code , in that enter the t.code which you want track the chnages and execute.
    (or)
    Check in Txn CN60. Here you can view list of change documents for materials, networks and WBSE
    Edited by: m_n_novice on Aug 27, 2009 10:06 AM

  • Authorization to attach and delete the pdf docs in equipment master

    Dear team,
    1.In equipment master there is a provsion(service for object) to add or attaching documnet, my requiremnt is,
    is there a any provision to control the actvities specifically adding and deleting through authorization.
    2.and can we track through chnage logs of activities like adding deleting (when and who did the activities)
    i tried to check this in action log,change documents but i didn't find for specifically these functionality changes.
    Regards
    Ashok

    Refer note [491271|https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=491271]

  • How to capture - Custom tables change log

    Hi,
    I need to maintain the change logs for Cutom tables. But, my custom table contains the fields with data type DEC. So, i am getting the record as "####" for DEC fields.
    These values, i have captured in Table Maintenance generator Flow Logic Editor - In the loop of EXTRACT or TOTAL.
    PROCESS AFTER INPUT.
    MODULE LISTE_EXIT_COMMAND AT EXIT-COMMAND.
    MODULE LISTE_BEFORE_LOOP.
    LOOP AT EXTRACT.
    ENDLOOP.
    So, can you please help me to find the solution?
    Regards,
    Srinivas
    200AR99#u200C######   MUKKAVILLI  20090728
    200AT02###u200C####   MUKKAVILLI  20090731

    Hi,
    Please refer to the following link
    http://www.saptechies.com/how-to-activate-the-img-change-log/
    Track Table chnages
    Hope this helps.
    Regards,
    Swetha

  • Changes to Dictionary objects in ECC 6.0

    Hi,
    we are doing an upgrade from 4.7 to ECC 6.0
    how to keep track of chnages made to the dictionary objects like
    1.Tables
    2.Indexes
    3.Structures
    4.Search helps
    5.Data Element and domains.
    Many Thanks

    Hi,
    data Dictionary objects can be seen in Transaction SPDD where as all other objects can be see in SPAU Transaction.
    These transactions will show those objets which has been modified by user exit/SAP note or some other custom modifications in 4.7 system.
    Hope this helps!!
    Regards,
    Lalit

  • Report to track changes to infotypes prior to running the  payroll interfac

    wants a report to track changes to infotypes prior to running the  payroll interface.  The attached report looks like it should work but it returns nothing.  Is there config that turns on "Track Changes": for select infotypes?  If so, can they be activated for key infotypes so this report will run?
    Name, Address, position, etc.
    Not attendance and absence ITs.

    Hi,
    IMG – Personnel Management – Personnel Admin – Tools – Revision – Set up change document:
    This node has three items:
    Infotypes to be logged
    Field Group Definitions
    Field Group Characteristics
    Using these three options you define which infotypes you wish to log, then which fields, then you define which groups of fields are to be saved. Click each link, or see the sections below:
    Infotypes to be logged
    Here you define which PA infotype numbers you require logging. Select New Entries and enter a transaction class (A for Pers Admin, B for recruitment), then enter the infotype number and save.
    Field Group Definition
    When changes are made to a logged infotype, the field contents before and after are recorded. This is the very reason for logging the infotype, but there is an overhead in performance and disk space used so it needs to be given consideration. Typically you will want to record fields that are pay relevant.
    Using the field group definition, you specify which fields you wish to record changes in. When any of the fields in the group are changed, all the fields in the group are saved. You can use an asterisk to log all the fields of the infotype but this is not recommended for space and performance, also there are many fields on an infotype that you will not be using, that will be saved also. Ideally you will pick individual fields of the infotype and enter them like so:
    The field group number is a freely defined number you allocate to the group, it will be used in the next step. For normal use, simply pick any number not already used in that infotype. All fields with the same field group number are recorded in the log, even if they have not changed.
    Click New Entries and enter the infotype number, field group number and field names that you wish to record.
    Field Group Characteristics
    When you have set up the field group numbers, use the field group characteristics to activate the logging of those fields. You can also specify a supplementary field group; this means that the contents of another field group can also be saved at the same time, even though the contents have not changed. In practise it is not used much. Simply select new entries, enter the transaction class, infotype, and in the DocFieldGr enter the number you assigned to the field names that you want to store, then enter L for Long Term Documents (short are not supported)
    The Audit Report
    To access the report showing the logged infotype changes, use the HR report tree available from various menu paths, including:
    Main Menu – Human Resources – Pers Management – Administration – Info System – Reports - Documents – Infotype change – logged changes in infotype data. (RPUAUD00).
    When you run the report, select the infotypes you require, and select and execute.
    Cheers
    Prasanth

  • OM Infotype change log Tracking

    Hello Experts,
    I have a requirement to write a custom Interface program to track the changes in OM infotype. This custom Interface will be run daily to track the changes in OM infotype if any on daily basis.
    I know i can use AEDTM (Changed on) date field to track the changes but this will not be able to cover all possible scenarios. This date (AEDTM) does not get updated in SAP when an infotype is delimited. So such scenarios will be missed if i use AEDTM.
    I have certain function modules which can be used to track the changes in PA infotype. But I am not able to find any function module or class or related object which can track the changes in OM infotype.
    If any one of you have any idea or suggestion on this, Kindly help me.
    Appreciate your help!
    Rupesh

    Hi Srinivas,
    Thanks for your prompt reply!
    As per your suggestion:-
    ok here goes additional info:
    tcode : bd52
    message type hrmd_a
    you can mention object type, table and fields for which change pointers can be activated.
    So you mean I need to maintain the OM infotypes 1000, 1001, 1005, 1010, 1610 and 1641 (these are OM infotypes we need to track for changes) and all their fields in this message type view. How does the change pointer gets activated by maintaing this. Can you please brief me about this process.
    then I believe you should be able to design and create a program that checks these change pointers in a batch job and transfers data
    Can you pls brief me how this can be achieved through a custom program. May be u can share the Inputs from your technical teammate who has designed the program for you.
    I will also discuss with my functional counterpart about this solution.
    Thanks much.
    Rupesh

  • Need to track deleted records only in all infotypes

    Hi all,
    I want to track all the deleted records only from all infotypes. PCL4 stores all the changes records. But I want only the deleted records.
    Please suggest how to achieve it?

    hi,
         try this t.code PC00_M99_UDIR  for restore the payroll results directory
    RupaPrasad.

  • How to track chnages done to a work center in past

    Hi all,
    How to track chnages done to a work center in past.
    I have tried Cr10 t cdoe, when i input plant and kept all other fields blank,and still it is not generating any output.
    Am i missing anything,is ther any other tcose or table,pls guide
    Thnx
    HKR

    Hi,
    1) You have to activate Change document indicator in the Transaction OP40 for the Workcenter categories.
    2) And for what are all the fields you wanted to capture the changes, for those data elements you have to ensure that change document is activated in the data dictionary.
    These are the pre-requisite for getting change documnets for the work centers.
    Regards,
    R.Loganathan

  • Military LOA tracking on PA Infotypes

    I was wondering if anyone could recommend a PA Infotype to track U.S Military Leave of Absence on a non-payroll related infotype.  We want to be able to determine when an employee goes and returns from Military Leave.

    Couldn't we use Absences Infotype and configure a subtype as 'Military Leave' and track the same? I think it should work. Also, we could use IT 0081 'Military Service' in case we need to build a scenario.
    Regards
    Lincoln

Maybe you are looking for

  • Confused about multiple iTunes on same computer

    Hiya- I've read as much as I can on multiple iTunes/libraries/accounts and I'm even more confused. I have one drive partition with all my music which I use as my iTunes library. My wife and I each have our own Windows logins/accounts and access iTune

  • Issue for Creation of Project from Std Templete

    I have created a templete 2 templetes  like temp1 temp2 both are with same legth of projects & structure temp1 is working from all the aspects , with temp 2 while creation of new project with the help of templete, if i give the project definition as

  • How can I view and upload videos to shared photos streams on mac

    I use shared photo streams alot how can I view videos uploaded to a shared photo stream on my mac

  • Jagged Edges In Prints?

    Hi all, I seem to have a problem when printing via Lightroom 1.1 I'm using Windows Vista and an Epson R360. On the some prints I seem to get a jagged edge effect on higher contrast joining areas,e.g. open blinds against a window. This aliasing(?) is

  • Aperture Caption & Web Gallery

    hi everyone, I'm just beginning using the web galleries with Aperture. Personally, I beleive that the best text to be shown beside each pictures would be the Caption field but someone at Apple have decided otherwise that this should be the picture fi