Asset Posting in BAPI_ACC_DOCUMENT_POST

Hello Folks,

I’m using BAPI_ACC_DOCUMENT_POST to post documents through an upload facility.
I want to be able to post Assets through the same BAPI.
Can you please let me know how to populate the details for asset line items in the BAPI parameters.

I have populated the following fields in the accountgl table:
it_accountgl-asset_no
it_accountgl-gl_account = asset_no
it_accountgl-sub_number
it_accountgl-acct_type = ‘A’
it_accountgl-asval_date

But it doesn’t seem to recognize the line item as an asset and gives an error saying that the G/L XXX was not found in the chart of accounts.

Any help?

ABAP Consultant, needs help regarding “Asset posting in BAPI_ACC_DOCUMENT_POST “


Related search terms:




Browse more questions like this in module: ABAP


Question filed under SAP Module: ABAP

Tags: , ,

Disqus this Question

follow QnA SAP

Search...





sap forum

SAP Modules