‎2008 Dec 26 3:56 PM
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
‎2008 Dec 26 4:01 PM
‎2008 Dec 26 4:33 PM
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.
‎2008 Dec 27 2:42 PM
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
‎2008 Dec 28 3:59 AM
Hi,
seems like some error in the code,
can u post the code.we ill try to find the mistake.
regards
Arjun
‎2008 Dec 28 5:08 AM
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
‎2008 Dec 30 5:02 PM
‎2010 Dec 14 5:09 PM
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.
‎2012 Nov 05 1:15 PM
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