Pricing in the order

Dear experts,
Could any body tell me how the pricing is read in the crm order ,could you tell me which function module is doing that.
Thanks

Hi,
Use the FM:CRM_PRIDOC_READ_OW to read the order price details.
Pass the order guid in import parameter IV_HEADER_GUID
Regards,
PePe

Similar Messages

  • Problems with pricing in Internet Order screen(CRM E-Commerce 5.0)

    Good afternoon !
            We are using CRM 5.0 with CRM E-Commerce 5.0, and we are experiencing problems with pricing in the order screen.
            When we create an order and insert one item at this order, this item is processed and the price is calculated and shown correctly, both in the item and in the table of totals at the right corner(where is the Total Net Price, freight value, etc).
            If we change the quantity of this item, or insert more one item(with the same or other product), the price turns to zero, both in the item(s) and in the table of totals mentioned above. Also, in the table of totals, the freight value remains being calculated, even in this cases when the prices is turned to zero.
            What can be happening in this case ? What can I check to determine the cause and solve this problem ?
            Thank you in advance !
            Wilson

    Good afternoon !
            This problem was solved adjusting some parameters of partner determination.

  • Line item pricing based on total value of the order

    Hi,
    We need to charge as a separate line item (material) 'Insurance' as a % based on the total value of the order less one line item. Our orders are created on the web and posted via a BAPI.
    (a) depending on where the customer is located, we charge a certain added shipping cost.
    (b)  the customer has the choice to ask for insurance or not.
    The actual order may be 10 lines totaling $1,000 and due to location, the BAPI slaps on an added line item of $100. If the customer chose the insurance option, the BAPI needs to slap on another line item whose value would be, say 2% of the total order, i.e. 2% of 1000 (instead of on 1000+100). Of course, if the customer doesn't choose this option he is not charges this extra line and further if the customer is not in the particular region, the 100 charge may also not be there.
    The 2% can vary time to time so needs to be driven by a condition record based on %.
    How can we achieve this in the pricing procedure? The logic of how the BAPI will function is clear to us, we are stuck on the pricing procedure configuration.
    Glad to answer any further questions you may need for clarifications.
    Many thanks!

    Ideally insurance would be levied on end customer based on Inco Terms like CIF, DDU etc.,
    So you can have an access sequence for which you can make use of tables like 033 & 034 in V/07.  In VK11, for this combination, maintain the required insurance percent.
    In condition type V/06, for this condition type, maintain "C" for Manual entries, since you have indicated that customer has the choice.  Otherwise, this can be populated automatically in sale order.
    Similarly, for shipment cost also, you can have the Inco2 as one of the combination so that based on region, this condition type will be populated in sale order.  If you have shipment cost configured, then this can be achieved.
    In your pricing procedure, you have to assign the shipment cost condition type next to insurance and assign the From-To step accordingly.
    thanks
    G. Lakshmipathi

  • System message at CKM3 - Control if the ordered item absorbed the cost

    I have created an exclusive free goods agreement and I would like the ordered item to absorb the cost of the free goods.  In order to transfer the correct information to CO-PA from SD billing, I have made the required customizations ( 1- Deactivated pricing in the item category of the free item    2- Set the cumulate indicator in copying control for the billing item). Now I want to control the result with the TCode CKM3 but it gives ot the following error message. Can anybody explain me what I should do step by step?
    Thanks in advance.
    Diagnosis
         In valuation area 9999 data can only be converted for the material ledger if the material ledger is active.
    System response
         No data was converted in valuation area 9999 for the material ledger.
    Action for the system administrator
         If the material ledger should be active in valuation area 9999 and you wish to convert data, use the Product Cost Controlling section of Customizing to activate the material ledger for this valuation area.

    Hi Yasar
    From the above post i understand that you are getting an error about valuation. Hence i think that the valuation area assignment is improper.
    Check that, that should solve your issue
    Regards
    Ranjeet
    Edited by: Ranjeet Rajendra Jain on Feb 11, 2008 2:41 PM

  • Credit memo billing document is not flowing in the order

    Dear all ,
    I have a problem,   i created a credit memo request based on the billing, i have a seperate order type for returns and i have done returns order and  returns delivery,  based on the actual  export sales i have done.   The process of everything is flowing in the actual  export sales order done , except the credit memo process . 
    I want to know wheather the credit memo process will be captured in the document flow of the order. or it wont be appearing in the document flow.. 
    My docuument flow   is giving all the process right from order to billing and the returns order till returns delivery but the process of credit memo is not showing , when i did the credit memo processing based on the export sales invoice.
    kindly guide me on this
    anitcipating reply from all
    thanks and regards
    kumaresh

    Hi kumaresh,
    Please note the following configuration for crating the Credit note with ref to Invoice :
    1.Use T code VTAF:
    Source Bill. Type ZF2
    Target SalesDocTyp ZCR
    DataT 053 Header bill
    DataT 103
    DataT 003
    021 Billing header
    Activate : Copy Itm No
    For Item : example from TAN to G2N .
    Every thing is SAP Std , activate Update Document Flow
    Pricing type - D and Copying requirements 303
    Please do the above settings and your peoblem will be solved
    Veera

  • Determine cost from pricing in sales order

    HI all,
       I am trying to overwrite the unit price of customer price(ZCUST)  when the order Gross Profit Percentage is below 10% once the material is entered during creation of a sales orderm not when saving order.
    GP % calculation is dependent on zcust and total cost.
    Below is the pricing structure.
       zcust                  80
       Zcost                10
          other cost        5
          Total Cost        15
    For ZCUST, it has routine in Col 'Cal Type' which picks up for zcust.   In this routine, i am trying to get Total Cost.
    When i debug this routine, the price for zcust is there all the time.  The price for Total Cost ($24) is not always there in this routine.   One time the total cost is 10, then 0, then 15, then 0, then $15. 
    Why is it the total cost changes all the time?  How  to tell when to use $15 instead of $10 in my GP calculation ?
    Any suggestions are appreciated.
    thanks
    Joyce

    Hi Rani,
    If the value of the condition type in the condition tab is greyed out it means that you cannot modify the value. The config for this done in [V/06] under the Changes which can be made tab you would find a field Manual Entries.
    Reward points if it had help you.
    Regards
    NP

  • Accounting for discounts given at the order entry level

    Hi,
    I'm Anil Wadhwa and I'm working for Amtrex Hitachi Appliances Ltd., Ahmedabad, India. we have implemented Oracle applications 11i and I'm part of the Order to Cash cycle specifically handling the OM Module.
    Initially I had the problem of using the discount feature available in Oracle Advanced Pricing and now I have got the solution for the problem.The problem I was trying to explore a feature whereby I was setting up a qualifier where I'm defining the Customer Class as 'DLR' which would be eligible for discount say @10%.
    I subsequently set up a modifier where I defined a modifier type discount @10% and attached it with predefined qualifier at both the header and line level.
    When I was trying the order entry the price which was defaulting from the attached price list was not getting reduced by 10%.
    Now this problem has been solved by giving a request from the 'Oracle Pricing Manager' called as Build Sourcing Rule.
    Now I want to know is there any way of accounting the discount given.
    Say my list price is 100 and i have given a discount of 10% and my selling price becomes 90.
    Then
    Debit Credit
    Customer 90 Sales account 100
    Discount 10
    How should I do the setup for discount and make sure that when the modifier gets applied whatever is the discount goes into the appropriate accounting setup.
    I will be obliged if somebody can guide me on this issue.
    Thanks & Regards,
    Anil Wadhwa
    [email protected]

    Anil,
    have you used any algorithms for ariving at discounts?
    Thanks
    AGK

  • Re: Setting up free goods for a particular amount in the order.

    Hello,
    I have a scenario which I am trying to setup.
    If total amount of the order exceeds $x amount, customer gets a specified free item when promotion code is entered.
    For Promotion code we have a Field setup and we are using for normal pricing.
    Can anyone suggest!
    Thank you!
    Edited by: Das516 on Feb 3, 2012 8:59 PM

    Develop a routine in t.code VOFM ->requirements->free goods to check the order value. Then assign this routine in the requirements column for each condition type in the free goods determination procedure in t.code V/N5. In V/N5, if already any other routine is assigned, then copy it, rename to new number and add additional coding coding in VOFM. Then assign the new routine number in V/N5.
    Regards,

  • How to Carry out New Pricing in Sales Order userexit

    Hello,
    In userexit save_document_prepare of program MV45AFZZ, I'm adding an entry in XKOMV for a header pricing condition ZD01.  After saving, if I go back into the order and go directly into the line item conditions, the ZD01 does not exists at the item level.  If I navigate the the header conditions and then go back to the items, ZD01 appears as it should.  I believe what is happening is that the header condition is not being distributed to the line items unless New Pricing is carried out.  If I manually enter the ZD01 condiiton instead of relying on the userexit code, everything works fine.  The header condition is properly distributed to the line items.  Therefore, I believe the configuration is correct.  My question is, "How can I programatically trigger New Pricing from a sales order userexit".  Is this possible in SAVE_DOCUMENT_PREPARE or do I need to do it somewhere else.".
    Thank you,

    this problem has been resolved.  The problem was that I was appending the header condition to XKOMV instead of inserting the header condition as the first line in the table.  SAP will carry out the new pricing if the header condition is on the first line.

  • Pricing in Service order

    We are into the business of Building products like manufacturing of aluminum. Doors & window. Once we sold this to the customers, we have to install also. Sometimes we have to charge from the customers & sometimes not. Installation takes a lot of time i.e. 2-3 months.
    The scenario we are using now is
    n     Sales order--Del-- Billing.
    n     
    But by this we could not track how much material is install at customer site.
    For this now we are planning to make one service order ref. to the billing doc.
    In service order we are taking one service material & do the billing.
    In some cases we are not charging anything from the customer but we have to calculate internal expenses that is bear by company & pass this information to accounts.
    Could any body please suggest me how I will do the pricing in service order.
    My requirements are-
    1---I am charging installation charges from customer(for this we can use simple any condition type)
    2---I am not charging from customer but I want to show the cost that is bear by company & want to pass this to accounts/Controlling…..I need the help in this scenario
    Is there any specific condition types are there for service order.

    Dear Sunil,
    You will have to work on the item category level for this.
    1)For your first requirement define item category determination(t.code VOV4) rules which will get you a item category which is relevant for pricing. (I think you will not have any problems in defining this)
    2) In the same transaction define a item category which is an alternative entry to the above determined item category.
    3)You need to have the following settings for this alternative item category:-
       a) The pricing relevance should be 'B'.
       b) Condition type R100% with requirement 55.
    After this settings when you enter the sales order by default your services will be charged. In case you dont want to charge the customer, manually change the item category to the one defined as the alternative item category.
    Do give me the feedback of the settings.
    With Regards,
    PATHIK

  • Calculate sales tax based on all line items on the order

    My users have asked to determin tax on the sales order, based on all the line items on the order. For example, if all the items are for product only, or if all the line items are for labor only, or if there is a mix of product and labor,
    Order 1
    line 1 product flag as both for vertex
    line 2 labor flag as both for vertex
    Order 2
    line 1 product flag as product only
    line 2 product flag as product only
    Order 3
    line 1 labor flag as labor only
    line 2 labor flag as labor only
    I do not see away to do this while the order is being created. In the order 1 example above, line one is entered, priced, and taxed as product only (it is the only line on the order at that time and it is product only). Line two is entered, it is marked as both. But I cannot send line item one back through vertex marked as both. Vertex processing is already complete.
    I have looked at using both FYTX0001 and FYTX0002. With both of these exits I can only work with a single line item, i.e. once item one is processed it will not go through the exit when item two is added.
    Any assistance would be appreciated.
    Jay

    Hi WCG,
    Our business is located in California as well. California is a modified-origin state, where state, county, and city taxes are based on the origin of the sale, while district taxes are based on the destination of the sale. You only need to add Sales tax when your customer's billing address is in California. I do not believe that Catalyst currently supports district based sales tax. You could look into a third party solution like TaxJar and see if it could be integrated into Catalyst. We currently charge our California based customers exactly what we would charge them in our retail store.
    So you want to do something like this:
    -Ryan

  • Pricing in an order

    Hi Gurus,
    I have created a sales document type using standard order in SAP and when I am creating an order the pricing procedure from a different sales document is being copied automatically. Can anyone please explain why is this happening?
    Regards,
    Raj

    Hi there,
    Pricing Procedure determination:
    Sales Area + Doc pricing Procedure + Customer Pricing Proc
    In your case may be the above condition is the same. Thats why you find the same pricing procedure determined for the 2 sales orders.
    Doc pricing proc can be found out in VOV8, select your doc type transaction flow area.
    To ckeck the customer pricing proc, in the sales order just press F6. It will take you to customer master. Check the customer pricing procedure at Sales Area Data --> Sales view.
    Check in pricing procedure determination what is determined in your sales order.
    Going by what you are telling, I feel that bith your sales orders have the same procedures.
    If you want a different pricing, change the doc pricing proc in the VOV8, define & maintain new procedures.
    Regards,
    Sivanand

  • How can we identify the coupon code that triggered the promotion discount in the order?

    Hi,
    As we can create the coupons and assign the promotions to them to give discounts.How can we identity the coupon code that is added the promotion which caused the discount in the order?
    Regards,
    Chede

    I'm giving you an example. Here is how you do it starting with order level promotions. OrderImpl object API below give you orderpirceinfo and second link gives adjustments.
    http://docs.oracle.com/cd/E35319_01/Platform.10-2/apidoc/atg/commerce/order/OrderImpl.html#getPriceInfo()
    From OrderPriceInfo which extends AmountInfo, the following method gives adjustments
    http://docs.oracle.com/cd/E35319_01/Platform.10-2/apidoc/atg/commerce/pricing/AmountInfo.html#getAdjustments()
    Now iterate through adjustments, to get pricingmodel(which is promotion) and coupon applied on order
    PricingAdjustment (ATG Java API)
    PricingAdjustment (ATG Java API)
    Hope this gives you an idea where to start with.
    -karthik

  • How to verify the order discounted by promotion or coupon

    Customer has placed some order then how can we confirm that placed order has been discounted by promotion(item level,order level) or by the coupon code.

    As mentioned in previous post by krish k , you can easily check in ACC , Purchases and Payment -- Order -- find with order id.
    Or  you could query against database, using simple sql like this (dont want to complicate with joins)
    - get Order Id for the Order.
    - select * from dcspp_order where order_id=10000; (OrderID)
    -  get PriceInfo value from above result (lets say you got 'ai1234'  )
    - then select * from dcspp_amount_info where amount_info_id='ai1234';
    - select * from dcspp_order_price where amount_info_id='ai1234';
    For adjustments
    select * from dcspp_amtinfo_adj where amount_info_id='ai1234'; (get adjustment id from this result, lets say you got 'pa1234' , this will return list if you got multiple adjustment )
    select * from dcspp_price_adjust where adjustment_id='pa1234';
    Similarly you could do for item pricing , tax and ship.
    Thanks,
    Samdani
    Please mark Correct/Helpful for answering your question if it is.

  • Different pricing procedure for order document and billing document

    In which scenerio order and billing has diffrent pricing procedure?

    Hi,
    intercompany billing is one of the scenario.
    Business case: -
    Customer orders goods to company code/Sales organization A (Eg.4211/4211).Sales org 4211 will accept and punch the order in the system with sold to party as end customer code in the system. Company code/sales org B (Eg.4436) will deliver the goods to end customer and raise an intercom any billing on 4211 with reference to delivery. This can happen only after 4211 raises invoice to his end customer to whom the material has been delivered by 4436.
    SPRO Customization required:-
    1. Assign plant of delivering company code (Eg.SI81) to sales org/distribution channel combination of ordering company code (Eg.4211/RT)
    2. Maintain intercom any billing type as IV for sales document type OR
    3. Assign Organizational Units By Plant (Eg.SI81/4211/RT/11)
    4.Define Internal Customer Number By Sales Organization (Eg.4436 will create customer master for 4211 company code and that number will be maintained in this relationship:-4211/231)
    5. Automatic posting to vendor account (Optional)
    6. Maintain pricing procedure determination for 4211/RT/A/1/RVAA01-For customer sales and billing
    Maintain pricing procedure determination for 4436/RT/A/1/ICAA01-For intercompony billing
    Master data to be maintained:-
    1. Create end customer master in company code/sales org 4211/RT/11
    2. Create customer master for 4211 company code/sales org in 4436/RT/11
    3. Maintain PR00 as price for end customer-Active in RVAA01
    4. Maintain PI01 as price which has to be paid to 4436-Statistical in RVAA01
    5. Maintain IV01 as inter-company Price-Active in ICAA01
    Process:-
    1. Create OR with sold to party as end customer.
    2. Plant to be selected is delivering plant belonging to different company code. With this selection system will treat this order as intercomany sales.
    3. Pricing procedure is RVAA01
    4. With reference to this order delivery will be created from the delivering plant and post the goods issue for this delivery.
    5. Ordering sales org will create billing document F2 with reference to delivery for end customer.
    6. Delivering sales org will create intercompany billing IV with reference to delivery document.
    I hope this helps you.Reward points if solution is useful.
    Regards,
    Amrish Purohit

Maybe you are looking for