cancel
Showing results for 
Search instead for 
Did you mean: 

object type and id

Former Member
0 Kudos
104

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.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

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.

Former Member
0 Kudos

hi om,

please let me know which structure the function module rettreive

please give me some more information.

thanks

anuj

suresh_datti
Active Contributor
0 Kudos

RH_STRUC_GET will return the Org Structure depending on the Root Object & the Evaluation Path parameters.. for ex: you could pass an Org Unit & eval pathe O-S-P and get back all the subordinate Org Units--> Position & persons occupying the positions.

~Suresh

Former Member
0 Kudos

Hi,

It will return you the structure based on the Start object and based on your Evaluation Path, it displays the structure of your organization.

Good Luck.

Om.

Former Member
0 Kudos

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

suresh_datti
Active Contributor
0 Kudos

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

Former Member
0 Kudos

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.