SAP for Utilities Discussions
Connect with fellow SAP users to share best practices, troubleshoot challenges, and collaborate on building a sustainable energy future. Join the discussion.
cancel
Showing results for 
Search instead for 
Did you mean: 

Use of variant program DISCNT07 creates a zero posting relevant line item

Former Member
0 Kudos

Hello All,

We are making use of a Discount variant where we would need your advice.

We are using DISCNT07 variant program to cater a new requirement where bill discounts are offered only for a few segment of our customers. We've created a new rate where we are passing the bill charges and make use of this variant DISCNT07 to calculate the credit discount. The operand type for the discount variant is ADISCPER.

We've created a zero discount and assigned it at the rate level and then were applicable we've assigned the valid discounts e.g. 10%, 20% at the relevant installation level.

What we've noticed is that the calculation works perfectly fine for accounts where the credit discount is applicable. However for accounts where no credit is applicable (i.e.) no valid discount % assigned at installation level, the system seems to calculate a zero posting relevant line item. This is due to the zero discount assigned at the Rate level.

We've checked the system and found that there is no impact either at Finance level or for the bill print however we seem to generate a zero posting line item and unnecessarily increase the growth of the database.

We've analyzed the optional step option at the Schema level however it doesn't make any difference. We've also explored the replacement value options (Req. value & Opt. value) at the discount operand level however they don't help us as it enforces a mandatory discount operand to be maintained at the installation level.

Can you please let us know if there is a workaround to avoid the creation of this zero posting line item? Thank you for your help in advance.

Regards,

Tushar

2 REPLIES 2

Former Member
0 Kudos

Putting this step in an if..endif should solve your issue I guess.

Cheers,

Rakesh. .

sapisurdg.wordpress.com

0 Kudos

As Rakesh suggested, check if the calculated discount is greater than zero and then only execute the line for writing the posting relevant line item.

Thanks,

Amiit