# 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.

- Modules: PM
- Type: BAPI
- Function group: ITOB_BAPI_FL
- Remote-enabled (RFC): Yes
- S/4HANA status: Used the same way in S/4HANA
- URL: https://nekuhub.com/en/functions/bapi-funcloc-getdetail/

## Importing parameters

| Parameter | Type | Description | Required |
|---|---|---|---|
| FUNCTLOCATION | BAPI_ITOB_PARMS-FUNCLOC_INT | Functional location (internal number) | Yes |

## Exporting parameters

| Parameter | Type | Description |
|---|---|---|
| DATA_GENERAL_EXP | BAPI_ITOB | General data (result) |
| DATA_SPECIFIC_EXP | BAPI_ITOB_FL_ONLY | Specific data (result) |
| RETURN | BAPIRET2 | Return message |

## Tables parameters

| Parameter | Type | Description | Required |
|---|---|---|---|
| EXTENSIONOUT | BAPIPAREX | Customer extension (output) | - |

## Call template (ABAP)

```abap
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

IFLOT, IFLOTX, ILOA

