on 07-17-2013 10:07 AM
Dear all,
By using the syntax $SET_PRICING_FACTOR i can able to Multiple the Price Variant key(Value) and Factor. I had a requirement to ADD the factor value to my Price variant key.
In General : My Variant key is : BP_COMP_SP and the price is 2500
My Factor is( No_of_qty in below code) : 8 if i write $SET_PRICING_FACTOR condition
i will get output 2500 * 8= 20000
$SET_PRICING_FACTOR($SELF, ZPRICE1, 'BP_COMP_SP',
$self.No_of_qty ),
My Requirement is : i want to make the addition here.
2500+8 = 2508.
Many thanks,
Raj.
Hi Raj,
I don't think your requirement is supported in the SAP standard. What you're trying to do is to add a unitless quantity (No_of_qty) to a quantity with the unit "currency" (e.g. € or $). Depending on the currency that you use, you would get different results (computed in the same currency). So I can't really imagine a business case where this is necessary.
Best regards,
Eric
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Please inform if this issue is resolved.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Raj,
Try the below
$SELF.ZPRICE1 = 'BP_COMP_SP' + $SELF .No_of_qty
Regards,
Senthilkumar SD
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
108 | |
12 | |
11 | |
6 | |
5 | |
4 | |
4 | |
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.