Sapass

 Simplify SAP R/3 development with Excel VBA/VB RFC  
Home> Bapi>FunctionalLocation



Index

FunctionalLocation

FunctionalLocation


The business object Functional location is an organizational
unit within Logistics that structures the maintenance objects of a
company according to functional, process-oriented or spatial criteria.


A functional location represents the place at which a maintenance task is to be performed.

Structure

Functional locations are structured hierarchically to represent the structure of the system to be maintained.


Functional locations of different hierarchies can be linked to one
another. In this way, you can represent the global network structure of
a technical system, the links between different technical systems and the dependencies between individual functional locations.


11-Dec-2005


Methods

Available Methods


  • Change : Change Functional Location [ BAPI_FUNCLOC_CHANGE ]
  • Create : Create Functional Location [ BAPI_FUNCLOC_CREATE ]
  • GetDetail : Read Functional Location [ BAPI_FUNCLOC_GETDETAIL ]
  • GetList : Selection of Functional Locations (with Internal Key) [ BAPI_FUNCLOC_GETLIST ]

11-Dec-2005


Change

Change


This BAPI enables you to change the master data of an individual functional location.

Notes

General notes in BAPIs for processing individual technical objects:

  • A BAPI for creating or changing master data receives these notes using
    the parameter DATA_GENERAL (structure: BAPI_ITOB). Object-specific data is processed using the parameter DATA_SPECIFIC:
  • Functional locations: DATA_SPECIFIC (structure: BAPI_ITOB_FL_ONLY)
  • Equipment: DATA_SPECIFIC (structure: BAPI_ITOB_EQ_ONLY)

  • Each BAPI returns the processed data to the caller in the parameterDATA_GENERAL_EXP (structure: BAPI_ITOB) independently of the activityto be performed (Create/Change/Read). Object-specific data is returned to the caller using the parameter DATA_SPECIFIC_EXP:

  • Functional locations: DATA_SPECIFIC_EXP (structure: BAPI_ITOB_FL_ONLY)
  • Equipment: DATA_SPECIFIC_EXP (structure: BAPI_ITOB_EQ_ONLY)
  • The system returns any error messages in the parameter RETURN.

  • In Customizing (field selection) for master data dialogs, entries defined as mandatory are generally not checked by the BAPIs.

  • 11-Dec-2005


    Create

    Create


    This BAPI enables you to create an individual functional location.

    Individual functions:

  • Functional location category check.
  • Structure indicator check.
  • Locking of labeling with simultaneous warning (ENQUEUE).

  • Database check if the labeling is already being used.
  • Creation of the functional location in general status management.
  • Notes

    General notes in BAPIs for processing individual technical objects:

  • A BAPI for creating or changing master data receives these notes using
    the parameter DATA_GENERAL (structure: BAPI_ITOB). Object-specific data is processed using the parameter DATA_SPECIFIC:
  • Functional locations: DATA_SPECIFIC (structure: BAPI_ITOB_FL_ONLY)
  • Equipment: DATA_SPECIFIC (structure: BAPI_ITOB_EQ_ONLY)

  • Each BAPI returns the processed data to the caller in the parameterDATA_GENERAL_EXP (structure: BAPI_ITOB) independently of the activityto be performed (Create/Change/Read). Object-specific data is returned to the caller using the parameter DATA_SPECIFIC_EXP:

  • Functional locations: DATA_SPECIFIC_EXP (structure: BAPI_ITOB_FL_ONLY)
  • Equipment: DATA_SPECIFIC_EXP (structure: BAPI_ITOB_EQ_ONLY)
  • The system returns any error messages in the parameter RETURN.

  • In Customizing (field selection) for master data dialogs, entries defined as mandatory are generally not checked by the BAPIs.

  • 11-Dec-2005


    GetDetail

    GetDetail


    This BAPI enables you to read the master data of an individual functional location.

    Notes

    General notes in BAPIs for processing individual technical objects:

  • A BAPI for creating or changing master data receives these notes using
    the parameter DATA_GENERAL (structure: BAPI_ITOB). Object-specific data is processed using the parameter DATA_SPECIFIC:
  • Functional locations: DATA_SPECIFIC (structure: BAPI_ITOB_FL_ONLY)
  • Equipment: DATA_SPECIFIC (structure: BAPI_ITOB_EQ_ONLY)

  • Each BAPI returns the processed data to the caller in the parameterDATA_GENERAL_EXP (structure: BAPI_ITOB) independently of the activityto be performed (Create/Change/Read). Object-specific data is returned to the caller using the parameter DATA_SPECIFIC_EXP:

  • Functional locations: DATA_SPECIFIC_EXP (structure: BAPI_ITOB_FL_ONLY)
  • Equipment: DATA_SPECIFIC_EXP (structure: BAPI_ITOB_EQ_ONLY)
  • The system returns any error messages in the parameter RETURN.

  • In Customizing (field selection) for master data dialogs, entries defined as mandatory are generally not checked by the BAPIs.

  • 11-Dec-2005


    GetList

    GetList


    This BAPI enables you to read all functional locations that meet the selection conditions using the selectioncriteria listed below.

    FUNCLOC_RA

    DESCRIPT_RA

    MAINTPLANT_RA

    PLANGROUP_RA

    PLANPLANT_RA

    SORTFIELD_RA


    Example

    Notes

  • If you have activated the alternative labeling function, the fieldFUNCLOC_LIST-FUNCTLOCATION contains the internal key for the functionallocation, while fields FUNCLOC_LIST-FUNCLOC and FUNCLOC_LIST-LABEL_SYST
    contain the external label as well the relevant labeling system.
  • The selection result is transferred in the table FUNCLOC_LIST.
  • Notifications are returned in the parameter RETURN.

  • 11-Dec-2005