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

Change indicator in change pointer

Former Member
0 Likes
1,743

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

3 REPLIES 3
Read only

Former Member
0 Likes
1,468

Dear Naveen,

Which message type have you used for triggering the IDOC.

Are you able to trigger the IDOC after making changes?

Regards

Sravan

Read only

0 Likes
1,468

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.

Read only

cimerman83
Product and Topic Expert
Product and Topic Expert
0 Likes
1,459

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.