Pricing condition based on a $ value

Hello,
We have a uniqure requirement in the Pricing for a Sales Order.
We have a sales price condition PBXX maintained and it populates automatically during sales Order creation.
Now what we want is if the total of all the conditions is less then 5000$ at the header level then the system should populate another condition with a $ value on it.
So basically we want another condition (with a fix $$ amount that we will maintain) to come up in the sales order when the header value of that order is less then 5000$.
Any Ideas?
Thanks
SAP Fan....

hey friend ,
i read again what you wrote,
lets make it simple :
A) you have 1 header condition that works in he sales order  : PBXX - maintain a value in vk12 .
B) create another header condition :  Z005 - and maintain a value in vk12 .
  ( its possible to maintain a value for header conditions )
C)  now you want to activate the second condition (Z005 )  if the sum of all the conditions
     is greater than 5000 ,
2 options :
  1. hard coded - go to transaction VOFM-REQUIRMENTS-create  new formula :
      and add the next lines to the routine :
       FORM "XYZ" ( the name is generated by the system ) :
      check 1 = 2.
      if komp-netwer > 50000
      check 1 = 1.
      end if .
2.  by " value scale " -  define Z005 condition as a value scale.
go to transaction vs01 and define the following  intervals :
0 - 5000  USD                   
5000 - 9999,9999      USD
go to transaction vk12 and assign your surchage :
    0 - 5000                      -
> assign value 0
    5000 - 9999,9999         -
> assign the value you want to be activate
hope i made my self clear .
BR
ASA

