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

Problem in creating an account document using BAPI_ACC_DOCUMENT_POST

Former Member
0 Likes
992

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.

7 REPLIES 7
Read only

Former Member
0 Likes
884

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.

Read only

Former Member
0 Likes
884

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..

Read only

Former Member
0 Likes
884

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

Read only

0 Likes
884

Hi All,

Thanks for your valuble replies. I have tried with BAPI_TRNSACTION_COMMIT it doesnt work. still its not getting saved.

suma

Read only

Former Member
0 Likes
884

Resloved

Read only

0 Likes
884

It would be nice if you told the community how you solved it.

Thomas

Read only

0 Likes
884

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