2009 Mar 27 12:07 AM
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
2009 Mar 27 3:03 PM
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
2009 Mar 27 3:03 PM
2009 Mar 27 3:10 PM
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
2009 Mar 27 3:54 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.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |