cancel
Showing results for 
Search instead for 
Did you mean: 

BAPIs or RFC to assign Users to Position in Org & Staffing

0 Kudos

Hi,

My requirement is to add users to Positions using an external program. I would like to know if there is any RFC or BAPI to achieve the following task. There were several non-rfc FM I have found which does the same task: RH_RELATION_MAINTAIN, RH_PNNNN_MAINTAIN, RH_RELATION_WRITE, RH_INSERT_INFTY_1001_EXT, RH_INSERT_INFTY etcc

Since these are Non-RFC, these are of no use. However, I have also found a BAPI called "BAPI_REL_CREATERELATION" but I am not sure how to use it to add relationship between Users ( type US) and Position( type S). I would be truly grateful if anyone could give an example of this BAPI.

Creating a custom RFC would be my last option. Hence if there's any standard then please let me know. Thanks.

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member226519
Active Contributor
0 Kudos

copy a non-RFC FM (better function group) to Z namespace and set flag RFC-enabled.

maybe you have to change some ex-/importing parameters to pass values instead of references