Tricky Sales doc pricing problem

I have a problem becasue a particular item category does not have the u201Cdetermine costu201D flag checked and therefore then when pricing is invoked the VPRS pricing condition is not re-determined, and its removed.  Which 99% of the time is what they require.  However, when they create a new order with reference to an old document containing a VPRS condition, but then they change the sold-to party of the new order, pricing is then automatically invoked again, and the VPRS cost is removed, due to the "determine cost" flag not being checked.
So I need to find away of either ofrcing the pricing to keep the old cost, or a way of putting it back in.  I am looking through the user exits but I can't find a point that actally stores usuefull pricing data. 
- Neither of the USEREXIT_PRICING_PREPARE_TKOMK or USEREXIT_PRICING_PREPARE_TKOMP contain any useful table that show the VPRS amount.
So can anyone suggest how I can tackle this problem?

Dear Ramaswamy,
As you said, things are proper in Quotation, while the error encountered at Sales Order level.
Just a thought, check with Copy Control settings (T. Code: VTAA) b/w Quotation-to-Sales Order.
For combination (say, OR -- QT), at Item (from dialog structure), select Item Category "AGN" and double-click.
Chexk with "Copying Requirement Routine".
Also, check with "DataT - Copying requirements for data transfer VBAP".
ensure, routines are writen correctly, as per requirement.
Best Regards,
Amit.
Note: Also, could you please confirm, whether this error is particularly for this Order, or is getting encountered for every Order.
Are you using Standard Sales Doc. Types and routines, or Custom-ones?

