cancel
Showing results for 
Search instead for 
Did you mean: 

Error msg reqd in SD Proforma invioce

Former Member
0 Kudos

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.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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.

Answers (3)

Answers (3)

claudia_neudeck
Active Contributor
0 Kudos

no action before 2 months

Former Member
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

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 ?