Sum of Condition types
Hi,
I have two condtions 1. for cost and 2. other for markup
cost and markup are statastical condtiions. tehre is an other condition which is sum of cost and markup. when i am creating the sales order the condition is added at KWETR and not KBETR. Users would like to see the price per unit. what am i missing.
eg: cost is
order qauntity 10
Pricing
VPRS 10 EA 100
Markup1 ea 10
Selling price 11 x 10 =110
But 11 is coming as zero and only 110 is appearing.
Thanks,
Kindly check whether the New Condition Type ( Sum of Cost and Markup ) in the Pricing Procedure has the Step number of Cost Price & Markup Condition Type in From & To Column.
Best Regards,
Ankur
Similar Messages
-
Hello,
I would like to know how can the below requirement be acheived.
There are three discount condition types: ABC, XYZ and 123. The discount percentage of 123 is fixed as 10% (in condition records)
Requirement is:
If the sum of condition types ABC & XZY is greater than 10% then system should make 123 zero (eg. ABC 5%, XYZ 10% then 123 should be zero as the sum of ABC & XYZ is 15 % which is greater than 10%)
If th sum of condition types ABC & XZY is lesser than 10% then system should subtract the sum from 10 % (eg. ABC 3%, XYZ 2% then 123 should be 5% (2+3-10)
How can it be possible in Pricing. Pls let me know if you need further info
Thank you.Hi there,
Try this.
Define your pricing procedure like this:
10 PR00
20 ABC
30 XYZ
40 Discount Sum
50 123
60 Net Value
Store the discount sum step 40 (ABC + XYZ) in a sub total.
In the requirement routine of 123 condition type, put a condition that 123 should not apply if subtotal > 10%. This means 123 discount will not apply if (ABC + XYZ) > 10%.
In alternative calculation type of 123, put a logic such that if sub total (ABC + XYZ) is less than < 10%, then 123 will be 10% - sub total. Meaning if ABC + XYZ is < 10% , then 123 value will be 10% - (ABC+XYZ).
Explain the requirement to the ABAPer & check if it solves your requirement.
Regards,
Sivanand -
Dear Experts,
I have 7 step in pricing procedure including 10,20,30,40,50,60,70
at 70 level i want the sum up of value 10,30 and 50. who can i design it in the pricing procedure, FROM TO, or have any other routine will do that.
Please advise.
Regards,
ImranDear
Brilliant logic, will be use ful for me.
Have another query, please suggest the query will using multiplication.
Means
I want that condition 2 record is multiply with the *Value of condition type 1,
Condition Type 1: PR00 Quantity x Price = *Value
5 x 2 = 10
Condition Type 2: 5 record value is multiply with 10 (*value) and give result in 50.
Please advise.
Regards, -
Discount calculating sum of Active & Inactive Base Price condition type
Hi,
For condition type ZBPO-Base Price maintained condition record with two key combinations, In sales order Conditions Price determined for ZBPO condition type with Inactive and Active. But Discount condition type ZDCO calculating 15% discount on sum of the Inactive & Active of ZBPO amount.
Requirement is Discount should be calculate Active ZBPO condition type only. Without deleting inactive condition type in Sales Order Conditions, what are the configurations need to do.
For Ref: Please check the below screen short.
Regards,
Parviz.Dear Lakshmipathi,
Thanks for replay, Please check the below screens as you asked.
Inactive:
Active:
In Analisys I kept mouse curse on the condition types I'm not get any message on that (Dont know the reason why your asking that). Clicked on condition type and sent with access details.
Inactive:
Active:
Regards,
Parviz. -
Is there a way to fix the exchange rate of PO item condition type ?
Hello all,
We have an agreed selling price in RMB from the supplier and the export rate(RMB to USD) is given by them according to delivery date. But we pay in USD. Thus PO header is USD and using M rate but PO price condition type in PO item is RMB -> then convert to USD and sum up into gross price. We want to control the way RMB is converted to USD in the item level.
e.g. PO order currency is USD, PO header exchange rate is a fixed rate input by user
(hedge rate USD -> Local company currency)
PO item 1 agreed PO price is 100 RMB -> PO item condition's rate is 100 RMB per pc
-> export rate RMB to USD fixed at 8 -> 100 / 8 USD
PO item 2 agreed PO price is 200 RMB -> PO item condition's rate is 200 RMB per pc
at export rate -> 200 / 8 USD
Total PO value in USD = 300 RMB / 8 (we don't want it to convert 300 RMB using M rate)
Appreciate if anyone has a solution for this similar case.KiltedTim wrote:
The only way to do so and preserve your warranty is a replacement from Apple. US$199 without AppleCare+, US$49 with. If it doesn't affect the functionality, though, they may not give you that option.
It's not that big of a deal. I'm just seeing if anyone knows how to bend it back straight from experience or imagination. -
How to set required for group of condition type in the same condition class
Hello,
we have a group of condition type with the same condition class B, the last one have been set, and all of others will be inactive.
but we don't set any required for all the condition types in pricing control, so if user don't set any of them, the sales order or billing is still saved. that is a risk.How can i fix it? Thanks.
SophieHello,
incompletion log is not available in invoices.
You have different options:
- activate a validation in FI when the Billing document is released into accounting, so that te release into accounting is not allowed if the invoice amount is zero;
- define a subtotal in the pricing procedure as sum of the pricing conditions of your group, then develop a custom routine to be assigned in the formula "CalType" (field T683S-KOFRM) where an error should be raised if the amount of the subtotal is zero (use as an example formula 48);
Best regards,
Andrea -
On Net value: Discount Condition Type
Hi,
I would like to know whether the below requirement can be fulfilled with the standard SD configuration.
As far as I know all discount condition types calculates on Gross value. But I have a discount condition type (lets say 123 = Special Discount) which should calculate based on Net value. I can create a step after Netvalue but the problem I see is, how the system calculates Output tax
eg.
10 PR00
20 ABC (Customer discount)
30 XYZ (Material discount)
40 Discount Sum
50 Net Value
60 123 (Special Discount)
70 MWST (output tax)
So if I place discount type 123 after Net value, I think it will calculate on net value, but the problem might come with MWST as it cant calculates on Netvalue but on 123. Am I right? I knew it can be done with the ABAPer help. But I would like to know whether it can be done with standard (alrady predefined) SAP configuration. (by assigning any routine or some settings in Pricing procedure determination in V/08 ???)
Thank you.Hi santosh
Sub total will the PR00 - Discount sum
Net price will be Sub total - Special discount
how do I mention that sub total will be PR00 - Discount. I configure like this
10 PR00
20 ABC (Customer discount)
30 XYZ (Material discount)
40 Discount Sum from20 to39
50 Sub total
60 123 (Special Discount)
70 Net price
80 MWST (output tax)
90 Total
when I indicate from 20 to 39 besides Discount Sum, system will sum the discounts between step 20 to 39. How do I write at sub total like this, so that system will deduct the discount sum from PR00. Similary how do I write Sub total - Special discount.
Could you please explain bit more detail.
Thank you. -
Hello All,
I have one requirement in which i want to show the total of three condition types of taxes section in one condition type in conditions tab.
for eg in PO in invoice tab> taxes there are three condition of taxes like jm0p,jiex,jecp and there values are 100 200 and 300 rupees.now i want to show the sum of these three in conditions tab under jip9 condition type.
Im using routine to calculate the same but not getting the desired result.
Pls let me knw any information on this.
Regards,
SunnyHi Friend,
Did you have activated the routine?
Through VOFM, after writing the condition value, select the routine; Edit -> Activate.
Put the routine name agains the main condition type in pricing procedure.
And i need to know how you are getting the value for other three condition types. Take values through sub total (give value like D,E,F); then it will be stored in XKWORD, XKWORE, XKWORF variables.
Hope it will solve the problem.
Regards
Krishnendu -
Condition type and calculation schema
Hi,
I would need to set up a condition type and set this into a calculation schema.
The condition type is a kind of tax. (It must be percentage.)
The tax amount increases the cost, asset value or stock value so the NET amount must be summed up with this tax amount and posted in the GR.
Please let me know how to set up this condition type and how to set up the calculation scheme so that NET amount and tax amount could be posted in the MIGO.
When creating a PO line itme with w material I would like to be able to set the NET amount there.
When lookint at the Condition tab of the line item in the po I would like to see the
NET amount
The tax percentage calculated
The total of these.
In the MIGO I need to post the total.
Thanks in advance,
AgnesHi,
The option is available with Transportation Management in standard using Multi-dimensional calculation type. As of my knowledge, the full functionality is not available without TM, as there is no option to assign the scale type in MM.
If you want to map the same scenario in MM without TM, then you may go for development. You may create a new Z table and maintain the kilometers and rate per km for each vendor and ship to party (customer number for the receiving plant). Create custom routine to pull the price (distance * rate per km) from the z table and calculate the total price based on the calculation.
If the kilometers / route is changeable for each PO, then you may add the distance field in PO.
Regards,
AKPT -
Hello,
We have 3 custom condition types defined in pricing procedure. We need to add the values of all these 3 conditions and add into the last (i.e. 3rd condition).
Basically we want to collect the sum of all 3 conditions into the third condition value.
How can we use a condition value formula for it?
STEP Condition Type From To Subtotal AltCty
90 ZTST1 B
100 ZTST2 B
110 ZTST3 B 987 ?
But how can Formula 987 will collect the total of all these 3 conditions ZTST1, ZTST2 and ZTST3 ?
Thanks to advice,
AnandHi,
Good Day,
Please Try below code in your formula.
***form frm_kond_basis_987.
data : kwert_1 like xkomv-kwert .
data : it_komv like xkomv occurs 0 with header line.
refresh it_komv.
clear it_komv.
it_komv[] = xkomv[].
kwert_1 = 0.
loop at it_komv.
if it_komv-kschl = 'ZTST1' or it_komv-kschl = 'ZTST2'
or it_komv-kschl = 'ZTST3' .
kwert_1 = kwert_1 + it_komv-kwert.
endif.
endloop.
xkwert = kwert_1.
*****endform.
Best Regards,
KSK -
As we know, in Purchase orders, Condition type PB00 flows from Outline agreements/inforecord/Condition records etc, while condition type PBXX is to be maintained manually.Also PBXX if maintained supersedes PB00 i.e is considesed for Gross/Net price calculations.
The requirements at a client's place is as follows:
For most of the regularly procured materials, contracts are maintained. Hence generally the P.O. price will be automatically determined as PB00. However there are cases where P.O is placed at a price which is different from generally agreed price maintained in contracts. In such cases price is to be entered manually as PBXX in P.O.,but the defaulted price should also remain i.e the p.o.should show both PB00 & PBXX so that Purchase Manager's attention is drawn to such cases
The issue is while standard Gross/Net/Tax calculations are taken care of ,subtotals in the pricing schema are going wrong. To illustrate...
Step Counter condition type Description from To
10 1 PB00 Gross Price
10 2 PBXX Gross Price
20 1 R000 Discount 10 10
Subtotal (Net price) 10 20
The subtotal(Net price) which is the base for some of the further condition types in the schema , calculated as sum of PB00 & PBXX minus Discount. It should be PB00 minus discount if PBXX (manual price is not maintained) & PBXX minus discount if the same is maintained.
Will appreciate your inputs
ThanksDear,
The difference between pricing conditions PB00 and PBXX is :
PB00- automatic pricing - can be used for automatic pricing determination
PBXX- manual pricing - used for manual pricing.
When you maintain the pricing condition for the PO, the system will look at the available condition records (for PB00) and make the automatic pricing determination. In case, such condition records were not defined, then it is mandatory that you have to maintain manually the pricing condition where PBXX will be automatically defaulted in replacement for PB00.
Regards,
Syed Hussain. -
Multiple lines of Condition types in Purchase order header
Dear Consultants,
We assigned certain condition types in the access sequences. This access sequence has 4 condition tables. User can maintain condition records at any level; viz SiteArticle OR Deli.CountryHTS code OR Deli.CountryHTS codeShippingCountry OR Pur.OrgVendorMC level
However, once these condition types are determined at item level in PO, the total of condition amount at header level is not summed up in one line, and is displayed in multiple lines i.e as many conditions for an item as many lines.
The client wants all the amounts for a condition type for an item to be displayed in single line. Could someone please suggest some solution???
R's
Manoj.CLOSED
-
Two calculations are required for a single condition type
Hello Experts,
I have a requirement to calculate the VAT conditon type in a pricing procedure...like in one case ( If TAX Indicator set to "0,1,2" at sales order header level) tax should be calculate on PR00 & 3 other condition types....in second case ( If TAX Indicator set to " 3 " at sales order header level) tax should be calculate on 3 other condition types except PR00. But make sure that TAX Indicator "3" always set by user manually during the creation of sales order.
Another hurdle is if user set the indicator as 3 manually during the creation of Sales order then price will not be redetermine automatically, So I need this to be happend automatically.
Let me know how should I proceed further to fix the requirement.
Appriciate quick response.
Regards,
ChanduHi Sudir,
Somehow my edit did not get saved:
This is suppoed to read
Set up your pricing as follows:
10 PR00
20 Z001
30 Z002
40 Z003
100 Subtotal #1 = Sum of 10 through 40
110 ZSUB = Discount condition with condition record for 100% for Tax indicator = '3' (otherwise 0) with base = line 10 (PR00)
200 Tax base = 100 through 110
In other words:
For tax indicators = 0,1 or 2
Tax base (Line 200) = PR00 + Z001 + Z002 + Z003
For tax indcator = 3
Tax base = PR00 + Z001 + Z002 + Z003 - (100% x PR00) = Z001 + Z002 + Z003
Yiou will probably aneed to put some code in one of the sales order user exits to trigger repiricing if you change this manually. -
Complex Condition Type for Discount Needs Assistance
Is it possible to have this kind of requirements ?
No of cases Powder Tea/Fruit
Base Cash Total
1-9 cs 10.00 10.00 20.00
10-19 cs 20.00 10.00 30.00
20-49 cs 25.00 10.00 35.00
50 cs & above 30.00 10.00 40.00
No of cases Water
Base Cash Total
1-9 cs 3.00 2.00 5.00
10-19 cs 8.00 2.00 10.00
20-49 cs 13.00 2.00 15.00
50 cs & above 20.00 2.00 22.00
No of cases RTD-PET
Base Cash Total
1-9 cs 4.00 3.00 7.00
10-19 cs 7.00 3.00 10.00
20-49 cs 12.00 3.00 15.00
50 cs & above 17.00 3.00 20.00
Sample products
POWDER TEA/FRUIT
1. Mango powder
2. Lemon powder
RTD PET
1. Pineapple 500 ml
2. Orange 500 ml
WATER
1 Purewater
Scenario 1:
Customer is purchasing the following:
Mango powder - 25 cs
How much will be the total discount? SInce the customer orrdered 25 cs, the total discount that will be given is Php 35.00 based on matrix above.
However,,
Scenario 2.
If the customer purchased a combination of
Mango powder -10 cs
Pineapple 500 ml - 20 cs
Purewater - 20 cs
The total discount that should be give are:
Mango powder - PHP 40.00
Pineapple - PHP 20.00
Purewater - __PHP 22.00__
total discount : PHP 82.00
The prolem we encountered is we cannot do the total of all products given on the matrix above.The system reads the discount per line item. We need to generate first the total orders so we can get the correct computed discount base on the matrix.Hi Jefferson Thomas Javier,
To take in account the whole quantity of items to calculated the discount condition, you should make the condition type of discount as a Group condition (it is a check box within the configuration of the condition price), in this way the quatity taken to calculate the discount is the sum of all items.
Thanks,
Mariano. -
Change decimal points in SD Condition type from 2 to 3, for EU
Hello,
We have a slight problem with the amounts. We are using resource related billing in the project and to track some expenses, there are some condition types created. Since the currency is maintained as EU, the decimal places are maintained as 2 decimals in OY04 and we dont want to change that.
We face an issue, when SAP Converts condition value from 3 to 2 decimals
For example, when in Contract we have an Condition Value of 100.025, this is converted to 100.03 and tax is applied on this amount.
When we create an invoice and subsequently a Credit Memo request, that will contain more than one item, and the sum of all items will have to sum up to 100.03, but this is never the case, as with the application of tax rate, the value comes to something like 100.02 or 100.04..
With 3 decimal points, this amount adds upto correct value.
So our ideal solution will be the have the Condition Values as 3 decimals and the Net value in 2 decimals.
Is there something that can be done for this?
Hoping for a quick response.
Regards
MaddySAP stores the 3 decimal value in XKOMV-kbetr and Xkomv-kwert is calculated based on this 3 decimal values...
I had a similar scenario with currency conversion and rounding issue in sales Order and Invoice processing, in VOFM routines... so I used a Floating point value and converted to character value and then used that 3 decimal value for calculation.
Maybe you are looking for
-
Dear All, i made changes in my custom logon.par file and uploaded it...now when i restarted the server it shows runtime error ...below is the log for that...Can nebody please solve this.. #1.5 #00188B76ACE8011902557F56000016580004586C65ABDED0#1223122
-
Connectivity problem with MSI GX60
Good morning, gentlemen, 9 months ago I bought me a Steelseries MSI GX60. Everything was working quite fine, but after four months I started to have complications with my wifi, as it was saying, that I have excellent signal, but I could not load any
-
Set new value as a default value while creating PD(Performance Dailog) Form
Hi, In Performance management, While clicking on the Create new PD Form Button, We are getting one Pop up window with the deafult selection screen. In that, We are getting Valid From: and Valid To value bydefault as a '01.01.2011' and '31.12.2011' .
-
Mail: export photo to iPhoto
I received an email with several photos in it. If I right-click on a photo, I see this option: Export to iPhoto. I click it. Photo is not in iPhoto.
-
Error Message When Editing Font
I am using Adobe Acrobat 9 Standard. When I try to edit text in a document with TouchUp Text tool, I get an error message: "All or part of the selection has no available system font. You cannot add or delete text using the currently selected font." W