Similar Messages

  • Condition based on Input value by parameter

    Hi experts,
    I  am looking for a solution in crystal reports  in conjustion to BI . I m using Bex query directly for this report rathing creating an universe.
    I am trying to create a RKF based on parameter value by user's input.
    For example : - user input a date FROM-TO and than I am filtering minimum and maximum value . Based on these 2 values I have to restrict a KF Sales amount.
    Whenever I try to do like this in formula I get this error. Can someone help me in that please ?
    if  ({ZCRETA_ZZCRETA_Q_001_TEST.[ZCALMTH]} <= {@Min}) then {ZCRETA_ZZCRETA_Q_001_TEST.[Measures]-[D6T7LZ8YG3KSRHCE821ZX1WVY]}
    I also tried while do as well but did not work.Bascially I am trying to do something like this
    If Calmonth <= Min ( already filtered by me from parameter's value ) than display sales amount.
    As per this logic I should be able to see all the sales amount wherver Calmonth is less than of equal to minimum value of Calmonth.
    Thanks in Advance,

    Hi, your statement is looking at a formula, not a parameter
    f ({ZCRETA_ZZCRETA_Q_001_TEST.ZCALMTH} <= {@Min}) then {ZCRETA_ZZCRETA_Q_001_TEST.Measures-D6T7LZ8YG3KSRHCE821ZX1WVY}
    If it was a parameter it should look like this
    if ({ZCRETA_ZZCRETA_Q_001_TEST.ZCALMTH} <= {?Min}) then {ZCRETA_ZZCRETA_Q_001_TEST.Measures-D6T7LZ8YG3KSRHCE821ZX1WVY}
    you may also need to add the else.

  • Routine for disallowing Pricing Conditions based on Plant.

    Hi,
       I have created a routine RV61A985. There I, validate if there is a particular plant, and if so, i block certain conditions in the conditions tab of the sales order, but setting sy-subrc value = 4.
       It worked perfectly well, in my development system. Now, When i have transported to Quality System, I see that it does not work, or even hit the break point in that routine.
       Can any one, tell me what's missing.
    Regards,
    Owais..

    Hi,
    First & formost please check if the routine has been attached by the SD consultant in the pricing procedure.If it's present then it's the problem of activation. You can check it by going into edit mode of the routine & tryiing to set the break-point. If the break point is set successfully then the routine is active otherwise it will just display !!! without setting the break-point indicating that the routive is inactive. The funniest part is in VOFM it will still show the routine as inactive. Just select that routine deactivate it & activate it again.
    Then again check by trying to set the break-point. If break-point is set that implies the routine is active.
    I hope this helps,
    Regards
    Raju Chitale

  • Reset a pricing condition type value when generating billing document

    Hi experts,
       I have a delivery-related billing type. In sales order, there is a pricing condition type Z001, with value = 100, I would like to reset it to zero when generating billing document. Is there any configuration or user exits can do this? Thanks.

    Hello,
    You can do this in BILLING provided , if the Condition type is Manual condition type
    To achieve this you have to do some configuration in the condition types as,
    Goto transaction code V/06 and select your condition type and maintain the  MNAUAL ENTRIES as  C which means you can process it manually and in the V/08 chose your pricing procedure and against your condition type check the Manal entry .
    Now you can change the value of the condittion type to 0 in the Billing document.
    Hope this is clear,
    regards,
    santosh

  • Modification of Pricing Condition in CRM

    Hi,
    I am tring to change the value of the Pricing condition based on the condition type. I have tried with CRM_ORDER_MAINTAIN and PRC_PD* FM. But i could not.
    Kindly update me if you know any FM can help me.
    Thanks in advance.
    Regards,
    Bala.c

    Hi,
    I am explaining my problem little more.
    I have to change the Pricing condition amount in the contract. I have called the FM CRM_ORDER_READ for getting the current pricing conditions record and using FM PRC_PD_ITEM_INPUT change the amount of pricing condition for ex: PR00.
    I have checked the pricing condition amount using CRM_PRIDOC_READ_OW FM and I got the same value which i have changed. So It got changed the IPC as well as buffer also.
    But After calling the FM CRM_ORDER_SAVE the condition record amount is not saved/replicated in the contract.
    Kindly suggest me. If i missed anything.
    Regards,
    Bala.c

  • How can I get SD pricing conditions list as in VA01 without creating SO?

    Hi Guys,
    I have searched a lot of posts for this answer but only found that it's not possible to do through function 'PRICING' without creating SO document.
    My initial input is: sales organization, distribution channel, customer, material number, pricing date. Can I find relevant pricing conditions based on this info? I need to make a report, which would display all pricing conditions with values based on the selection parameters mentioned earlier. Thanks for any help.

    Use function module 'PRICING'
    This is a pretty big task interms of collecting all the required data.
    Check where used list for pricing. This is used in 2 places. Put a break point on them and run your sales order transaction. See what are the fields passing through.
    You can also determine from KOMK and KOMP . One for customer and the other for material. Make sure you pass all the data that is required.
    You will get results of conditions in importing table. (may be konv)
    Using simulate will actually creates a document number (i believe). Even though this will not be available in VBAK, VBAP... the number will be taken off from the sales order number range.
    I have used PRICING function module in of my work.

  • Condition based records sent to proxy

    Hi all,
    My interface is a File(FCC)-Proxy in PI7.0. I get 100s of records from the source and there are fields ID and LOC.
    Fields which has ID=2 and LOC=US or UK, only those particular records should be sent to the proxy. Please help.
    Thanks,
    Chaitanya

    hi chaitanya,
       "Condition based records sent to proxy"  
       Based on condition you sent records, in interface determination we have condition option there you define the condition .Based on payloda values we send it.
    1)   left operand : ID = Right operand : 2
    2) Left Oreand :LOC  = Right Operand : US OR(Insert Group We select Operation OR)
         Left Oreand :LOC  = Right Operand : UK
      regards,
    ganesh.n

  • Numbers SUMIF with condition based on another cell?

    This works great!
    =SUMIF(Food Log :: Date,"=March 20, 2008",Food Log :: Calories)
    But I want the condition to be based on a cell value:
    =SUMIF(Food Log :: Date,"=A2",Food Log :: Calories)
    Is there a way to use the SUMIF function with a condition based on the value of a cell?

    Chris,
    Try this formula: (Forgive the made up values in the example)
    =SUMIF(Food Log :: Date, A2,Food Log :: Calories)
    pw

  • Get Pricing Condition Result: BAPI_QUOTATION_CREATEFROMDATA2

    Hi Experts,
    I need to get the pricing condition data in BAPI_QUOTATION_CREATEFROMDATA2, under the table QUOTATION_CONDITIONS_IN when in TESTRUN mode, is it possible?
    I have tried in several time but it cannot work. It prompt me info message 'For the currency code MYR ALE communication is not allowed'. The reason I use test-run is because I don't want the quotation being created.
    Or any other way for me to get all pricing condition based on material and ship-to party ??? Thanks.
    Cheers,
    Isaac

    Hi Isaac,
    Please create Bapi using your repective Progamme and try to give the Resepective conditions related to pricing from XML file.as you are saying you are doing this for testing.hope aware that while creation of BAPI if the certain condition are not matching or if the data is incomlepte you will get this kind of errors.
    Please Reward If Really Helpful,
    Thanks and Regards,
    Sateesh.Kandula

  • MM Pricing conditions

    How to maintain the pricing condition for Minimum order value.
    Example: Vendor will accept only 100$ minimum order value for each line item.
    if buyer placing the order for 60 dollars, system should round up automatically to 100$. If he place the order for more than 100 dollars system should ignore this.
    How to handle this?
    Please reply
    Thanks'
    SUNIL KUMAR

    Hi Sunil,
    In Vendor Master Record we can maintain minimum order value in the Puchasing data - Condition.
    It is applicable for particular vendor only.
    If it is to be done for all the vendor you may have to maintain the same for all the vendors.
    Otherwise it is to be done through coding.
    Regards,
    Ramesh

  • SD Pricing condition tables.

    Hi,
    I have 3 SD pricing condition tables in ECC that starts with name Axxx. I need to extract the data from these 3 tables thru a generic extractor. Anybody has an idea on how to get the delta from these tables? Any help would be highly appreciated.
    Thanks,
    Rajesh.

    Hi,
    Generic delta can be obtained based of the key field you give in generic delta tab.
    Note make sure that you need to create a view  by joining the relevent tables which contains 3 pricing conditions.
    based on that you can give the key field name for delta etraction. the system will automatically gets the delta.
    santosh

  • How to activate a pricing condition

    Hi  Gurus,
    We have a sales order where the pricing conditions are shown inactive at item level. Hence there is net price appearing at item level, but the net price is not shown at the header level.
    This is an issue because when invoice is created, it is getting created with value = 0.
    We tried updating pricing at both header and item levels with pricing type - C, but of no use.
    Request your help in letting us know how to activate the pricing conditions, so that the value appears at the header level.
    Thank you in advance,
    Krishan

    Dear Krishan,
    Could you please try updating with B and recheck. (in the sales order).
    You may cancel the invoice created as its with ZERO value.
    Also if its not working revert back with your condition types in the pricing procedure.
    Thanks & Regards,
    Hegal K Charles

  • Scheduling Agreement pricing condition PB00 value

    Hi Experts.
    Within pricing schema I do have pricing condition PB00 that is manually put in by the user. I have created a routine in order to calculate the PB00 value based on some logics and assign it to PB00 within the pricing schema.
    So, if the custom logic are found, the price value should be change accordingly, if not the value put by the user will be kept.
    The problem is that, at end of my routine the price is correctly calculated (let's say the user writes 2 and my routine calculates a price of 3) and the price is correctly updated on the scheduling agreement line field NETPR. But if i go inside the item to see the conditions I still see PB00 with the not-changed value.
    Can anybody suggest? I am manipulating xkomv-kbetr and  konp-kbetr.

    Hi, Thanks for answering.
    They are set so. But i need in any case to change the value of PB00 accordingly to my routine.The problem is that, at end of my routine the price is correctly calculated. PB00 value is 2 and it correctly recalculated by my routine to 5. on the SA item I see hte net price equal to 5, but if I go in the details I see condition PB00 still equal to 2.
    Do you have any hints? thanks.

  • Pricing Condition type triggering based on other condition type

    Hello sir,
    There are some pricing condition types in our system.
    Based on condition records you can trigger one condition type based on other    condition type.
    For eg: PR00 condition type is there and amount is  suppose 1000rs and other condition type is JBED and we made a condition record and put it some percentage so as soon as we some value in PR00 ,JBED condition type is automatically manipulating the value on the base condition record.
    Now i want other than condition record can we trigger one condition type based on other condition type through defining user routine under requirement.
    Suppose we have condition type ABC and some amount i have given and other condition type DEF , i want that amount of DEF condition type should automatically come from the Condition type and it should manipulate according to my routine .
    eg  Condition type    Amount
           ABC                  1000
           DEF                    40
      The value 40 should come as 4% of 1000.
    I am not maintaing any condition record and i want that this should trigger through some requirement created by me.
    i created my routine no 905 and i putted the code inside it.
      if komtl-kschl = 'DEF'.
      komv-kbetr  =   ( komv-kbetr * 4) / 100.
    endif.
    Now problem is that this code is getting trigger when i m giving value in DEF condition type then it is showing 4 % of it.
    But i want as soon as i give value for the condition type ABC and some value 1000
    then after pressing enter , one condition type DEF should automatically come with value 40 that too in display mode ,not in change mode.
    Please suggestions and solutions regarding this matter , I will be grateful to you.
    Manish

    hi
    In V/06 in the calculation type you can see the entries for "D-gross weight" & "E-net weight"
    For the required condition type select the calculation type as gross weight or net weight. Save it.
    In MM01 - create material master, here in BASIC DATA 1 SCREEN you have fields for gross weight & net weight.
    Maintain the condition record in VK11 for the required condition type.
    You can also maintain the scales as required like u said
    1 to 10 kgs -  100 rupees,
    11 to 25 kgs - 1000 rupees.
    Another way could be
    The BEST practice to do it is, use of VOFM routine for price calculation (VOFM-->Formulae).
    Take help from ABAPer and write a routine such that
    if weight = 1 - 10
    price = 100.
    else if weight > 8.
    price = 1000.
    else
    price = 100.
    end if
    but the maintainnance of routine is big problem as u might be having many records
    Hope this will help you
    Vishal

  • Pricing Condition Value

    Hi All,
    I have a strange issue, where in when we eneter a material into sales order(VA01/Va02), there is a customized pricing condition type which is triggered. But the problem is, the condition base value appears zero and net value is calculated accordingly.  When we save the sales order, the COndition value  appears and net value changes because of this. Initially Condition value appears zero. It is an Item condition. Whet could be the reasons for this discrepancy.
    Thanks ,
    Swathi

    HI,
    Kindly Check your Pricing procedure in V/08 , and also check in Sale order level how system is calculating what is the value is picking based on that you can do the necessary changes in pricing procedure
    Regards,
    Prasanna

Maybe you are looking for

  • View more podcast history of a certain podcaster?

    Is there a way to see more than 4-5 previous podcasts through the music store interface? I want to be able to download them there so they will file properly as "podcasts" on my itunes. If not, is there another way to download podcasts so they will fi

  • Can't open contacts app on my macbook

    Can't open contacts app on my Macbook. I thought upgrading to Yosemite would fix the problem, it did not. The error message I get when trying to open Contacts: *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason:

  • File -- Export in oracle apps forms- headings missing and order incorrect

    We have a custom form for our custom billing processes. It lists all the draft invoices that are ready to be released along with multiple custom fields. When the user tries to export the data in this form, tsv file is saved. We have the following iss

  • Mac on all PC server BOOM!!!!!

    I work at a school where all the comps are PC's. I use a Mac. The IT guy told me NOT to connect my Mac to the school server. I have three Macs at school two run OS 9.2.2 and one runs OSX 10.3.9. Out of desperation to use the Internet, I connect all t

  • Mac system, When I use shockwave, the response time is very slow. I have updated Shockwave.

    I am running OS X 10.6.8. I am trying to do a jigsaw puzzle, but the cursor movement is slow and erratic. I have updated Adobe Shockwave, but still have the problem. The last time I updated Firefox I had the same problem and went back to the old vers