Skip to Content
avatar image
Former Member

Error msg reqd in SD Proforma invioce

Hi,

We are facing the below problem.

We create proforma invoice. With respect to this proforma invoice, Excise invoice is generated (Stock transport within same company,without billing).

User sometimes forget to enter the basic price in proforma invoice. System then issues an message No V1-801 (pricing error: Mandatory condition missing) but allows to save the document and proceed further.

As a result , when the excise clerk creates 'Excise document"with respect to this proforma invoice, the excise base value is zero. This is creating major problem in excise .

This message is not customizable (SAP confirmed this).

Then we tried to generate an error message -if the condition is missing or xontain zero value- through BADI

named "BADI_SD_BILLING_ITEM". But this BADI is for SAP internal use

only. It is not allowing us to work on it (OSS note 864944).

Please suggest how we can generate an error message for this situation.

Thanks.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Best Answer
    avatar image
    Former Member
    Oct 01, 2008 at 08:17 AM

    You will have to use the exit USEREXIT_NUMBER_RANGE in program RV60AFZZ which will be called when the document is saved. The purpose of this exit is different but you can use this for doing the validation as required by you. Unlike in sale order or delivery exits there is no exit which is specifically called during save like ON DOCUMENT SAVE.

    Regards,

    GSL.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 01, 2008 at 07:12 AM

    Hi,

    Write the code in the user exit RV60AFZZ so that when ever there is zero value in the particular condition type system will give error message and it will not allow further transaction or save the document, wirte this in create mode.

    Check this

    Regards

    P.Sudhakar

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi,

      Thanks for your reply.

      But this particular user exit is hit when the transaction VF03 is first time opened.

      Can we really use this exit ?

  • avatar image
    Former Member
    Oct 01, 2008 at 07:27 AM

    Hi,

    Try to fetch the code in below user exit to restrict billing before saving -

    Enhancement- SDVFX010

    Exit: EXIT_SAPLV60B_010

    Program: ZXVVFU10

    or

    Try with the following -

    Exit: USEREXIT_FILL_VBRK_VBRP

    Program:RV60AFZC

    Let me know once done

    Regards

    Goutham

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Feb 15, 2009 at 09:11 PM

    no action before 2 months

    Add comment
    10|10000 characters needed characters exceeded