Skip to Content

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

Programmatically create a relationship between two positions in HR

Hi,

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

David

Tags:
Former Member
Former Member replied

David,

I think there is no FM for performing validations....u can just test whether an position exist or not...in 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'...in proceesing mode 'A'(display of screens)...hence u can change while executing it.....

Regards,

Thyagu.N

0 View this answer in context

Helpful Answer

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