cancel
Showing results for 
Search instead for 
Did you mean: 

address number from a organizational unit

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

RicardoRomero_1
Active Contributor
0 Kudos

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.

Former Member
0 Kudos

Hi Ricardo,

you have solved a part of my problem. Many thanks!

Regards,

Florian

Answers (0)