Fonction SAP BAPI_FUNCLOC_STRUC_REPLACE - Assign Superior Functional Location

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
FUNCTLOCATION BAPI_ITOB_PARMS-FUNCLOC_INT C 30 Functional Location
FUNCTLOCATION_SUPERIOR BAPI_ITOB_FL_ONLY-SUPFLOC C 30 Superior functional location
POSITION BAPI_ITOB_FL_ONLY-POSNR C 4 X Position in superior technical object
VALID_FROM_ISO BAPI_ITOB_PARMS_TIME-TIMESTAMP P 8 UTC Time Stamp in Short Form (YYYYMMDDhhmmss)

Paramètre Reférence Type Long. Description
DATA_GENERAL_EXP BAPI_ITOB u 815 PM: BAPI Structure for ITOBAPI_CREATE + READ Fields
DATA_SPECIFIC_EXP BAPI_ITOB_FL_ONLY u 72 PM: BAPI Structure for ITOBAPI_CREATE_FL_ONLY + READ Fields

Paramètre Reférence Long. Facultatif Description
RETURN BAPIRET2 548 Table with BAPI Return Information

Functionality
You can use this BAPI to assign a higher-level functional location to anew functional location.This replaces the existing assignment to a higher-level functionallocation.
You can use the VALID_FROM_ISO parameter for the measurement readingtransfer of a higher-level functional location. However, this parameterdoes not describe the installation/dismantling time of the higher-levelfunctional location. It contains a time stamp consisting of date andtime. This time stamp is used to determine an exact time when fillingthe parameter. As of this time, a measurement reading transfer from thehigher-level functional location takes place.
If the time defined by the time stamp of parameter VALID_FROM_ISO isbefore the start of the measurement reading transfer, thefollowing applies:

  • The assignment of the higher-level functional location is revoked after
  • the BAPI BAPI_FUNCLOC_STRUC_REPLACE is executed.
    • The measurement reading transfer is retained.

    • After each call of the BAPI, perform a COMMIT WORK AND WAIT, so that thechange is written to the database.

      Notes
      INCLUDE ITOB_BAPI_HINTS OBJECT DOKU ID TX

      Description
      INCLUDE ITOB_BAPI_DATA_GENERAL OBJECT DOKU ID TX

      Description
      INCLUDE ITOB_BAPI_DATA_SPECIFIC OBJECT DOKU ID TX

      Description
      External description of thefunctional location to bechanged.
      INCLUDE BAPI_DATAELEMENT

      Description
      The higher-level functional location at which another functionallocation was installed.

      Description
      Position occupied by the technical object at the higher-level functionallocation.

      Description
      Time stamp that specifies the time when the change of higher-levelfunctional location occurred.

      Description
      INCLUDE BAPI_RETURN OBJECT DOKU ID TX
      INCLUDE BAPI_DATAELEMENT OBJECT DOKU ID TX