Sales order item contion value not coming correcctly

Hi Friends,
I created new condition type-YES7, taken sale basis as D
Cond. class           A Discount or surcharge                 
Calculat.type          B   Fixed amount                                                
Cond.category       5 Customer reserve 5                                          
Plus/minus              A Positi
Scale basis            D Gross weight scale
Manual entries       C Manual entry has priority
Selected below indicators as well
group conditon
item conditon
delete
I have created condition scales as below
scale qty                                 Rate
0,001     KG     5,00    EUROS
10,000          10,00
20,000          20,00
30,000          30,00
40,000          40,00
50,000          50,00
as per my requirement, based on gross weight of each line item, condition record should pick from scales .
But here,It is cumulating the total gross weight of all line items and showing total gross weight scale value(conditon record value) for each line item of sales order.
so please let me know how to rectify this issues.
Thanks in advane.
Regards,
Ramkrishna

Just remove the Group condition and then try .Please refer the  logic behind the Group condition
Group condition
Indicates whether the system calculates the basis for the scale value from more than one item in the document.
Use
For a group condition to be effective, the items must belong to a group. You can freely define the group to meet the needs of your own organization. The items can, for example, all belong to the same material group.
Example
A sales order contains two items. Both items belong to the material group 01.
Material     Quantity     Material group
A     150     01
B     100     01
The group condition indicator is set in the definition of the condition type for material group discounts. The condition record for material group 01 includes the following pricing scale:
Scale quantity     Discount
from      1 pc     -1%
from      200 pc     -2%
Neither item alone qualifies for the 2% discount but sytem will apply the 2% as 100 + 150 > 200 .
However, when the items are combined as part of a group condition, the combined quantity creates a basis of 250 pieces.
This basis then exceeds the scale value of 200 pieces, which is necessary to qualify for the higher discount.
Hope it should work after that ...
Br
Gaurav

