Organization structure in SAP HR


Organization structure in SAP HR

Structural profiles use the data model in an organization for Personnel Management components Organizational Management, Personnel Development and Training and Event Management to build hierarchies using objects and relationships. Different types of objects (Object Types) and different types of relationships are used in this process.



  • Objects (such as O (Organizational Unit), S (Position), P (Person)) ,R Resource type,T Task etc .
  • Relationships (such as A003 (belongs to) bottom up or B003 (belongs to) top down )

  • Evaluation Paths (such as O-S-P Staffing Assignments along Organizational Structure)
Example:Go to se11 àHRP1001 give object type = S (position ),Object id (found in PPOSE)
The above we can see in PPOSE tcode (Organization and staffing display) and PPOSA (attribute in organization management display)

PPOSE

Example:
Here we will get the employee belongs to which org unit or dept (based on the org unit structure)
·         Get the employee Id based on the sap user ID
    SELECT SINGLE pernr FROM pa0105
      
INTO l_pernr WHERE subty EQ '0001'  "Get Personal no. of emp
         
AND  endda GE sy-datum
         
AND  begda LE sy-datum
         
AND  usrid EQ sy-uname.

·         Pass l_pernr from the above into the FM
      CALL FUNCTION 'HR_READ_INFOTYPE'
       
EXPORTING
        pernr                 
= l_pernr
        infty                 
'0001'
        begda                 
sy-datum
        endda                 
sy-datum
      
TABLES
        infty_tab             
it_p0001[]
     
EXCEPTIONS
       infty_not_found       
1
       
OTHERS                2
Now read it_p0001 table to the get the org unit orgeh
(Org unit can be anything department, group it depend the organization structure How a organization structure is managed)

·         Now if we like to the above departments use FM RH_STRUC_GET
CALL FUNCTION 'RH_STRUC_GET'
        
EXPORTING
          act_otype      
'O' “Org Unit
          act_objid      
= orgeh “Org unit object id
          act_wegid      
'O-O' “Evaluation path (Org to Org)
          act_plvar      
'01' “Plan version 01 = current version
          act_begda      
sy-datum
          act_endda      
sy-datum
        
TABLES
          result_tab     
it_org[]     
        
EXCEPTIONS
          no_plvar_found 
1
          no_entry_found 
2
          
OTHERS         3.

free plagiarism checker

free plagiarism checker


6 comments:

  1. Nice blog, Given simple and useful instruction.SAP HR Training in Hyderabad

    ReplyDelete
  2. Looking for the best SAP HR Training in Bangalore, then don't delay join IntelliMindz SAP HR Training in Bangalore. Join our SAP HR training to get hands-on training and practice in SAP HR Software. Any Queries call @ 9655877677. IntelliMindz is the best IT Training Institute in Bangalore with placement, offering 200 and more software courses with 100% Placement Assistance.
    SAP HR Course in Bangalore
    SAP HR Course in Chennai
    SAP HR Online Course

    ReplyDelete
  3. Invest in your SAP HR career and choose APTRON Solutions as your training partner. Our ERP SAP HR Training Institute in Noida is dedicated to your success, providing the knowledge and skills needed to excel in the competitive job market. Don't miss this opportunity to learn from the best and launch a promising career in SAP HR.

    ReplyDelete
  4. The SAP HCM Institute in Noida, situated at ERP NOIDA, is your gateway to a successful career in SAP Human Capital Management. With expert trainers, a comprehensive curriculum, hands-on training, and industry recognition, it's the ideal place to acquire the skills and knowledge needed to excel in this dynamic field. Don't miss this opportunity to unlock your HR potential – enroll today and take the first step towards a rewarding career.

    ReplyDelete
  5. Are you seeking a top-notch ERP SAP HR Training Institute in Noida ? Look no further than APTRON Solutions, a leading institute known for its excellence in providing comprehensive SAP HR training programs. With a commitment to quality education and a proven track record of success, APTRON stands as the preferred choice for individuals aspiring to master SAP HR.

    ReplyDelete

/*Newer Post*/ Older Post Home