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

Similar Messages

  • Getting header data (condition values) for shipment

    For the shipment VI03, the user wants the header Condition values(KWERT) corresponding to condition values(KSCHL).
    Some of the condition type having values in item level but these condition types are not maintained in header level, so they want for these condition types values should be Zero.
    As I am taking condition values for PRICING function module, it will display at sub-item level values depending on condition values.
    Please let me know is there any functiona module or table exist where header data is directly mainatined(Condition values & Condition type).
    Thanks & Best Regards,
    Mahesh

    First find the related salesorder using:
    VBFA
    VBAK-VBELN = VBFA-VBELV
    LIKP-VBELN = VBFA-VBELN
    VBFA-VBTYP_N = 'J'.
    or
    LIPS
    VBAK-VBELN = LIPS-VGBEL
    After that, with the order, get condition number in VBAK and then search KONV.
    VBAK-KNUMV -> KONV-KNUMV.
    Regards.
    Valter Oliveira.

  • 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

  • Function module to change the value for pricing condition type

    Hello experts,
    I want to change the value for pricing condition type for an item in the transaction CRMD_ORDER.
    I used many function modules but none are working.
    Please kindly suggest a function module that will change the value for a condition type .
    I have used the following function module but its not working, please correct the coding if anything needs to be changed or added. Please help me .
    Thank you.
    CLEAR PRCD_COND.
         SELECT SINGLE * FROM PRCD_COND WHERE KPOSN = WA_ORDERADM_I-GUID AND
                                              KSCHL = COND_TY.
      IF SY-SUBRC = 0.
    *    MOVE-CORRESPONDING PRCD_COND TO L_COND_CHG.
    *    CLEAR L_COND_CHG-KBETR.
        L_COND_CHG-STUNR = PRCD_COND-STUNR.
        L_COND_CHG-KBETR = COND_PRC.
    *    L_COND_CHG-KSCHL = COND_TY.
        INSERT L_COND_CHG INTO TABLE T_COND_CHG.
    L_HEAD_GUID = CRMD_ORDERADM_H-GUID.
    L_ITEM_GUID = WA_ORDERADM_I-GUID.
    INSERT L_HEAD_GUID INTO TABLE HEAD_GUID.
    INSERT L_ITEM_GUID INTO TABLE ITEM_GUID.
        CALL FUNCTION 'CRM_ORDER_READ'
         EXPORTING
           IT_HEADER_GUID                    = HEAD_GUID
           IT_ITEM_GUID                      = ITEM_GUID
         IMPORTING
           ET_ORDERADM_H                     = LT_ORDERADM_H
           ET_ORDERADM_I                     = LT_ORDERADM_I
           ET_PRIDOC                         = IT_PRIDOC_RD
           ET_DOC_FLOW                       = T_DOC_FLOW
    *     CHANGING
    *       CV_LOG_HANDLE                     =
    *     EXCEPTIONS
    *       DOCUMENT_NOT_FOUND                = 1
    *       ERROR_OCCURRED                    = 2
    *       DOCUMENT_LOCKED                   = 3
    *       NO_CHANGE_AUTHORITY               = 4
    *       NO_DISPLAY_AUTHORITY              = 5
    *       NO_CHANGE_ALLOWED                 = 6
    *       OTHERS                            = 7
        IF SY-SUBRC <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDIF.
    MOVE-CORRESPONDING LS_PRIDOC_RD TO L_PRI_COND.
    INSERT L_PRI_COND INTO TABLE PRI_COND.
    LOOP AT IT_PRIDOC_RD INTO LS_PRIDOC_RD.
    MOVE-CORRESPONDING LS_PRIDOC_RD TO L_PRIDOC_CHG.
    L_PRIDOC_CHG-PRIC_COND = PRI_COND.
    L_PRIDOC_CHG-REF_GUID = LS_PRIDOC_RD-GUID.
    L_PRIDOC_CHG-COND_CHANGE = T_COND_CHG.
    INSERT L_PRIDOC_CHG INTO TABLE PRIDOC_CHG.
    ENDLOOP.
    LOOP AT LT_ORDERADM_H INTO LS_ORDERADM_H .
    MOVE-CORRESPONDING LS_ORDERADM_H TO L_HEADER.
    INSERT L_HEADER INTO TABLE HEADER.
    ENDLOOP.
    LOOP AT LT_ORDERADM_I INTO LS_ORDERADM_I.
    MOVE-CORRESPONDING LS_ORDERADM_I TO L_ITEM.
    INSERT L_ITEM INTO TABLE ITEM.
    ENDLOOP.
    L_FIELD-FIELDNAME = 'STUNR'.
    INSERT L_FIELD INTO TABLE FIELD.
    L_FIELD-FIELDNAME = 'KBETR'.
    L_FIELD-CHANGEABLE = 'X'.
    INSERT L_FIELD INTO TABLE FIELD.
    L_INPUT-FIELD_NAMES = FIELD.
    L_INPUT-REF_KIND = 'E'.
    L_INPUT-REF_GUID = LS_PRIDOC_RD-GUID.
    L_INPUT-OBJECTNAME = 'PRIDOC'.
    INSERT L_INPUT INTO TABLE INPUT.
        CALL FUNCTION 'CRM_ORDER_MAINTAIN'
         EXPORTING
           IT_PRIDOC                     = PRIDOC_CHG
         IMPORTING
           ET_EXCEPTION                  = EXCEPT
         CHANGING
           CT_INPUT_FIELDS               = INPUT.
        IF SY-SUBRC <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDIF.
    REFRESH EXCEPT.
    CALL FUNCTION 'CRM_ORDER_SAVE'
      EXPORTING
        IT_OBJECTS_TO_SAVE         = HEAD_GUID
    *   IV_UPDATE_TASK_LOCAL       = FALSE
    *   IV_SAVE_FRAME_LOG          = FALSE
    *   IV_NO_BDOC_SEND            = FALSE
    *   IT_ACTIVE_SWITCH           =
    IMPORTING
       ET_SAVED_OBJECTS           = SAVED
       ET_EXCEPTION               = EXCEPT
       ET_OBJECTS_NOT_SAVED       = UNSAVED
    * CHANGING
    *   CV_LOG_HANDLE              =
    * EXCEPTIONS
    *   DOCUMENT_NOT_SAVED         = 1
    *   OTHERS                     = 2
    IF SY-SUBRC <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    COMMIT WORK AND WAIT.

    Hi,,
    To be able to call a function module in an update work process, you must flag it in the Function Builder. When you create the function module, set the Process Type attribute to Update with immediate start
    Alternatively u can use this function module.
    CRM_STATUS_DATA_SAVE_DB
    BAPI_CUSTOMERCRM_CHANGE (If u wish to use a bapi for this).
    Also , Let me know what error you got when implementing other function module.Does the function module didnt return any error but still the value is not changed for pricing condition type?

  • Hide values for certain condition types in Quotation Saleorder and Invoice

    Hi All,
    I have written code to hide values for certain condition types in LV69AFZZ,
    this works fine in the ITEM LEVEL.
    But for the same condition types, I could not hide the values in the HEADER LEVEL.
    Unless I hide it at header level also, this is useless.
    Please guide me how to do it.
    Thanks & Regards
    Pradeep

    Hi,
    We have been using FORM USEREXIT_FIELD_MODIFICATION of LV69AFZz for item level & FORM USEREXIT_FIELD_MODIFIC_KOPF of LV69AFZZ for hiding heade level conditions.
    I hope this helps,
    Regards
    Raju chiutale.

  • 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

  • Need to pass condition values in header of billing...by using bapi

    Dear Gurus,
    I am creating invoice for delivery by using bapi
    BAPI_BILLINGDOC_CREATEMULTIPLE.. ....in this i need to update some condition values in header level..when i am passing those condition values in CONDITIONDATAIN its updating for each individual line item of any invoice and sum of line items of condition values in header...but i need to update only in header and dont wnat to update in item level..
    please help me in this..am very much thankful to you if you can help me
    Thanks in advance
    Regards,
    Rajesh

    Ok, after continuing to search the internet I finally found the extra piece that I was missing that gave me the results I needed. The new expression looks like this:
    =runningvalue(Sum(Max(IIF(LEFT(Fields!JobNum.Value,1)="S" AND Fields!Week1STol.Value<>0, CDBL(Fields!Week1STol.Value), 0),"JobItem"),"JobItem"),SUM, "JobItem")
    In this I wrapped the original expression of Max in both a Sum and a runningvalue both at the JobItem level to get this rollup value. Now when I open the grouping I get the correct running value at each level.
    What this really gives to me is a running total at each of four groupings, even with a "max" value at the detail level. This also allows me to total a max value inline on the report, without needing a hidden row, or report footer.
    Thank you to everyone who looked at this, I hope it helps someone else. If this answer is not clear enough, please don't hesitate to add to the comments and I will try to clarify.
    Thank you, Chad

  • Item condition copies to Header condition.

    Dear All,
    As per my client scenario I create a BOM and explode at sales order level, and as per requirement I made all level "Main and Sub item" as relevant for price.
    main item is one and have two sub item.
    Create 2 condition type for two subitem, and maintain the record for both, each record cater one sub item.
    Till now every thing is ok, and both subitem price is coming on the related sub item level.
    Now I want that both items condition is copied at header level for pricing purpose ?
    i cant create the condition record for header or main item because item is different.
    Hope all of you understand the scenario... and assist me with your valueable feedback.
    Regards,

    in progress..
    maximum number reach, wants to post new query..

  • 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

  • Condition value of Tax condition type gets added to Total Value in Contract

    Hi All,
    I'm currently investigating an issue where there are 2 line items in an SAP Sales Contract. There is a human error in the second line where the billing end date is less than billing start date in the billing plan.  Consequently, the second line has null Outgoing target value.
    However, the header Total value in the Contract  gets wrongly calculated as Basic condition value of 1st line  + Condition value of tax condition type of line one due to this.   When I modify the billing end date for the second line item to be a date greater than the billing start date, the above problem disappears and the total value of the contract does not include the tax component.
    For eg.
    Normal Error free  Contract
    Total Value at Header =   700.00 EUR
                       Material          Outgoing Target val
    Item 0010    MAT1               450.00                          ( 450 + 50 (tax )  )
    Item 0020    MAT2               150.00   
    Contract with billing plan error in second line
    Total value at Header =   550.00 EUR 
                            MAterial       Outgoing target val          
    Item 0010         MAT1             450.00                    ( 450 + 50 (tax ) )
    Item 0020         MAT2              0.00         
    Any inputs would be most welcome.
    Regards,
    Venkatesh.
    Edited by: Venkatesh Gopalarathnam on Jan 24, 2012 9:48 AM

    No, i didn't.
    Actually, i enter condition type and amount in sales order manually.
    At that time my program which i modified at 'Define And Assign Pricing Procedures' in IMG should be run. 
    But the result of running is different from my purpose.
    To change Condition value of condition type in sales order, are there any solution?

  • Contract net value for Header Statistics is not correct

    There is issue with value contract. The net value for Header Statistics is not showing correctly for some contracts. Especially, when we delete the PO line items or reverse all entries (GR and IR) for PO line item.
    Contract has one line with account category ‘U’. The target value is 300,000.00 and total quantity released to date is 160,000. The net value for Header Statistics should be 140,000 but it is showing 600,000 which is over (double) the target value and user cannot release any further PO reference to this contract.
    Earlier I defined net price for line item 300,000 and I changed net price to zero and execute report RM06ENP0 but it doesn’t work.
    Please share your experience and thoughts.
    Thanks,
    Shah.

    Hi Jurgen,
    There are few Purchace orders with multiple line items and each line item for Purchase orders referencing the same line and same contract.
    There is only one Purchase order has two deleted lines against this contract.
    Theses deleted line's net price has changed to zero and there is no PO history.
    Contract released order value is correct as there is only one line, but net price is wrong. and user is getting error for target value is excedeed by $nnn when trying to create purchase order.
    Thanks,
    Shah.

  • Condition Records For Tax Condition types for SAP 4.7

    Dear Experts,
    What is the procedure to maintain condition records for tax condition types like CST , VAT and Service Tax. We are not using CIN. In MM01 and XD02 tax classifications i have maintained UTXJ condition Type and also maintained the above mention tax condition types.. But when i create condition records for UTXJ in VK11 the sysytem is asking for Tax code. In FTXP when i defined Tax code A1 for Tax ProcedureTAXIN1 where i maintained all the Tax condition types there.But i am unable to save the Tax % in FTXP.When i try to save the tax code it is not saving.
    Is there any other procedure to maintain Tax condition types for SAP4.7.
    My Pricing procedure that i maintained in V/08 is Z00001.
    Regards
    Jyoti

    Hi Jyoti
    Since you are not using CIN, you can do the follwing for tax conditions
    Check the assignment of the TAx procedure to country
    once u do this , you will be able to maintin the vendor and customer records for MWST  type for taxes
    then create condition records for MWSt with access sequence MWST in condiution type or design one suited to your needs
    alternatevely in the current procedure you can change access sequence for condition type UTXJ form the current one to MWST and then maintain condition records
    hope this helps
    thanks
    Akasha

  • Condition recordscoz for some condition type4s

    hi all,
    how can we maintain condition records for some condition types,For eg...
    MWST
    SKTO
    FRA1
    ZA01
    RA01
    HB01
    RB00..etc..apart from MEK1..coz for some condition types this t.code dose`nt work
    Edited by: MANI ROOPA SD/MM on Feb 28, 2008 12:06 PM

    Hi,
    The condition types you have mentioned are supplimentary conditon types and they afre dependent on the main conditons ( Like PB00 ), so they don not have any access sequence.
    Regards
    Reward Points if useful

  • How to get item field values for old versions?

    I need to be able to query old field values from previous versions of items in a SharePoint list. I can't execute code on the server (it needs to work with SharePoint Online/O365 for a start).
    So far the ONLY API I've that lets me do this is the lists.asmx GetVersionCollection SOAP call.
    This lets me specify a single field name and returns an XML structure with the values for the various versions, along with the modification time and who made the change - but NO reliable way of actually identifying *which* version (i.e. an ID or label). That
    is, if I know I need to fetch the Title value from version 512 ("1.0") of item 1 in list "Documents", I don't see how to reliably parse the results to determine which entry is version 512. While they may be returned in order, in many cases
    the entries are actually missing when there was no field value present (or perhaps when the field hadn't been created yet). I've tried comparing the Modified date to the Created date of the corresponding FileVersion item (which I can get via CSOM or REST),
    and while it works some of the time, it's not reliable. I've also looked at the output from the lists.asmx GetVersion API but I don't see how that's useful either, as the Created property for all versions always seems to be just the date the file was originally
    created.
    It does seem odd to me that there's not a neat way of doing this - if I need to return information for several fields but just for a single version, I have to make a whole lot of requests that return far more info than I need, and then I need to figure out
    how to parse the returned text in the case of, say, multiple-value taxonomy fields etc.
    Anyone tried doing anything similar here?
    Thanks
    Dylan

    try these links:
    https://support.office.microsoft.com/en-us/article/Track-and-view-version-information-for-SharePoint-list-items-2d69d936-fb0b-4c84-830e-11708e6ec317?CorrelationId=f87cf6ea-8cbf-446a-a4a0-e2c3a86b3425&ui=en-US&rs=en-US&ad=US
    https://social.technet.microsoft.com/Forums/en-US/e48ff216-7ed1-4b20-9f21-d496b1583eea/how-to-get-item-field-values-for-old-versions?forum=sharepointdevelopment
    http://sharepoint.stackexchange.com/questions/20019/get-meta-data-from-a-previous-version-of-a-document-through-webservice-in-moss-2
    http://sharepoint.stackexchange.com/questions/121594/getting-information-from-previous-versions-of-a-sp-list-using-csom
    Please mark answer as correct if it is correct else vote for it if you find it useful Happy SharePointing

  • Freight condition value at header level for PO

    Hi
    In the PO header freight condition i have given 150RS.
    There are two items in the PO.
    Item1 qty 10 price 10rs/each
    Item2 qty 20 price 20rs/each
    Freight value for item1 is 30rs and unit price of the item is becomg 40rs/each
    Freight value for item1 is 120rs and unit price of the item is becomg 140rs/each
    I want 150rs to be apportioned among the two items like
    30rs for the 1st item
    120rs for the 2nd item
    But the unit price is gettiing increased abnormally.
    PLease suggest how to catter this.
    Regards
    Soumen

    Hi,
    To distribute the price across all the item then for that particular condition type tick the group condition and header condition in
    M/06
    If you tick the group condition then price will be distributed across all the items proportionally.
    Try this and see.
    Raj

Maybe you are looking for