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: 

Check if operand is set

Former Member
0 Kudos
176

Hello,

my problem is that I have operand: PRICE1 which is QPRICE type. Operand is defined as optional value (and it must be so because it must be present in installation facts). Operand is used in Quanti01 variant which is set as optional. I should be able to distinguish three states:

- PRICE1 set to 0 EUR

- PRICE1 set to price different than 0 EUR

- PRICE1 not set at all on any of installation/rate/rate category facts

Does somebody know how to do this using standard variants?

Best regards,

Szymon

1 REPLY 1

Former Member
0 Kudos
103

Hi,

I will try to explain how to make such kind of rate steps with checks:

PRICE1 = 0

- if the price is equal 0 then I propose the amount is also equal 0, for that you can use variant program IF* to check if amount is 0

PRICE1 different 0

- if the first check (PRICE = 0) then in this step (ELSE) you can check revers condition

PRICE1 not set

- you can put in the rate steps before some step with writing some flag (FLAG price set) and in the next steps check this flag

Thats all

Vlado