cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

SAP HCM OM HRMD_A idoc not updating Relationships in the target system

AA06
Discoverer
0 Likes
147

Hi All,

Any idea about the below issue....

SAP HCM OM.

we have Positions reporting structure as A<-B<-C<-D in system X. D is changed to report to A instead of C. This change has to interface through Idoc from SAP System X to SAP system Z. 

X system and Z system had the same configuration and reporting structure before this relationship change. 

The normal HRMD_A Message type and HRMD_A09 Idoc type interface is creating Idoc in X system and sending to Z system. In Z system Idoc is processed with 53 status.but in System Z its not updating the relationship change from D->A.

Debugged the FM IDOC_INPUT_HRMD for the inbound Idoc in Z System and the reason is an entry for 002 is missing in the below path IMG->Personal Management ->Organizational Management -> Basic Settings->Data Model Enhancement->Relationship Maintenance -> Maintain Relationships->Additional Data on Relationships. Table T77AR. Is this correct ?

When Checked in the table T77AR, SAP has not provided any entry for the 002 relationship. Sending OM data through HRMD_A Idoc should be already running in sevaral clients. Why SAP has not maintained an entry in this T77AR table ? 

Is the reason of entry missing in T77AR is correct or any other issue is preventing the relationship update in system Z ?

Accepted Solutions (1)

Accepted Solutions (1)

AA06
Discoverer
0 Likes

I found the reason why its happening. 

Systems X is a HCM carved out system from Z system. Bot the X and Z systems had the same configuration and OM master data. 

HRP1001 table field REASN is blank for all the entries in both the X and Z system. 

For all the Changes/Updates in X, when the HRMD_A is sent to Z system.  In the Z system  for all the HRP1001 entries field REASN is blank... System is treating these relationships as LOCAL in Z system and external changes from X system are ignored.  

Previously I executed PFAL in update mode in X system and the HRMD_A Idoc did not update anything in Z system because of the REASN field being blank. 

Now I have executed PFAL in Insert mode and it worked. Now the HRP1001 table entries for the Position is udpated with AL.

I reverted the changes done in X system. Change Pointers triggered an Idoc to Z system. This time HRMD_A idoc updated the relationships in the Z system through the Change Pointer triggered HRMD_A Idoc as well. 

Answers (0)