Fonction SAP BAPI_FUNCLOC_STRUC_UNASSIGN - Revoke Assignment to 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
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 revoke the assignment of a higher-level functional location to afunctional location.
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 isafter the start of the measurement reading transfer, the assignedmeasurement reading transfer is revoked.
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_UNASSIGN is executed.
    • The measurement reading transfer is retained.

    • The data origin for all fields that previously received values from thehigher-level functional location is reset to individual input.
      After each call of the BAPI, perform a COMMIT WORK AND WAIT, so that thechange is written to the database.
      INCLUDE 'ITOB_BAPI_HINTS' OBJECT DOKU ID TX LANGUAGE E

      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
      Time stamp that specifies the time when the assignment to thehigher-level functional location was revoked.

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