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

Zero Amount while posting through BAPI_ACC_DOCUMENT_POST

Former Member
0 Likes
1,075


Hi All,

I want to know whether we can post the document with zero amount while posting through BAPI_ACC_DOCUMENT_POST.

In my case BAPIACCR09-AMT_DOCCUR (Amount in Document Currency) = 0.00.

Will document get posted successfully or an error will occur while posting with zero amount???

Thanks.

Regards,

PK.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
825

Hi Pranshu,

I guess it won't get posted.. But why don't you try it in debug and check.

Thanks,
Chirdip

2 REPLIES 2
Read only

Former Member
0 Likes
826

Hi Pranshu,

I guess it won't get posted.. But why don't you try it in debug and check.

Thanks,
Chirdip

Read only

Former Member
0 Likes
825

Hi Pranshu,

If amount in document currency, AMT_DOCCUR is 0, it will not be posted.

If there is a real need of posting such a document, then you can set the amount as .01 usd or something and post.