Condition types in orders

Hi,
      I want to find out in what all sales orders a particular condition type was used.
For example there is a condition type k005, now i want to find out in what all sales orders this condition type was used.
     Useful responses are highly appreciated.
Thanks & Regards
Sadhu Kishore

you have to write a custom program:
start from table KONV looking for KSCHL = K005
find out the KNUMV value and then go to VBAK to find out the order number.
You could use a query too, based on an Infoset created with the logical database VAV.
Pls. reward if this help you
Roberto Mazzali

Similar Messages

  • Needs maintain Quality testing condition type in order

    Hi,
    There is  a scenario for maintaining the quality testing charges after PGI. in cash sales customer. after they are updating in the invoice. so there is difference in order value and invoice value,
    This difference needs to avoid.
    This condition type (like ZQTC) needs to indicate the user at the time of sales order processing.
    Please help me for configure the same,
    Note: this condition type should be maintained only for Quality testing charges applicable for cash sale customer.
    Thanks and Best regards,
    Muralidharan S
    9841381700.

    resolved by self

  • Condition type in sales order - enhance extractor

    Can anyone help me in enhancing field condition type for sale flow. I need to filter sales orders with condition type 'minimum order surcharge' in BI.
    There is KONP table having condition type field.
    Do I need to enhance VAHDR or VAITM. Please help.
    Thanks

    If orders are to be filtered then both Order Header (VAHDR) and Order Item (VAITM) should be enhanced.
    But I'd strongly recommend not to filter out the orders at the time of extraction/loading (in info-pkg).
    It is better to do the filtering in the report itself.
    Hope this helps.

  • How to create a new condition type for palets

    Hello Gurus,
    I want to create a new condition type to order material palets (like LP02) but I need to calculate a discount in % for entire palets only.
    By example:
    A discount of 5% for each completed palets.
    I order 1 palet for 100euros, I want a discount of 5 euros, and final price is 95euros.
    I order 1,5 palets for 150 euros, I want a discount of 5 euros and final price is 145 euros (100-5% + 50) and not 142,5euros (150-5%).
    I order 2 palets for 200 euros, I want a discount of 10 euros and final price is 190euros
    I tried with a fixed amount calculation type and it works fine, I have a discount only for entire palets. But when I tried with percentage calculation type, it doesn't work.
    Any Idea?
    Thank you for your help
    Gregory

    Hi,
    In the pricing procedure config, you will have to create a new formula under the AltCBV (Alternative formula for condition base value) column.  The base quantity should be
    Order Qty DIV 1
    That will give you the effect of truncating the decimals.   Suggest you get an ABAPer to have a look for you.
    Phyllis.

  • Condition type field when Define Pricing Procedure Determination

    Hello Gurus,
        there is a condition type field when Define Pricing Procedure Determination. what does it mean ?
    Many thanks,
    Frank Zhang

    Here is are the details of various fields while configuring pricing procedure.
    A. STEP
    This indicates the number of step-in the procedure.
    B. COUNTER
    This is used to show a second ministep
    C. CONDITION TYPE
    This is the most important component in the pricing procedure. The rates are picked up from this element, on the basis of the properties described.
    D. DESCRIPTION
    This forms the description of the condition type.
    E. FROM
    This is used to define the progression of the calculation and range of subtotals
    F. TO
    This is used to define the progression of the calculation and range of subtotals
    G. MANUAL
    This function enables to allow the condition type to be entered manually also apart from automatic pickup.
    H. MANDATORY
    This function identifies the conditions that are mandatory in the pricing procedure. The sales price is a mandatory condition type.
    I. STATISTICS
    This can be used to represent the cost price of the material sold, generally used for study statistical impacts of price
    J. PRINT
    The activation of this function will enable the printing of the values and conditions to the document.
    K. SUBTOTAL
    A key is assigned from the drop down menu; this can be used by the system in other area like Sis for reporting purpose also
    L. REQUIRMENT KEY
    This function is used to assign a requirement to the condition type. This requirement can be used to exclude the system from accessing the condition type and trying to determine the value. This can be used to specify that the condition type should only be accessed if the customer has a low risk credit.
    M. ALTERNATE CALCULATION TYPE
    This function allows you use a formula as an alternative in finding the value of the condition type, instead of standard condition technique. this can be used to calculate complex tax structures.
    N. ALTERNATE CONDITION BASE VALUE.
    The alternative condition base value is a formula assigned to a condition type in order to promote an alternative base value for the calculation of a value.
    O. ACCOUNTS KEY
    The account keys form part of account determination. These keys are used here to define the posting of the revenue generated to respective account heads& to subsequent assignment to GL accounts.
    PR00- ERL
    K007/KA00- ERS.
    KF00- ERFu2026u2026u2026u2026.& so On.
    P. ACCRUAL KEY.
    The accrual keys form part of account determination. These keys are used here to define the posting of the revenue generated to respective account heads& to subsequent assignment to GL accounts and payment to respective parties.
    Kalpesh

  • How to prevent consecutive entries of same condition type in a sales order

    Hi,
    My client is using manual condition type for the basic price "ZBPR". Now system allowing multiple entry against this condition type in the pricing screen during order creation i.e in the first line if we put Condition Type "ZBPR" and putting some value as amount, then again if I put "ZBPR" as condition type and give some other value as amount then system is allowing this and doing all the subsequent calculation.This is not acceptable by the client.
       The functional person regarding this is saying this can be done by using routine.Can some body tell me which routine should I take for this if that is possible by routine and the required code.Also say if there is other way to solve this.
    Thanks,
    Manas.

    Hi ,
    u can do it thru VOFM(tcode)--->Menu -> Formulas>condition value , but in this case u need to derive the value of this condition type by using ur own logic.
    Re: vofm-routine
    Regards
    prabhu

  • How to restrict duplicate condition type in sales order

    Hi All
    Is there any standard method to restrict user for adding a particular discount condition type more than once in sales order. condition type is manual and its records are also being maitained manually.
    Else would I will have to create userexit at sales order level or a routine in pricing procedure. I doubt on creating a rotuine in pricingprocedure because in pricing procedure there is already a restirction to add similar condition type more than once.
    Thanks

    create a routine and add this routine to the discount condition type only.

  • Can we take standard report for all sales orders based on the condition typ

    Hi all,
    Based on the condition type, we need to take a report for sales orders on the particular date.
    Thanks and Regards.....VM

    Hello again.
    Searching for a solution, I found a Logical Database for sales orders, that have all the information that you need.
    Using like reference the post of Bhagavatula, in the same transaction SQVI you can use, instead of the suggested join, you can select a logical database called VAV in Data source.
    This logical database links the tables, VBAK, VBAP, VBUK and KONV that is the central point of the question.
    You can list the information of logical database using the transaction SLDB.
    In 'Logical Database' inform VAV.
    Press F8 to list all the fields.
    More information about logical database in:
    Link: [SAP Logical Database|http://help.sap.com/saphelp_46C/helpdata/EN/9f/db9b5e35c111d1829f0000e829fbfe/content.htm]

  • Sale order showing a discount condition type twice in conditions Tab

    Dear Experts,
    Sale order showing a discount condition type twice in conditions Tab.
    Could you resolve my issue?
    Thanks in advance.
    Regards,
    Ravi

    Hi,
        In the Sales order, go to Conditions and in the Pricing 'Analysis' , check for where the system is determining the two values of this discount condition. It may be possible that it is determining from two condition tables.
    Also in the access sequence of this condition type, please make sure that the 'exclusive' indicator is checked for the condition tables.
    Please check if it helps.
    Thanks,
    Saurabh

  • How to update cost related condition type amount in sales order without disturbing other condition types.

    Hi ,
    How to updae only one item condition  ZYV0 value in sales order. If I can see we have several options from pricing type to update condition types but here My requirement is to update only one condition amount .If I can see other pticing types they will update all condition types .
    -Exclusive option is checked for all the tables maintained in access sequence,
    Below options were not worked for me.
    -In condition type ----> Condition category has been updated with "D"(Tax) pricing type-"G" to update in sales order
    - This option worked for me but  condition category  "F"(frieght) and pricing type -H but in conditions tab when I update two condition amounts are activated for one condition type like below.
    ZYV0--30 % (old condition record value updated in sales order)
    ZYV0- 50% (updated condition record)
    Regards

    Hi Rita,
    Tried with condition category "u" and updated with pricing type "U" . It works as same I used old logic.
    with condition categories "D" and "F" it will update old and new condition record values in sales order.
    ZYV0--30 % (old condition record value updated in sales order)
    ZYV0- 50% (updated condition record)
    I have updated  here existing condition record value from 30 % to 50 % validity periods are not changed.
    Regards

  • Condition type value updation using characteristic value in sales order

    Hi Experts,
    We are implementing SAP for one of our Spain client. In that one of the Legal requirements is, whenever they are selling the finished products to domestic customers who contain OIL as one of the component then, some additional cost needs to be calculated and collected from customer and which needs to be paid back to Spain Government every month on Region basis.
           If OIL is not a component to produce the finished product then, not required to charge the customer additionally.
    The OIL content used to produce every finished product will vary based on product characteristic value. Meaning, for some finished product the OIL used will be 2.2 KG and for some products it will be 3.5, 4.3 KG and etc.
    Since various combinations of products are available for the client, during sales order creation we are planning to update some special characteristic which the data flow from u201CVariant Tableu201D. In the variant table we are going to maintain the OIL Quantity required making finished product.
    But we are not sure how to activate a new condition type with the value fetched in the special characteristic. This new condition type needs to be activated based on this characteristic value and multiplied with total order quantity and price to charge from customer.
    Example, the special characteristic fetched the value of 2.2 KG based on variant table. Total Order quantity is 10 PC and charge is 0.06 EURO per KG. in this case, (2.2 x 10 ) x 0.06 EURO = 1.32 EURO
    I need the expert opinion how to activate the new condition type based on characteristic value and achieve the above requirement.
    Thanks in advance.
    Warm Regards,
    VEL

    Hello,
    I have replicated the whole requirememt in IDES and getting the price calculation as needed but the only issue with the Conversion factor for the condition type. Either you need to maintian the conv factor in material master or need to enter manually for the condition type in SO. Some how you have to maintain the conversion factor to calculate the price for the condition type in different unit.
    For easy of understanding Lets make the whole requirement in 2 parts
    Part - 1
    Oil qty calculation. For convenience sake I have taken oil qty also in TO
    1) Created a num char OIL_QTY1 with length 9 and decimal places 5 and UOM as TO
    2) Created Variant table to infer the OIL qty in TO per piece of finished prod ( This oil qty data may be depends on various factors). For certain Finished products the oil qty may be 0 or blank
    3) Created a REF char SO_QTY  to pull the SO qty to configuration and add this char in class 300(Table:VBAP,Field :KWMENG)
    4) Created another char SO_OIL_QTY  (Num with length 9 and decimal places 5 and UOM as TO)
    5) Created a PROCEDURE say PROC_SO_OIL_QTY with code
    *$self.SO_OIL_QTY = $self.OIL_QTY1 * $self.SO_QTY*
    6) Create another PROCEDURE as mentioned earlier with modified code
    $SELF.A_VARCOND = 'TEST_001' if OIL_QTY1 specified,
    $SET_PRICING_FACTOR ($SELF,A_VARCOND,'TEST_001', SO_OIL_QTY)
    Note: Maintain proper seq of the procedures in profile. The Qty cal proc should be before the price related procedures.
    PART-2
    1) For the condition type maintained 60 EUR per TO (0.06 EUR per KG)
    Now if you create SO for the Finished product of 10 PC
    the Char values will be
    OIL_QTY1  = 0.00022 TO (inferred from Variant table th proc)
    SO_QTY    = 10
    SO_OIL_QTY = 0.0022 TO
    Get into conditions tab
    Here Condition type ZSIG will be displayed as error with Amount 60 EUR per TO and condition value will be blank. Just enter value 1 in the col NumC and CCon fields.
    Now the Condition value will appear as 1.32 EUR.
    Hope this gives some more clarity
    Regards
    Brahmaji D

  • Problem in Sales Order with specific condition type.

    Hello Experts,
    I'm facing a problem in sales order creation for a specific condition type.
    the actual scenario is as below,
    We have created a new condition type for special discount.This condtion type is applicable only for specific sales channels.Also the discount percentage has to fetched from a custom table.
    To achieve this I've written a user exit "RV64A999"
    In the FM, i've calculated the subtotal and fetched the discount percentage and calculated the discount amount. After implementing this, the SO were been created properly. for all the line items the discount amount was getting calculated properly.
    But then I added a condition at the top of code in exit that the calculation for the new condition type should happen only for selected sales channels.
    But after adding this condition in code, i'm facing problem. Now when I create/ change any SO, the discount amounts are getting calculated incorrectly. I'm getting discount amount even if the line item subtotal amount is zero (0).
    Any help or pointers reagrding this issue will be very helpful and highly appreciated.

    Hi ..
    Check your config. again or debug the routine code with your ABAPer and find the problem area.
    -Maharshi

  • Header condition type value not displayed in sales order output

    Hi gurus,
    I have observed a strange issue regarding a header condition in a sales order.
    we have a set up like following:
    1. If the Header condition XXXX is used in sales Order then this value should be printed on sales order output.
    2. If the Header condition mentioned in above point is not maintained in sales order it should print the total price of all line items.
    Though i have maintained the header condition value in Sales Order Header its not displayed in SO output.
    That is , I have a sales order and it has one HEADER condition type entered with 3500 USD.
    In fact this value is used for some business purpose and is being printed on the sales order output for a specific output type.
    But where as in a sales order this header condition value is not getting printed on the output though I am using same data as of the sales order which is having the header condition value printed on its output.
    According to business,we must have the header condition value printed on  sales Order output.
    Please suggest how to proceed.
    Thanks in advance.

    Not sure if you are using costom smartform to print invoice, if yes then ask developer to debug and find the root cause and fix it.
    You might need to give him condition when it shuld be printed and when not.
    You can take reference of another output type for which it is printing

  • Condition type not determine in sales order

    I have condition record maintained for the condition type as per the order reason. When I create the sales order system is not reading the condition record so no condition type is getting determined. Pricing date from the sales order is within the validity period of condition record.Parmeters are also matching but still in the sales order condition type is not getting determine.
    Thanx
    PNU

    In that case, do update of pricing.
    To do that, Sales Order - Item data - Condition Tab - Click Update button and choose option B - Carry out new pricing.
    To know who manually remove this.
    Choose Enviroment from menu bar in sales order - choose Change for display of change in the doc.
    Regards
    JP

  • Condition type in Billing not in Sales Order

    Dear Friends,
    I have the following scenario in our project. Please clarify.
    We have a condition type. That should be appeared only in Billing, it should not appear in Sales Order.
    Please answer ASAP.
    Regards,
    Rajesh L

    Hello,
    To fullfil you requirement go to V/08 select your pricing procedure and relevant condtion type.  Then select requirement column and assign the Routing 24 click save.
    regards
    rc gopi

