Condition values negative

Hello everyone,
I created a new condition type, a new pricing procedure and a new credit memo request and a new credit memo type.
We have an existing set up of all this too working well in our system.
The new credit memo request (and the memo itself) is creating the document for a negative value, i..e KOMV-KWERT and VBAP-NETWR (and KOMP-NETWR) are all coming in as negative in spite of the condition record being positive in KOMP-KBETR. Comparing the existing set up and the new one I have verified the following:
1. The conditon types have exactly the same characteristics
2. Copy controls between the 2 sets of order types and billing types is same
3. Pricing procedures are set up same
4. Condition records are both good i.e. positive numbers
5. Both the CR memo types don't have any accouting document define din their configuration and both post RV, the standard acctg. document.
The problem obviously lies in the order stage itself wher eit creates negative valued credit orders.What could have I missed in checking/verifying? Appreciate any advice.
The current set up we are using is the standard CR and G2 which works as expected.
Many thanks.

Hi Yathish,
No, that is not the case. I had already verified - it is blank i.e. to accept both and is just a copy of the standard PR00 which we use in the current pricing procedure which works well both for orders and credit memos. Besides, I also created a new order type using the new pricing procedure and the new condition type and it behaves perfectly, i.e. as a positive number in that case. - it looks like the system is somehow tying it with a credit memo request and making it negative...though it does not do that for PR00.
Thanks.

