Skip to Content
avatar image
Former Member

Change History

In HR where is the change History maintained ?

For exa :

For a Particular Employee(PERNR) if some changes as made in PA30 for Infotype: 0001, for Personnel SubArea from 0701 to 0702.

Then where can I see the changes (i.e) the old value (0701).

And also the action type if the value has been Changed,Inserted or Deleted.

Please give me detailed asn (i.e) table name and the relation

Thanks in advance.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

6 Answers

  • avatar image
    Former Member
    Oct 20, 2008 at 05:52 AM

    Ravindar

    Infotype change logs can be viewed via the following SAP menu path.

    Human Resources > Information System > Personnel Management > Administration > Documents > Infotype Change

    You can access this via the TCode S_AHR_61016380 also.

    ~Ranjith

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 20, 2008 at 06:38 AM

    Ya I know that transaction but the output of that program donot have required data.

    I have to enhance the functionality of that program.

    (i.e) the before and after value. I need to know where does the old value get stored ???

    Table name & relations ???

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 20, 2008 at 07:06 AM

    I am new to ABAP-HR can you please tell me the macros names.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi there are no standard macros available for this. Use Import Export statements for importing data from PCL4

      eg.

      DATA BEGIN OF BELEGE OCCURS 100.

      INCLUDE STRUCTURE PC404.

      DATA END OF BELEGE.

      DATA BEGIN OF VERSION.

      INCLUDE STRUCTURE PC402.

      DATA END OF VERSION.

      DATA BEGIN OF LO-KEY.

      INCLUDE STRUCTURE PC400.

      DATA END OF LO-KEY.

      DATA: BEGIN OF LO_HEADER OCCURS 5.

      INCLUDE STRUCTURE HEADER.

      DATA: END OF LO_HEADER.

      DATA: BEGIN OF LO_BELEGE OCCURS 100.

      INCLUDE STRUCTURE BELEGE.

      DATA: END OF LO_BELEGE.

      IMPORT VERSION LO_HEADER LO_BELEGE

      FROM DATABASE PCL4(LA)

      ID LO-KEY.

      Also refer FM HR_INFOTYPE_LOG_GET_DETAIL

      rgds...Sameer

  • avatar image
    Former Member
    Oct 21, 2008 at 05:26 AM

    How do I use this function module ?

    HR_INFOTYPE_LOG_GET_DETAIL

    Input & Output parameters.....

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi,

      pass the key(RELID+SRTFD fields of PCL4 comprise of key) as input and it would give old and new values of the indiavidual fields changed.

      It is not a straiightfwd FM. You need to program the o/p table of this FM to get desired results.

      rgds...Sameer

  • avatar image
    Former Member
    Oct 21, 2008 at 06:44 AM

    Can you please show me a sample code for it.

    It would great.

    My PLC4 has RELID : LA

    & SRTFD : A010000250001200810210059530001

    FM has Import parameters :

    LOGGED_INFOTYPE

    AUTH_CHECK

    USE_ARCHIVE

    Export parameters :

    INFTY_TAB_BEFORE

    INFTY_TAB_AFTER

    FIELDS

    Now where do I pass what ?

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jan 20, 2011 at 06:51 AM

    Thanks

    Add comment
    10|10000 characters needed characters exceeded