cancel
Showing results for 
Search instead for 
Did you mean: 

Condition type to trigger another condition type determination

Former Member
0 Kudos

I am trying to configure condition type Χ in pricing procedure. The requirement of this cond. type is the determination of condition type Z.

Neither in requirement routine, nor in calculation i am able to check whether the  condition type Z has been determined (exists and is active).

Also Z cond type is not mandatory.

Any ideas on how to configure?

Thank you in advance!

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

check if this document is helpful: http://scn.sap.com/docs/DOC-55739

Regards

JM

former_member183879
Active Contributor
0 Kudos

Hi Grigoria,

You can easily do it if you put the condition types X and Z one after another and provide the step number of X in the "From" column of the condition type Z.

This itself should work fine, if the value of Z is either an additive factor or some specific percentage of the value of X. You can enable this scenario by means of condition record for Z. For example if the value of X is 50EUR and you want 20% of this value to be the value of Z, then you can maintain a condition record of 20% for Z and include the step value of X in teh condition type Z, then SAP will automatically bring you the value.

However if you want to arrive at the value using some mathematical calculation, then you have to write a "Calculation value" routine to calculate the value of Z and assign this routine to Z condition type in the pricing procedure.

Hope this helps. You can ask if this is unclear

former_member212707
Active Participant
0 Kudos

Have you tried writing the logic in the requirement routine and then test it?

I remember working on a similar case a while back and we were definitely able to check if a condition type placed higher up in the pricing procedure was active or not and subsequently making the new condition type active based on the above check.

Explore the KOMP structures and ask your abaper to write the necessary logic. Hope it works.

Thanks,

Ravin