Ansicht
Dokumentation

HRIQ_STUDENT_ORG_DERIVE - Derivation of Student's Principal Org. Unit Using a BAdI

HRIQ_STUDENT_ORG_DERIVE - Derivation of Student's Principal Org. Unit Using a BAdI

CPI1466 during Backup   General Material Data  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This function module is used to derive a student's principal organizational unit. The system uses an implemented BAdi to derive this information. The system is only able to return one organizational unit and therefore derives the one which is valid on the specified start date. The system sets the end date to the last day of the derivation validity period and returns this date. If the system cannot find an organizational unit for the given start date, it returns an error to the message table. The system also checks whether a main study object exists for the student in the specified period. If one does, the end date is set to one day before the start date of the next main study object's validity period therefore ensuring that no organizational unit can be derived for the entire period.

The system derives the prinicipal organizational unit as follows:

  1. If you have implemented a BAdI, the system calls the relevant derivation method.
  2. If the system finds a principal organizational unit, it exits the function module.
  3. If not, it determines the student's main study object which is valid on the start date.
  4. It then derives the principal organizational unit for this study object using the function module HRIQ_STUDY_ORG_DERIVE.
  5. If you have implemented a BAdI, the system uses the default method for organizational unit derivation.

Example

Notes

Further information





Parameters

CV_ENDDA
ET_MESSAGE_RETURN
EV_ORG_OBJID
IV_BEGDA
IV_PLVAR
IV_STUDENT_OBJID

Exceptions

Function Group

HRPIQ00STUDENT_ORG_CAMPUS

Fill RESBD Structure from EBP Component Structure   ROGBILLS - Synchronize billing plans  
This documentation is copyright by SAP AG.

Length: 1838 Date: 20240523 Time: 101225     sap01-206 ( 47 ms )