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

BAPI_ASSET_ACQUISITION_POST Post Asset Acquisition

Posts an asset acquisition (for example external acquisition with offsetting entry), creating the asset line items and the related FI/CO documents. It is used in legacy-data transfers of acquisitions during the year and in interfaces from investment or procurement systems. Fill GENERALPOSTINGDATA and ACQUISITIONDATA, check RETURN and RETURN_ALL, and call BAPI_TRANSACTION_COMMIT.

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

Importing parameters

ParameterTypeDescriptionRequired
GENERALPOSTINGDATABAPIFAPO_GEN_INFOGeneral posting dataYes
ACQUISITIONDATABAPIFAPO_ACQAcquisition dataYes
FURTHERPOSTINGDATABAPIFAPO_ADD_INFOAdditional posting data—
ACCOUNTASSIGNMENTSBAPIFAPO_ACC_ASSAdditional account assignments—
ORIGINDOCREFERENCEBAPIFAPO_DOC_REFReference to original document—

Exporting parameters

ParameterTypeDescription
DOCUMENTREFERENCEBAPIFAPO_DOC_REFReference to the created FI/CO documents
RETURNBAPIRET2Result message

Tables parameters

ParameterTypeDescriptionRequired
PROPAREAVALUESBAPIFAPO_AREAVALUES_PROPProportional values per depreciation area—
RETURN_ALLBAPIRET2All return messages—

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_ASSET_ACQUISITION_POST'
  EXPORTING
    generalpostingdata = lv_generalpostingdata
    acquisitiondata = lv_acquisitiondata
  IMPORTING
    documentreference = lv_documentreference
    return = lv_return
  TABLES
    propareavalues = lt_propareavalues
    return_all = lt_return_all.

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