Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

tracking infotype chnages

Former Member
0 Likes
661

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
615

Hi,

Refer to this link..[Tracking infotype changes |]

3 REPLIES 3
Read only

Former Member
0 Likes
616

Hi,

Refer to this link..[Tracking infotype changes |]

Read only

0 Likes
615

Thanks for your reply. I already read this link. But by this FM we could not OPERA field.

That is why I could not use this FM.

Thanks

Read only

0 Likes
615

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.