Skip to Content
author's profile photo Former Member
Former Member

How to avoid create a SD billing document?

Hi experts:

I need a customizing tip or user exit or routine to avoid create a billing document in SD if can´t create the accounting documents.

We used the BADI SD_CIN_LV60AU02, but it was implemented incorrectly. I´m finding another solution.

Please if anyone know or have a tip I will be very thankful.

My mail is


Best Regards,

Gina Marí

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Posted on Feb 19, 2008 at 03:36 PM

    Hi Gina

    Can u tell the scenario first and can i know why you want to avoid the sd billing document?

    plz let me knw gina

    Thanks and Regards


    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      HI Gina,

      I think you have misunderstood.

      The code you have showed is when you have created and saved the invoice.

      But mine is one step earlier, before going into Function module of creating the invoice, you will have to do another Function module where in you check wether the account determination is not giving error, time period is open or not.

      So its a sort of check you do before enter the Function module of invoice creation.

      So in my logic you dont read the VBRK table, you just use the existing function module of account determination on the data stored in internal tables, use it to see, wether account determination gives error. If it gives error you dont create the invoice.

      If it doesnot give the error go ahead check for open period and so on.

      This way you will know if invoice will generate the error even before the invoice is created.

      Hope this helps,


  • author's profile photo Former Member
    Former Member
    Posted on Feb 19, 2008 at 07:27 PM

    There is no standard way to control that Billing & Accounting happens together. It may be tried using a user exit & still not sure that requirement can be met.


    Rajesh Banka

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.