2009 Oct 15 6:31 AM
Hi Experts,
I have one query in BAPI_ACC_DOCUMENT_CHECK. While executing the BAPI i am getting the message as "Balance in transaction currency".
If I am posting the document manually using the same data it is posted properly. Can anybody will suggest me what is the missing field which I need in pass in above mentioned BAPI.
It would be great if anybody will provide me mininum number of fields which are required to check the document prior to document posting?
Regards,
Neha
2009 Oct 15 8:05 AM
HI NG,
You ar passing amount to the bapi .....
the total of that amount should be zero......
if u r passing +30 the other amount should be -30....
means total sum should be zero.....
as far as transaction is concern....there u r passing the posting key.....and on the basis of posting key system decides the sign of the amount...
but in bapi u r not passing posting key...as ther is no field for it in bapi (i guss).....
so try to enter the amount along with sign ....
Thnx
rahul
Hi Experts,
I have one query in BAPI_ACC_DOCUMENT_CHECK. While executing the BAPI i am getting the message as "Balance in transaction currency".
If I am posting the document manually using the same data it is posted properly. Can anybody will suggest me what is the missing field which I need in pass in above mentioned BAPI.
It would be great if anybody will provide me mininum number of fields which are required to check the document prior to document posting?
Regards,
Neha
2009 Oct 15 7:45 AM
Hi,
check report ACC_BAPI_TEST_DOCUMENT.
This can help as well:
http://www.sapnet.ru/viewtopic.php?t=1510
Best regards.
Edited by: Pablo Casamayor on Oct 15, 2009 8:49 AM
2009 Oct 15 8:05 AM
HI NG,
You ar passing amount to the bapi .....
the total of that amount should be zero......
if u r passing +30 the other amount should be -30....
means total sum should be zero.....
as far as transaction is concern....there u r passing the posting key.....and on the basis of posting key system decides the sign of the amount...
but in bapi u r not passing posting key...as ther is no field for it in bapi (i guss).....
so try to enter the amount along with sign ....
Thnx
rahul
2009 Oct 15 11:39 AM