Fonction SAP BAPI_EQUI_CREATE - PM BAPI: Create Equipment

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
DATA_FLEET BAPI_FLEET u 424 X Vehicle-Specific Data
DATA_GENERAL BAPI_ITOB u 815 General Data for Technical Objects
DATA_INSTALL BAPI_ITOB_EQ_INSTALL u 62 X Installation Date for Equipment
DATA_SPECIFIC BAPI_ITOB_EQ_ONLY u 674 Equipment-Specific data
EXTERNAL_NUMBER BAPI_ITOB_PARMS-EQUIPMENT C 18 X Number of Equipment to be Created (Initial => Internal Assignment)
VALID_DATE BAPI_ITOB_PARMS-INST_DATE D 8 SY-DATUM X Valid-From Date for Equipment to be Created

Paramètre Reférence Type Long. Description
DATA_FLEET_EXP BAPI_FLEET u 424 Vehicle-Specific Data
DATA_GENERAL_EXP BAPI_ITOB u 815 General Data for Technical Objects
DATA_SPECIFIC_EXP BAPI_ITOB_EQ_ONLY u 674 Equipment-Specific data
EQUIPMENT BAPI_ITOB_PARMS-EQUIPMENT C 18 Number of Equipment Created
RETURN BAPIRET2 u 548 Return Parameter

Functionality
This module is used for creating a new piece of equipment.
INCLUDE 'ITOB_BAPI_HINTS' OBJECT DOKU ID TX LANGUAGE E
Special notes on the module BAPI_EQUI_CREATE:

  • You can define external number assignment by setting the parameter
  • EXTERNAL_NUMBER.
    • The valid-from date for the piece of equipment to be created can be
    • determined using the parameter VALID_DATE.
      • The parameter DATA_INSTALL can be used to install the piece of equipment
      • to be created in a functional location or a superior piece of equipment.
        • The parameter DATA_FLEET can be used to enter vehicle-specific data.
        • This data is returned to the caller via the parameter DATA_FLEET_EXP.

          Description
          Output structure of vehicle-specific data.
          INCLUDE BAPI_ITOB OBJECT DOKU ID TX
          INCLUDE 'ITOB_BAPI_DATA_GENERAL_EXP' OBJECT DOKU ID TX LANGUAGE EN

          Default
          INCLUDE 'ITOB_BAPI_DATA_SPECIFIC_EXP' OBJECT DOKU ID TX LANGUAGE EN

          Default

          Description
          Number of the piece of equipment created. In the case of externalnumber assignment, the number should have the value of the importparameter EXTERNAL_NUMBER, while in the case of internal numberassignment, the system assigns the internal number range according tothe equipment category.
          INCLUDE 'BAPI_RETURN' OBJECT DOKU ID TX LANGUAGE EN

          Default

          Description
          This structure contains vehicle-specific data that can be created via aBAPI call.
          INCLUDE BAPI_ITOB OBJECT DOKU ID TX
          INCLUDE 'ITOB_BAPI_DATA_GENERAL' OBJECT DOKU ID TX LANGUAGE EN

          Default

          Description
          The equipment to be created can be installed at a functional locationor in a superior equipment using this structure.
          INCLUDE 'ITOB_BAPI_DATA_SPECIFIC' OBJECT DOKU ID TX LANGUAGE EN

          Default

          Description
          Number of the equipment to be created (for external number assignment).

          Description
          You can use this parameter to determine the valid-from date for thepiece of equipment to be created.

622497Equipment: Authorization check for installation via BAPI
619145Technical object: Conversion of create BAPIs to SAVE APIs
489696Technical object: Authorization checks in new 4.6C BAPIs