Automatic Pricing for Header condition

Hello,
We have the following scenario.
For an specific Sales Order type we need to charge (surcharge or a fee) a fix $$ amount at the header level. This amount should be charged only if the total value of the order is less then a fixed $$ amount.
Also another condition is for a specific material group we need to charge a fix $$ amount and if this condition is selected then the other condition should not be selected.
Eg:
1) for all material with Material group AB we want to charge(via condition type) 100$ at the header level.
we want this automatically at the header.
2) For all Order type OR we want to charge(I will maintain a condition type) 200$ if the net value of that sales order is less then 5000$. This is not item specific but at the Order header level.
We dont want to manually enter the condition type (surcharge).
I know that for Header conditions we cannot have access sequence and condition records. Then how can the 100$ or 200$ charge condition type come automatically in the Sales Order if the total order value is less then 5000$.
I can have a requirement but what about the condition Record and the access sequence for the Order type or the material group?
Any Ideas?
Thanks
SAP Fan

hello, friend.
i have an hypothesis (which is merely a guess because i have not tried this recently), that it is possible to do this, but you have make your condition type both header and item, which means you get to assign an access sequence (enabling condition records).  but you must also "tick" the "group condition" in the condition type so that even if this is entered at item level, this applies to the entire document and will be distributed to the items.
the group condition is supposed to be used for manually entered header conditions such as pallet discounts, and i think i might have done this for material groups, but do not recall if i've done this for order type or any other variable at one point.  please do us a favor and test it, and post your findings.
regards!!!
Edited by: jonathan y on Jun 1, 2009 3:08 PM

