Ansicht
Dokumentation

HRIQ_ISR_STUDENT_CREATE - Create Student/Applicant

HRIQ_ISR_STUDENT_CREATE - Create Student/Applicant

CPI1466 during Backup   Vendor Master (General Section)  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This function module creates a new student (object ST) or assigns an existing student to an application (i.e. the student's object ID is stored in the XML document). It also creates a relationship between the created or assigned student and the application which contains the student data.

First, the function module reads the student data from the XML document of the application. Then it checks whether a student with the same ID number and/or date of birth, and the same or a similar name already exists in the system. If it finds similar or identical student data, a dialog box containing this data appears. You can either choose one of the displayed students or close the dialog box by choosing Cancel. If you choose a student, the function module assigns this student to the application and creates a relationship between the student and the application. If you do not choose a student, a new dialog box asking you whether you want to create a student appears. If you answer this prompt with Yes, the system creates a new student. It reads the following data from the XML document and stores it in the object student:

  • Personal data
  • Additional personal data
  • Challenge data
  • Residence data
  • Individual study data
  • E-mail data
  • Campus
  • Address(es)

When you create a student, a business partner is automatically created in the background for this student.

If an error occurs while attempting to create a student, any database changes are undone. The relevant error messages are displayed in a dialog box. You must correct the required application data before you create the student again. If this data is stored successfully, the student is assigned to the application and a relationship is created between the student and the application.

Example

Notes

This function module can be called (successfully) only once per application because a student can be created or assigned to an application only once. Therefore, the function module checks whether a student has already been assigned to the application right at the start of processing. If this is the case, the system immediately exits the function module and outputs an error message.

If the function module is executed successfully and an error occurs while attempting to create the relationship between the student and the application, the system outputs only an information message. This function module cannot be called again for the same application even if the function module was unable to create the relationship between the student and the application. This relationship must be then created manually.

Further information





Parameters

E_BUCH
E_QNQMAMA0
E_QNQMAQMEL0
E_QNQMASM0
I_CUSTOMIZING
I_FBCALL
I_MANUM
I_VIQMEL
TE_CONTAINER
TE_LINES
TI_IHPA
TI_IVIQMFE
TI_IVIQMMA
TI_IVIQMSM
TI_IVIQMUR

Exceptions

ACTION_STOPPED

Function Group

HRPIQ00ISR

ROGBILLS - Synchronize billing plans   ABAP Short Reference  
This documentation is copyright by SAP AG.

Length: 3511 Date: 20240523 Time: 110743     sap01-206 ( 94 ms )