Scale Pricing
Hi,
I am facing an issue where i have maintained scales as shown below:
Scale Type Scale Quantity Unit Amount Unit per UOM
From 1 DAY 4200 SGD 7 DAY
28 3500
Which means scale is:
From 1 Day - Price is 4200 for 7 Days
From 28 Day - Price is 3500 for 7 Days.
That means if i book an order for 31 days my price should be 3500 / 7 days = 500 per day and hence the total order value should be 31 * 500 = 15500
This works when my order is booked in the same month. (Say from 01.01.2011 - 31.01.2011)
But if i book my orders across months then this scale does not work.
For eg: If i book an order from 15.01.2011 to 14.02.2011
The system creates two billing datasets
1) From 15.01.2011 to 31.01.2011 - This is 17 days hence the scale picked is 4200/7 days which means 600 per day and the billing dataset value is 17 * 600 = 10200
and
2) From 01.02.2011 - 14.02.2011 - This is 14 days and hence the scale picked is 4200/7 days which means 600 per day and the billing data set value is 14* 600 = 8400.
The above calculation is wrong. Instead the system should take the price of 3500/7 days and hence 500 per day and multiply it wilth the number of days for each respective billing dataset.
For Billingdata set 1 - 500 * 17 = 8500
For Billingdata set 2 - 500 * 14 = 7000
The total hence should be 15500 as per order booked in the same month.
Can this be handled through standard or is a development required.
Please suggest.
Regards,
Ravi
Hi,
I have applied the following logic and it works. Thanks for your inputs.
To read the dates at the item level and compute the active schedule lines. Based on this the correct scale is picked which is stored in the condition records. This price will apply to all billing data sets for the same item.
The value will be computed by multiplying qty field (which is updated as per the active schedule lines (including cancellations if any) for each monthu2019s billing data set) with the price/day.
Regards,
Ravi
Similar Messages
-
Reg: LSMW Multiple line items of scale pricing in transaction VK11
Hi,
Iam using LSMW to upload price condition records(VK11)
Totally Iam having two records which i have split as 2 flat files.
one flat file with header details and another flat file with line items for scale quantity and scale pricing, something like below.
Header flat file
__ZPR3__
__cust1__
__Mat1__
__AUD__
__EA__
__100__
__10__
__ZPR3__
__cust2__
__Mat2__
__AUD__
__EA__
__300__
__10__
Line Item Flat file
__cust1__
__mat1__
__95__
__20__
__cust1__
__mat1__
__90__
__30__
__cust1__
__mat1__
__85__
__40__
__cust1__
__mat1__
__80__
__50__
__cust1__
__mat1__
__75__
__60__
__cust2__
__mat2__
__70__
__20__
__cust2__
__mat2__
__65__
__30__
__cust2__
__mat2__
__60__
__40__
When i do the step of Read Data in LSMW iam getting the data correctly.
in Display read data step i got the header data in yellow and its line item in blue.
In Convert data step iam gettin as
Transaction read = 2.
Records read = 11.
Transaction written = 2.
Record written = 9.
In Display Converted data step Iam getting every record as a higher level item (displayed in green)
In Create Batch Input Session step Iam getting the message as 1 batch Input folder with 9 transactions
Which is actually wrong because only two transaction only must be written.
I think i migh have problem in Convert data step but iam not sure, can anyone help me what should be done.
My requirement is to upload the two datas with multiple scale prices for transaction vk11.
Kindly Help.
Regards
Naveenhi,
For u r reqrmnt u can make use of direct input method.
1)
Object 0070 Condition record
Method 0000
Program name RV14BTCI
Program type B Batch input
it make use of transaction VK15( alternate for vk11where instead of selecting combination u can directly input table name)
2) create u r internal table structure with the following fields
KSCHL cond type
KOTABNR cond table
VKORG sales org
VTWEG distr chnnl
KUNNR customer
MATNR material num
WERKS plant
WAERK currency
DATAB from date
DATBI to date
KSTBM cond scale qty
KBETR rate
LOEVM_KO del ind
KPEIN cond pricing unit
in the above if u dont require any fields u can omit but make sure u r using all key fields.
i thnk in u r reqrmnt its customer specific pricing so customer, cond scale qty,rate r needed.
deltion indicator is used to delete existing records.
3) maintain structure relations till BKOND3
4) for field mapping do Auto field mapping
give Tcode VK15
give value for VAKEY ( concate salesorg, plant,materialno,customer)
assign dates in standard format (YYYYMMDD)
5) Run remaining steps like assigning files, read convert and all
u r flat file structure shud be da same like u r internal table.
if u r not givin values provide empty space.
flat file
zpr3 cust1 mat1 aud ea 100 10 95 20
zpr3 cust1 mat1 aud ea 100 10 90 30
zpr3 cust2 mat2 aud ea 300 10 70 20
i hope it gives u some idea .
if its useful rewrd me. -
Quantity related Scale pricing not considered during Goods receipt
Hello Group,
First thanks for looking into my issue. I tried to follow the solution in SAP Note 401941 on assessing the right unit price as it relates to the quantity received during Goods receipt, but my ABAP developers are very green at this time and they cannot figure out where to place this code fix and how it would work.
Background on issue.
From quantity of 1 to 99, I want the price to be 4.00 each
From quantity of 100 and above, I want the price to be 3.00 each.
When doing goods receipts for quantities that have not reached 100 yet, it is still assessing 3.00 each. I found the OSS note above that is really not helpful and was wondering if anyone else is using scale pricing and how their GRs are calculated for correct unit price.
Thanks all for your assistance.
SamanthaThe scale pricing cannot be used to influence price during goods receipt. Goods Receipt will pick up the price from the purchasing document.
Suppose you want to have that the price be determined based on the quantity received over a period of time, you need to use rebate agreement.
The OSS note mentioned in your question says that you can determine the price based on the schedule line quantity during GR (not quantity at the time of GR). It will not solve your requirement.
Lakshman -
My client does returns and credit memos with reference to an invoice, F2 to RE, TAN to REN.
They have a quantity scale based condition record that gives a discount percentage on the order/invoice.
When it copies to an RE from the invoice, and they change the quantity, they have to recalculate pricing to correct some other pricing conditions. When they do this, it also updates the scale pricing condition and wipes it out because the credit amount does not meet the required quantity to qualify for the scale.
How can we achieve updating the pricing for other elements and leave the discount from the scale condition on the return and only have it adjust accordingly.
Example:
Scale is 50-100 EA gets 5% discount.
Original order was for 75 so they get 5% discount and have paid that.
Return is for 25, which doesn't meet the scale discount. They should be credited the 5% on those 25 but updating pricing is wiping it out.
Thanks in advance,
PamHi GangaDhar
Try This
SELECT OPCH.DocNum, OPCH.DocDate, OPCH.CardCode, OPCH.CardName, OPCH.VatSum, OPCH.DocTotal
FROM OPCH INNER JOIN
PCH1 ON OPCH.DocEntry = PCH1.DocEntry
where PCH1.TrgetEntry is not NULL
thanks
Ashish -
Is there standard functionality in ECC 6 that will handle the quotation of scale pricing?
Inquiry and quotation functionality assumes that the quote to the customer will be for a specific material and quantity. Is there standard functionality in ECC 6 that will handle the quotation of scale pricing?
Thank you for the question. In our scenario, we are not quoting a specific quantity. We are quoting the scales. Below is a theoretical example:
Customer: 12345
Validity period: 21.03.2014 - 30.06.2014
Material: 123456 Widget with order UoM of EA
Price:
Up to 10,000 EA: $2.25/1EA
10,001 EA to 50,000 EA: $2.00/1EA
50,0001 +: $1.75/1EA
I am very familiar with inquires and quotations, and I understand that we can maintain scale price condition records and the price routine will determine the price based on the quantity of the inquiry, quotation, or order. Unfortunately, I do not have a quantity to enter in the quotation. I only have the scales. I do hope this clarifies the question.
Best regards,
Mark -
Scale pricing Per Each quantity
Hi All,
I have a scenario that I am trying to implement in pricing and I am not sure if scale pricing will work or not. Here is the scenario.
A Customer needs to be charged based on the weight of the material entered PER EACH QUANTITY. The pricing should be as follows
From 0 to 5 pounds --> 50$
From 5.1 to 10 pounds --> 100$
From 10.1 to 20 pounds --> 150$ and
From 20.1 to 50 pounds --> 200$
A material X weighs 7 pounds in the material master. If 3 quantity is entered at the line item for the material X, the total weight is 21 pounds in the sales order. Now the customer should NOT be charged 200$ based on the total weight of the quantity but should be charge as
100$(for 7 pounds for 1st quantity) +
100$ (for 7 pounds for the 2nd quantity) +
100$ (for 7 pounds for the 3rd quantity) = 300$ Total.
The standard scales configuration takes the total weight of the 3 quantity entered for material X (777=21 pounds) and then applies the scale pricing and calculates 200$ instead of 300$.
Any ideas?
Thanks
BSRShiva,
Thank for the reply. the graduated scale config was over calculating the value and did not work for this requirement.
However I was able to resolve the issue by creating a new scale base formula. For anyone who is interested below is the solution.
Pricing condition has the following setting
Condition class = A (Discount or surcharge).
Calculation type = C (quantity).
Do Not use fixed amount This is to allow the system to multiply the quantity with the amount calculated based on the scale condition record.
Scale basis = (weight - net or gross what ever is needed per the requirement)
Code for the formula
data lv_ntgew like mara-ntgew.
select ntgew from mara
into lv_ntgew
where matnr = komp-matnr.
endselect.
xkwert = lv_ntgew.
The system calculates the scale base from the material master and then the amount from the condition record is multiplied by the quantity to give the condition value.
Thanks
BSR -
Scale Pricing and many items on a PO due to different WBS
Hello,
We want to use scale pricing in contracts. The problem is that our purchase orders have many order lines as we buy the goods to many WBS elements.
So If we buy 9 items and put them on 3 different lines with 3 items on each, we do not get the price we should have when we buy 9, but 3 times the price for 3.
Is there a way to solve this?
rgds
GARHi,
Not sure if this works in Purchasing. But you can do this in Sales using the Groupcondition routine. Try the following:
Please mark the condition type as Group Cond in config (tcode M/06)
Also write group condition routine that reads the cumulated quantity of all lines on the PO with the same article number.
Here's the help of the field Grp.Cond.Routine in config of M/06.
"Routine number for creating group key
Identifies a routine that calculates the basis for the scale value when
a group condition occurs in pricing.
Example
You can specify a routine, for example, that totals the value of all
items in a document in order to determine the basis for a discount."
You can write your own routine using quantity scale that the quantity of all items with the same article number needs to be added.
The only question is - Is this functionality available for purchasing as well!
Good luck!
Regards,
Naveen -
Conditions in scale pricing in purchase info record
Dear Experts,
Need your valuable inputs on the following issue:
We have entered into an agreement with a vendor with the following clause:
1 PAC of material ABC costs Rs. 13000/-
In every month , the first PAC bought will be priced at Rs 13000/- and any quantity further bought in the same month will be priced at Rs. 6000/- per PAC.
For example:
07th July: PO placed for the material at 13000/-
15th July: Po placed for the material should automatically be at 6000/-
01st August: PO placed for the material at 13000/- and so on.
We looked up for Scales in Purchase Info Record and found to be valid only on quantity basis within the validity period of the info record.
Our concern is how to map the scaling condition for every month, whereby, the pricing of the purchase order in PO is system-dependent.
Looking forward to get the best solution,
Regards,
NiharI do not think its possible with scale maintain. Scale is used for picking price as per quantity.
Here, your requirement is against validity. Your price will be fluctuated against validity period.
You can maintain the price for the validity period as per your requirement in info record.
But unfortunately you have to maintain the price for every validity period for every months.
Otherwise you have the option of development, where you can write your own logic for the price picking in PO. -
Hello Gurus, hope you can help
I need to set up 3 scales for a small number of customers.
< 350 Qty = X % off invoice discount
351 - 700 Qty = Y % off invoice discount
> 700 Qty = Z % off invoice discount
When I enter into VK11 and create the condition record (Customer & Bra Pri Grp), enter into Scales I can't see anywhere to add the correct scales as above??
Is there somewhere where you configure the scaling type? I have had a look within the Condition Type under the SCALES section but can't generate what I need
Any help would be appreciated
Regards
BarryHello Barry,
1. In V/06, you control whether you want the pricing scale as value based or quantity based. If you select value based then the system will use the scale currency as the currency & not the "%". If you select the scale basis as quantity based then the system allows you to select "%" in the scale currency column.
2. Now the scaling you want is as flows:
< 350 Qty = X % off invoice discount (less than 350 means 1-350 = X%)
351 - 700 Qty = Y % off invoice discount (351-700 = Y%)
700 Qty = Z%.
Here I would like to correct you the second scale should be 351-699 as you cannot use the same reference for 2 different scalings.
I assume that from 700 quantity & more the discount would be "Z%".
Also in V/06, you can control whether the scale type will be "from scale" or "to scale". If you use "can be maintained in con" then it will be from scale & if you select "To-scale" then it will be a to scale.
Solution for VK11:
1. If you are using from scale then you should enter as follows:
Scale value.................Amount
1............................X%
351.........................Y%
700.........................Z%
In this case, the last discount scale will be applicable for the quantities more than 700 also & it will be indefinite.
2. If you are using to scale then you should enter as follows:
Scale Value...............Amount
350..........................X%
699..........................Y%
700..........................Z%
In this case, the last discount will be applicable for quantity 700 only.
So you can choose accordingly as per your requirements.
Reward points if solution helps.
With best regards,
Allabaqsh G. Patil. -
Selling pricing superceed scale price in sales order creation
Hi all,
I have a scenario as below.
Material A has maintain 3 pricing condition as below.
1. Selling price (PR00)
material A : normal selling price(PR00) = $2.00.
2. Free goods
material A : free goods -> 12 + 2 (exclusive free items)
3. Scale pricing
material A : scale pricing -> 12 items = $ 1.80
6 items = $1.00
3 items = $ 0.80
If the customer buying 12 items, he will be given 2 items free, the 12 items will be charged for rm2.00(normal selling price) instead of scale price $1.80.
Meaning to say if there's a free goods determine, i need the items to be charged with normal price instead of taking scale price.
How can I do this? I need this urgently.
Kindly advise.
Thanks!Hi,
Please check if you use inclusive in free goods determination then the price will be picked $2.00 but in exclusive that is 102 or 122 you will get $1.80only, check this and confirm. -
Shopping Cart is not Picking Pricing from Inforecord.
Dear All Guru's,
Kindly help me in this matter , as i m creating a Shopping Cart and I have also created an INFORECORD for the material which m using in this Shopping Cart.Here in INFORECORD i had maintained SCALES in Pricing PB00 ( Gross Price ) , it is maintained as for Qty 1 the Price will be 500 EUR & for Qty 16 the Price will be 450 EUR.
As the Shopping Cart is created for Qty 16 , but even then the Price being picked is 500 EUR , But as per Scale Pricing the Price
picked should be 450 EUR as per Qty 16.
I m using this Scale Scenario first time in Shopping Cart , pl. guide me that is it really Possible to fetch Scale Pricing from INFORECORD to Shopping cart?
Also please guude that is there any mistake i had done in maintaining Pricing for Scales in INFORECORD ?
Thanx in advance.
Rgds,
sap11
Edited by: sap11 on Apr 22, 2010 12:19 PMHello,
As far as I know, the standard behaviour about which price should be displayed in the SRM shopping cart when you have an assigned info record to the cart is that the price would not be fetched from the backend to the EBP system.
In SRM, the SC shows the product price and not the info record one (as you have assigned the product to the SC).
You can use BBP_DOC_CHANGE_BADI to fill the info record price during the shopping cart creation.
However, as your shopping cart takes the info record price, perhaps this behaviour has changed in new release.
Question 6 of FAQ note 550071 refers to this topic.
Kind regards,
Ricardo -
Graduated Price Scale in an MM Contract
In ECC 6.0 we are looking to enter a pricing scale condition in a contract to put in place a discount once we hit a quantity across all our release orders.
For example, after we by 1,000,000 the price drops dramatically. There is a contract for the part with a vendor with many release orders that are summed to determine when we hit the 1,000,000th part.
Graduate price scale conditions work for individual purchase orders, but we haven't been able to get the price scale to work for the contract so that the release order with the 1,000,001th purchase is at the lower price.
Does anyone know how to implement graduated scale pricing for the purchasing contract?Std SAP does not support this kind of solution but you can acheive with custom solution of wrok around is
make the contract with two line items having same materail and conditions except the price for second line should be the price you pay after 1000000 qty
in your case you can create contract for material with first line
is qty 1000000 @ $10 and the second line
enter any number of qty with discunted price so when you create the release order always use first line upto you reach the maximum limit and than use line item 2 for all remiaining orders.
I know this is not straight forward solution but without custom developement oyu can work only this way because in MM the accumalative functionality like SD does not exist. -
Hello Gurus,
I wanted to use scale type D for one of my scenario
The details are given below
I want to divide the share of revenue betwen my client and his JV partner.
I created a condition type ZBAS - for basic rate * quantity. This condition type is statistical
this total amount will be distributed between client and his JV partner
For claint share I have condition type ZCI1 -60%
For JV Partner Share I have condition type ZCI2 - 40%
My Scenarios is when my rate is 10,000
then ZCI1 - 60%
ZCI2 -40%
When Rate is 15,000
ThenZCI
upto 10,000 - 60%
from 10,000 -15000 - 55%
ZCI2
upto 10,000 - 40%
from 10,000 -15000 - 45%
I tried to use the scale type but I am not getting correct values. System is not determining the 60% for value upto 10,000
Appreciate your inputs
Thanks
NarayanHI
check the below links
[Re: Scale type D|Scale type D for group conditions;
[Re: Pricing scales|Pricing scales;
Regards,
Prasanna -
Service entry sheet pick price from Scales based contract
Dear SAP Team,
We are doing the service entry sheet using Transaction Ml81N & facing the pricing issue.
Before doing the service entry sheet a SAP contact which has prices based on the scales as distance is created .We pay the vendor based on the depth where the drilling operation are performed.
Purchase order is created using as limit order as at the time of PO the exact depth & time consumed for the service is not clear.
While creating a Service entry sheet against the PO, when I click on the pushbutton u2018Service selectionu2019 the system prompts me to choose the Service from different sources.
I select the option of service to be selected from the purchasing document (which is my contract number with scale pricing).
After this step, I could see my contract service as below but I do not have the option to select the scale prices based on the depth where the services are performed.
I do not know when SAP has provided the scale pricing in contract & it allows you to select the contract during the service entry sheet then but it does not allow you to select the prices maintained in the contract for the scales. I would highly appreciate any solution provided on it or any other alternative possible.Hi,
You have two options, just check for to carry out....
OPTION--1:
You can create three service master/activity number namely Pumping depth 0-500 M , Pumping depth 501 -1000 M & Pumping depth 1001-Above and keep base unit of measure for service master/activity number is Hour.
Now create value or quantity contract as per your requirement with three service master/activity number & you can maintain
the cost per unit as Pumping depth 0-500 M is 400$/ Hr , Pumping depth 501 -1000 M is 500$/ Hr, Pumping depth 1001-Above is 600$/ Hr
Then you can create Release Order/Purchase Order WRT contract.
Now during SES creation in ML81N, you can select which activity number performed and accordingly the cost and service number copied to SES & you can save SES and release SES.
OPTION--2:
You can have source list(ME01) & Info record (ME11). In the info record , you can maintain all scales as your requirement
and then create contract & then release order and finally SES.
Regards,
Biju K -
User-Exit for Pricing Strategy on return order.
hi,
If we have scale pricing implemented for returns how to arrive at the
base price (Pr00) condition record value based on the (Ordered qty - Returned Qty) in this scenario which user exit we shall use??
Thanks in advance,
Regards,
B.AnandhUse transaction VOFM, Formula, scale base and condition base.
Maybe you are looking for
-
Output report data to excel file format or csv format
Is there any way to save softcopy of report output to excel file format or csv format.
-
Purchased Mountain Lion Download Failure!
Dears! One week ago I purchased a Mountain Lion X from App Store to upgrade my OS X Lion 10.7.4 (11ES3) on my iMac 27-inch, Mid 2011 and since, App Store didn't succeed to download it! "An error has occurred" message in RED color is shown in "Purchas
-
The application.log file shows repeated 404 errors for files that have been off the server for ages. Also 404 errors for files that are right were they are supposed to be. It's almost like a script is running somewhere to search for these pages, but
-
MacBook Pro 17" suddenly shuts down, connected to power, hardware test normal
We have a MBPRO 17/2.16 CTO MacBook Pro 17" 2006 that will suddenly shutdown while in use. It is plugged into power. All hardware tests normal. Any ideas?
-
This is the date stored in the column, It is a date column [ 6/8/2005 9:58:25 AM ] I need to query the DB based on this date and it is not returning any thing select * from purchase where created_date = to_date('6/8/2005,'mm/dd/yyyy')