Over writing condition value

Dear All,
We have maintained condition record for BED, Scess and SHcess in our company. Now, a new requirement has come up to maintain automatic as well as manual condition types for excise duties. Whenever we enter the manual excise condition type,  it should overwrite the automatic condition value. How to do these settings. Kindly help me.
Thanks & Regards,
Reji

Hi
If you check condition via V/06 double click on it.
You have there setting for "manual entries"
You can set EMPTY or A, B, C, D
C - manual entry has priority
Please check if this is what you need
regards
Rafal

Similar Messages

  • Condition value from previous PO changes total value of new PO

    Dear gentlemen,
    We have a surcharge condition, calculation type = B (Fixed amount), category = Delivery costs. When viewing header condition details in PO, there appears an unknown "condition base value" with no "rate unit" associated with it. This value is carried over to the next PO created, changing its total value, thus affecting inventory value. What is wrong with this condition? How can I not let the system carry over "condition value" from previous POs?
    Regards,
    Carlos Piana
    La Universal
    Guayaquil, Ecuador, South America

    My aim is the difference between 56062 on 10.07.2012 00:00:00 and 52013 on 13.04.2012 and so on.
    The final table should look like this:
    DateId
    Severity
    PageCount
    DeviceId
    ErrorId DIFF
    13.04.2012 00:00:00
    1
    52013
    163
    1              52013
    10.07.2012 00:00:00
    1
    56062
    163
    1               4049
    13.11.2012 00:00:00
    4
    63907
    163
    1                 ...
    28.11.2012 00:00:00
    4
    64492
    163
    1
    12.09.2012 00:00:00
    4
    61524
    163
    1
    29.11.2012 00:00:00
    4
    64573
    163
    1
    Why I am doing this is that I want to calculate an Printerindex. This is the Amount of Errors related to the volume of pages, printed.
     The Formula in DAX is Measure:=(COUNT(FactErrors[ErrorId]))/(SUM(FactErrors[PagesCount])/10000)
    So I get this PivotTable:
    Zeilenbeschriftungen
    CountDevices
    SUM PageCount
    CountErrors
    PrinterIndex
    MFP
    523
    90135296
    1362
    31,24906792
    HP
    125
    30805190
    241
    5,529387202
    Lexmark
    369
    53500358
    856
    27,39392853
    Samsung
    29
    5829748
    265
    41,33069233
    Samsung CLX-92x1 93x1 Series
    22
    5400624
    246
    38,36735967
    Samsung SCX-8123 8128 Series
    7
    429124
    19
    4,482612183
    You see, that if I can't SUM already summarized printed volume. Another way could be to aggregate the volume as MAX() but this is not working, either.
    Zeilenbeschriftungen
    CountDevices
    MAX PageCount
    CountErrors
    PrinterIndex
    MFP
    523
    435853
    1362
    0,151106177
    HP
    125
    435853
    241
    0,07823357
    Lexmark
    369
    312478
    856
    0,159998929
    Samsung
    29
    64117
    265
    0,454565103
    Samsung CLX-92x1 93x1 Series
    22
    64117
    246
    0,45550292
    Samsung SCX-8123 8128 Series
    7
    42386
    19
    0,442762465
    I hope you see my problem ...

  • Condition value routine getting value zero at header level.

    Hi Gurus,
    I am trying to create one condition value routine in which I am passing xkwert = ( wa_vbap-cmpre * komp-mglme ) / 1000.
    The condition works fine at item level where I get condition value as desired but at the header level, where it should show sum for all line items, it is showing 0. When I debugged, I found that somewhere in standard program, where it sums for line item, it is changing to negative and that is why it is getting zero but I was not able to correct it.
    I am writing the code as follows.
    DATA: wa_tab TYPE c LENGTH 1000,
          I_VBAP TYPE STANDARD TABLE OF VBAP,
          lv_komv like xkomv,
          WA_VBAP TYPE VBAP.
    FIELD-SYMBOLS <f1> TYPE ANY TABLE.
      UNASSIGN <f1>.
    wa_tab = '(SAPMV50A)XVBAP[]'.
    ASSIGN (wa_tab) TO <f1>.
    IF sy-subrc = 0.
       i_vbap[] = <f1>.
    ENDIF.
    READ TABLE i_vbap INTO wa_vbap WITH KEY posnr = komp-kposn.
    IF sy-subrc = 0.
       xkwert = ( wa_vbap-cmpre * komp-mglme ) / 1000.
       CLEAR wa_vbap.
    ENDIF.
    CLEAR: I_VBAP,
            lv_komv.
    What should I do? please help.
    Regards,
    Manish

    I found the solution.
    If xkwert is initial.
    xkwert = gkomv-xkwert.
    endif.
    Regards,
    Manish

  • Tax condition Value

    Hi SAP Gurus,
    In the sales order Tax Jur Code County is taking one value and invoice is taking different tax.
    In the sales order Tax Jur Code County is calculating based on condition value and Tax Jur Code State.
    However in the invoice it is not considering the Tax Jur Code State.
    what could be the reason?
    Please help.
    Thanks in Advance

    Dear drn rao
    Go to VA02, input the sale order and execute.  There select the line item and go to condition tab.  You can see many condition types flowing over there.  Block the condition type UTXJ and click on blue lens at the bottom left screen and see what tax code is flowing.
    Similarly, go to VF02 and check what tax code is flowing.  Post the outcome.  Nevertheless, in normal circumstances, it should be the same tax code.
    In fact, on your comments "sales order Tax Jur Code County is taking one value and invoice is taking different tax"  you should check in VK11 / UTXJ
    thanks
    G. Lakshmipathi

  • What is the Procedure to Create "Condition Value" Routine Using VOFM

    Dear Guru,
    I want to know Step-By-Step Procedure to Create "Condition Value" Routine Using VOFM.
    Give me guideline how it will link to program RV64ANNN.
    and if it doesnot link to RV64ANNN
    what might be the possible reason and how to make it link with RV64ANNN.

    Dear Guru.
    I have encountered a technical issue related to Creation of User Routine for pricing procedure
    (Routine :: RV64A978).
    Before coming to issue I want to give you slight glance on my requirement.
    I have got two requirements to write two routines for a new condition type -->> packing type .
    >>Routine Number  One First  I Have wrote  Requirement Routine         RV61A943
    Routine Number two  Other I Have wrote  calculate condition value  RV64A978
    So as usual normal procedure of writing a routine I followed VOFM for writing routine for pricing procedure and routine for calculation (condition value).
    I performed above respective process for both routines in VOFM.
    And I have activated both routine from going VOFMMenu bar edit  Activate.
    After activation automatic include is generated in both case .
    INCLUDE RV61A943 .  "FAMD PAckage Wt        
    Is generated in RV61ANNN
    INCLUDE RV64A978 .  "FAMD Package-Rate     
    Is generated in RV64ANNN
    In case of Routine  RV61A943
    I can able to find the main include routine RV61ANNN from where used function in SE38 and able to trace it.        
    And I am able to find it in the lists of Includes of RV61ANNN.
    But In case of Routine  RV64A978
    I can not able to find the main include routine RV64ANNN from where used function and able to trace it. Pls refer below picture.
    But in RV64ANNN it is showing that routine RV64A978 is there 
    So Guru I want to know following things >
    1.     What might be the main reason in case of RV64A978 ??
    2.     How I should approach to solve this issue??
    Because what I understood unless routine RV64A978 is traceable  from u201Cwhere usedu201D to find out its main routine RV64ANNN , the routine RV64A978 wont work in pricing procedure (I believe).

  • Header condition value is changing in Invoice compare to Sales Order

    Hi,
    I have created one Sales Order with five line items and total quantity is 100 units. I have one header condition type and the value is 1000 USD in Sales Order.
    Now I have created delivery and changed the quantity from 100 units to 105 units..
    And than I  have created Invoice. If i check the Header condition type value now it it 1100 USD instead of 1000USD(header condition type value should be the same as in Sales Order)
    Can anyone suggest me why the header condition value is changing in Invoice where as it should be as same as in Order?
    Thank you for your support
    Best Regards
    Amjathpasha

    Hi Amjad,
    You might check in copy controls for the Pricing type if the prices are getting re-determined at the time of billing.
    Although, if it is, the value should have been 1050 USD and not 1100 USD.
    As you know item condiitons for all the items are added up to the header, you might want to analyze item conditions as well.
    Also, since you are delivering 105 units instead of 100, do you still want the system to charge for 100 units? Or is it something related to under-delivery/over-delivery tolerance?
    Regards,
    Amit

  • BAPI_CUSTOMERQUOTATION_CHANGE - error while changing a condition value

    Hallo Gurus,
    I am trying to use tshi BAPI BAPI_CUSTOMERQUOTATION_CHANGE to change a condition value of a condition record of a quotation.
    Every time I execute the BAPI, instead of the condition tyoe being changed, a new record is added to the list of conditions!
    Can someone please help!
    Thsi is my piece of code::
    itab_BAPISDH1X-UPDATEFLAG = 'U'.
    append itab_BAPISDH1X.
    itab_BAPICOND-ITM_NUMBER = '10'.
    itab_BAPICOND-COND_ST_NO = '31'.
    itab_BAPICOND-COND_COUNT = '00'.
    itab_BAPICOND-COND_TYPE = 'ZST3'.
    itab_BAPICOND-COND_VALUE = '15.00'.
    itab_BAPICOND-COND_UPDAT = 'X'.
    append itab_BAPICOND.
    itab_BAPICONDX-ITM_NUMBER = '10'.
    itab_BAPICOND-COND_ST_NO = '31'.
    itab_BAPICOND-COND_COUNT = '00'.
    itab_BAPICONDX-COND_TYPE = 'ZST3'.
    itab_BAPICONDX-UPDATEFLAG = 'X'.
    itab_BAPICONDX-COND_VALUE = 'X'.
    append itab_BAPICONDX.
    CALL FUNCTION 'BAPI_CUSTOMERQUOTATION_CHANGE'
      EXPORTING
        salesdocument                = p_vbeln
      QUOTATION_HEADER_IN          =
        quotation_header_inx         = itab_BAPISDH1X
      tables
        return                       = itab_BAPIRET2
       CONDITIONS_IN                =  itab_BAPICOND
       CONDITIONS_INX               =  itab_BAPICONDX
    Thanks!
    Mukta

    Hmm...
    Change the following....and check..
    itab_BAPICONDX-ITM_NUMBER = '10'.
    itab_BAPICOND-COND_ST_NO = '31'.
    itab_BAPICOND-COND_COUNT = '00'.
    itab_BAPICONDX-COND_TYPE = 'ZST3'.
    itab_BAPICONDX-UPDATEFLAG = 'X'.
    itab_BAPICONDX-COND_VALUE = 'X'.
    append itab_BAPICONDX.
    "change the above to.....
    ab_BAPICONDX-COND_TYPE = 'X'.
    append itab_BAPICONDX.
    The BAPICONDX.. should contain only X.. in the fields which you want to update.. try this change..and let us know if it works.
    Also have a look at the FUNCTION MODULE DOCUMENTATION for this bapi in SM37.
    Cheers...

  • BAPI_PO_CHANGE, changing condition value in the purchase order

    Hi Friends,
    I have a requirement,
    a flat file is present in the application server that contains the information about PO,PO-ITEM,Condition type, movement type , condition value, plant, storage location .
    And i m calling the bapi "BAPI_PO_CHANGE" and passing the po number to it.
    the bapi returns the following tables, i_return, i_header,i_cond, i_item,i_itemx.
    But the purpose of calling the BAPI is, to check, if the condition value in the specified PO is '0', then it has to replace with the value of condition type present in the flat file.
    But when we check the tablei_return, its shows error type.
    And the PO is not updated with the new  condition value.
    Help me out in sorting this problem, by telling me
    what value is to be passed to the respective BAPI and what should i do to solve the issue?
    and after that i m using a BAPI " BAPI_GOODSMOVEMENT_CREATE".
    and it is for the purpose of creating the GR(Goods Receipt),
    when i go through the i_return table of the bapi, it si returning a message that "BAPI_201  Unable to create goods movement".
    Help me in proving the input to those bapi's and how can i get the expected output?
    And let me know, what the bapi's ,"BAPI_COMMIIT" and " BAPI_ROLLBACK" , will be doing?
    Edited by: kumar t on Aug 9, 2008 1:02 PM

    HI
    [Check the Link|http://abap.wikiprog.com/wiki/BAPI_PO_CHANGE]
    [Commit|http://abap.wikiprog.com/wiki/BAPI_TRANSACTION_COMMIT]
    [Roll Back|http://abap.wikiprog.com/wiki/BAPI_TRANSACTION_ROLLBACK]
    Regards
    Pavan

  • Absolute condition value in contract and release order

    Hi,
    We are creating quantity contract. When a absolute condition (value) is entered this value is considered for release qty in the contract for calculating the unit price.But when a release order is created for this contract, the same absolute value is for the PO quantity due to which there is a difference in unit price between contract and PO.
    Please advice.
    Regards,
    Pratap

    Hi,
    Verify you steps, find link below:
    http://help.sap.com/saphelp_470/helpdata/en/75/ee0f4d55c811d189900000e8322d00/content.htm
    Reetesh

  • Standard Report for PO with Condition Value

    HI MM experts,
    I have checked all the existing standard reports ME2*, cud not find the report which gives the
    condition value means
    Eg; PO made on Pencils - Qty 10 NOs. @ Rs. 1/- (incl tax)
    condition value for the above is Rs.10, in std sap all reports are showing with net price only
    PO no. 45XXXXXXX dt 11.11.2011 - Pencil - qty-10 - Net price Rs.1
    Please let us know is there any Standard report which gives the condition value ie., Rs.10 along with or without Net price.

    Thank you! It is not meeting my requirement.
    I am looking for sap standard report to see the PO value or condition value which is nothing but
    Qty X net price. I do not want to touch the tables.
    for analysis purpose, i want to have the total PO value in any MM Standard Report.
    Today i am visiting every PO and looking at header data for PO value. or at item level Condition value.

  • 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

  • Condition Values different fro Billing and Excise Invoice in some cases

    Hi All,
    Excise Invoice for domestic sales is having different condition values.
    I am scenerio like this when Billing doc manually VF01, excise Invoice in generated automatically and condition values
    were corrrect.But when I create Billing Document using BAPI in program, Excise Invoice is not generating,then
    we are running BDC for T-code J1IIN and creating Excise Invoice.Excise Invoice generated in second case (by BDC)
    is having wrong condition values.
    Can anyone explain why it is happing.Is there any user exist to copy Billing Doc condition values to Excise Invoice?
    Thanks in Advance ,
    Rayudu

    Thanks for you response Lakshimipathy.
    The above mentioned configurations were all ready done.Excise Invoice is getting generated when we create Billing Doc online.
    Problem here is Excise invoice is not getting generated automatically when Billing Doc is created by our program,so we were running BDC code to created excise Invoice.
    Condition values ( Duties :AED,Ecess,SHEcess) were getting calculated wrongly in excise Invoice which is created by running BDC code in program. But the Excise invoice which was created automatically while saving Billing doc manually is having correct condition values.  But the billing document condition values remain the same & correct for both.
    Regards,
    Rayudu

  • How do invoice condition values hit accounting?

    Hello,
    I am picking up the billing item condition values from KWERT and the corresponding GL Account SAKN1 from the KONV tabke. KWERT gets stored with the sign. I need to know how this condition amount will hit accounting. Would it be a debit or a credit entry on the accounting side. How can I do this? I cannot use the debit/credit indicator BSEG-SHKZG as we have a summarization on the material and we are trying to re-determine in a custom code what amounts should have posted to BSEG by material. While I am getting the amounts correctly from KONV, I am not able to figure out how these amounts should be treated on the accoutning side - as a debit or a credit?
    Example, on a regular invoice if the value is positive for a G/L account, on the accounting side the value is reverse in sign. However, this cannot be generalized as we can have many different types of invoices and different combinations.
    Thanks,
    Prayarna

    Hi,
    The values from billing for different condtions pick accouting documents for the GL's that are assigned as per the required combinations set in VKOA transaction. We do the revenue account det here. Now the values on invoice with + ve are the ones we are going to receive from the customer, so the customer account is debited and you see a negative sign. A discount is in negative on invoice which goes positive to the customer and hence positive sign. Freight goes to a Freght revenue GL since it cannot really be accouted as revenue as we end up paying the transporter though we collect from customer.
    you may need a functional consultant if you are already not one.
    regards
    sadhu kishore

  • How to query the condition value in VPRS

    Hello all,
    we provide the sales price to customers based on the condition value in "VPRS" ,because I have thousands of goods need the price,so I 'd like to make a query to extract the condition value in "VPRS".
    which table is refer to this?
    https://mnlylq.bay.livefilestore.com/y1mXNdIiY7VgiU1v3ymS71pxZluGxj4YNp4IFsyQEr1zkoxjm1VCsxpOgbBQ1-ucxiRtA9tC7O_3ZPaQa7qWKGbdnHNX8UzazWTlettENIO7iujggSx7vHjc2bvuIqhYFYb2DEgIjuNaJ5foKU_xF7wvA/%E5%9B%BE%E5%85%AD.jpg?psid
    Thanks,
    helai

    hi,
    For your Item category, if you check DETERMINE COST
    Determine cost
    Indicates whether, during pricing, the system determines the cost (stock value) of a sales document item.
    Use
    The system checks the cost determination indicator as a requirement before applying the condition type that calculates the cost (condition type VPRS in the standard version of R/3 1.1)
    Mainatin VPRS as D then it will automatically pull the price from Material master if maintained
    IF VPRS is getting determined, then in your pricing procedure, you can add markup (multiplier)

  • 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

Maybe you are looking for