‎2008 May 14 7:00 AM
Hi Experts,
I have a porblem while creating an account document from BAPI_ACC_DOCUMENT_POST.
The problem is acc document is geeting posted and I am getting an document number for that bapi, but its not getting saved to data base and I am getting the following error message
"Document 1900004327 3000 does not exist in fiscal year 2005
Message no. F5A397
System Response
The required document either does not exist in the fiscal year or is still being posted.
When the document is read, archived documents are also considered."
Please sugggest...
We are using ECC 6.0
Thanks,
Suma.
‎2008 May 14 7:04 AM
Have you used the BAPI_COMMIT function module after executing the BAPI_ACC_DOCUMENT_POST function module?
after that you should use the COMMIT WORK.
Fiscal year 2005? or 2009? which one
Please check it.
Regards,
madan.
‎2008 May 14 7:06 AM
Hi Suma
Use the Below Function Module to save the changes in the database after executing your call function which you have mentioned above.
FM
BAPI_TRANSACTION_COMMIT.
This Function module is similar to the commit statement.
If it is working Fine,Provide some valuable Points.
with Regards,'
Sathish..
‎2008 May 14 7:11 AM
Hi,
this means that the posting is not open...
try with 2008...
or else ask ur financial consultatto check, whether the 2005 is open or not.
u also try posting manually using FB01 with same entries u r using for this BAPI...so that u can track the error.
Also use BAPI_TRAACTION_COMMIT after bapi post.
check ur subsystem which u r passing for the BAPI..
wa_general-assetsubno = '0000'. Is it 3000 or 0000
Try using 0...
Edited by: Sumi Vasu on May 14, 2008 8:13 AM
‎2008 May 15 7:07 AM
Hi All,
Thanks for your valuble replies. I have tried with BAPI_TRNSACTION_COMMIT it doesnt work. still its not getting saved.
suma
‎2008 Aug 11 8:17 AM
‎2008 Aug 11 8:20 AM
It would be nice if you told the community how you solved it.
Thomas
‎2009 Dec 23 6:02 AM
Respected Suma,
I have the same issue. I will be thank full to you, if you provide me the solution for the same issue.
Waiting for your positive reply.
Thanks & Best Regards,
Asim