on 04-11-2012 9:41 AM
Dear Experts,
Kindly help me on the below scenario
Material - Service 1
Price of the service - 1000/month
working days - 25.5 days
It should calculate the price based on factory calendar.
Say January - 31 days
1000/31 = 32.358 /Per day amount
25.5* 32.358 = 822
how can deliver this 822 with help of pricing.
any customized routine should be added or alternative calculation type?
Kindly suggest.
Regards
Fazal
Hi fazal,
Please include your surcharge condition type in your pricing procedure where it is required based on your calculation. In the requirements please write a code to check the sales order date with the holiday calendar in the factory calendar and then calculate the surcharge value. You need to note that while writing the code the system is just supposed to pass thro' if it is not a public holiday.
Once you do this, the pricing procedure would stop and calculate the surcharge everytime it finds a public holiday otherwise it would just pass thro'.
If you have difficulty in writing a code for the factory calendar directly, make use of the field which is there in the sales organisation definition ( there also you have the factory calendar) based on which the entire process for sales is carried out.
Hope it helps.
Himanshu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Himanshu,
If you have difficulty in writing a code for the factory calendar directly, make use of the field which is there in the sales organisation definition ( there also you have the factory calendar) based on which the entire process for sales is carried out.
i think u advice to refer factory calendar field from Sales organization definition.
Am i right?
Regards
Fazal
Dear Fazal,
You need to write a routine in VOFM - Formulas - Condition Value.
And take the help of ABAPER.
AKN
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear AKN,
I tried doing the the logic but there is some gap.
Material - Service 1
Price of the service - 1000/month
working days - 25.5 days
It should calculate the price based on factory calendar.
Say January - 31 days
1000/31 = 32.358 /Per day amount
25.5* 32.358 = 822
the price entered in the field KBETR(Amount) field is for a month, but i am trying to get price for a day based on KBETR. and update the field the same field.
Can you give me some suggestion this.
It would be surely helpful for me.
Regards
Fazal
User | Count |
---|---|
108 | |
12 | |
11 | |
6 | |
5 | |
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.