Fonction SAP BAPI_STUDENT_IDENTIFIC_CHANGE - Method: Change Identification Data of Student

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
IDENTIFICATIONX BAPISTUDENT_IDENTIFICATIONX u 6 Identification Data of Student(Change Structure)
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 changes the identification data of 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. The visa type and visa number cannot bechanged.

Notes

Method Call
At least one value must be transferred to the parameter OBJECTID toensure a correct method call.

Selecting Changes
INCLUDE PIQBAPI_CHANGECONCEPT

Authorizations
Authorization object PLOG (Personnel Planning) with the followingfields:

  • Infotype (value 1712)

  • Object type (value ST)

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

    Data Update
    INCLUDE PIQBAPI_UPDATETASK

    Description
    This structure contains the identification data of the student.
    INCLUDE BAPI_DATAELEMENT

    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
    Change toolbar for selecting the fields which are to be changed by themethod call.

    Description
    INCLUDE BAPI_KEYFIELD

    Description
    INCLUDE BAPI_KEYFIELD

    Description
    You can use this parameter to control method simulation.
    In the test mode, the system checks if the student already has a datarecord with the specified visa or registration type and/or visa orregistration number. Then it checks the new, changed data record.

    Value range
    Value 'X' = Call method in the simulation mode
    Value ' ' = Call 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 ***
    s002(BAPI),,Instance &2 &3 of object type &1 has been changed
    e003(BAPI),,Instance &2 &3 of object type &1
    ,, could not be changed