Fonction SAP BAPIINTCONTROLSIMULATECREATION - Simulation: Create internal control

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
BUILDINGNUMBER BAPIP0032-GEBNR C 6 X Building number
EMPLOYEENUMBER BAPIP0032-PERNR N 8 Personnel number
INHOUSETELNO1 BAPIP0032-TEL01 C 5 X In-house telephone number
INHOUSETELNO2 BAPIP0032-TEL02 C 5 X In-house telephone number
LICENSEPLATENO BAPIP0032-KFZKZ C 20 X License Plate Number
NOCOMMIT BAPI_STAND-NO_COMMIT C 1 X COMMIT control at BAPI interface
ROOMNUMBER BAPIP0032-ZIMNR C 6 X Room number
VALIDITYBEGIN BAPIP0032-BEGDA D 8 Valid from date
VALIDITYEND BAPIP0032-ENDDA D 8 Valid To Date

Paramètre Reférence Type Long. Description
EMPLOYEENUMBER BAPIP0032-PERNR N 8 Personnel number
LOCKINDICATOR BAPIP0032-SPRPS C 1 Lock indicator for HR master record
OBJECTID BAPIP0032-OBJPS C 2 Object identification
RECORDNUMBER BAPIP0032-SEQNR N 3 Number of Infotype Record
RETURN BAPIRETURN1 u 470 Structure for return code
SUBTYPE BAPIP0032-SUBTY C 4 Subtype
VALIDITYBEGIN BAPIP0032-BEGDA D 8 Valid from date
VALIDITYEND BAPIP0032-ENDDA D 8 Valid To Date

Functionality
You can use this method to simulate creation of an InternalControlrecord (0032).
During the simulation all necessary consistency checks are performed,but the record is not written to the database.

Notes
Messages are transferred to the RETURN parameter. The relevantparameter documentation contains the return values and their meanings.
The key fields used by the method are described in the parameterdocumentation.

Description
For information on the personnel number, read the relevant data elementdocumentation: Personnel number.

Description
For information on the lock indicator for the HR master record, readthe relevant data element documentation: Lock indicatorfor HR master record.

Description
For information on the object identification, read the relevant dataelement documentation: Object identification.

Description
For information on the infotype record number for the same key, readthe relevant data element documentation: Number ofinfotype record for same key.

Description
Method return code

Value range
In case of an error, this structure contains the following information:

  • Message type (TYPE field)

  • Message code (CODE field)

  • Message text (MESSAGE field)

  • If the operation is successful, this structure contains the initialvalue.

    Description
    For information on the subtype, read the relevant data elementdocumentation: Subtype.

    Description
    For information on the building number, read the relevant data elementdocumentation: Building number.

    Description
    For information on the personnel number, read the relevant data elementdocumentation: Personnel number.

    Description
    For information on the in-house telephone number, read the relevantdata element documentation: In-house telephone number.

    Description
    For information on the in-house telephone number, read the relevantdata element documentation: In-house telephone number.

    Description
    For information on the license plate number, read the relevant dataelement documentation: License plate number.

    Description
    For information on COMMIT control, read the relevant data elementdocumentation: COMMIT control at BAPI interface.

    Description
    For information on the room number, read the relevant data elementdocumentation: Room number.