Skip to Content

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

hr select with unknown end for organizations.

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.

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