Skip to Content

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

address number from a organizational unit

Hello altogether!

We have the following problem in SRM 7:

We use the function RH_GET_ORG_ASSIGNMENT. The function returns the id from a organizational unit. Now we need the address number from the organizational unit. Exists is a function to returns the address number from a organizational unit?

Is the address number from the organizational unit contains in the table usr21?

Regards,

Florian

Tags:
Former Member
replied

Hi,

Try the following:

- Use FM RH_GET_ORG_ASSIGNMENT to get the OTYPE and OBJID of your organizational unit.

- go to table HRP1001 with: OTYPE OBJID and SCLAS = 'BP' to get the bussiness partner of your Org. unit.

- go to table BUT020 with the partner HRP1001-SOBID to get the address number.

- go to table ADRC with this addr. number.

Hope this help you.


Regards.

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