Fonction SAP BAPI_FUNCLOC_GETLIST - BAPI PM: Read List of Functional Locations (with Internal Key)

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
LANGUAGE BAPI_ITOB_PARMS-LANGU C 1 SY-LANGU X Language Key
LANGUAGE_ISO BAPI_ITOB_PARMS-LANGU_ISO C 2 X Language According to ISO 639
PARTNERFUNCTION BAPIIHPA-PAR_FUNCT C 2 X Partner Role

Paramètre Reférence Type Long. Description
RETURN BAPIRET2 u 548 Return Parameter

Paramètre Reférence Long. Facultatif Description
ADDRESS_CITY_RA BAPI_ITOB_SEL_ADDR_CITY 53 X BAPI Communication Structure: Range for Address City
ADDRESS_NAME_RA BAPI_ITOB_SEL_ADDR_NAME 53 X BAPI Communication Structure: Range for Address Name
ADDRESS_POST_CODE_RA BAPI_ITOB_SEL_ADDR_POST_CODE 23 X BAPI Communication Structure: Range for Address Postal Code
ADDRESS_SEARCH_TERM_1_RA BAPI_ITOB_SEL_ADDR_SORT1 43 X BAPI Communication Structure: Range for Address Search Term 1
ADDRESS_SEARCH_TERM_2_RA BAPI_ITOB_SEL_ADDR_SORT2 43 X BAPI Communication Structure: Range for Address Search Term 2
ADDRESS_STREET_RA BAPI_ITOB_SEL_ADDR_STREET 53 X BAPI Communication Structure: Range for Address Street
DESCRIPT_RA BAPI_ITOB_SEL_DESCRIPT 83 X BAPI Communication Structure: Description Range
FUNCLOC_LIST BAPI_ITOB_FL_SEL_RESULT 188 BAPI Communication Structure: Results List of Selection
FUNCLOC_RA BAPI_ITOB_SEL_FUNCLOC 83 X BAPI Communication Structure: Range for Functional Location
MAINTPLANT_RA BAPI_ITOB_SEL_MAINTPLANT 11 X BApi Communication Structure: Range for Maintenance Plant
OBJECTTYPE_RA BAPI_ITOB_SEL_OBJECTTYPE 23 X BAPI Communication Structure: Range for Object Type
PARTNER_RA BAPI_ITOB_SEL_PARTNER 27 X BAPI Communication Structure: Range for Partner
PLANGROUP_RA BAPI_ITOB_SEL_PLANGROUP 9 X BAPI Communication Structure: Range for Maintenance Planner Group
PLANPLANT_RA BAPI_ITOB_SEL_PLANPLANT 11 X BAPI Communication Structure: Range for Maintenance Planning
SORTFIELD_RA BAPI_ITOB_SEL_SORTFIELD 63 X BAPI Communication Structure: Range for Sort Field
STATUS_RA BAPI_ITOB_SEL_STATUS 11 X BAPI Communication Structure: Range for Status

Functionality
This BAPI enables you to read all functionallocations that meet the selection conditions using the selectioncriteria listed below.
FUNCLOC_RA
DESCRIPT_RA
MAINTPLANT_RA
PLANGROUP_RA
PLANPLANT_RA
SORTFIELD_RA

Notes

  • If you have activated the alternative labeling function, the field
  • FUNCLOC_LIST-FUNCTLOCATION contains the internal key for the functionallocation, while fields FUNCLOC_LIST-FUNCLOC and FUNCLOC_LIST-LABEL_SYSTcontain 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.

    • INCLUDE 'BAPI_RETURN' OBJECT DOKU ID TX LANGUAGE EN

      Description
      Language for language-dependent selection conditions (status or text)that are transferred to the function module.

      Default
      If this optional parameter is not explicitly transferred, the logonlanguage applies.

      Description
      Language of the selection conditions entered, according to the ISOstandard.
      This parameter can be used instead of the LANGUAGE parameter. If bothparameters contain a value, the value of the LANGUAGE parameter is used.

      Description
      Partner role for the partner selection conditions transferred inPARTNER_RA.
      The BAPI can only be called with one partner role at a time.

      Description
      In this table, the selection conditions for the city in the address aretransferred.
      If you use an exclusive search for address data, only objects that havean address are found. Objects without an address are ignored whensearching on the address.

      Value range
      INCLUDE ITOB_BAPI_EQ_PARAMETER OBJECT DOKU ID TX

      Description
      In this table, the selection conditions for the name in the address aretransferred.
      If you use an exclusive search for address data, only objects that havean address are found. Objects without an address are ignored whensearching on the address.

      Value range
      INCLUDE ITOB_BAPI_EQ_PARAMETER OBJECT DOKU ID TX

      Description
      In this table, the selection conditions for the postal code in theaddress are transferred.
      If you use an exclusive search for address data, only objects that havean address are found. Objects without an address are ignored whensearching on the address.

      Value range
      INCLUDE ITOB_BAPI_EQ_PARAMETER OBJECT DOKU ID TX

      Description
      In this table, the selection conditions for search term 1 in the addressare transferred.
      If you use an exclusive search for address data, only objects that havean address are found. Objects without an address are ignored whensearching on the address.
      INCLUDE ITOB_BAPI_EQ_PARAMETER OBJECT DOKU ID TX

      Description
      In this table, the selection conditions for search term 2 in the addressare transferred.
      If you use an exclusive search for address data, only objects that havean address are found. Objects without an address are ignored whensearching on the address.
      INCLUDE ITOB_BAPI_EQ_PARAMETER OBJECT DOKU ID TX
      INCLUDE BAPI_DATAELEMENT

      Description
      This structure contains the internal key for the functional locationand further data.
      INCLUDE BAPI_DATAELEMENT
      INCLUDE BAPI_DATAELEMENT
      INCLUDE BAPI_DATAELEMENT

      Description
      In this table, the selection conditions for the object type aretransferred.

      Value range
      INCLUDE ITOB_BAPI_EQ_PARAMETER OBJECT DOKU ID TX

      Description
      In this table, the selection conditions for the partner are transferred.
      The partners refer to the partner role transferred in PARTNERFUNCTION.
      This means that, in an exclusive search (for example, partner does notequal XYZ), only objects that have a partner for the specified partnerrole are found. If an object has no partner for the specified partnerrole, the object is not found.

      Value range
      INCLUDE ITOB_BAPI_EQ_PARAMETER OBJECT DOKU ID TX
      INCLUDE BAPI_DATAELEMENT
      INCLUDE BAPI_DATAELEMENT
      INCLUDE BAPI_DATAELEMENT

      Description
      In this table, the selection conditions for the status are transferred.The status texts are interpreted using the language transferred inLANGUAGE or LANGUAGE_ISO.


      INCLUDE ITOB_BAPI_EQ_PARAMETER OBJECT DOKU ID TX

      Default
      This table is empty.