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