Conditions with 0 value in pricing appears in Price of sls order in ECC 6.0

Hi All,
We have upgraded from R/3 4.7 to ECC 6.0.We have a pricing procedure with Condition type VPRS for which the value comes from the valuation segment of the Material master.
It is a statistical condition.
In R/3 4.7, if we used a non valuated material, this condition did not appear in the pricing of the sales order as it's value is 0.
But in ECC 6.0 this condition is appearing in the sales order pricing with 0 value and is showing the red trafic light next to the condition.
Can anybody please tell if this is standard in ECC 6.0 Or do we need to make some corrections?
Regards,
Avinash Gyale

Hello Avinash ,
Condition type VPRS - Cost condition can be determined from KOMP-WAVWR-cost in document currency
( Subtotal B ) which depends on plant and company code not valuation type  .There are other options also avalibale to set condition subtotal.
Routines can also be used to calculate cost.e.g routine 4 - to determine cost based on item category configuration , routine 3 - for Foreign currency , routine 7 for domestic etc.
Please  check and these routines and settings in pricing procedure.
Regards,

Similar Messages

  • Create pricing condition with default value in processing process field

    hi all,
    when i maintain the pricing conditions with vk11 or vk31, i want the price maintained is set default as blocked (the processing status field-KBSTAT). can it be done? i am using 4.6c.

    You should try to use transaction variant
    <i>Transaction variants simplify transaction flow by:
    Inserting default values in fields
    Changing the ready for input status of fields
    Hiding various screen elements and menu functions, or even entire screens
    Adjusting table control settings
    When you create a transaction variant, you run through the transaction in a special mode. In this mode, you decide which elements you no longer need in your transaction and which values should be inserted where. If you choose to hide an entire screen, the system will no longer display that screen in the transaction and will proceed on to the next screen in the series. You can also adjust table control settings and determine the width of columns and the order in which you want them displayed. In tab strips, you can suppress tabs that you no longer need by setting them to invisible.
    You may also create as many variants for a transaction as you desire. One of these variants can be defined as a standard variant. This variant is then valid across all clients. You may also assign different variants to specific users.
    This is done using Variant Transactions. Variant transactions are then places in those users’ user menus instead of the standard transaction. </i>
    To use this : Tools -> Accelerated SAP -> Personalization (transaction SHD0)
    Regards

  • CASE Statement in Where Condition with Multi Valued parameter in SSRS

    Hi All,
    I am little confused while using CASE statement in Where condition in SSRS. Below is my scenario:
    SELECT
    Logic here
    WHERE
    Date IN (@Date)AND
    (CASE
    WHEN NAME LIKE 'ABC%' THEN 'GROUP1'
    WHEN ID IN ('123456', '823423','74233784') THEN 'GROUP2'
    WHEN ABC_ID IS NULL THEN 'GROUP3'
    ELSE 'GROUP4'
    END ) IN (@GROUP)
    So above query uses WHERE condition with CASE statement from @GROUP parameter. I want to pass this parameter as multi- valued parameter and hence I have used CASE statement IN (@GROUP).
    For @Date one dataset will pass the available and default values and
    for @GROUP parameters, another dataset will pass the available and default values.
    But this is not working as expected. Please suggest me where I am making mistake in the query.
    Maruthu | http://sharepoint-works.blogspot.com

    Hi Maruthu,
    According to your description, I create a sample report in my local environment. It works as I expected. In your scenario, if the selected values from the Date parameter contains some of the Date field values, the selected values from the GROUP parameter
    contains some of GROUPS (‘GROUP1’,’GROUP2’,’GROUP3’,’GROUP4’) and the corresponding when statement is executed , then the dataset returns the corresponding values.
    In order to trouble shoot this issue, could you tell us what results are you get and what’s your desired results? If possible, you can post the sample data with sample dataset, then we can make further analysis and help you out.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • BAPI_SALESORDER_SIMULATE Conditions with no value

    When using BAPI_SALESORDER_SIMULATE to get a price for a customer / material the BAPI is returning the conditions however some condition value's and amounts are not returned. This leads to the net price being incorrect.
    I'm passing the following data into the BAPI...
    Header
      doc_type
      sales_org
      distr_chan
      division
      currency
      purch_no
      purch_date
    Item
      material
      target_qty
      req_qty
    Partners
      partn_role = 'WE'
      partn_numb
    Thanks
    Glenn

    It appears the qty of 1 is being interpereted as qty 0,001.

  • Selling pricing superceed scale price in sales order creation

    Hi all,
    I have a scenario as below.
    Material A has maintain 3 pricing condition as below.
    1. Selling price (PR00)
    material A : normal selling price(PR00) = $2.00.
    2. Free goods
    material A : free goods -> 12 + 2 (exclusive free items)
    3. Scale pricing
    material A : scale pricing -> 12 items = $ 1.80
                                              6 items = $1.00
                                              3 items = $ 0.80
    If the customer buying 12 items, he will be given 2 items free, the 12 items will be charged for rm2.00(normal selling price) instead of scale price $1.80.
    Meaning to say if there's a free goods determine, i need the items to be charged with normal price instead of taking scale price.
    How can I do this? I need this urgently.
    Kindly advise.
    Thanks!

    Hi,
    Please check if you use inclusive in free goods determination then the price will be picked $2.00 but in exclusive that is 102 or 122 you will get $1.80only, check this and confirm.

  • How to show the Characteristics Values of Batch appear upon Search?

    Dear all
    We are implementing SAP for Wood Industry.
    Facts:
    1. There are 3 batches created for the raw material.
    2. Each batch has the characteristics of Thickness, Width, Length with characteristics value  24mm, 140mm, 1530mm
    3. 1 Production Order has been create to produce raw material (RM) to semifinised goods (SM).
    Quetions:
    During GI to Produciton Order using MVT 261, when we try to select batches from the Item Detail level, the pop up search windows only show us the existing 3 Batch Numbers available for the RM, it does not show the characteristics value "thickness, Width, length" that describe each batch.
    And this has caused serious problem to use during their selection of batch as batch number will only make more sense to them if it is shown together with the characteristics value.
    Apart of opening additional screen to show the batch information of each batch, is there any config I need to do to solve this situation?
    Mark will be given handsomely.
    Thanks.

    Hi,
    it is possible to use another search help (Tab Strip: Search for batches via classes, when you press F4 in the batch field).
    Here you have to enter the class number first.
    Then you get a list of all characteristics in this class, and you can narrow your selection, by setting values for specific characteristics.
    After that, press F8 (Find in initial class)
    You will get a list of batches, assigned to the selected class, and fullfilling your selection criteria.
    Now you can display either the characteristics of a single batch, or you can define a layout for the ALV-Table control, with all characteristics, which you want to see in the overview.
    Another possibility is, to open up the 'batch information cockpit' (transaction BMBC) in a separate mode. Here you can see the characteristics ( if you define a selection class on tab strip 'Characteristics' ), e.g. in combination with stock information, which might be relevant as well.
    Here you can download some screenshots (link wiil be valid for 80 days)
    Link: [https://sapmats-de.sap-ag.de/download/download.cgi?id=B7BKFOTZKKGJ73YA86VZISCMALG8DTQRTX1YX02892OT1D308Z]
    Kind Regards
    Michael Franz
    IBU Mil Products & Mining
    SAP AG

  • Update column with ROW_NUMBER() value

    I have a column that I would like to update with a ROW_NUMBER() value partitioned by a specific column.
    CREATE TABLE ##tmp (id INT NULL,
    value1 VARCHAR(10),
    value2 VARCHAR(10))
    INSERT INTO ##tmp (value1,
    value2)
    VALUES ('A', 'asdfasdf'),
    ('A', 'asdf'),
    ('A', 'VC'),
    ('B', 'aasdf'),
    ('C', 'sdfgs'),
    ('C', 'xdfbhsdty'),
    ('C', '23sdgfg'),
    ('C', '234')
    -- update the ID column with the values below
    SELECT ROW_NUMBER() OVER (PARTITION BY Value1 ORDER BY Value2),
    Value1,
    Value2
    FROM ##tmp
    I have 14 million records.  Can someone explain the best way to do this?  Does the ORDER BY destroy performance for this many records?
    Thanks!

    CREATE TABLE ##tmp (id INT NULL,
    value1 VARCHAR(10),
    value2 VARCHAR(10))
    INSERT INTO ##tmp (value1,
    value2)
    VALUES ('A', 'asdfasdf'),
    ('A', 'asdf'),
    ('A', 'VC'),
    ('B', 'aasdf'),
    ('C', 'sdfgs'),
    ('C', 'xdfbhsdty'),
    ('C', '23sdgfg'),
    ('C', '234')
    -- update the ID column with the values below
    ; with cte as (
    SELECT ROW_NUMBER() OVER (PARTITION BY Value1 ORDER BY Value2) as RowNumber,
    Value1,
    Value2
    FROM ##tmp
    update cte
    set Id = RowNumber;
    Russel Loski, MCT, MCSE Data Platform/Business Intelligence. Twitter: @sqlmovers; blog: www.sqlmovers.com

  • Update value of Pricing condition

    Hi all,
    I am having existing custom program in which sales order get display through ALV. and when user select records through ALV and execute, All pricing conditions of selected sales order gets updated. For this BDC is written( in which Update button is clicked on condition tab at line item in sales order)
    My requirement is to add new field for pricing condition on selection screen.  and if user  puts any pricing condition on the field,  only that pricing condition should get updated with new value for selected  sales order. It should not update all the pricing condition for the sales order.
    Problem: I can not use BDC in this particular case because if i use Update button on condition tab(line item ) in sales order  on BDC, it will update all the pricing condition of sale order.
    Question: How i will trace new value of any pricing condition. Functional are saying that it is maintained in VK13. If this is a case
    then
    1)How I will come to know in which config table, Condition record exist  i.e New value of pricing .
    2)Each pricing Condition will have multiple condition tables ( Lot of combinations) and I will come to know about the tableu2019s    only at runtime. For getting the values from  table I need the value of there respective key fields.
    How I will get the values of all the key fields of  the condition tables ?
    If there is any better way to get the new reprising value of pricing condition please let me know?
    Thanks in advance

    Hi,
    Please check if any other standard pricing types suits your requirement.  Assuming that your current pricing type is 'B'-carry out automatic pricing. So, when you update pricing, you can choose the best that suit your case.
    [http://help.sap.com/saphelp_46c/helpdata/en/dd/560f03545a11d1a7020000e829fd11/content.htm]
    Regards,
    P Gomatheeswaran

  • Function module to change the value for pricing condition type

    Hello experts,
    I want to change the value for pricing condition type for an item in the transaction CRMD_ORDER.
    I used many function modules but none are working.
    Please kindly suggest a function module that will change the value for a condition type .
    I have used the following function module but its not working, please correct the coding if anything needs to be changed or added. Please help me .
    Thank you.
    CLEAR PRCD_COND.
         SELECT SINGLE * FROM PRCD_COND WHERE KPOSN = WA_ORDERADM_I-GUID AND
                                              KSCHL = COND_TY.
      IF SY-SUBRC = 0.
    *    MOVE-CORRESPONDING PRCD_COND TO L_COND_CHG.
    *    CLEAR L_COND_CHG-KBETR.
        L_COND_CHG-STUNR = PRCD_COND-STUNR.
        L_COND_CHG-KBETR = COND_PRC.
    *    L_COND_CHG-KSCHL = COND_TY.
        INSERT L_COND_CHG INTO TABLE T_COND_CHG.
    L_HEAD_GUID = CRMD_ORDERADM_H-GUID.
    L_ITEM_GUID = WA_ORDERADM_I-GUID.
    INSERT L_HEAD_GUID INTO TABLE HEAD_GUID.
    INSERT L_ITEM_GUID INTO TABLE ITEM_GUID.
        CALL FUNCTION 'CRM_ORDER_READ'
         EXPORTING
           IT_HEADER_GUID                    = HEAD_GUID
           IT_ITEM_GUID                      = ITEM_GUID
         IMPORTING
           ET_ORDERADM_H                     = LT_ORDERADM_H
           ET_ORDERADM_I                     = LT_ORDERADM_I
           ET_PRIDOC                         = IT_PRIDOC_RD
           ET_DOC_FLOW                       = T_DOC_FLOW
    *     CHANGING
    *       CV_LOG_HANDLE                     =
    *     EXCEPTIONS
    *       DOCUMENT_NOT_FOUND                = 1
    *       ERROR_OCCURRED                    = 2
    *       DOCUMENT_LOCKED                   = 3
    *       NO_CHANGE_AUTHORITY               = 4
    *       NO_DISPLAY_AUTHORITY              = 5
    *       NO_CHANGE_ALLOWED                 = 6
    *       OTHERS                            = 7
        IF SY-SUBRC <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDIF.
    MOVE-CORRESPONDING LS_PRIDOC_RD TO L_PRI_COND.
    INSERT L_PRI_COND INTO TABLE PRI_COND.
    LOOP AT IT_PRIDOC_RD INTO LS_PRIDOC_RD.
    MOVE-CORRESPONDING LS_PRIDOC_RD TO L_PRIDOC_CHG.
    L_PRIDOC_CHG-PRIC_COND = PRI_COND.
    L_PRIDOC_CHG-REF_GUID = LS_PRIDOC_RD-GUID.
    L_PRIDOC_CHG-COND_CHANGE = T_COND_CHG.
    INSERT L_PRIDOC_CHG INTO TABLE PRIDOC_CHG.
    ENDLOOP.
    LOOP AT LT_ORDERADM_H INTO LS_ORDERADM_H .
    MOVE-CORRESPONDING LS_ORDERADM_H TO L_HEADER.
    INSERT L_HEADER INTO TABLE HEADER.
    ENDLOOP.
    LOOP AT LT_ORDERADM_I INTO LS_ORDERADM_I.
    MOVE-CORRESPONDING LS_ORDERADM_I TO L_ITEM.
    INSERT L_ITEM INTO TABLE ITEM.
    ENDLOOP.
    L_FIELD-FIELDNAME = 'STUNR'.
    INSERT L_FIELD INTO TABLE FIELD.
    L_FIELD-FIELDNAME = 'KBETR'.
    L_FIELD-CHANGEABLE = 'X'.
    INSERT L_FIELD INTO TABLE FIELD.
    L_INPUT-FIELD_NAMES = FIELD.
    L_INPUT-REF_KIND = 'E'.
    L_INPUT-REF_GUID = LS_PRIDOC_RD-GUID.
    L_INPUT-OBJECTNAME = 'PRIDOC'.
    INSERT L_INPUT INTO TABLE INPUT.
        CALL FUNCTION 'CRM_ORDER_MAINTAIN'
         EXPORTING
           IT_PRIDOC                     = PRIDOC_CHG
         IMPORTING
           ET_EXCEPTION                  = EXCEPT
         CHANGING
           CT_INPUT_FIELDS               = INPUT.
        IF SY-SUBRC <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDIF.
    REFRESH EXCEPT.
    CALL FUNCTION 'CRM_ORDER_SAVE'
      EXPORTING
        IT_OBJECTS_TO_SAVE         = HEAD_GUID
    *   IV_UPDATE_TASK_LOCAL       = FALSE
    *   IV_SAVE_FRAME_LOG          = FALSE
    *   IV_NO_BDOC_SEND            = FALSE
    *   IT_ACTIVE_SWITCH           =
    IMPORTING
       ET_SAVED_OBJECTS           = SAVED
       ET_EXCEPTION               = EXCEPT
       ET_OBJECTS_NOT_SAVED       = UNSAVED
    * CHANGING
    *   CV_LOG_HANDLE              =
    * EXCEPTIONS
    *   DOCUMENT_NOT_SAVED         = 1
    *   OTHERS                     = 2
    IF SY-SUBRC <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    COMMIT WORK AND WAIT.

    Hi,,
    To be able to call a function module in an update work process, you must flag it in the Function Builder. When you create the function module, set the Process Type attribute to Update with immediate start
    Alternatively u can use this function module.
    CRM_STATUS_DATA_SAVE_DB
    BAPI_CUSTOMERCRM_CHANGE (If u wish to use a bapi for this).
    Also , Let me know what error you got when implementing other function module.Does the function module didnt return any error but still the value is not changed for pricing condition type?

  • Default value for pricing condition

    Hi,
    I have a requirement for a manual pricing condition for Minimum Order charge - ZMIN - to be automatically populated with a fixed value of £6 when entered manually onto an order.
    Please advise if this is possible.
    Thanks in advance.
    Mike

    Thanks for that SAP2020.
    Where would I put the default value of £6? When I go into the order, I'd want the user to key in the pricing condition of ZMIN and then the condition value to be automatically populate with £6 automatically rather than having the user key the value manually.
    I don't want to use condition records/access sequences to define the £6 as the minimum order charge is at the discretion of the person taking the order.
    Thanks again,
    Mike

  • BAPI_SALESORDER_CHANGE add new line and conditions with a condition value

    Hi,
    I am using BAPI_SALESORDER_CHANGE to add new lines to a credit memo. All works fine except that I can not seem to put a condition value on the new lines. The condition is created but with a value of 0. I can popluate the condition amount field, KBETR but not KWERT. BAPICONDX seems to only have the COND_VALUE field in it and not CONDVALUE as in BAPICOND. Does anyone have any idea how to do this? In the code below I just want to change the material on the first line of the credit memo and not add the condition. Then add new lines with the the condition.
    lw_order_header_inx-updateflag  = 'U'.
      LOOP AT i_accru INTO wa_accru.
        lv_count = lv_count + 1.
        lv_posnr = lv_count * 10.
    * Order Items
        lw_order_item_inx-itm_number = lv_posnr.
        lw_order_item_inx-material   = 'X'.
        IF lv_count = 1.
          lw_order_item_inx-updateflag    = 'U'.
        ELSE.
          lw_order_item_inx-updateflag    = 'I'.
        ENDIF.
        APPEND lw_order_item_inx TO lt_order_item_inx.
        lw_order_item_in-itm_number = lv_posnr.
        lw_order_item_in-material   = wa_accru-vakey.
        APPEND lw_order_item_in TO lt_order_item_in.
    * Conditions
        IF lv_count <> 1.
          lw_conditions_inx-itm_number = lv_posnr.
          lw_conditions_inx-cond_st_no = '905'.
          lw_conditions_inx-cond_count = '01'.
          lw_conditions_inx-cond_type  = 'ZHIE'.
          lw_conditions_inx-currency   = 'X'.
          lw_conditions_inx-updateflag = 'I'.
          APPEND lw_conditions_inx TO lt_conditions_inx.
          lw_conditions_in-itm_number = lv_posnr.
          lw_conditions_in-cond_st_no = '905' .
          lw_conditions_in-cond_count = '01'.
          lw_conditions_in-cond_type  = 'ZHIE'.
          lw_conditions_in-condvalue  = wa_accru-accru.
          lw_conditions_in-currency   = 'GBP'.
          APPEND lw_conditions_in TO lt_conditions_in.
        ENDIF.
      ENDLOOP.
    * Change the credit memo
      CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
        EXPORTING
          salesdocument               = lv_vbeln
          order_header_in             = lw_order_header_in
          order_header_inx            = lw_order_header_inx
    *   SIMULATION                  =
    *   BEHAVE_WHEN_ERROR           = ' '
    *   INT_NUMBER_ASSIGNMENT       = ' '
    *   LOGIC_SWITCH                =
    *   NO_STATUS_BUF_INIT          = ' '
        TABLES
          return                      = lt_return
          order_item_in               = lt_order_item_in
          order_item_inx              = lt_order_item_inx
    *   PARTNERS                    =
    *   PARTNERCHANGES              =
    *   PARTNERADDRESSES            =
    *   ORDER_CFGS_REF              =
    *   ORDER_CFGS_INST             =
    *   ORDER_CFGS_PART_OF          =
    *   ORDER_CFGS_VALUE            =
    *   ORDER_CFGS_BLOB             =
    *   ORDER_CFGS_VK               =
    *   ORDER_CFGS_REFINST          =
    *   SCHEDULE_LINES              =
    *   SCHEDULE_LINESX             =
    *   ORDER_TEXT                  =
    *   ORDER_KEYS                  =
         conditions_in               = lt_conditions_in
         conditions_inx              = lt_conditions_inx
    *   EXTENSIONIN                 =
      IF sy-subrc = 0.
        CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
    * EXPORTING
    *   WAIT          =
    * IMPORTING
    *   RETURN        =
      ENDIF.

    Hi Rob,
    Have you managed to solve this issue. If so, could you please share the solution.
    I am also facing similar problem.
    Thanks for your help.
    Anoop

  • How to extract values from pricing procedure for conditions in CRM Billing?

    I have a number of conditions in the pricing procedure in CRM Billing that I would like to extract to SAP BW. How can this be done?
    Is there a standard extractor for CRM Billing similar to the SD Billing extractor "Extraction of SD Billing Conditions" (2LIS_13_VDKON)?
    If there is no standard extractor, is there another way to extract the conditions and the related values?
    I am using the standard CRM Billing Extractor 0BEA_CRMB already, so maybe an append could solve my problem. How can this be done? In what CRM-tables can I find the values from pricing procedure for conditions in CRM Billing?

    you may want to post that last question in a CRM forum... in ECC it would be table KONV

  • Set currency value of pricing element in condition tab - VA21

    Hi GURU,
    Would you please help to identify the way to set the following currency values for pricing element in condition tab when creating system quote by va21:
    Rate unit (RV61A-KOEIN)
    SD document currency (KOMK - WAERK)
    Thanks in advanced,
    Regards,
    Thang

    Solved

  • T code/ report to list all material sales pricing condition with deletion i

    I create sales org/ material level pricing conditions in VK11. Some unwanted material pricing conditions are with Deletion indicator active. Iu2019m looking for a report to list all material sales pricing condition with deletion indicator active.
    Please advice me on this.

    Hi Goto v/ld and select 16 which stands for individual prices, and then populate sales organization, distribution channel, customer ,material numbers,etc...and tick "Cond.marked for deletion" check box in "list screen" tab which is the most important, execute you will be able to see all material pricing condition even though it had been deleted.

  • Maintaining pricing condition with field group

    Hi
    I want to check the linkage between condition maintenance table for pricing with the Contract.
    Can any body tell me how to maintain the pricing condition with the field group of Contract.(provide me the detail path)
    I am getting one error"Internal error in condition maintenance" when i click on product tab for any of contracts.
    So I guess it may be due to any linkage failure between condition table and field group or tabstrip. please tell me how could I proceed forward to check this error.
    Thanks

    Hi, I hope that this linck to serve.
    [condition fields table|condition fields table]
    Cordial greetings.

Maybe you are looking for

  • IPhoto: Naming/Renaming Albums

    I am having difficult entering names for photo albums in iPhoto. Once I create a new album ("untitled album"), I lose my ability to change the name of the album before I can enter it. Once I bring the edit box back up, I can typically enter between 1

  • The center button on my 7th generation ipod nano no longer works

    I have had my 7th generation ipod nano for about 6 months. It only stays plugged into my vehicle. 3 days ago, the center button quit working. It still plays music and the touch screen works, as well at the top on/off button. What can I do to fix this

  • How do I transfer photos from my ipad to my iphoto library?

    I synced my my ipad to my mac and now 3 events are missing from my iphoto library, but are on my ipad, weird!  can I sync it with my mac and will the photos return to my iphoto library?  I'm affraid to sync it now after what happened I'm affraid to l

  • TS3276 All accounts keep going off line, quitting Mail fixes the issue

    All accounts keep going off line, quitting Mail fixes the issue. I have 3 Gmail, 1 hotmail and a yahoo. Al go off line with a little alert symbol next to them. If I select take all accounts on line nothing happens. Email delivery stops. To fix this,

  • Illustrator - Window - Libraries?  .....  there is no such item on mine

    I'm watching a video "CC Libraries in Illustrator" which directs me to select "Libraries" from the "Window" menu.  There's no such item.   There are four specific libraries at the bottom but nothing there follows the video's example of how to create