Fonction SAP BAPI_FUNCLOC_STRUC_ASSIGN - 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 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.
This BAPI does not change the data origin of the fields. This meansthat, after assigning a higher-level functional location, no fields aretransferred to the functional location. If you want to transfer thefields of the higher-level functional location to the functionallocation, use BAPI BAPI_FUNCLOC_INHERIT_CHANGE.
After each call of the BAPI, perform a COMMIT WORK AND WAIT, so that theassignment 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 functional location at which another functional location wasinstalled.

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

Description
Time stamp that specifies the time when the assignment of thehigher-level functional location occurred.

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