Similar Messages

  • CRM Sales Order Item Status Does Not match R/3 Item Status

    The status of the CRM sales order item is being set to 'In Process' when the related R/3 sales order line item status is set to 'Complete' - when, the delivery quantity is zero for the sales order item.  This happens when the warehouse can't find the stock to pick - the delivery quantity is set to zero.  Thus, the CRM order item status does not agree with the R/3 order item status.  We need for the line item status to be set to 'Complete' in CRM.  Anyone have an idea as to how to make this happen?
    Thanks you.

    Hi Peter and Suresh,
      From the information provided I understand that the sales order created in CRM after replication to R/3 has some status change.
    1.  What are the fields which are updated in R/3 for the sales order created in CRM ?
    2. If sales order fields are updated in R/3 are these updates reflected back to CRM?
    3. If they are reflected back in CRM? Is there still flexibility for sales order to be changed in CRM and replicated back to R/3?
    Can you please share you experiences.. Any help is highly appreciated.
    Thanks
    Jothi

  • FM/BAPI to update sales order item characteristic values

    Hi experts,
    I have an urgent requirement on changing the characteristic values of a sales order item (VA01/VA02). Is there any FM or BAPI to update the characteristc values?
    Points will be awarded.
    Regards,
    Leo

    Hi,
    I need an FM/BAPI that can be run inside user exit USEREXIT_SAVE_DOCUMENT_PREPARE to update the item configuration. I tried the FM you have given me but it didn't work. If you have sample codes that can update the configuration values of the sales order item, it will help me a lot. Thanks!
    Regards,
    Leo

  • Sales order(VA01) discount value not calculated

    Hello Gurus,
    As Iam creating Sales order i.e(VA01). In my sales order Cash discount is not deducting .It was adding the discount value for example(100+10=100). but it should be (100-10=90).I have checked the Pricing procedure also.
    Apart from that can we used two condition type for same order
    Please find below I have attached the screen shot also.
    Regards,
    Sukdev.

    Dear Neel,
    As I already maintain that Condition type in Pricing properly as to told in the above point.So then also it was not updated in my sales order.
    Regards,
    Sukdev.

  • While Creating Sales order Item pricing error is coming........

    HI Friends,
    I  have just given all values in VA01  not saved at tht time and before saving i go the Extras -->Output ---> Header -> Print Preview----> i got the form then i  back to the screen ... now i save sales order but it giving error " Item Pricing error" if  i click on item pricing error button it goes to the  sap first screen.
    could you please help me in this......
    Regards
    Venkat boddu

    May be fault items where there is no pricing or so.
    Check all items and reprice them before save. if they are ok then go to MV45AFZZ and check save document prepare and save document user exits for the message. Also check form and print program.
    Last but not least, get the message number and class for the message then go where used list for that message.
    Mostly, this message is populated in user exits.

  • Sales order item 1 values are getting deleted

    HI,
    when i am creating sales order with material variants the dimension values( legth ,width ) for the first item are getting delted. it is happening after the BAPI_SALESORDER_CHANGE executed for  the second item. where could be the problem. is any flag values do i need to check?
    please suggest.

    Hi:
    Thanks for the response.
    Yeah, when I try to create an Order manually with the item category that is coming in IDOC I am able to see the Text ID's at the item level and I am even able to save some text in them.
    Do you think we need to do something else somewhere? May be we need to explicitly write some additional logic in order to save the item texts.
    Thanks.

  • Sales order materials (BOM) are not coming to the delivery

    Hello,
    created the sales order with BOM materials, in the sales it's showing the all materls (BOM materials) as per our configuration. but when i try to create  the delivery it's not showing the all materials in delivery.
    maintained item level bom
    for material -
    A,  i have maintined the components A1, A2 & A3 (items), when i created order with material A,  its showing the A, A1,A2 & A3 materialsin the order, but when i try to create the delivery its showing only A1 & A2 materials. it not showing in the delivery A3 material.
    any locks or blocks for POI?
    any one help regarding this issue
    Regards|ks

    Hello,
    i have checked the delviery group in the sales order all items are under the same delviery group. but why the delviery not showing all item in one delviery?
    Could you please reply
    Regards|KS

  • Sales order item quantity is not copied to delivery order quantity

    hi,
    i am trying to make a delivery order w.r.t. sales order which have 10 quantity for a certian material. when i create it, all the data on sales order is copied to the delivery order automatically EXCEPT the material quantity which was 10. it was working perfect and i dont know what mistake i made. is there any way out?
    thanks

    Hi,
    While creating delivery, r u getting the following error..
    An item with no delivery quantity is not permitted. Item will be deleted.
    If so, you are maintainig picking location determination for that particular plant and shipping point combination.
    i.e.,
    in OVL3 , for ur plant , Shipping point, Storage condition(Taken from Material master- Plant/Stor1 View)
    you will be maintaining some storage location.
    But for that storage location, you do not maintain a stock..
    If you specify the storage location in sale order, the error won't come..
    Otherwise add stock to the storage location assigned in OVL3..
    It'll work..
    I have also got the same error..
    Hope it may be useful to you..
    Thanks & Regards,
    Venkatesh.S.P

  • PR/ Sales order value not coming in condition value routine

    As per the requirement while creating a PO I need to add a new condition type and need to calculate condition price for this newly added condition based on some matrix.
    For this requirement PO will always be created with reference to PR and with account assignment category as 'E' .
    (Hence sales order number /item will be copied from PR to PO in account assignment tab  )
    Now I have created a new pricing requirement routine ( To add the condition type ) and new condition routine to calculate and update the price.
    These routines are working fine if i check them with hard coded price values.
    But the problem is that I need the PR number(which we put in item overview ) / Sales order item number (from account assignment ). these values are not coming in pricing tables in the routine...structure EKPO come blank, KOMP-AUBEL is also blank).
    Please give your suggestions how i can i get PR/ SO in the condition values routine .
    Please reply

    resolved my self

  • Changes to sales order item not reflected if Call Transaction is used

    I m updating another Sales Order item quantity and reason for rejection programmatically from another sales order.
    The code is working fine and the quantity does get changed as well as the reason for rejection flag get set (if required). But if I go to the change log from the menu in VA02 for the order item which has been changed. It does not record the changes.
    I have tried using both BDC call transaction method as well as BAPI_SALESORDER_CHANGE in neither case the change log for the order which has been changed reflects the programmatically made changes?
    What m I doing wrong. Here is the code.
    IF v_update_order_flg = 'X'.
          REFRESH t_bdcdata.
          CLEAR s_bdcdata.
          REFRESH t_messtab.
          PERFORM bdc_dynpro USING 'SAPMV45A' '0102'.
          PERFORM bdc_field  USING 'VBAK-VBELN' <wa_r_rtb_posnrs>-zrtbvbeln.
          PERFORM bdc_field  USING 'BDC_OKCODE' '/00'.
          PERFORM bdc_dynpro USING 'SAPMV45A' '4001'.
       For Going to  specific Item Number
          LOOP AT t_schedule_lines.
            PERFORM bdc_field  USING 'BDC_OKCODE' '=POPO'.
            READ TABLE t_item_in WITH KEY itm_number = t_schedule_lines-itm_number.
            PERFORM bdc_dynpro USING 'SAPMV45A' '0251'.
            PERFORM bdc_field  USING 'RV45A-POSNR' t_schedule_lines-itm_number.
            PERFORM bdc_field  USING 'BDC_OKCODE' '=POSI'.
            PERFORM bdc_dynpro USING 'SAPMV45A' '4001'.
            v_ro_qty = t_schedule_lines-req_qty.
            CONDENSE v_ro_qty.
            PERFORM bdc_field  USING 'RV45A-KWMENG(01)' v_ro_qty.
            PERFORM bdc_field  USING 'VBAP-ABGRU(01)' t_item_in-reason_rej.
          ENDLOOP.
          PERFORM bdc_field  USING 'BDC_OKCODE' '=SICH'.
          v_call_transaction_flg = 'X'.
          EXPORT v_call_transaction_flg TO MEMORY ID 'call_transaction'.
          CALL TRANSACTION 'VA02'
                       USING t_bdcdata
                       UPDATE 'S'
                       MODE   'N'
                       MESSAGES INTO t_messtab.
          v_call_transaction_flg = space.
          FREE MEMORY ID 'call_transaction'.

    Hi Srikrisna,
    This is a typical problem with BDC for updating QUANTITY and CURRENCY fields.
    You need to create a character variable of the same length as your quantity field. Move your quantity value to the newly created Character variable.
    Now use this new char variable in the BDC.
    This correction should solve your problem.
    NOTE: BDC RECOGNIZES CHARACTER FIELDS ONLY.
    Regards,
    Prakash Pandey

  • EK01 and EK02 not copied to sales order item

    Dear colleagues,
    Is it possible to have EK01/EK02 transferred to the sales order item for assembly type = "0 no assembly order processing"
    (specified in requirement class definition)? I would like to have planned production costs in EK02/EK01.
    I don't specify costing method, variant and sheet in requirement class definition (transaction ovzg)
    The steps are following:
    1. create sales order
    2. set manually proper item category (which refers to assembly type = "0 no assembly order processing")
    3. MD04 - convert generated planned order (lower-level for HALB) into production order
    4. MD04 - release HALB production order
    5. MD04 - convert generated planned order (higher-level for FERT) into production order
    6. MD04 - release FERT production order
    7. ????? we could expect EK02/EK01 in sales order item coming from production orders ?????
    I have found SAP note 857299 nevertheless it is not stated precisely there.
    Please let me know your observations in this area.
    Regards,
    Wojtek

    Hi..
    Hi
    Small change in the program will copy the PO number from Contract to sales order.In case need take help of ABAPer
    Data which is not copied
    LOCAL: VBKD-FKDAT.
    LOCAL: VBKD-FPLNR.
    LOCAL: VBKD-WKWAE.
    LOCAL: VBKD-WKKUR.
    LOCAL: VBKD-DELCO.
    LOCAL: VBKD-BSTKD.
    LOCAL: VBKD-ABSSC.
    LOCAL: VBKD-BSTDK.
    In your data declaration, you have
    LOCAL: VBKD-BSTDK
    Regds
    MM

  • Net Value in sales order item

    Hi All,
    Any one know how the system set net value in sales order item? (VBAP-NETWR)
    I mean, what kind of condition type will be considered in net value calculation.
    Thank you

    Hi,
    In Sales Order net value (NETWR) is always value before tax, it means the condition type determined before tax condition will be considered in sales order Net Value.
    In other words if conditon type have a category defined as D-Tax and Cond. class as D- Taxes, the value of this condition type will not be considered in Net value.
    regards
    Vivek.
    Edited by: Vievk Vardhan on Jan 7, 2010 2:00 PM

  • Project Revenue Plan Not Update from Sales Order Item

    I am generating a network and project from the sales order item using Assembly processing. I am using milestone billing on the sales order item and the milestones attached to the project network activities are appearing as billing blocks on the sales order item billing plan. However, the project revenue is not getting updated from the sales order billing plan. Can someone please help?
    I have deleted the billing plan on the billing WBS element and activated revenue planning update from sales order in cusomization for PS. I am looking at CNS41 under the project revenue sched in version 0. Is there a different report I should be looking at?
    Regards,
    Venkat.

    HI Venkat,
    You are looking at the correct report & I believe you have also done the necessary customization. If you create a sales order and reference it to a quotation, the related plan values in the WBS element are refreshed automatically.
    When the payment data is recorded, the terms of payment and the customer payment history are taken into consideration. One of the probable causes could be the credit limit of the customer might have been exceeded. Take help of your SD consultant & increase the credit limit for that customer (from the sales document), t-code FD32 if it is permitted in the business.
    After the new credit limit is set execute the following steps:
    u2022     Go to the t-code Change billing request (VA02)
    u2022     Open the required billing request
    u2022     Remove the account assignment of WBS element from each line item
    u2022     Save the billing request
    u2022     Reopen the billing request in change mode
    u2022     Reassign the WBS elements to all line items
    u2022     Now the changed credit limit will take affect
    u2022     Check the Planned Revenue for the said project in CNS41, it should get updated.
    Rgds
    Deepak

  • Sales Order Item Shipping point (VBAP-VSTEL) value in APO table

    Hi,
    I am looking for Sales Order Item Shipping point (VBAP-VSTEL) value in APO.Can I  get this info in APO ?
    This information is not available in table /SAPAPO/SDORD or  /SAPAPO/SDFIELD.
    Basically table /SAPAPO/SDORD is completely blank. Table /SAPAPO/SDFIELD has entry for Sales Order Item but not for VSTEL. Shipping point is there in the Catalog table in ECC and I can see that it is getting imported to APO but why it is not avaibale in SDFIELD table.Any idea ?
    I cheked table /SAPAPO/SHIPPING also for the guid (Item guid) but not found any entry .
    Please help.

    RKS,
    Most data in SCM is not stored in tables, it is stored in LC.  In general, it is not the best idea to use APO for creating custom reports against  transactional data.  You do such reporting in the OLTP, and you use the standard SAP programs to keep these systems in synch.
    Some SD auxiliary data is sometimes stored in /SAPAPO/SD_DOC.and /SAPAPO/SDFIELD.  Check here, you might find something useful.  No guarantees......
    Best regards,
    DB49

  • Sale Order Item Quantity Not Populating When Create A Sale Order Using BAPI

    I am having a problem when creating a sale order using BAPI
    BAPI_SALESORDER_CREATEFROMDAT2
    Problem is that sale order item quantity field is not populating
    code is as follows
    ORDER_ITEMS_IN-ITM_NUMBER = '0010'.
    ORDER_ITEMS_IN-MATERIAL = '000000000010000262'.
    ORDER_ITEMS_IN-TARGET_QU = 'LB'.
    ORDER_ITEMS_IN-TARGET_QTY = 1.

    Hi,
    Try populating ORDER_SCHEDULES_IN table in the bapi field REQ_QTY.
    Regds,
    Rudra

