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

Relationship impossible - Object does not exist or is not active error

Former Member
0 Likes
1,900

Hi

I'm trying to assign a role to a position with function BAPI_HRMASTER_SAVE_REPL_MULT

But I get the error:

"Relationship starting from 01S 50014600 impossible - 01AGR3_CUST1 does not exist/is not active".
The Role R3_CUST1 does exist and is active and valid from what I can see.

Not sure what this means or how to fix?

Here is my settings:

RFC Function = BAPI_HRMASTER_SAVE_REPL_MULT
Table = HR_OBJECT_HEADER
PLAN_VER = "01"
OBJ_TYPE = "S" (Position)
OBJ_ID = "50014600"
OPERATOR = "I"

Table = HR_INFOTYPE_HEADER
PLAN_VER = "01"
OBJ_TYPE = "S"
OBJ_ID = "50014600"
INFOTYPE = "1001"
SUBTYPE = "B007"
FROM_DATE = "20180901"
TO_DATE = "20180930"

Table = PD_OBJECT_RELATIONSHIPS
PLAN_VER = "01"
OBJ_TYPE = "S"
OBJ_ID = "50014600"
INFOTYPE = "1001"
SUBTYPE = "B007"
REL_OBJ_TY = "AG"
REL_OBJ_ID = "R3_CUST1"
FROM_DATE = "20180901"
TO_DATE = "20180930"
2 REPLIES 2
Read only

Colleen
Product and Topic Expert
Product and Topic Expert
0 Likes
1,200

have you looked in transaction PP01 at your position definition and validity to see what the status is?

Read only

Former Member
0 Likes
1,200

Thanks for the suggestion. I did open the Position now, and the validity dates are from today till end of time. In the Active tab, some InfoTypes are selected, but nothing in the Planned, Submitted, Approved nor Rejected tabs. Will that make a difference?