Fonction SAP BAPI_STUDENT_IDENTIFIC_ADD - Method: Add Student Identification Data

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
IDENTIFICATION BAPISTUDENT_IDENTIFICATION u 69 Identification Data of Student
IDENTIFICATIONNUMBER BAPISTUDENT_IDENTIFICAT_KEY-IDENTIFICATIONNUMBER C 20 Visa or Registration Number
IDENTIFICATIONTYPE BAPISTUDENT_IDENTIFICAT_KEY-IDENTIFICATIONTYPE C 4 Visa or Registration Type
OBJECTID BAPISTUDENT_HEAD-OBJID N 8 Object ID of Student
PLANVERSION BAPISTUDENT_HEAD-PLVAR C 2 X Plan Version
TESTRUN TESTRUN C 1 ' ' X Switch to Simulation Mode for Write BAPIs

Paramètre Reférence Long. Facultatif Description
RETURN BAPIRET2 548 Return Messages

Functionality
This method creates new identification data for a student.
In this context, identification data refers to visa data or residencepermit data. The keys of a visa or registration are the visa orregistration number and the visa or registration type. Only one datarecord may exist for a student for each visa or registration number andvisa or registration type.

Notes

Required Entries
At least the following parameters must be transferred to the method toensure a correct method call:

  • OBJECTID: Object ID of the student

  • IDENTIFICATIONSTYPE: Type of visa or registration

  • IDENTIFICATIONSNUMBER: Number of visa or registration

  • IDENTIFICATION-FROM_DATE: Validity start date of the visa

  • IDENTIFICATION-END_DATE: Validity end date of the visa
  • Authorizations
    Authorization object PLOG (Personnel Planning) with the followingfields:

    • Infotype (value 1712)

    • Object type (value ST)

    • Status (ISTAT value 1)
    • Return Messages of the Method
      Return messages from the method call are collected in the parameterRETURN. For more information, see the parameter documentation.

      Data Update
      INCLUDE PIQBAPI_UPDATETASK

      Method Simulation
      You can simulate the functions of this method. For more information,see the documentation of the parameter TESTRUN.

      Description
      This parameter contains the identification data.
      INCLUDE BAPI_DATAELEMENT

      Default

      Description
      This field contains the number of the visa or registration.
      INCLUDE BAPI_DATAELEMENT

      Description
      This field contains the type of visa or registration.
      INCLUDE BAPI_DATAELEMENT

      Description
      INCLUDE BAPI_KEYFIELD

      Description
      INCLUDE BAPI_KEYFIELD

      Description
      With this parameter, you can control simulation of the method.
      In the test mode, the system checks if the student already has a datarecord with the specified visa or registration type and visa orregistration number.

      Value range

      • 'X' = Call the method in the simulation mode

      • ' ' = Call the method in the update mode
      • Default
        The default setting is update mode.

        Description
        INCLUDE BAPI_TABLE
        INCLUDE BAPI_DATAELEMENT

        Value range
        The method returns the following messages, among others:
        Message,,Message text
        i325(HRPIQ00ST),,*** Test Mode: &1 &2 &3 ***
        s012(BAPI),,A subobject has been added to instance
        ,, &2 &3 of object type &1
        e013(BAPI),,No subobject has been added to instance
        ,, &2 &3 of object type &1