Maybe you are looking for

  • Crystal reports from VB at run time

    I am using VB6 as the front end and Microsoft Access to hold the data and Crystal Reports 8.5. I have a staff name parameter that I want the user to select which staff name to print the report.  If there is a new staff the name is not in the list of

  • Cancel Down payment (noted item)

    Hi, Can I cancel customer down payment request? It is noted item and I need to cancel it. I have try to use VF11 and FB08, but it's not working. VF11 let me cancel it, but it is still on system. I found out, that it is not FI document at the moment,

  • Should the PO appear in 'confirmations' if the GR is complete for the PO?

    Hi Gurus, Should the PO appear in 'confirmations' if the GR is complete for the PO? The customer is seeing the PO in the 'Confirmation' menu even though he is not able to create any confirmtation. But is it right behaviour that the PO show up in the

  • Java - Zipping BLOB

    I have a table annotations (ann_annotation BLOB) which is becoming too large. That's why we opted for zipping the contents. For this purpose I have created (on Oracle 10i, JVM 1.5) 2 java-methods as follows: CREATE OR REPLACE JAVA SOURCE NAMED "ZipHa

  • Songs from 12 days App don't work..

    Hi, I downloaded a few songs from the 12 days App, i checked on it yesterday and no one of them worked. Does that mean it's expired? Do anyone experience this problem?..