cancel
Showing results for 
Search instead for 
Did you mean: 

regarding negative billing

Former Member
0 Kudos

Hi Friends,

We have two discounts one for 1.spare discount(k021), and another 2.billing discount(k022),

1.when we r maintaining spare dicount in sales order with the value more then basic price value

then netvalue becomeing negative, then system showing error "pricing error(negative).then system not allow to save sales order

2.when we r maintaining billing discount in sales order with the value more than basic value, then net value becoming negative, then system is not showing error and allow to save sales order, delivery, and billing and allow to posting to accounting with negative value.

now our requirement is system has to show error and not allow to save order in case of biilling discount (k022)also

y system is show error in case of spare discount and not in case of billing discount, where is the configuration diff, and wat changes we hav to do for billing disc condition type(k022) for not allowing negative billing

plz reply soon

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member184555
Active Contributor
0 Kudos

Hi

This problems occurs when you have manual discount condition types. Occassionally due to user errors more discounts will be entered and hence the order value/line item value becomes negative.

1. Define a new meaningful billing block like 'Negative value...'

2. In an appropriate userexit make the coding for the functionality as, while saving the document either in VA01 or VA02, the system should check the line item netvalue and if the value is found negative, then this specific billing block should be applied automatically at item level.

3. This will not allow the billing of this line item and only other items in the order will be billed. This will lead to invoice split. If you wish to avoid the invoice split, then the billing block should also be applied to the header billing block field (VBAK-FAKSK) also. This will block the entire document for billing, though the problem is not with all the line items.

Thanks,

Ravi