Similar Messages

  • Can i do automatic pricing @ the header level?

    HI,
    Can i do automatic pricing @ the header level?

    Hi.
    AS PER MY KNOWLEDGE WE DONT HAVE THAT OPTION IN SAP AUTOMATIC PRICING FOR HEADER CONDITION.
    MAY BE SOME ABAP DEV IT MAY POSSIBLE I AM NOT SURE......

  • Pricing procedure for Header conditions in RFQ

    All SAP Gurus,
    From where system picks up the pricing procedure for header conditions for request for Quotation (RFQ) maintenance?
    Regards,

    Purchase order which you have defined for maket price determination.
    spro>MM>purchasing>conditions->define pricing determination procedure --->define calculation schema
    Regards
    Antony

  • Why we cant have access sequence for header condition ?

    hi ,
    i have one query in pricing.
    Can we assign access sequence for header condition ? if yes how ?
    if not why ? please explain

    Hi there,
    It is always possible to have work around to solve issue without refer to OSS to change any programming coding.
    We want to have a freight charge appear on each sales order automatically according to some condition. Most of the time, this freight charge is a flat rate (if it is depend on qty or value, then we're so easy to set it in item level).
    In order to do so, we'll have one assumption. The item line number of sales order is auto running number, like 10, 20 and etc created by system and not manually input.
    Then we create a pricing condition type like other discount or charge in ITEM LEVEL with your selected condition like customer, sales office, country and etc. However, remember to add the sales item line as part of the condition of this pricing condition.
    Update the pricing procedure and create price condition record with say "10" for the sales item line. Since you'll have line number 10 for all sales order as first line (no mater it is a free of charge item or not). This new condition will generate a "freight cost" in the pricing procedure. And it is only apply to first line, therefore, we only get once of this charge for one order.
    Hope this is your case and it works with ours.
    Michael

  • Automatic determination of header condition in sales document

    Hi Friends,
                    How can we make a header condition automatically determined in a sales document ?
    Regards
    Mahesh

    Hi Mahesh,
    You can use the condition supplements to automate the header condition.   Please note that the condtion supplement procedure should consist of the Header condtion types. 
    Lets assume that you want to automate HB00 and RB00.  Then for PR00, you should assign condition supplements procedure PR0000.  This procedure should carry HB00 and RB00.  Then while maintaining condition record for PR00, click condtion supplements and maintain rate for HB00 and RB00 as well. 
    Once you create order, you can see HB00 and RB00 getting picked up automatically.
    Thanks & regards,
    CLN

  • Exclusion item condition value for header condition

    Dear All,
    I explained my problem with example scenerio.
    Sales Order Total Net Amount = 1.500 EUR
    SO Item-10 = Advance Payment Sales = 500 EUR >> for first invoice
    SO Item-20 = Sales from stock with HAWA material - 1 = 300 EUR  >> for second invoice
    SO Item-30 = Sales from stock with HAWA material - 2 = 1.200 EUR >> for second invoice
    SO Header condition > ZAP1 = Advance payment decrease = - 500 EUR
    System divided Advance Payment amount to all items.
    Item-10 = - 125 EUR
    Item-20 = -   75 EUR
    Item-30 =  -300 EUR
    My request is on below;
    Item-10 =      0 EUR
    Item-20 = - 100 EUR
    Item-30 = - 400 EUR
    Is calculation possible with zero value for item-10 ?
    Thanks for your helps.
    Gulay Celik

    Hi Gulay
    System cant divide the advance payment to all items ,System can divide the advance payment for one item  .
    But assign a billing plan at header level and just check , if it works then your requirement can be fulfilled.But generally it is done at item level only 
                            Make the following down payment configurations
    item category group - 0005
    item category - TAO
    for this TAO item category a billing plan 01 (milestone billing plan -01) will be assigned and its billing relevance should be I which is order related billing .
    billing doc type - FAZ
    cancellation billing doc type - FAS
    maintain a condition type AZWR which is down payment settlement , it has requirement as 2 and calc type as 48 acct key as ERL
    Now when you enter a material in line item 10 and go to item data , you can see the billing plan tab.
    now go to billing plan tab and enter the start date and enter the dates on which billing has to be done and then in billing request enter 0009 which is for down payment.once u press enter automatically it all the dates get blocked and billing request by default you get as 1 , that you change it to 4 or 5 . 4 is for down payment at value basis and 5 is for down payment at percentage basis. and beside that there will be a billing type .assign billing doc type as FAZ. to all dates
    check the copying requirements are there at VTFA as 20 and for item category TAO copying requirements 23 is maintained or not
    now do the cycle OR - LF - FAZ (billing doc type)
    Regards
    Srinath

  • Rounding difference in down payment for header condition

    We have header condition, marked as "group condition" for traqnsport. But when doing down payment the system calculates incorrectly - for example I enter transport $600 at header level, but because the system calculates it at item level and due to rounding, in the 50% down payment invoice it shows - 300.02. Obviously when the customer receives down payment invoice that says pay 50% of some amount and the amount to be paid is not actually 50% it would be a problem. How could this be solved? We tried modifying the form, but as the it reads values from the system which are incorrect that didn't help.

    Hello,
    Please check the customizing:
    Financial Accounting -> Accounts Receivable and Accounts Payable
        -> Business Transactions -> Down Payment Received -> Define
        Reconciliation Accounts for Customer Down Payments
    Regards,
    Raghavendra

  • Pricing Schema Header Condition Issue

    Dear gurus,
    how can I do this?
    Item 1:Sales Price:100 eurMWST:18eur
    Item 2:Sales Price:200 eurMWST:36eur
    In header:
    Sales Price: 300eur
    MWST:54eur
    Total:354eur
    There is a HEADER condition as YOFI:
    YOFI:355eur
    YODI=YOFI-TOTAL
    Problem is SAP multiples YOFI(which is header condition) to items.
    As a result calculation is wrong.
    How can I fix it?
    Regards,

    You don't want YOFI to be distributed to items correct? If so, then in t.code V/06, for condition type YOFI, remove the checks in the boxes of group condition,item condition, quantity and check by creating a new sales order.
    Regards,

  • Validation for header condition in a Purchase Order in me21n

    Hi Experts!, I need to validate that a header condition can't be repeated in a PO, when it's be creating..
    I need your helps.. Thanks..
    Message was edited by:
            Gustavo Gil

    Hi.! Thanks everybody, I recomended this page
    http://help.sap.com/saphelp_40b/helpdata/es/14/f62c7dd435d1118b3f0060b03ca329/content.htm
    , It's so usefulI, here I found the program, subrutine, and a short description, I resolve the problem using the exit USEREXIT_XKOMV_BEWERTEN_INIT..
    Regards,
    Gustavo Gil..

  • BAPI_SALESORDER_CREATEFROMDAT2 doesn't work for header Condition

    Hi, All
    I'm trying to create a sales order using BAPI_SALESORDER_CREATEFROMDAT2.
    It doesn't work to create a heder condition.(HB00)
    After BAPI, I check KONV data, HB00 data is broken.
    KONV-STUNR and KONV-ZAEHK is blank.
    but item condtion data is OK. no problem.
    I don't know why.
    my code is below.
    If you have any idea, please let me know.
    IW_LOGIC_SWITCH-PRICING = 'G'
    CLEAR IW_CONDITIONS.
    IW_CONDITIONS-ITM_NUMBER = '000000'.
    IW_CONDITIONS-COND_COUNT = '01'.
    IW_CONDITIONS-COND_TYPE  = 'HB00'.
    IW_CONDITIONS-COND_VALUE = W_VALUE.
    IW_CONDITIONS-CURRENCY   = W_WAERK.
    IW_CONDITIONS-CONDCOINHD = '01'.
    APPEND IW_CONDITIONS TO IT_CONDITIONS.
    CALL FUNCTION 'BAPI_SALESORDER_CREATEFROMDAT2'
      EXPORTING
        ORDER_HEADER_IN               = IW_HEADER
        LOGIC_SWITCH                  = IW_LOGIC_SWITCH
      IMPORTING
        SALESDOCUMENT                 = W_SALEDOC
      TABLES
        RETURN                        = IT_RETURN
        ORDER_ITEMS_IN                = IT_ITEMS
        ORDER_PARTNERS                = IT_PARTNERS
        ORDER_SCHEDULES_IN            = IT_SCHEDULES
        ORDER_CONDITIONS_IN           = IT_CONDITIONS
        ORDER_TEXT                    = IT_TEXT
        EXTENSIONIN                   = IT_EXTENSIONIN
        PARTNERADDRESSES              = IT_PARTNERADDRESSES.
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
    Regards,
    Rie.

    check the following link
    Re: BAPI_SALESORDER_CREATEFROMDAT2 how to set condition type value as zero (0).
    L_ORDER_PARTNERS-PARTN_ROLE = 'AG'.
    L_ORDER_PARTNERS-PARTN_NUMB =
    RECORD-KUNNR_1.
    APPEND L_ORDER_PARTNERS TO
    LI_ORDER_PARTNERS.
    L_ORDER_PARTNERS-PARTN_ROLE = 'WE'.
    L_ORDER_PARTNERS-PARTN_NUMB =
    RECORD-KUNNR_2.
    APPEND L_ORDER_PARTNERS TO
    LI_ORDER_PARTNERS.
    * Build order header
    CLEAR: L_ORDER_HEADER_INX,
    L_ORDER_HEADER_IN.
    * Update flag
    L_ORDER_HEADER_INX-UPDATEFLAG = 'I'.
    * Sales document type
    L_ORDER_HEADER_IN-DOC_TYPE =
    RECORD-AUART.
    L_ORDER_HEADER_INX-DOC_TYPE = 'X'.
    * Sales organization
    L_ORDER_HEADER_IN-SALES_ORG = RECORD-VKORG.
    L_ORDER_HEADER_INX-SALES_ORG = 'X'.
    * Distribution channel
    L_ORDER_HEADER_IN-DISTR_CHAN = RECORD-VTWEG.
    L_ORDER_HEADER_INX-DISTR_CHAN = 'X'.
    * Division
    L_ORDER_HEADER_IN-DIVISION = RECORD-SPART.
    L_ORDER_HEADER_INX-DIVISION = 'X'.
    * Sales Office
    L_ORDER_HEADER_IN-SALES_OFF = RECORD-VKBUR.
    L_ORDER_HEADER_INX-SALES_OFF = 'X'.
    * Sales Group
    L_ORDER_HEADER_IN-SALES_GRP = RECORD-VKGRP.
    L_ORDER_HEADER_INX-SALES_GRP = 'X'.
    * Purchase order
    L_ORDER_HEADER_IN-PURCH_NO_C = RECORD-BSTNK.
    L_ORDER_HEADER_INX-PURCH_NO_C = 'X'.
    * Purchase order Date
    L_ORDER_HEADER_IN-PURCH_DATE =
    RECORD-BSTDK.
    L_ORDER_HEADER_INX-PURCH_DATE = 'X'.
    * Payment Terms
    L_ORDER_HEADER_IN-PMNTTRMS = RECORD-ZTERM.
    L_ORDER_HEADER_INX-PMNTTRMS = 'X'.
    * Incoterm1
    L_ORDER_HEADER_IN-INCOTERMS1 = RECORD-INCO1.
    L_ORDER_HEADER_INX-INCOTERMS1 = 'X'.
    * Incoterm2
    L_ORDER_HEADER_IN-INCOTERMS2 = RECORD-INCO2.
    L_ORDER_HEADER_INX-INCOTERMS2 = 'X'.
    * Customer Group
    L_ORDER_HEADER_IN-CUSGROUP = RECORD-KDGRP.
    L_ORDER_HEADER_INX-CUSGROUP = 'X'.
    ENDIF.
    * Build order item(s)
    CLEAR: L_ORDER_ITEMS_INX, L_ORDER_ITEMS_IN.
    L_ORDER_ITEMS_IN-ITM_NUMBER = INO.
    L_ORDER_ITEMS_INX-ITM_NUMBER = INO.
    L_ORDER_ITEMS_IN-MATERIAL = RECORD-MABNR.
    L_ORDER_ITEMS_INX-MATERIAL = 'X'.
    L_ORDER_ITEMS_IN-PLANT = RECORD-WERKS.
    L_ORDER_ITEMS_INX-PLANT = 'X'.
    L_ORDER_ITEMS_IN-SALES_UNIT = RECORD-VRKME.
    L_ORDER_ITEMS_INX-SALES_UNIT = 'X'.
    L_ORDER_ITEMS_IN-WBS_ELEM = RECORD-PS_POSID.
    L_ORDER_ITEMS_INX-WBS_ELEM = 'X'.
    APPEND L_ORDER_ITEMS_IN TO LI_ORDER_ITEMS_IN.
    L_ORDER_ITEMS_INX-UPDATEFLAG = 'I'.
    APPEND L_ORDER_ITEMS_INX TO
    LI_ORDER_ITEMS_INX.
    * Build Schedule lines... Order Quantity
    CLEAR: L_ORDER_SCHEDULES_IN,
    L_ORDER_SCHEDULES_INX.
    L_ORDER_SCHEDULES_IN-ITM_NUMBER = INO.
    L_ORDER_SCHEDULES_INX-ITM_NUMBER = INO.
    L_ORDER_SCHEDULES_IN-REQ_QTY = RECORD-KWMENG.
    L_ORDER_SCHEDULES_INX-REQ_QTY = 'X'.
    L_ORDER_SCHEDULES_INX-UPDATEFLAG = 'X'.
    APPEND L_ORDER_SCHEDULES_IN TO
    LI_ORDER_SCHEDULES_IN.
    APPEND L_ORDER_SCHEDULES_INX TO
    LI_ORDER_SCHEDULES_INX.
    * Build Conditions
    CLEAR: L_ORDER_CONDITIONS_IN,
    L_ORDER_CONDITIONS_INX.
    L_ORDER_CONDITIONS_IN-ITM_NUMBER = INO.
    L_ORDER_CONDITIONS_IN-COND_COUNT = '01'.
    L_ORDER_CONDITIONS_IN-COND_TYPE =
    RECORD-KSCHL_1.
    L_ORDER_CONDITIONS_IN-COND_VALUE =
    RECORD-KBETR_1.
    IF RECORD-KSCHL_1 = 'PR00'.
    L_ORDER_CONDITIONS_IN-COND_VALUE =
    L_ORDER_CONDITIONS_IN-COND_VALUE
    / 10.
    ENDIF.
    L_ORDER_CONDITIONS_INX-ITM_NUMBER = INO.
    L_ORDER_CONDITIONS_INX-COND_COUNT = '01'.
    L_ORDER_CONDITIONS_INX-COND_TYPE =
    RECORD-KSCHL_1.
    L_ORDER_CONDITIONS_INX-UPDATEFLAG = 'X'.
    L_ORDER_CONDITIONS_INX-COND_VALUE = 'X'.
    APPEND L_ORDER_CONDITIONS_IN TO
    LI_ORDER_CONDITIONS_IN.
    APPEND L_ORDER_CONDITIONS_INX TO
    LI_ORDER_CONDITIONS_INX.
    CALL FUNCTION 'BAPI_SALESORDER_CREATEFROMDAT2'
    EXPORTING
    ORDER_HEADER_IN =L_ORDER_HEADER_IN
    ORDER_HEADER_INX = L_ORDER_HEADER_INX
    IMPORTING
    SALESDOCUMENT = L_VBELN
    TABLES
    RETURN = LI_RETURN
    ORDER_ITEMS_IN =
    LI_ORDER_ITEMS_IN
    ORDER_ITEMS_INX =
    LI_ORDER_ITEMS_INX
    ORDER_PARTNERS =
    LI_ORDER_PARTNERS
    ORDER_SCHEDULES_IN =
    LI_ORDER_SCHEDULES_IN
    ORDER_SCHEDULES_INX =
    LI_ORDER_SCHEDULES_INX
    ORDER_CONDITIONS_IN =
    LI_ORDER_CONDITIONS_IN
    ORDER_CONDITIONS_INX =
    LI_ORDER_CONDITIONS_INX
    END-OF-SELECTION

  • Automatic pricing for PR

    Dear all,
    my client requirement is that SAP can automatically determine the price when user create a new PR. It will be very good if the price is taken from last purchase of that material (PIR). but if not, then it's ok to take the price from MAP.
    Is it possible on SAP standard? or should I develop an enhancement??
    thanks a lot,
    nasikhin

    Dear nasikhin,
    Valuation price will only take the MAP price but not inforecord price. Inforecord only use during price determination
    when you create PO.
    There is no meaning if the price from info record transfer to PR as it is a valuation price
    based on total value of stock and total quantity of stock.
    Best Regards,
    ian Wong

  • Condition Record for a Header Condition?????

    Friends,
    The Client has a business requirement as follows:
    1.They have over 100 transport vendors to cater to their
    Shipping requirements across the country.
    2.The freight charges are different for all transporters.
    3. These charges are to be put at the HEADER level in the Sales Order.
    6. They do not want to enter the freight charges manually (referring to a seperately maintained freight charges/transporter list).
    6. They want the freight charges to be put at header level AUTOMATICALLY once the Transporter is chosen from the header partner function.
    Is it possible to maintain a condition record for a condition which is defined as a 'Header Condition'.
    To the best of my knowledge, we cannot maintain a condition record for a Header Condition.Header condition means all values are to be put manully.
    Please advise.
    Thanks.
    Mohammed Raheel

    Hi Mate,
    Here you go. This is the best solution and it should work for you.
    Create the fright condition type and uncheck the check boxes header condition and item condition. This action will let you enter an access sequence for the condition type. This fulfills the requirement for having the condition type to be automatic.
    For this condition type to appear only at the header level and not at the item level, this is quite tricky. First thing that struck my mind is to check the "group condition" and point the "grp cond routine* to 1. This does not work because you have unchecked the Header Condition check box.
    The other alternative to acheive the second requirement keeping the first requirement in place is to write a routine and assign it to the requirements column against the freight condition type in the pricing procedure. The routine will make sure that this condition is not picked up at the item level. If it is picked up you delete it programatically.
    Please make sure you do not mark this condition as manual in the pricing procedure.
    This should work.
    Thanks
    Ram

  • Automatic PO and automatic header condition determination

    Dear all,
    We have business transaction where PO is getting created automatically. In real time, user is entering header condition manually, because header conditions are not allowed to have access sequence. It is difficult for users on tracking header condition manual entry details.
    Can anyone throw some lights for using routine to have automatic entry of header condition while PO is created automatically ? Which routine to be explored to achieve automation of header condition value in PO ?

    hi
    m/06 frieght condition make header condition tick
    changes which can be made
    tab
    under
    tick the header condition
    heder condition of fright
    as three type
    %basic
    value
    quantity
    if you enter header condition value basis100
    two line items is there in your PO ,On that time it will be updated 200 in  header value
    if you enter header condition % basis  it will take %of total value after that
    the amount will be distributed amoung the items
    regards
    vijay
    Edited by: vijju489 on Jul 16, 2010 12:10 PM

  • Table for PO header conditions and values

    Hi All
    My requirement is that I have to print all the PO header conditions and its values in PO.From which table I can get PO header conditions and its values.I know there is table KONH for header conditions but how do I fetch data from table KONH for header conditions and its values?? I mean what would be the input values or is there any other way for my requirement.
    Regards
    Satish Kumar

    Hi All
    In my system certain condidtions such as freight,packaging charges etc can be entered both at the item level and header level and my requirement is that I have to print all the header conditions present in the PO and are having value.
    From table KONV I get all the item conditions but my requirement is to print all PO header conditions iwth value???
    How do I achieve this??
    Pls help.
    Regards
    Satish Kumar

  • Condition types header condition and group condition

    Hi All,
    can any one  tell me why the same header condition type is coming in billing document twice.The condition type has two deifferent parameters.
    In first condition type:
    condition class  :DISCOUNT /SURCHARGE
    calculation type :A percentage
    condition control:A Adjust for qty variance
    condition origin:A Automatic pricing
    In second condition type:
    condition class  :DISCOUNT /SURCHARGE
    calculation type :A percentage
    condition control:C CHchanged manually
    Condition origin:A HEADER CONDITION.
    Even though only one conditon type is maintained.
    Regards, Rajneesh

    hi,
    pl check at V/06 if you have maintained the conditon type as both header and group condition.
    regards
    sadhu kishore

Maybe you are looking for

  • Please Help about Aino, My sms's have gone

    HI I removed out my memory card from Aino and reseted it. But when i inserted memory card in it again ,all SMS's had gone!!!!  i dont know they are deleted or disapeared?! Please guide me that How i can recovery them and why that happened? Thanks

  • How to eliminate spaces while reading a file in BPEL Process

    Hi All, How to eliminate space when reading a file which of fixedlength and inserting into database. Inserting some of columns sucessfully but there is a column where there is a space n front the value, how to eliminate the that space. I have a custo

  • Recieving a message 'Photoshop CS5 has been stoped Working'

    I have been Recieving a message 'Photoshop CS5 has been stoped Working' after opening PS and can do a little editing and after about 4 minutes the message comes which have only one option , close program. Sometime i recieve another message also 'Onon

  • Satellite L300D-11A - Windows vista does not starts

    Hi, When I turn on my computer I get the following error message: Error Recovery for Windows Windows could not start up. A hardware or software change that was recently carried out may be the cause. If windows files are damaged or incorrectly configu

  • About HTTPS and SOAP

    Hi, I have the following situation: I developed a SOAP Server using Tomcat by 8080 port and I have two SOAP Clients, the first one is over Apache, PHP in Window OS and using HTTP (this client is connected with the SOAP Server perfectly ) and the othe