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

BAPI_FUNCLOC_CHANGE Change Functional Location

Changes the master data of an existing functional location. Fill DATA_GENERALX and DATA_SPECIFICX for every field you want to change. Pass the internal number in FUNCTLOCATION (convert the label with conversion exit TPLNR if needed) and commit with BAPI_TRANSACTION_COMMIT.

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

Importing parameters

ParameterTypeDescriptionRequired
FUNCTLOCATIONBAPI_ITOB_PARMS-FUNCLOC_INTFunctional location (internal number)Yes
DATA_GENERALBAPI_ITOBGeneral dataYes
DATA_GENERALXBAPI_ITOBXGeneral data change flagsYes
DATA_SPECIFICBAPI_ITOB_FL_ONLYFunctional location-specific dataYes
DATA_SPECIFICXBAPI_ITOB_FL_ONLYXSpecific data change flagsYes

Exporting parameters

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

Tables parameters

ParameterTypeDescriptionRequired
EXTENSIONINBAPIPAREXCustomer extension (input)—
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_CHANGE'
  EXPORTING
    functlocation = lv_functlocation
    data_general = lv_data_general
    data_generalx = lv_data_generalx
    data_specific = lv_data_specific
    data_specificx = lv_data_specificx
  IMPORTING
    data_general_exp = lv_data_general_exp
    data_specific_exp = lv_data_specific_exp
    return = lv_return
  TABLES
    extensionin = lt_extensionin
    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