cancel
Showing results for 
Search instead for 
Did you mean: 

Change History

Former Member
0 Kudos

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.

Accepted Solutions (0)

Answers (6)

Answers (6)

Former Member
0 Kudos

Thanks

Former Member
0 Kudos

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 ?

Former Member
0 Kudos

How do I use this function module ?

HR_INFOTYPE_LOG_GET_DETAIL

Input & Output parameters.....

Former Member
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

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 ???

Former Member
0 Kudos

it is stored in PCL4 cluster ID LA

you need to extract the data using macros

Former Member
0 Kudos

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