How to set a condition type to inactive/statistical during sales order crea

Hi
There is a manual header condition (Z0L1) in one our pricing procedure which I want to set to inactive or make it statistical during sales order (doc type Z9) creation in some scenarios.
How can I achieve?
Can I use user exit USEREXIT_PRICING_CHECK (Program MV61AFZA) and what code should I write here. Any help would be highly appreciated
Regards,
Javed

Thanks for your replies. Basically this condition type is a manual condition type which will be entered in sales order and then will be available in billing document. But when there is a return order created with reference to that billing document then I want that the manual condition is not deteremined in the return order.
I tried by assigning a requirement to the condition type in pricing procedure but seems to be pricing requirement don't work for manual header conditions. Then I tried to assign a condition value formula and tried to set the value to zero in case of return orders but that also did not work.
Then I also tried to apply the same logic in user exit USEREXIT_PRICING_CHECK  in the following programs
LV69AFZZ
MV61AFZA
But still it did not work. Any help would be highly appreciated
Regards
Javed

Similar Messages

  • Manual Condition Type should be visible in Sales order by default

    Hi
    How to maintain manual condition types in Sales orders by default. They will be maintaining the value based on the discussion they had with the customer(Negotiated price). The condition type should be visible in the procedure and they will only enter the value.(The method of keying condition type manually is not accepted by the client).
    Thanks in advance.
    Regards
    Vamsi Javaji.

    Hi,
    In the PRICING PROCEDURE V/08 maintain the CONDITION TYPE as Mandatory
    In the CONDITION TYPE V/06 maintain the field  MANUAL ENTRIES  as C which is Manual entry has a priority.
    And check the box VALUE
    Now maintain the condition records for the condition type in VK11 with 0 value
    Now while processing the sales order the CONDITION TYPE will trigger from the CONDITION RECORDS with 0 value and this can be in EDITABLE mode ( and maintain the value)because of the check box VALUE you flagged in V/06.
    Please try this and revert back if you need further details
    thanks,
    santosh

  • Report of condition types per line item in sales order

    Hi all,
    Is there any report that can tell me all the price conditions that are allocated to a sales order line item? I am talking about the actual conditions relevant for a line item, not only conditions that have a condition record setup.
    So I would like to key in sales order number, the line item and get a report of all conditions that are allocated to that line item in the specific sales order.
    If there is no such standard report, does anyone know what tables to link?
    Thanks in advance,
    Lars

    Hi Lars,
    In my current customer they had the same requirement and after almost 1 month of analysis we decided to build a custom report to execute this.
    And as an enhancement we compare prices from the sales orders and the sap price records in order to check the differences.
    First we need to find all the open lines (status and reason for rejection (ABGRU)), than loop KONV and select the  KSCHL (condition types) you want, material text descriptions, etc.....of course a lot more in terms of coding.....;-)
    This was the form I used :
    FORM FIND_SO_PRICES.
      LOOP AT IT_ITEM_REPORT.
        REFRESH IT_PRICING.
        SELECT KSCHL KBETR WAERS KPEIN KMEIN KUMZA KUMNE
          INTO IT_PRICING
          FROM KONV
         WHERE KNUMV = IT_ITEM_REPORT-KNUMV
           AND KPOSN = IT_ITEM_REPORT-POSNR
           AND KINAK <> 'M'
           AND KINAK <> 'X'.
          APPEND IT_PRICING.
        ENDSELECT.
        READ TABLE IT_PRICING WITH KEY KSCHL = 'XXXX'. -> My price condition
        IF SY-SUBRC = 0.
          IT_ITEM_REPORT-ZSP1 = IT_PRICING-KBETR.
          MODIFY IT_ITEM_REPORT.
        ENDIF.
        READ TABLE IT_PRICING WITH KEY KSCHL = 'XXXX'. -> My discount condition
        IF SY-SUBRC = 0.
          IT_ITEM_REPORT-ZSD1 = IT_PRICING-KBETR / -10.
          MODIFY IT_ITEM_REPORT.
        ENDIF.
       IT_ITEM_REPORT-LIQ = IT_ITEM_REPORT-ZSP1 - ( IT_ITEM_REPORT-ZSP1 * (
                                              IT_ITEM_REPORT-ZSD1 / 100 ) ).
        MODIFY IT_ITEM_REPORT.
      ENDLOOP.
    ENDFORM.                    " FIND_SO_PRICES
    Please tell me if this helped you,
    Regards,
    Alcides Fialho

  • How to sets the Reason for Rejection of the Open Sales Order Lines

    Hello gurus,
              I want to set the Reason for Rejection of the Open Sales Order Lines, Case is like :
    If current date is exeed the Auto Void Confirmed Back Order Days(for item level) +  date (last responding from customer), then reason for rejection should be set, So i want the logic to find out the date is exceed or not.
    Thanks
    Anjana

    Hello anjana,
       Actually your question is some confusing, but if u want to get eldest change as active sales order then logic is as follows:
    1.  On base of OBJNR u have to get UDATE from JCDS table
    2. then write logic as:
    SORT i_jcds BY objnr stat chgnr DESCENDING.
          LOOP AT i_jcds INTO wa_jcds1.
            CLEAR lv_stat.
            lv_stat = wa_jcds1-stat.
            AT NEW objnr.
              AT NEW stat.
                CLEAR: wa_tab.
                wa_tab-objnr = wa_jcds1-objnr.
                wa_tab-stat = lv_stat.
              ENDAT.
            ENDAT.
            IF wa_jcds1-inact = 'X'.
              CLEAR lv_tabix.
              IF sy-tabix > 1.
                lv_tabix = sy-tabix - 1.
              ELSE.
                lv_tabix = 1.
              ENDIF.
              READ TABLE i_jcds INTO wa_jcds2 INDEX lv_tabix.
              IF sy-subrc = 0.
                wa_tab-chgnr = wa_jcds2-chgnr.
                wa_tab-udate = wa_jcds2-udate.
                wa_tab-utime = wa_jcds2-utime.
                APPEND wa_tab TO i_tab.
              ENDIF.
              CONTINUE.
            ELSE.
              wa_tab-chgnr = wa_jcds1-chgnr.
              wa_tab-udate = wa_jcds1-udate.
              wa_tab-utime = wa_jcds1-utime.
            ENDIF.
            AT END OF objnr .
              AT END OF stat.
                APPEND wa_tab TO i_tab.
              ENDAT.
            ENDAT.
          ENDLOOP.
          DELETE ADJACENT DUPLICATES FROM i_tab COMPARING objnr stat.
          SORT i_tab BY objnr stat udate utime.
          DELETE ADJACENT DUPLICATES FROM i_tab COMPARING objnr.
    3. now in i_tab table u'll get eldest UDATE
    Hope its work for u.
    Thanks & Regards,
    Sumit Joshi

  • Header condition type value not displayed in sales order output

    Hi gurus,
    I have observed a strange issue regarding a header condition in a sales order.
    we have a set up like following:
    1. If the Header condition XXXX is used in sales Order then this value should be printed on sales order output.
    2. If the Header condition mentioned in above point is not maintained in sales order it should print the total price of all line items.
    Though i have maintained the header condition value in Sales Order Header its not displayed in SO output.
    That is , I have a sales order and it has one HEADER condition type entered with 3500 USD.
    In fact this value is used for some business purpose and is being printed on the sales order output for a specific output type.
    But where as in a sales order this header condition value is not getting printed on the output though I am using same data as of the sales order which is having the header condition value printed on its output.
    According to business,we must have the header condition value printed on  sales Order output.
    Please suggest how to proceed.
    Thanks in advance.

    Not sure if you are using costom smartform to print invoice, if yes then ask developer to debug and find the root cause and fix it.
    You might need to give him condition when it shuld be printed and when not.
    You can take reference of another output type for which it is printing

  • Enter condition type several times in a sales order

    Hello Gurus,
    I have a Pricing Procedures with net price minus some discounts and sales price. This is standard. One of the discount condition types you can enter manually in a sales order. Now my problem. This discount  condition type you can enter several times in a sales order. How I can solve this for one time enter.
    Regards
    Artur

    Yes, it is a standard behaviour only, you can only control with User exit only. Include MV45AFZZ , co ordinate with your ABAPer for the same.
    Regards,
    Ramesh

  • Use condition type 'RC00' to process return sales order

    first, I copy RC00 to RC10 and change its Calculat.type = B(Fixed amount).
    second, I place a sales order to deliver 10 PC(RC10 = 10 USD) to customer and bill 8PC(RC10 = 8 USD) to customer.
    third, I place a return sales order(only return 2 PC) reference to above billing but the RC10's amount is still 8 USD instead of 2 USD.
    I think this is relative to Cond.base value and Cond.control = F(Condition value fixed (billed)) and who can tell me how to realize my purpose?
    tks in advance.

    Hi
    Guess, If you do returns again for two more pieces, again it will determine the same value for RC10.
    Please look into  the areas of 'copy controls - price type' field and also the Calculation type (fixed amount) also.
    Thanks,
    Ravi

  • Rebate Condition Type cannot be reflected in sales order?

    Hi Guru:
    It seemed to be a issue? I set up the rebate agreement and ran the vbof successfully regarding this condition type rebate,and the retroactive billing also can view its rebate condition type as well as the accruals,and I believe the rebate settlement had been run too,credit memo to customer will be aslo routed to accounting side for sure,but I failed to see the rebate condition type and accrual value in the sales order based upon the retroactive all billings,please advise what I should do,thanks.

    Hi Klaas,
    If I remember well, in the standard price determination there is a conditional formula that only shows rebate conditions in the invoice, therefore you should not see rebate conditions in the sales order.
    That is standard functionality.
    For a Customer I took out the formula condition in the pricing so he could actually see the rebate condition in the sales order, the reason was to had access to this information before end of month invoicing. The problem is that in case of changes in rebate agreement or in case of retrospective agreements the rebate condition is only updated in the invoice, not in the sales order.
    Best Regards,
    Franck

  • Condition type in Billing not in Sales Order

    Dear Friends,
    I have the following scenario in our project. Please clarify.
    We have a condition type. That should be appeared only in Billing, it should not appear in Sales Order.
    Please answer ASAP.
    Regards,
    Rajesh L

    Hello,
    To fullfil you requirement go to V/08 select your pricing procedure and relevant condtion type.  Then select requirement column and assign the Routing 24 click save.
    regards
    rc gopi

  • How to set limit on sum of totals of all sales orders of a business partner in SAP B1

    Hi,
    I would like to set a limit on a business partner so that the sum of totals of all orders placed for that business partner do not exceed a certain amount. How can I do that?
    Regards,
    Victor

    Hi,
    Yes can set limit for Business partners. Follow the steps to achieve:
    1. Choose "Credit limit" check box under Administration--->System Initialization--->General settings--->BP sub tab and choose  sales order check box
    2. Set credit limit for BP under Business partner master data--->Payments terms.
    For complete information, you can  refer SAP help file.
    Thanks & Regards,
    Nagarajan

  • Condition type value not update in sales order

    Hello Guru's
    As per the  sales order in VA01 the condition type value i.e surcharge value is not updating in sales order.
    But I have maintain the condition record(Surcharge)also and in Condition technique I have checked every thing is correct .
    please find below I have attached the Screen short .
    Please give me solution Asap.

    Hi Sukdev,
    Have you checked the respective pricing procedure for From and To reference step maintained against the condition type ZSUR?
    Regards,
    T.R.S.Praveen

  • Condition type is not reflecting in sales orders

    hi,
    i have created two condition type like jser (service tax) and other one is jste(service tax +cess) but in pricing procedure jfact  it is reflecting but while making contract order these two condition type is not accessing.
    please help in this connection.

    Hi,
    After Creating the CONDITION TYPES you need to assign the condition types in the PRICING PROCEDURE
    goto the
    SPRO->FINANCIALACCOUNTING>FINANCIAL ACCONTING& GLOBAL SETTINGS>TAX ON SALES /PURCHASE>BASIC SETTINGS--->CHECK CALCULATION PROCEDURE.
    Here select you procedure and assign the CONDITION TYPE
    regards,
    santosh

  • Condition type JEXP not picking in sales order

    hi
    i was working with all configuration of TAXINN
    i am facing with a problem
    when i am running mine sales order i am not able to see condition type JEXP(BED) , JEAP (AED)
    can i now where i am gng wrong
    whereas i can see all the other condition in sales order
    but when i enter it manually JEXP it is taking but in again in billing it is not showing
    can u plz help me
    Regards
    Vini

    Dear Vini,
    Please Check the configuration settings through IMG path
    SPRO>IMG>Logistics general-->Tax on Goods movements >India>Basic settings-->Determination of Excise Duty -->Maintain Excise defaults here you check JEXP condition type is maintaining for A/R BED or not if not maintain then try.
    Also check the condition record maintanance for the JEXP condition type through VK12 transaction.
    I hope this will help you,
    Regards,
    Murali.
    Edited by: Murali Mohan.Tallapaneni on Oct 1, 2008 6:51 AM

  • How to restrict duplicate condition type in sales order

    Hi All
    Is there any standard method to restrict user for adding a particular discount condition type more than once in sales order. condition type is manual and its records are also being maitained manually.
    Else would I will have to create userexit at sales order level or a routine in pricing procedure. I doubt on creating a rotuine in pricingprocedure because in pricing procedure there is already a restirction to add similar condition type more than once.
    Thanks

    create a routine and add this routine to the discount condition type only.

  • How to stop system from doing calculation of pricing in sales order?

    Recently I am working on how to stop consecutive entries of identical condition type in pricing of a sales order. For this I have written a custom routine to track multiple identical condition type. If it gets multiple condition type then system shows error message. But after this while pressing back button of the SAP Screen System is doing the corresponding calculations for all the condition types. I want to stop this.
    Is there any way to do so that I can stop the system form doing the calculation. Or is there any way to disable back button of the SAP Screen. Basically I want to stop a user from posting a sales order if he enters multiple identical condition type in a sales order.

    Transaction VOK0
    If you go to Condition Type -> Access Sequences and highlight the relevant access sequence and navigate to folder "Accesses" there should be a column which indicates "Exclusive". This check box should be active. This will prevent duplicate condition types.

Maybe you are looking for

  • HP 550 display driver for windows 8

    I already have a HP 520 laptop (Intel Celeron Processor). In that I have installed windows 8. It runs best and also shows windows experience index. Now I have a HP550 Laptop in that also I installed windows 8. It runs alright but if I tried to Index

  • Change button name in a for-loop

    Hi all, I would like to implement a 'for loop' to add buttons to my panel depending on the value of max_number. The postion of these buttons will also change with each passing of the loop. The code below implements this. But when I click the buttons

  • Why isn't my BLOG uploading!!??

    Hello, can anyone explain why my second and third blog postings wont display after I upload them? The first one is fine, but 2 and 3, after publishing to a folder (viewing on computer works fine). After I upload them they wont display in the browser.

  • Calculations in input text fields

    Hello, I'm making an engineering game. Students need to input force equations and to check the equation is right it has to add up to zero. There are two input text fields, one the student sees with the force values expressed in letters like HA, VA, a

  • Dynamic Page Parameter Limitations

    Parameters (bind variables) do not seem to be equivalent to string literals when passed to other procedures. Try this: 1)create dynamic page 2)make the contents call a known function [oracle]begin htp.print(portal30.wwsec_api.id('portal30')); end;[or