2007 Sep 26 12:51 PM
Hi experts,
I'm developing a report in which i need to take all the sub organization units for the given org unit. I have used the FM 'RH_STRUC_GET' to get the sub org unit. But it returns 3 output tables. i dont know which table will contain the sub org units. pls help me with the coding.
Regards,
Shanthi.
Hi experts,
I'm developing a report in which i need to take all the sub organization units for the given org unit. I have used the FM 'RH_STRUC_GET' to get the sub org unit. But it returns 3 output tables. i dont know which table will contain the sub org units. pls help me with the coding.
Regards,
Shanthi.
2007 Sep 26 7:19 PM
We have a case where we need to determine all suborgs that belongs to a certain org:
CALL FUNCTION 'RH_STRUC_GET'
EXPORTING
act_otype = 'O'
act_objid = lv_parent_org_objid
act_wegid = lv_wegid
act_begda = lv_effective_date
act_endda = lv_effective_date
act_tdepth = 1
act_tflag = ''
act_vflag = ''
authority_check = 'X'
TABLES
result_tab = lt_result_tab
EXCEPTIONS
no_plvar_found = 1
no_entry_found = 2
OTHERS = 3.
lt_result tab will contain all suborgs belonging to the parent org you passed in.
We have a dynamic evaluation path determination, but in this case it should be the following sequence in your evaluation path:
No Obj. Type A/B Rel'ship Relationship Name Prio Rel.obj.type Skip
10 O B 002 Is line supervisor of * O
Transaction OOAW to maintain evaluation paths.
Hope that helps,
Michael
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |