2010 Jan 05 6:40 AM
Dear Friends,
We implemented change pointers to create an idoc for all HR master data changes. We able to get the changed values in
BDCP,BDCPS and also in the idoc.
But problem here is with change indicator (BDCP-CDCHGID). Even when i insert or delete a record (Ex: employee e-mail create or delete), I am getting this indicator as 'U'.
I have to get this this indicator as 'I' for insert, 'D' for delete. But here what ever i do i am getting it as 'U'.
Please help me if anybody know the solution.
Regards
Naveen
2010 Jan 05 2:40 PM
Dear Naveen,
Which message type have you used for triggering the IDOC.
Are you able to trigger the IDOC after making changes?
Regards
Sravan
2010 Jan 05 2:57 PM
Message type: HRMD_A, Idoc Type: HRMD_A07
We able to trigger the idoc by BD21 transaction and we are getting the changed values in that.
2024 Feb 19 4:04 PM
Hi, have a look into FM RH_INFTY_CHANGE_PROT_HRMD, there you can see that cdchgid is set to 'U' from a global variable $UPD_MODE, which has a default value 'U' set in its declaration (and also coming from VALUE(MODE) LIKE HRDBTAB-OPERA DEFAULT 'U' set as default in FM RH_OBJECT_IDOCSEG_CREATE (just to be very sure it becomes 'U' no matter what). I think it is an error.
Whereas in include UP50RU01 psoper-opera is still ok (in my case it is 'I'). Nobody seems to have raised an OSS since 2010 when this issue was known.