on 06-07-2007 10:03 AM
hi gurus,
need ur help!!
according to what i read i came to know that
object type is used for the representation of OBJECTS that is used to identify the objects.
An object type lets you classify objects according to features and types of information and arrange them in categories.
cud any1 plz give me any example of object.
i know thw object type are
job
position etc
and one more thing
what does the f.m RH_STRUCT_GET do
THANKS AND REGRADS
anuj.
Hi,
Ther are lot of Objects. For Organizational mngt, we are using building blocks like
O - Org Unit
C - Job
S - Position
P - Person
K - Cost Center
Apart from this:
Work center, User, Business Event, type, Qualification, Development plan, Career, Appraisal catalog.
This FM is used to retrive the structure.
Good Luck.
Om.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi suresh,
cud u plz give me a exples.
CALL FUNCTION 'RH_STRUC_GET'
EXPORTING
ACT_OTYPE = 'O'
ACT_OBJID = iv_user
ACT_WEGID = ''
TABLES
RESULT_TAB = lt_orgeh
EXCEPTIONS
NO_PLVAR_FOUND = 1
NO_ENTRY_FOUND = 2
OTHERS = 3
.
IF SY-SUBRC = 0.
what this will do????
thanks
anuj.
Message was edited by:
anuj anuj
you have to specify an evaluation path ie WEGID for ex:
CALL FUNCTION 'RH_STRUC_GET'
EXPORTING
ACT_OTYPE = 'O'
ACT_OBJID = '01002805'
ACT_WEGID = 'B002'
ACT_BEGDA = SY-DATUM
ACT_ENDDA = SY-DATUM
TABLES
RESULT_TAB = lt_orgeh
EXCEPTIONS
NO_PLVAR_FOUND = 1
NO_ENTRY_FOUND = 2
OTHERS = 3.
IF SY-SUBRC = 0.
* The itablt_orgeh will hold all the subordinate org units
* under '01002805' as on the system date
*
ENDIF.
the key for drilling down or climbing up an Org Structure is the Eval Path(WEGID)
~Suresh
Dear Anuj,
Which version are you working?
I could not find 'RH_STRUCT_GET' but there is a FM 'RH_GET_STRUCTURE' which is used for Organisation Management Roles.
Hope this will help.
Regards,
Naveen.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
102 | |
12 | |
11 | |
6 | |
5 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.