Skip to Content
0

Asset Posting using BAPI_ACC_DOCUMENT_POST

Oct 08, 2017 at 09:28 PM

398

avatar image
Former Member

Hi Experts,

I am facing the issue in posting the assets using BAPI_ACC_DOCUMENT_POST, we are already using this BAPI to post entries for cost centers and now we want to enhance this program to post assets. We don't want to use BDC program.

The error messages I am getting are....

1. Accounting transaction category RFBURFBU000000000000 is not defined.

2. Enter another transaction type (Transaction type does not exist)


Please find the below data that I am passing to the BAPI, PLease let me know if there is any parameter missing in that.

Header data

BUS_ACT = RFBU

USERNAME = SY-UNAME

HEADER_TXT = Header Text

COMP_CODE = 1000

DOC_DATE = 20171008

PSTNG_DATE = 20171008

FISC_YEAR = 2018

FIS_PERIOD = 09

DOC_TYPE = KR (invoice)

REF_DOC_NO = 10042017

ACCOUNTGL: Item 1

ITEMNO_ACC = 0000000001

GL_ACCOUNT = XXXXXX

ITEM_TEXT = Line Item text1

ACCT_TYPE = ‘S’ (cost centers)

TAX_CODE = ‘XY’

TAXJURICODE = ‘TXXXXX’

COSTCENTER = ‘0000001002’

Item2

ITEMNO_ACC = 0000000002

GL_ACCOUNT = YYYYYYY

ITEM_TEXT = Line Item text2

ACCT_TYPE = ‘A’ (Asset)

TAX_CODE = ‘XY’

TAXJURICODE = ‘TXXXXX’

ASSET_NO = ‘0000090040’

SUB_NUMBER = ‘0000’

CS_TRANS_T = ‘100’ (Transaction type)

ACCOUNTPAY

ITEMNO_ACC = 0000000003

VENDOR_NO = ‘0000012345’

PMNTTERMS = ‘1008’

TAX_CODE = ‘XY’

We have specific GL account for Asset and that is constant. Transaction type for asset entries is constant.

many people were already asked about this issue but no proper answer, I feel..

Please let me know what is missing, it is very urgent, Thanks for your help in advance....

Regards,

Dileep.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Raymond Giuseppi
Oct 09, 2017 at 06:17 AM
0

This document doesn't comply with your Asset Customizing. (Look at table TABWD, RFBU is not provided by default)

NB: In some case, some OSS notes are available depending on your exact system level and active business function, so perform some search or ask basis.

Show 4 Share
10 |10000 characters needed characters left characters exceeded
Former Member

Hi Raymond,

Thanks for your reply, RFBU is not given in TABWD, but I am able to post the asset through FB60.

Regards,

Dileep.

0

Yes but the BAPI and the FI transactions are not using the same interface (AC/FAGL vs ACC/ACID_PI) BAPI have a behavior more similar to MIRO, MIGO, etc.

0
Former Member
Raymond Giuseppi

Hi Raymond,

Thank you, you mean we can't use BAPI for asset posting? please provide some more explanation.

Regards,

Dileep.

0

(In my systems asset are related to PO so BAPI_INCOMINGINVOICE_CREATE)

Did you try to add the FI-AA transaction type in one of the EXTENSION parameters, and handle it with their associated BTE or BAdI?

0
Eli Klovski
Oct 11, 2017 at 12:34 PM
0

Hi,

Why won't you use a BAPI for assets acquisition, i.e. BAPI_ASSET_ACQUISITION_POST?

Regards,

Eli

Show 5 Share
10 |10000 characters needed characters left characters exceeded
Former Member

Hi Eli,

Thanks for your reply, we are using this program for simple posting(expenses posting against cost center) through BAPI_ACCT_DOCUEMNT_POST, now we are planning to post assets along with those expenses for the same vendor and invoice reference. I don't think we can use this

BAPI_ASSET_ACQUISITION_POST for that.

Regards,

Dileep.

0

Why not, actually? If you are creating an asset posting, you would like equally to have asset document. Otherwise, how you are going to reconcile your AA sub-ledger with FI.

1

I'm with Eli, assets live in a different financial universe to expenses. It's like buying a car and putting my registration documents in my receipts box together with the bus ticket from when I went to go pick it up.

Asset postings will automatically generate the related G/L posting. Please discuss with your functional person if unsure.

1
Former Member

Hi,

The issue is resolved, I have implemented one BADI to pass some missing data. I debugged FB60 and BAPI and found that there is one table where VORGN, ANBWA fields are not filling when we post the assets though BAPI. I am filling these fields though BADI. problem solved. Now I am able to post expenses, assets and both.

But still I have a doubt that this fix is correct or not.I am checking with my functional consultant.

Regards,

Dileep.

0

Hi Dileep,

For expense posting, Business user may be using FB60 and document type KR.

However for the asset posting, the business users use different transactions and different document types.

Please speak to your functional consultant on this.

Thanks and Regards,

Udaykumar P.P.

0