Академический Документы
Профессиональный Документы
Культура Документы
Create an Organizational Structure Create a custom evaluation Path Write ABAP Code to fetch Organizational data
To Understand the concept well , Let us create very small organizational unit using simple mode.
Business case: Let the Organization RORG is the root organizational unit and ORGA , ORGBand ORGC are three reporting Org Units and each organization has 2 positions one manager-HR and one engineer-IT.
Select the organisational unit and press F7 and enter two org unit names and descriptions.
Step-3 Create postions Manager-HR and manager-IT under both orgnisatioanl units
Select the orgnisatioanl Unit (ORGA) and click on position button , create two position manager-HR and engineerIT. and repeat the same process for organisation ORGB also.
O 50000648 rorg
S 00000013 Incorporates S 00000014 Incorporates O 50000650 Is line supervisor of S 00000016 Incorporates S 00000017 Incorporates
Evaluation path give the idea to navigate the organisation structure and fetch the details.For exmaple our objective here is to fetch all the organisational units below an organisational unit.use trasnaction OOAW to create the same(V_T77AW).
EvalPath
ZSDN_O-O 10
Input
Import parameters
Value
PLVAR 01 OTYPE O OBJID 50000648 BEGDA 01.01.1900 ENDDA 31.12.9999 STATUS 1 WEGID ZSDN_O-O 77AW_INT AUTHY X DEPTH 0 CHECK_OBJECT PROGRESS_INDICATOR SVECT ACTIV X BUFFER_MODE
Return will be
PL OT OBJID REALO
BEGDA
ENDDA
I H SHORT
STEXT
SG O 50000648 01.01.2000 31.12.9999 1 rorg 50000648 SG O 50000649 01.01.2000 31.12.9999 1 orga SG O 50000650 01.01.2000 31.12.9999 1 orgb
We can write an ABAP program to call this function module and navigate complex structures. So this blog explains how evaluation path , organisational structure can be explored more using ABAP coding.