Similar Messages

  • 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

  • Transfer condition values with +/- signs to CO-PA (Explain the purpose)

    Dear Sap guru's,
    Could you please guide me on the below issue, We make a new condition type zne1 which is excise duty free items, Based on  cleint requirement.  a/c entry like this ( example )
    10) 210 ea            net value 23,153.04  cost 21,600.00
    20) 0  ea              net value 0               cost 2400
               Customer AC           DR  20163 Rs
               Excise duty payble   Cr  432 -
               Sales                      Cr  22721-
               vat payable              cr  3010-
               excise duty payble   cr 48-
               Excise duty free       cr 48-
               Excise duty free       dr 48
               sales                       dr 48
    Here client pay the excise duty for free goods issue items, For this situation what ever the amount he paid in the excise duty free item that same amount he wants to reduce in sales ie it should be debit in my exaple it is 48 rs.
    My problem is i configured ZNE1 condtion assgined to value filed ERLOS. While release to a/c system returns  "CHEK VALUE FILED ASSIGNEMENT TO CONDITION TYPE". when I make the settings +/- sign for the conditon system allow me to release and save. Please guide me whithout assignment how to release billing document?
    Regards
    Maruthi

    Hi
    Conditions from SD are always transferred to CO-PA with "+" signs, with the exception of credit memos and returns. The reasons for this is that the signs for revenues are handled differently in the different applications of the R/3 System. For example, revenues are positive in SD, while they are negative in FI. Consequently, CO-PA accepts all the values as positive, and then subtracts deductions and costs from revenues in the information system.
    This configuration needs to be done in the system if you have the CO-PA active and the SD flows are configured. Unfortunately you will not be able to ignore this. Please see below some SAP help snippets for your benefit.
    Note that certain limitations exist on the transfer of condition values of billing documents to CO-PA.
    1. To transfer condition types for sales revenues and sales deductions to CO-PA, you need to make sure that the condition types and linked to an account in FI that is also defined as a cost element of the category "11" (revenue element) or "12" (sales deduction) in CO. These condition types must be assigned to a CO-PA value field.
    Condition types linked to FI accounts that are defined as cost elements of another category are not transferred to CO-PA, even when the condition type has been assigned to a CO-PA value field.
    2. Condition types such as "VPRS" ("Cost") that are defined as statistical in SD are always transferred to CO-PA if they are assigned to a value field.
    3. All condition types that you want to transfer to CO-PA must be active in the SD pricing procedure. Inactive conditions in a billing item are not transferred. If all the conditions in a billing item are inactive, that item is not transferred to CO-PA.
    Conditions do not need to be active, however, to be transferred with sales order items, since the transfer of incoming sales orders is always statistical.
    It is also possible to transfer conditions from MM to update billing data in pooled payment in the IS Retail system. These are transferred according to the same rules as SD conditions
    Hope it was helpful.
    Karthik

  • 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

  • Max condition value - didn't reset when SO was rejected

    Hi All,
    I need some help.
    Requirement:
    Need to set a max discount value for certain material.
    Config:
    A condition type for discount ZD36 is created:
    - Cond.Class : A (Discount or surcharge)
    - Calc.Type : A (%)
    - Plus/Minus: X (Negative)
    - "Group Condition" flag marked
    - Manual entries : D (Not possible to process manually)
    - "Condition Update" flag marked
    - Scale Basis : C (Quantity scale)
    - Check value : A (Descending)
    Setting:
    VK11--> Additional sales data --> Max condition value --> 900- (Valid from today until 31.12.9999)
    Testing:
    1. Create SO with full discounts (Value : 900-)
    2. Reject the first SO by:
       - Order reason: Z02 (Cancel Order)
       - Reason for rejection: 13 (Cancel Order)
    Problem:
    When I tried to create another SO, the condition type for discount ZD36 didn't show up.
    I think this is a basic thing which should have worked.
    Something wrong with my config?
    Thank you very much.
    Best regards,
    Wira Handika.

    Hi ta.adithya,
    I already find 2 ways to reset the cummulative value:
    1. Delete the first SO or
    2. Delete the line item in the first SO.
    Is there a way to reset the cumulative value simply by reject SO?
    Because we want to keep track to all the changes, so we don't want to delete anything.
    Thank you.
    Best regards,
    Wira Handika.
    Edited by: Wira Handika on May 25, 2011 11:22 AM

  • Condition value showing negetive

    Hi,
    In consignement pickup condition values are showing negetive. I checked the condition type its correctly pick up the price. But why the amount in the condition values are showing negetive values.
    Chakri

    HI
    It is the standard behaiviour hope you know in consignment pick up you are taking back the quantity from custmer's consignment stock to un restricted stock by doing consignment pick up
    So you are just reversing i think thats why all the conditions value will be negative
    regards

  • Copying condition value

    Hi all,
    Can anyone tell me how to copy a condition value and change it's '-ve' sign to '+ve'. As my client is quoting prices to customers including freight, the pricing procedure is required to deduct the freight from quoted price at header level and then excise calculation is carried out and again this freight is added to invoice this freight amount. basically this is done to calculate exact excise duty.
    Please help
    thanks and regards
    Amit

    Hi Amit,
      I am not sure whether I understood your requirement but I think you can make your freight condition as negative in V/06 and can include both the quoting price and freight in pricing procedure.
      Lets say if your quote price is 1000 and the negative freight condition is -10 then the value will be 990 and while creating billing you can again update pricing and add new conditions whatever you want.
    But I would like to tell you that freight conditions are normally header conditions.
    Reward points if it helps.
    Regards
    Karan

  • 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 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

  • Copying large number of files with Finder

    When you copy lots of files and folders with Finder, it appears to count up the number of "items" and then start copying and at the same time the number of items remaining gets smaller and smaller as the copy process proceeds. My question is what are

  • Does win8/8.1/10 kill long-running programs automatically as stated in specs? reasons why?

    does win8/8.1/10 kill/end-task long-running programs automatically as stated in specs? how specifically does it detect a locked-up process? has this been put into windows 7 at any time to make it similar to windows 8? Please supply accurate answers.

  • HP DV4 NOT RECOGNIZE AC ADAPTER

    My laptop  don't recognize AC adapter when battery placed (pluged battery). I check AC adapter and it still work with other laptop. The AC adapter still working without battery. I check the battery, it still work with other laptop. Fisrt, I pluged th

  • Anyone know of a good AS3 fire effect tutorial?

    It needs to be realistic looking fire. I'd also like the option to attach it to objects/images in my flash file. I've searched google until I'm blue in the face and can only come up with either flash 8 or AS2 or something that is nothing like what I"

  • Password Protected NI_AALPro.lvlib?

    I have an application that I wrote using LV 8.2.1 that uses the "General Polynomal Fit" vi.  Under 8.2.1, I could build the application and an Installer using the Application Builder, but now, under 8.5.1, I get a message about NI_AALPro.lvlib being