10-15-2007 1:58 PM
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.
10-16-2007 9:56 AM
sorry for busy to you. I have been resolved my problem with fm RHPH_STRUCTURE_READ
. this is automatically doing my wish.