Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
Showing results for 
Search instead for 
Did you mean: 

how to cancel a billingDoc

Former Member
0 Kudos

Hi experts,

while using BAPI_BILLINGDOC_CANCEL1 to cancel billingDoc i got an error ie "posting period 001 1997 is not open''.can u suggest reason for it and how to cancel a billing doc.


Former Member
0 Kudos


If you are reversing a Billing Document, the system will reverse an Accouting Document also which would have got created when the Billing Doc was created. you might be trying to reverse a billing Doc which was created in the previous posting period and it would have got closed now. Hence as the system cannot reverse the accouting document, it will not allow you to reverse the Billing Doc.

If this is a production issue, you will have to request for opening the posting period for sometime, execute your program and close the period again.