Ansicht
Dokumentation
HRIQ_STUDENT_MODREG_PROGS_GET - Get Programs for Module Booking
General Material Data BAL_S_LOG - Application Log: Log header dataThis documentation is copyright by SAP AG.
Functionality
Function module HRIQ_STUDENT_MODREG_PROGS_GET determines for a student (import parameter IS_STUDENT) all the programs that are relevant for the module booking on a given key date (IV_KEYDATE).
Example
You want to determine the programs that a student can choose from in the current module booking (see Hints below). To determine these programs, you must specify the relevant object in import parameter IS_STUDENT.
The function module returns the following information for the relevant programs in table ET_PROGRAM_INFO:
- Object ID of study object (CS_OBJID)
- Object ID of program object (SC_OBJID)
- Description (long text) of the program (SC_STEXT)
- Program type (PROGC_VAR)
- Description of the program type (PROGC_VART).
Table ET_SEGMENT contains all relevant information on study segments. (For detailed information, see the ABAP Dictionary object for the structure PIQSTUDYSEGMENT).
Table ET_ADMISSION contains information on the program admissions. Table ET_REGISTRATION contains information on program (re-)registrations.
The object ID of the student's main program can be used as export parameter EV_LEADING_PROGRAM.
Notes
The function module only evaluates information from the admission, registration, and re-registration activities. It does not take into account any restrictions such as active holds, active statuses, assigned booking periods, etc. For these checks you can use function module HRIQ_MODREG_CHECK_CP.
How the function module determines the programs which are relevant for the module booking depends on the defined module booking environment.
The module booking environment is defined in Customizing for Student Lifecycle Management under Processes in Student Lifecycle Management -> Module Booking -> Define Module Booking Environment. There are three environment values:
- If you set the value SC (program), the function module determines the programs that have an active (re-)registration.
- If you set the value PT (program type), the function module determines the programs that either have an open study segment or an admission.
- If you set the value XX (program and program type), the function module determines the programs that either have an active (re-)registration, open study segment, or admission.
Further information
Parameters
ET_ADMISSIONET_PROGRAM_INFO
ET_REGISTRATION
ET_SEGMENT
ET_STUDIES
EV_LEADING_PROGRAM
IS_STUDENT
IV_KEYDATE
IV_PERID
IV_PERYR
Exceptions
MISSING_OBJECTNO_DATA_FOUND
PLVAR_NOT_FOUND
Function Group
HRPIQ00STUDYBAL Application Log Documentation General Material Data
This documentation is copyright by SAP AG.
Length: 3671 Date: 20240523 Time: 101930 sap01-206 ( 57 ms )