Which progrom is used to calculate price of variant config in sales order

Hi Guys,
Normally VA01 calls function module "PRICING" to calculate the pricing, i can set breakpoint to track it step by step.
But when i test variant configuration in sales order, even though i set breakpoint in function module "PRICING", it doesn't stop at the point. it seems that VA01 calls another function module. Does anyone know it?

Maybe there is unknow problem in our system to make the break-point unavailable. Today i re-check it. It's OK.
In FM PRICING, There is a form named 'xkomv_aufbauen_aus_komt1' to add the variant condition by looping the variant attribute table XVCKEY into table XKOMV.

Similar Messages

  • Update the price related to condtions in Sales Order

    Hi all,
    I want to update the price related to condtions in Sales Order from input file. I am using bapi 'BAPI_SALESORDER_CHANGE' to for this.
    the code for this
        wa_conditions-itm_number = wa_itab-itm_number.
        wa_conditions-cond_value = wa_itab-kbetr.
        wa_conditions-cond_type  = 'ZPSV'.
        wa_conditions-cond_count = wa_itab-kwmeng.
        APPEND wa_conditions TO it_conditions.
        wa_conditionsx-itm_number =  wa_itab-itm_number.
        wa_conditionsx-cond_count = wa_itab-kwmeng.
        wa_conditionsx-cond_value = 'X'.
        wa_conditionsx-cond_type  = 'ZPSV'.
        wa_conditionsx-updateflag = 'U'.
        APPEND wa_conditionsx TO it_conditionsx.
    But this is creating a new line in conditions instead of updating the existing line, I want to update the exsting line with new condition rate instead of creating a new line.
    i have tried by   lv_logic-pricing = 'B'.
    But it works when values are maintained in vk11.
    Please help me if you have any soultion for this.

    hi siya,
    plz refer to the following threads
    Re: problem using Bapi_Salesorder_Change
    http://www.sapfans.com/forums/viewtopic.php?p=160339&sid=bf9e3219db318d89596f7e911462416f
    i hope it helps.
    arjun

  • How to set "Configuration Variant" for a sales order item using function

    Hello All,
    I use function module 'SD_SALES_DOCU_MAINTAIN'  to create Customer Indep. Requirements but how to set "Configuration Variant" for a sales order item.
    Is their any idea or sample code?

    Hi Zhijun zhang,
    <u>http://help.sap.com/saphelp_nw2004s/helpdata/en/c0/98038ce58611d194cc00a0c94260a5/content.htm</u>
    <u>http://help.sap.com/saphelp_nw04/helpdata/en/c0/980374e58611d194cc00a0c94260a5/content.htm</u>
    A variant is simply an SAP report where the parameters for running the report have been set by the user and then saved with unique name. This allows future retrieval and execution of the report faster without reentering the parameters. As a convention the variant name should start with with the digits 50 so searchs for LHU variants is easier and quicker.
    The first link will guide you by screen shot wise.
    Award points if it adds information.
    Thanks
    Mohan

  • Price is not changing in sales order in line item

    dear all.,
    price is not changing in sales order on line item,error comes "CHECK ORDER STRUCTURE.
    Regards,
    Praveen

    Dear
    You can go into VA03 --> Menu --> Environment --> Partner --> display credit account (if the data is maintained, than the system springs into FD33). Another way is to check if the sales order type is assigned to credit management in the transaction OVAK (should be D for aut. credit management).
    Did you enter the pricing date , prcing condition and press enter , so  that it should pick the correct price?
    Check this and come back
    Regards
    JH

  • Two prices for one material in sales order according condition type

    Hi,
    I configure the condition type according to following condition record:
    Plant/ Sales Organization/ Distribution channel/ Material / Customer
    (because system should calculate two prices for one material in two plants)
    In the sales order screen, when user firstly select material , quantity, plant ,  system calculate the related price correctly but if user select the material and quantity and enter and after that select the plant, system will show the error message in pricing procedure and to have a price for material, user should update the price in the price condition in sales order.
    It is so difficult for user to update one by one, because there are several sales orders which need to update.
    Is it any way to solve this problem?
    Thanks,

    > In the sales order screen, when user firstly select material , quantity, plant ,  system calculate the related price correctly but if user select the material and quantity and enter and after that select the plant, system will show the error message in pricing
    Hi,
    Why to let the user press Enter button before entering plant value Obviously, system will give error, because it doesnt get all the required value based on which you have maintained condition records.
    Ask the user to enter all the value at item level otherwise you will have go for the option that you are doing currently.
    It is said prevention is better than cure
    Hope you get some inputs
    regards,
    Sagar

  • Price error - In creation of sales order

    Dear ALl,
    When i am trying to create a sales order with the t -code VA01 and enter a material i get a warning saying
    "000010:: Enter Pricing".This happens only for one customer ,for other customer with the same material there is no warning.
    Can some one guide as to what is missing for this customer.
    Thanks in advance,
    Swati

    Hi,
    You have to maintain the CONDITION RECORDS for the MWST condition type in the transaction code VK11
    Alternatively  you can also do some configration to make the MWST as Optional
    In the Pricing procedure V/08 uncheck the  MANDATORY and check the Manual option which will not display the Error.
    During the Sales order processing you can enter the MWST price as some percentage.
    Please do the above and revert back if you need any other details
    thanks,
    santosh

  • Unable to copy the Price Modifiers associated with a Sales Order Line

    Dear All,
    I am copying Sales Order Line using the process_order API. I was not able to copy the Price Modifiers associated with the Lines. How can I accomplish this..?
    Is there any API available for copying the Price Modifier info associated with the Sales Order Line..?
    Environment is 11i and OS is SUN Solaris
    Please update...
    Many thanks in advance..

    Hello All,
    Please let me know is this possible to have the list of Invoices for an associated Sales Order.
    Thanks,
    Abdul

  • Using Consignment Stock and filling up an unrelated Sales Order

    Hi there,
    Apologies if this has been covered elsewhere, but I have an issue that I hoped SCN may be able to resolve.
    We have a client for whom we hold Stock in our warehouse location. We fill up this stock using SAP Sales Orders (at 0 revenue) to maintain levels to satisfy need.
    When the client puts in a stock request, they do so using our front end quoting engine which is integrated with SAP, and effectively drives the client invoice. This sends through picking and shipping requests to our warehouse who immediately action the stock holding to satisfy the request, creating Outbounds against the stocking order(s).
    At a later stage the quoting engine creates a Sales Quotation in SAP which is then converted to a Sales Order. In order to reconcile the Order and the shipments, the Stock Order Outbounds are then reversed, and re-issued against this new (unrelated) Sales Order, and then we can move to invoice.
    Step by Step, the process broadly looks as follows:
    - Order Stock via 'Sales Order (1)'
    - Pick and Deliver Stock (Outbounds are created against Stock 'Sales Order (1)')
    - Process the client request and create 'Invoice Sales Order (2)'
    - Reverse the Outbounds against Stock 'Sales Order (1)' and link these to 'Invoice Sales Order (2)'.
    - Process to Invoice.
    I am trying to determine if there is a more efficient means of processing this requirement, and whether consignment stock can help us here. From what I have read, I am assuming that for consignment stock a saleable YKE can only be created against an existing YKB. For the model that we are trying to operate, ideally we need a solution where we can Associate the YKB items to YOR, or perhaps achieve the following:
    - Order Stock via 'Sales Order (1)'
    - Move this Stock into a "Bucket"
    - Pick and Delivery this stock out of the "Bucket"
    - Transfer the delivery over to the 'Invoice Sales Order (2)' when required.
    I'd welcome any suggestions here to helps us optimise the process.
    Many thanks,
    Alexander.

    Hi Alexander ,
    Yes ofcourse you can use consignmentment Process
    and you can use the concept of special stock partner in the partner profile
    Spoecial stock partner (SB) can assign to your ship to party
    1stly you can do consignment fill up(  with your customer name (ex-2316)
    then at the time of creating the consignment issue parter function use 2361 customer
    Regards    
    Ramesh

  • Global  price update in existing open Sales Order

    Hi  Expert Team ,
    I have one scenario -
    My customer will enter a sales order .
    For example :
    Customer A buy X at 10 at 05/26/2009 and his delivery date is 05/30/2009
    Management decide to do cost down by 15% of product A  from 05/30/2009.
    Business rule here is :
    When customer sells at 05/30/2009 , price should reflect 15% inexisting order as well as new order .
    For new order , we can specify the special and period volume discount , it will apply to new order .
    In this scenario , how can we update the sales price of open sales order .
    What are my options beside updating manually or DTW
    Thank you
    Bishal

    If your Sales Orders are not locked by approval procedure, you could use DTW to update them.  Otherwise, you may have to cancel the old and create new orders.
    Thanks,
    Gordon

  • Change price sign during copy from Sales order to credit memo

    Dear All,
    due to external system reasons we I need to manage one sales order type using not necessarily positive amounts.
    A custom logic (based on structural elements, tax information and sign of the amount) permits to identify the right billing type document to use.
    Example (using a simplified logic)  if the amount is positive the custom logic will determine an invoice.
    and if the amount is negative a credit memo.
    In VTFA copy rules has been defined but it seem that using transfer rules at item level (defined on VOFM) it is not possible to access and change the sign of the amount (net price will be enough) in order to have a negative amount copied into a positive amount of a credit memo.
    The following test has been done without succeed:
    custom routine on VOFM to change sign of VBRP-NETWR...but the price is 0 when the routine is called
    Using pricing type M - No effect
    Every hint will be highly appreciated.
    Regards

    Hi Sudha,
    The coding added in 101 is not enough to achieve your requirement, because of the fact that the VBKD-ZTERM will be filled again with the original value from CVBKD in the copy routine on the item level. (For example 102 for OR to OR in standard system)
    Could you please create another routine 902(adding the addition coding to 102) and replace it on copy control for item level?
    It should work then.
    Regards,
    Smile

  • Price has been changed in sales order after invoice created

    Hi,
    We have a scenario where there has been a change in sales order prices after invoice created. when user try to pull out a report for incomplete sales orders through V.02 and these orders populating in (incompletion log is showing for Customer Expected price).
    when I looked into the changes for those sales orders, there is FI job which did all those changes and it is difficult to find the details of what the job does.
    Please suggest me the work around how should I remove these sales orders from incompletion log.
    Thanks
    Anuja

    Hi. Anuja. has accounting document generated.? Because once the accounting document generates there no fields we can change apart from output types. I think in your scenario there are no accounting documents generated. may be , because of that reason The pricing has changed after the invoice. In order to solve this , in billing type uncheck posting block check box......
    I Think it might helpful.
    regards, ADITHYA

  • If price change required approval in sales order

    Hi All,
    one of our client wants that in sales order the unit price will come automatically according to BP price list. but if any one changes that price manually that should required approval.
    The problem is that i have made one query that only block when first row is change. but if i change from 2nd row where first row item price is remain same as price list, in that case  no approval is firing.
    i'm giving the query below.  can anybody solve my problem.
    select     'True'
    from     ocrd a, ait1 b
    where     a.ListNum=b.PriceList and b.loginstanc =(     
         select     Max(A.loginstanc) loginstanc
         from     Ait1 a
         where     a.Itemcode=b.itemcode and a.pricelist=b.pricelist)     and a.cardcode=$[$4.0.0] and b.itemcode = $[$38.1.0] and b.price<> $[$38.14.Number]

    Hi,
    I think you could use validation store procedure (SP_TN) for the row level validation, UDF approval  that its value is Y or N (yes or no) in the header and use this query approval :
    select 'true' from ordr t0 where $[ordr.U_approval] = 'Y'
    . How it work , for example, you create condition in the SP_TN that if the price change manually, then there is an error mesage or system message (means that validation SP_TN works) explains the UDF must be Y meanwhile set the default value N.
    If the UDF is Y, then approval work. After it is approved, the user could add it.
    if you still want to use row level approval, you could set a SOP that tells there is only one item per sales order can be created.
    Rgds,

  • Need logic for calculate the balance quantity in open sales order

    hi all
    i need logic to calcuclate the balance quantity in open sales order ,
    where i am using VBAK header and VBAP item , and VBFA for document flow tables
    i need to have the balance quantity , for the open sales order
    especially taking with respect to  VBFA-VBTYP_N = M for invoice creation and N for canellation
    any one please help me

    thank you but i am clear abt it
    will you please anyother way to calucaluate the logic ,
    and i need to populate in bukets also for the terms of 5 years
    Edited by: sridhar loganathan on Nov 25, 2008 6:43 AM

  • How to calculate  forign currency total amount in sale order???

    how to convert  forign currency total amount in indian rupees on  sale order pld ???
    Edited by: VINAYAK CHA on Feb 21, 2012 1:30 PM

    Dea Srujal
    SELECT T0.[Docdate],T1.[ItemCode],T1.[U_jobno]As 'Job Card No',T1.[Quantity],T0.[CardCode],T2.[U_SP],T2.[U_MA],T2.[U_ID], T2.[U_OD],T2.[U_testfield],T0.[Docduedate]
    FROM ORDR T0  INNER JOIN RDR1 T1 ON T0.DocEntry = T1.DocEntry INNER JOIN OITM T2 ON T1.ItemCode = T2.ItemCode  INNER JOIN OHEM T3 ON T0.OwnerCode = T3.empID
    WHERE T1.[U_INRPRICE]>='35,000'  And (T0.[Docdate]>='[%0]' and T0.[Docdate]<='[%1]' )and T1.[ItemCode]!='SEAL' AND T0.[DocStatus]='O'
    iam using above query  with  above formatted search as i post in previous answer.
    but still some item is missing in query
    kindly do the needful

  • How user exit is used to populate the Profit center field in  Sales order?

    Hi All,
    Please let me know :
    How the user exit is used to populate the Profit center field in the Sales order?
    Please gurus answer as quickly as possible as I require this urgently.

    Hi,
    To derive the correct profit center in the Sales Order, you customize in 0KEM.
    Trust this helps much and do encourage our efforts!
    Cheers!

Maybe you are looking for