on 10-16-2014 12:55 PM
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!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
103 | |
12 | |
11 | |
6 | |
6 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.