Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

hr select with unknown end for organizations.

Former Member
0 Kudos

hi,

I want to relation between organizations for doing rfc. that means, otype = 'O' objid ='54545' rsign = 'B' (is rsign important? i think not) and sclas = 'O' in hrp1001 table. for example.

objid ='54545'. sobid = '66666'

objid ='54545' sobid = '44444'

objid ='54545' sobid = '55555'

after that again select for sobid.

objid = '66666' sobid = '9999'.

again objid = '9999' sobid = '111'. and so on. until sy-subrc ne 0.

RFC like a tree for organizational structure.

A

/ \

B E

/ \ \

C D L

/

M

how i can select or/and fill itab. please help me.

note: sorry for my english.

1 REPLY 1

Former Member
0 Kudos

sorry for busy to you. I have been resolved my problem with fm RHPH_STRUCTURE_READ

. this is automatically doing my wish.