Maybe you are looking for

  • My speaker does not work on my iPhone 5

    when i'm talking on the phone, and decide to put the call on speaker, the button(function) does not work.  As well, when I attempt to listen to my voice mail using the speaker mode, I cannot hear the messages....What is going on?

  • My iPad stopped being recognised by Windows 7

    My iPad 1 recently stopped being recognised by Windows 7. It makes the bing-bong noise when I plug it in and the 'Not charging' notice comes up, but the 'Apple USB device' no longer appears in Device Manager and iTunes (latest version) does not recog

  • I can not click certain tabs on my Etsy page & they will not open using Firefox, but I am able to open these tabs on Etsy when using Internet Explorer

    When I am signed onto Etsy, there are certain tabs on the top of the page that I can not click open when using firefox, but when I use Internet Explorer, I am able to click open these tabs. The following tabs on my etsy page will not open: Your Shop,

  • Clean install to 10.6 OEM from 10.5.8

    I just ordered snow leopard. I did not realize, however, that I was ordering an OEM version. (didn't research it until after purchase either) I am currently running 10.5.8 and want to do a clean install with 10.6 OEM. Am I going to run into any probl

  • Proxy errors when trying to debug cfm

    I can't connect to the cf server in CFB and I am sure that rds is enabled and my settings are correct, is there anything else I can do? I have also checked the network connection is set to direct, my college has the same settings but he connects ok