‎2018 Aug 22 1:37 PM
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"
‎2018 Aug 22 11:12 PM
have you looked in transaction PP01 at your position definition and validity to see what the status is?
‎2018 Aug 23 7:14 AM
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?