cancel
Showing results for 
Search instead for 
Did you mean: 

Exclude condition record if it is zero

Former Member
0 Kudos

Dear Experts

I want to exclude condition step if the condition value is zero.

My custom routine ( 601 -> alternative calculation type ) do some calculations. if the value is zero I do want to display the entire condition step in Sales order.

Best Regards

Venkat

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi Jignesh Mehta and sap007

Thank you so much for your inputs.

Closing thread with awarded points

jignesh_mehta3
Active Contributor
0 Kudos

Hello Venkat,

Your Custom routine ( 601 -> alternative calculation type) can easily handle this.

As it is already a Z-Development, ask you ABAPer to add program lines in that same routine to exclude the condition step if the value is zero.

Hope this helps,

Thanks,

Jignesh Mehta

Former Member
0 Kudos

Hello,

Since you already have a custom routine, you can very well maintian a validaton for the price. If it is zero, then exclude the condition type from the order, else display it. Please check with your ABAP expert, he will guide you.

Regards,

SAM

gomatheeswaran_palaniappa
Active Contributor
0 Kudos

Hi,

You have to create another routine in requirement column saying that if the condition value # 0, sy-subrc = 0.

So, if the calculated value is not equal to zero, then only the condition will be applied in pricing. Otherwise, it will show as requirement not fulfilled in pricing analysis. Hope this will satisfy your criteria.

Regards,

P Gomatheeswaran