Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Programmatically create a relationship between two positions in HR


I have a requirement to create relationships in HRP1001 between two given positions with a start and end date.

I need to write an upload program to do this but want to avoid Batch Input if possible.

Are there any relevant function modules that can do what transaction PP01 does?

Many Thanks


Former Member
Former Member replied


I think there is no FM for performing validations....u can just test whether an position exist or FM RH_SELECT_OBJECTS_FOR_OTYPE...through which u can test existence of an object.....there is no FM for testing relationship....

As i said before...all the validations can be done before getting into that FM....RH_RELATION_MAINTAIN....

RH_RELATION_MAINTAIN internally performs an BDC of t-code 'PP01' proceesing mode 'A'(display of screens)...hence u can change while executing it.....



0 View this answer in context

Helpful Answer

Not what you were looking for? View more on this topic or Ask a question