Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Bapi_Acc_document_post error in Asset posting

Former Member
0 Likes
3,566

Hi

I am trying to post the Asset items using BAPI_Acc_document_post. I filled up the necessary paramenter...

In AccoutGl

GL Account = Asset no

Account type = 'A'

Transaction type = 100

I am getting the error message ..

9 Error in document: BKPFF $ SE1CLNT500

1 Accounting transaction category RFBURFBU000000000000 is not defined.

6 Enter another transaction type (Transaction type does not exist)

Even if i try with different transaction type also , not able to post the document.

Please Advise..

Thanks

Arunachala.G

8 REPLIES 8
Read only

Former Member
0 Likes
1,422

HI,

Refer to this link.....

Read only

Former Member
0 Likes
1,422

Hello Arunachala,

Can you please check internal tables value in debug mode and use same set of the data to do the manual post.

Please ref to below links where similar kind of issue was solved.

http://www.sapfans.com/forums/viewtopic.php?t=137643&highlight=bapiaccdocumentpost

Thank you,

Nishikant.

Read only

Former Member
0 Likes
1,422

Hi Nishikant

I have tried in debug mode.. the Fn module AC_Document_create in debug mode that I have found out.. Even if I tried with the same input.. cannot create a document..

Is there any other way to solve the asset posting thru bapi_acc_doc_post. or BDC is the only way?

Please advise.

Thanks

Read only

0 Likes
1,422

Hi,

seems like some error in the code,

can u post the code.we ill try to find the mistake.

regards

Arjun

Read only

Former Member
0 Likes
1,422

Hi Arjun

Pls find the code that I have tested for Asset Posting...

Header

-


BUS_ACT RMWE

USERNAME Sy-uname

COMP_CODE 1200

DOC_DATE 11.11.2008

PSTNG_DATE 11.11.2008

DOC_TYPE SA

Asset and GL Items

-


ITEMNO_ACC 0000000001

GL_ACCOUNT 1000

ACCT_TYPE A

COMP_CODE 1200

COND_ST_NO 000

FUNDS_CTR S00001

ASSET_NO 100000007

SUB_NUMBER 0

CS_TRANS_T 120

ITEMNO_ACC 0000000002

GL_ACCOUNT 476000

COSTCENTER S00001

FUNDS_CTR S00001

Currency Items

-


ITEMNO_ACC 0000000001

CURRENCY SGD

AMT_DOCCUR 100,0000

ITEMNO_ACC 0000000002

CURRENCY SGD

AMT_DOCCUR 100,0000-

Pls Advise

Thanks

Read only

0 Likes
1,422

Hello Arunachala,

Pls check -

Unfortunatley I do not have access to SAP at this point so could not really look in to system.

Regards,

Nishikant.

Read only

0 Likes
1,422

hi,

Did you get any solution to this problem???? Please let me know how you solved it, cos i am facing same thing here. thanks.

Read only

0 Likes
1,422

HI Arunachala,

I refered your code for asset posting. And now I'm getting an error GETWA_NOT_ASSIGNED when reversing an asset document from AB08.

Can you advice on this

Regards

Waruna Nadeep