PM BAPI RFC Used the same way in S/4HANA

BAPI_FUNCLOC_GETDETAIL Read Functional Location

Reads the general and location-specific data of a functional location. Reports and outbound interfaces use it to get location data with texts in one call. Pass the internal number (conversion exit TPLNR) and check RETURN.

Function group
ITOB_BAPI_FL
Remote-enabled (RFC)
Yes
Type
BAPI

Importing parameters

ParameterTypeDescriptionRequired
FUNCTLOCATIONBAPI_ITOB_PARMS-FUNCLOC_INTFunctional location (internal number)Yes

Exporting parameters

ParameterTypeDescription
DATA_GENERAL_EXPBAPI_ITOBGeneral data (result)
DATA_SPECIFIC_EXPBAPI_ITOB_FL_ONLYSpecific data (result)
RETURNBAPIRET2Return message

Tables parameters

ParameterTypeDescriptionRequired
EXTENSIONOUTBAPIPAREXCustomer extension (output)—

Call template (ABAP)

A skeleton generated from the interface. It lists mandatory importing parameters, exporting parameters and tables; declare the variables with suitable types in your own program.

CALL FUNCTION 'BAPI_FUNCLOC_GETDETAIL'
  EXPORTING
    functlocation = lv_functlocation
  IMPORTING
    data_general_exp = lv_data_general_exp
    data_specific_exp = lv_data_specific_exp
    return = lv_return
  TABLES
    extensionout = lt_extensionout.

Related tables

Can't find the report you need?

We also build anything that is not in the catalog. Describe it briefly and we will suggest the right solution.

Request a custom report