Similar Messages

  • Sales Order Pricing User Exit Problem

    Hi,
    I am facing a problem related to coding in Sales Order pricing user exits. Scenario is as mentioned below:
    Based on Material Entered and Sold To in Sales Order, auto determination of a manual pricing condition happens. For doing this, coding has been done in USEREXIT_PRICING_PREPARE_TKOMP by changing XKOMV table. Auto determination of the manual price is happening properly.
    From Sales Overview Screen when user goes to the Conditions tab, Net Value is not getting calculated. When we navigate away to Schedule line tab and then come back to COnditions tab, Net Value is automatically getting calculated.
    AM i missing something in the coding part? As the data is getting populated automatically I guess some piece of code needs to be triggered. Can anyone shed some light into this.
    Thanks in advance,
    thunderans.

    Prabhu: After filling in XKOMV structure, I am calling FM PRICING. On doing this, the Sales Pricing is getting calculated but even then net value of order at header i.e VBAK-NETWR is not getting populated when we are in Sales Overview screen. When, I am getting into Conditions tab and coming back to Sales Overview screen, Net value is getting populated correctly. This portion of everything not getting populated at the same time is bothering me. The pricing conditon that I am  filling is a manual pricing condition.
    I put a breakpoint after FM PRICING which correctly populates XKOMV structure. How do I properly update Order Net Value in Sales Overview screen wihtout having to navigate to any other tab?
    Nicklas: I am looping at Order line within the user exit USEREXIT_PRICING_PREPARE_TKOMP and determining price. Once all line items are processed, I am using the FM PRICING for calculating Sales Prices.
    J@Y: Request to send me a bit more details into your approach.

  • Pricing problem-Urgent

    Hi all,
    iam getting a problem regarding pricing.
    When i make a Sales doc. with reference to an invoice,
    everything is being copied from invoice to the sales doc.-customer, material  and its no. , sales area, payment terms, incoterms, and material qty. also.
    But the pricing of the invoice is not getting copied on to the sales doc.
    I have maintained all checks available in the sales doc. type and the item category of the sales doc. type i.e
    Pricing: X
    and then in OVKK , i have maintained the doc. pric. procedure of the sales doc. type  with the pricing procedure of the invoice
    and again in the copy control measures, i have maintained
    Pricing type: D
    But i still not able to copy pricing procedure from the invoice to the Sales doc.
    I want the soltn. urgently.
    Thanks in advance
    Sourav

    run VTAF for your sales doc type/bil type
    and check item category
    set flag for "update doc flow"
    and pricing type B

  • Sale order change problem.-Variant configration

    Dear All,
    After  sale  order  configration and  material transfered  to  sale  order  stock ,  then when i  trying  to  change   mode  in  sale  order  i  am  getting  the  error  "Internal error in communication between  configuration and sales doc.GET_CONFIG_MODE"
    Please  give  the  correct  solution    above  problem
    Regards
    SVR
    Edited by: sunitha p on Apr 30, 2008 9:24 AM

    closed

  • Country of Delivering Plant is not showing in Sales Order Pricing Analysis

    Hello All,
    I have created a new condition table with the field Country of Delivering Plant (KOMK-WKCOU).
    But in the sales order pricing analysis this field is not fetching the country of the plant (it is showing the Yellow color exclamation icon).
    This is  a standard field, I am not able to understand why it is not fetching this field.
    I have used the same field for tax condtions in my previous projects as well, there it worked well. 
    Even I have activated the KOMK structure in SE11 also, but still the same problem.
    Can anybody tell me how to resolve this issue.
    Thanks & Regards,
    Sreehari.

    Rightly suggested by Shiva.
    As plant determines at item level.
    So, instead of KOMK-WKCOU, field should append in KOMP.
    FYI, for checking any inconsistency in condition table, you can use TCode VK+C.
    Regards
    JP

  • How to use FM CRM_ORDER_READ using only object_id(sales doc)

    Hello Experts,
    I need to get the details for a given sales document in
    CRM(crmd_orderadm_h-object_id). I want to use FM CRM_ORDER_READ
    to get the details of a sales doc but my problem is where to put the object_id
    value. ANy simple example would be highly appreciated.
    Thanks a lot guys and take care!

    DATA:BEGIN OF i_order_h OCCURS 0.
            INCLUDE STRUCTURE crmd_orderadm_h.
    DATA:END OF i_order_h.
    SELECT *
        INTO CORRESPONDING FIELDS OF TABLE i_order_h
        FROM crmd_orderadm_h
       WHERE object_id    IN s_obj_id.
      DATA: i_header_guid   TYPE crmt_object_guid_tab ,
            i_et_partner    TYPE crmt_partner_external_wrkt,
            i_et_orderadm_i TYPE crmt_orderadm_i_wrkt,
            i_et_product_i  TYPE crmt_product_i_wrkt,
            i_et_pricing_i  TYPE crmt_pricing_i_wrkt,
            i_et_schedlin   TYPE crmt_schedlin_wrkt,
            i_et_sales      TYPE crmt_sales_wrkt.
    LOOP AT i_order_h.
    CLEAR i_header_guid.
        REFRESH  i_header_guid.
        APPEND i_order_h-guid TO i_header_guid.
        CLEAR: i_et_partner,
               i_et_orderadm_i,
               i_et_product_i,
               i_et_pricing_i,
               i_et_sales,
               i_et_schedlin.
        REFRESH: i_et_partner,
               i_et_orderadm_i,
               i_et_product_i,
               i_et_pricing_i,
               i_et_sales,
               i_et_schedlin.
        CALL FUNCTION 'CRM_ORDER_READ'
          EXPORTING
            it_header_guid = i_header_guid
          IMPORTING
            et_partner     = i_et_partner
            et_orderadm_i  = i_et_orderadm_i
            et_product_i   = i_et_product_i
            et_pricing_i   = i_et_pricing_i
            et_sales       = i_et_sales
            et_schedlin    = i_et_schedlin.
        IF sy-subrc = 0.
        ENDIF.
    ENDLOOP.
    Message was edited by:
            EastViking

  • Sales doc type

    Hi,
    If in a business having Plant Sale,Depot Sale & Export slaes then I have to create one sales doc  type-ZOR1 for all types of sales & one document catgory & one pricing procedure.,Please give me the solution.
    Thanks,
    Siku.

    Hi,
    Can you be more clear with your question?
    But in case if you are asking whether you can use 1 doc type and 1 pricing procedure for different kind of sales scenario then answer to that is you can still use 1 doc type for plant/depot./export sales but its not advisable esp for depot sales u should use STO (stock transport order) for which already seperate doc type has been provided by SAP.
    Also when coming tp pricing procedure its advisable to have seperate pricing procedures only for domestic/export sales as well as depot sales as the CTs would be varying as in terms of freight, taxes, surcharges etc (as applicable and as per country laws) and you need to take into consideration the excise implications ( or depot sales)
    Regards,
    Kant

  • Cannot find sales doc type data  in my  report on the multiprovider

    hai everone,
                      I'm doing report on the multiprovider which is connected to different ods's  i'm getting the data for all the fields except for 'sales doc type'.I could see the data for it in the ods on which the multiprovider is built but could not find the data in the report.Can any one suggest me how to get the data for sales doc type into my report.
    Urgent..

    yeah listcube is a TCODE to check the data in the cube. run the code and enter the same selections that you would be doing on a query to see and see if it returns any data. if it does, then the problem is with the identification. Most of the times create recommendations work like a charm. But just go into the chars and see if the IO in question has been checked against the ODS that aint returning any records.

  • Status are "open" in CRM but not same shown in replicated sales Doc.

    Dear Experts,
    Status are "open" in CRM but not same shown in replicated sales Doc ( R/3 ). please suggest with optimal solution.
    Regards,
    Sany

    Hi Sai,
    Thanks for your response, I am using PFAL transaction to transfer the employees from ECC to CRM. and I am using only one emplyee for execution, is there any other transactions to replicate employees.
    In ECC, after executing the PFAL transaction, getting successful transfer of IDoc message with green light.
    In CRM in WE02, it is showing yellow light for the same IDocs.
    but even with yellow light (Warning) some employees are successfully converting into BPs, but some employees are not converting.
    I could not trace the problem that, why it is happening. IDocs are reaching to CRM system, but some idocs are not converting into BP where as some IDocs are converting into BPs successfully.
    Please help me to resolve this issue.
    Your suggestions will be highly appreciated.
    Best regard
    Raghu ram

  • Sales order pricing conditions

    Can any one let me know what are the tables that are updated while working with sales order pricing conditions .......      r sales order conditions

    Hi Ali,
    VBRK     Billing document :header data
    VBRP     Billing document :Item data
    KONH      Conditions header
    KONP     Conditions items
    KONV     Procedure ( billing doc or sales order)
    KOND     Conditions (data)
    These tables will give sufficient information on Sales order pricing and its billing conditions etc.
    best regards
    Ramakrishna

  • New sales doc. type scenario-Urgent

    Hi all,
    I have got a scenario:
    A customer complaint order type has to be made which will take the reference of a Billing doc. Now, based on that Customer complaint order type, Credti memo request and returns order going to be made.
    I have made a customer complaint order type Zcut and maintain Item category as Zcat.
    In vov8, i have maintained:
    created no. range for the doc. type
    Check reference mandatory field with "M"
    Billing Block field with "06" sign & approval.
    In vov7, i have maintained:
    Billing relevance "F'
    Pricing "X"
    I have also maintained copycontrol measures between Biiling doc. and sales doc. with VTAF and between Sales doc. & Sales doc. with VTAA.
    Now, when iam creating this doc. type with reference to the Billing doc. , it is not doing following things:
    1.no customer name, quantity, amount is getting copied
    2. required del. Date is coming as mandatory
    can anyone give solution for it. it is urgent
    Thanx in advance,
    Sourav

    Pls check..for VTAF
    =>Header level--between ur billing type which i assume is F2 and complaint SO e.g. ZCUT
    three routine
    DataT 052 Billing doc.header----use for data transfer from VBAK
    DataT 103 Bus Data Hdr Billing---use for copying business data
    DataT 003 Bill.header partner-----use for copying business partners
    => At item level u wll see TAN which i assume ur using while issue goods..duoble click on TAN...in new screen
    ur "ItemCat Proposa" at target sales doc type ZCUT should have ZCAT ie ur return item category
    also check following routine
    DataT 153 Item from BillingDoc-----use for VBAP data transfer
    DataT 104 Bus Data Item Billng-- --use for business data transfer at item level
    DataT 004 Bill.item partner-----use for business partners transfer at item level
    Copying requirements    303 "Always an item"
    Pos./neg. quantity         Blank   
    Pricing type                  D
    Regards
    Jagdish

  • What is the purpose of using cash sales doc type?

    what is the purpose of using cash sales doc type?

    You can go through the link
    http://help.sap.com/saphelp_46c/helpdata/en/70/a7853478616434e10000009b38f83b/frameset.htm
    Update from help.sap.com
    Cash sales is an order type for when the customer orders, picks up and pays for the goods immediately. The delivery is processed as soon as the order has been entered. A cash invoice can be printed immediately from the order and billing is related to the order. Receivables do not occur for the customer as they do for rush or standard orders, because the invoice amount is posted directly to a cash account.
    Process Flow
    In the standard system, sales document type BV is saved for cash sales with immediate delivery type BV.
    When the sales employee creates a cash sale, the system automatically proposes the current date as the date for delivery and billing. Once the order has been posted, a delivery with type BV is created immediately in the background and the system prints a document that is used as an invoice for the customer.
    The invoice papers are controlled with output type RD03, contained in the output determination procedure for order type BV.
    If the customer has already received the goods, this delivery should not be relevant for picking. If the customer is to pick the goods up from a warehouse, the delivery should be relevant for picking. If the goods are to be sent, this can be processed by maintaining the delivery in the usual way.
    The system automatically creates a resource-related billing index which updates the billing due list. Billing document BV is created as the system processes the billing due list, but an invoice is not printed.
    Once the customer has received the goods and is satisfied with them, the transaction is considered to be complete. We recommend that you post goods issue in the background using a program designed specifically for this purpose. You can then bill the transaction.
    The cash sale can only be billed if the order quantity is the same as the goods issue quantity. If this is not the case, you need to adjust the cash sale document so that the delivered quantity and the quantity to be billed match.
    You use an order-related collective billing process to bill the cash sale, but an invoice is not printed. The sales order number is used as the reference for the accounting document, created in Financial Accounting.
    Dealing with Problems and Complaints
    If the transaction does not run smoothly, manual intervention is necessary. For example, if the required quantity of goods is not found in the warehouse, you need to adjust the delivery quantity. Equally, if the customer is not prepared to pay the agreed price, because, for example, the goods are scratched, you can change the price in the cash sale document.
    In extreme cases, you can delete the entire transaction, starting with the delivery.
    If the delivery is damaged before it is picked up but after it is paid for and there is no replacement stock, you can initiate a subsequent delivery.
    If you make changes to the cash sale, you can issue a new cash sale invoice using the repeat printout function.
    Creating a Cash Sale
    In the initial screen, choose Logistics ® Sales and distribution ® Sales.
    Choose Order ® Create.
    Enter the order type for cash sales (BV in the standard system) and, if necessary, the organizational data.
    The values for sales organization, distribution channel and the division are usually proposed from user-defined parameters. Entries for the sales office and the sales group are optional.
    Choose Enter.
    Enter the following data:
    – Customer number of the sold-to party
    – Material numbers
    – Order quantities for the materials
    Choose Enter.
    If the system carries out an availability check and finds that there is insufficient stock for an order item to be delivered on the requested date, it displays a screen on which you can choose between several delivery proposals. Normally, in a cash sale, you only sell the quantity you can deliver on the spot.
    Save your document.
    The system automatically processes the delivery in the background and prints out a cash sale invoice. The amount of the sale is processed later in an order-related billing transaction. The amount is posted to financial accounting, using the order number as reference. Because this is a cash sale, no invoice is produced during the billing run.

  • Validate Text Object/Id for sales Docs

    Hi,
      WE have aprogram that updates header and item texts for sales documents. The problem is that the users sometimes give the wrong Object/Id combinations for sales docs and the BAPI is not giveng any error messages. Is there any method to validate if a Textobject/Id is valid for a particular sales document type?
    Regards,
    Hari.

    If you are modifying existing tables, In that case STXH and STXL are the only table that you can help you.
    Else, fire a READ_TEXT and then see the output to see if its a valid parameter and do the SAVE_TEXT / BAPI whichever one you are doing.
    Again, these paramaters are not specific to the ORDER TYPE.
    Regards,
    Ravi
    Message was edited by: Ravikumar Allampallam

  • Sales doc number?

    hi
    can i keep sales doc number in key fields or data fields in DSO?
    in data fields generally K.F and unique character also.
    in key fields we keep characters only.
    regards
    suneel.

    Hi Sunil,
    you can put the sales doc number (EBELN)
    in key filelds ,because which is the uniqe in the sales data.
    Regards
    Krishna Reddy

  • Pricing problem with value based free goods!

    Hi All,
    I've got a pricing problem.....
    Can anyone can come out with a solution.
    Here is the Business Scenario....
    In a super market pricing...should be implemented in such a way that....if the customer purchases any material(all materials) for $1000 he should be given  a materisl XXX one unit free (free goods)
    How to implement this in SD R/3 Scenario...
    i have tried out with Free goods...n pricing...but was not able to implement it..can any one of you suggest me a solution for this plz..
    Regards,
    Pavan.

    Hi Pavan,
    I would suggest that you post this message in the mySAP ERP business suite solution application forum. Here is the navigation info:
    Welcome to the SAP Forums » SAP Solutions » Enterprise Resource Planning (ERP) . It is more likely that someone from the SD slide will be reading that forum than this "SAP NetWeaver integration with my SAP ERP" forum. 
    I hope this helps,
    Mike.

Maybe you are looking for

  • How to delete header text, I know create_text, read_text?

    Hi, I know READ_TEXT and CREATE_TEXT FMs. Now, am working with iodc_input_orders. In my scenario....i know that, there is header text is populated. if the slaes org = 1234, then i need to delete/remove this header text. ( i can not put the below IF c

  • Why the color mismatch when exported key to mov?

    Keynote colors are rich and bright, but get all dull when exported to a mov. Anyone know why this happens, or better yet have a solution?

  • Manual for Wind barebone system

    I'm thinking about buying an MSI barebones system from Newegg.  MSI doesn't seem to offer user manuals for the barebones machines on their website.  If anyone can offer a manual for the system or particularly the mobo, I'd appreciate it.  Thanks.

  • Changing Layout / Settings

    Hi, Was looking at pictures of this phone as i was interested in buying it however i disliked the layout of the large icons at the bottom of the screen. #Since i don't want to buy the phone until I am sure of this I was just wondering if anyone knew

  • Import JavaBean Error : Invalid Class

    previously , i have 3 commandbean class , after that i add another 2 commandbean class, i hit the following error, Invalid Class -JavaBean not available for import class :net/solutions/model/ExternalToGateway Jar: c:\documents and settings\yzme\sap\w