Unable to manually change the amount for condition type PB00

Hi Gurus,
My client is using ECC5.0.
Here when I try to change the amount for condition type PB00 using transaction ME22N, I am not able to change the value. I donu2019t get any error, but as soon as I change the value and press Enter the system replaces my entered value with the original value.
Confusing part is that I am able to change the amount of condition price PB00 manually using transaction ME22. I donu2019t have any such problems there.
Also I am able to manually change the amount of condition type PBXX using ME22N.
Only in the case of PB00, if I use ME22N to manually update the amount I am not able to change it.
Kindly help me, to find a reason as to why this could be happening, and correcting if possible?
Thanks in advance,
Imran

Hello Imram,
The purpose of maintaining 2 condition types  ie PB00 and PBXX in  a pricing procedure is that PB00 is automatic gross price determination and PBXX is manually giving gross price.
If you go to T.Code : M/06 and check the condition types, you can see that PB00 will be having an access sequence but not PBXX.
So if you have to manually give the gross price, you have to use PBXX.
Regards

Similar Messages

  • I want to change the amount in condition sheet using bapi_po_change

    hi experts:
    i want to use the bapi_po_change to change the amount in condition sheet in me23n.
    the parameter i set is below:
    DATA:
    lt_return LIKE bapiret2 OCCURS 0 WITH HEADER LINE, "返回内容
    lt_poheader like bapimepoheader,
    lt_poheaderx like bapimepoheaderx,
    ls_pocondheader like BAPIMEPOCONDHEADER occurs 0 with header line,
    ls_pocondheaderx like BAPIMEPOCONDHEADERX occurs 0 with header line,
    ls_pocond like BAPIMEPOCOND occurs 0 with header line,
    ls_pocondx like BAPIMEPOCONDX occurs 0 with header line,
    lt_POITEM LIKE BAPIMEPOITEM OCCURS 0 WITH HEADER LINE,"
    lt_POITEMx LIKE BAPIMEPOITEMx OCCURS 0 WITH HEADER LINE,
    l_flag(1),
    g_text(50) TYPE c.
    CLEAR: l_flag.
    lt_POITEM-po_item = '00020'.
    lt_poitem-NET_PRICE = '15.10'.
    APPEND lt_POITEM.
    CLEAR lt_POITEM.
    lt_POITEMx-po_item = '00020'.
    lt_POITEMx-po_itemx = 'X'.
    lt_POITEMx-NET_PRICE = 'X'.
    APPEND lt_POITEMx.
    CLEAR lt_POITEMx.
    ls_pocond-condition_no = '0000006887'.
    ls_pocond-itm_number = '000001'.
    append ls_pocond.
    ls_pocondx-condition_no = '0000006887'.
    ls_pocondx-itm_number = '000001'.
    append ls_pocondx.
    CALL FUNCTION 'BAPI_PO_CHANGE'
    EXPORTING
    purchaseorder = '4500000002'
    TABLES
    return = lt_return
    POITEM = lt_POITEM
    POITEMx = lt_POITEMx
    POCOND = ls_pocond
    POCONDX = ls_pocondx.
    but it doesn't work ,it goes to change the net price, how should i set the parameter? hunger for ur advice!!

    Hi,
    are you using BAPI_TRANSACTION_COMMIT or a COMMIT WORK after the bapi call?
    Have a look at the code of fm ME_CCP_TPO_PRICE_CHANGE maybe that can help.
    Best regards
    Edited by: pablo casamayor on Jun 6, 2008 10:15 AM

  • Change the description of condition type

    Hi,
    How can i change the description of condition type??
    Regards,
    Kalpesh

    H iMichael Gerard Leo 
    Thanks.
    But it takes only 20 characters in descrption of condition type, while i want to write 30 character. What should be done?
    Kalpesh

  • What is the difference between Condition Type PB00 and PBXX

    Hallow all,
    Can anybody please explain, What is the Difference between Condition type PB00 and PBXX in Materials Management Pricing?
    And also please explain control or Application of both on Price determination ??
    Thanks in Advance !!!!!

    Hi,
    PB00 condition type is used for automatic pricing in PO
    PBXX condition type is used for manual pricing in PO
    In Pricing  access sequence  play a vital role . If you need pricing automatic in the PO, you have use of Access Sequences and Schema Group of Vendor.You can see the difference in both standard condition type PB00 and PBXX, where as PB00 is assigned to Access sequence(0002)but in case of PBXX no access sequense assigned.
    Regards,
    Biju K

  • Change accural key for condition type

    Hi,
        The accural key for condition type " special addition custom duty" is maintained wrongly in our Prd system .As a result wrong GL is getting posted.
    We want to change the accural key for this condition type.
    Not sure of the implications....
    There will be a problem with the existing Purchase Orders for which GR posted and Invoice pending.
    If  the new PO is created, the condition type may be fetched through the Info records. Info records will fetch the last purchase order and if the last PO is created before the changes done then the old accural key may appear in the new PO.
    How to handle this...?
    What is the standard process to handle the mistakes in the condition types?
    Regards,
    Rajesh Satope

    Hi Rajesh Satope,
    For "clean" open PO's (no GR or invoice) you can obtain the new codition type settings by applying "Update prices" at the bottom of the conditions screen. I am not sure though how can you do it for many PO's at once.
    For PO's with partial transactions posted, I believe you will have to complete them with the old setting, i.e. the balance on the accrual account booked via the GR shall be cleared on the same account by the invoice - so you shouldn't run "Update prices" for such PO. I think even SAP standard prohibits this.
    BR
    Raf

  • Change the behavior for movement type 309 - Account post PRD

    Dear friends ,
    We need to transfer material to material using movement type 309.
    These material are using price control "S".
    When we transfer from material A to material B the price difference stay stopped in the PRD account.
    We need to revaluate the material B automatically and not let the price difference stopped in the PRD... when we run the Material Costs..via Material ledger.
    Does anyone knows a way to change this behavior ?
    best regards,
    Alessandro

    Dear Revi thanks for your answer !
    One more thing...
    We cannot change the valuation from S to V in the material B.
    Regarding the PRD postings... when the Controlling team runs the Material Ledger the price for material B should be changed/updated automatically, Am I right ?
    And then the PRD account must be cleared...
    Or I continue to do the MR22 manuall...or better... create an Abap program to run automatically clearing the PRD posting agains't the material via MR22 to correct the cost of this material.
    thanks once more.
    Ale

  • BAPI/FM to change the PO inforecord condition type netprice

    Hi Frnds,
    Is there any BAPI which changes the PO inforecord net prices based on the condition type values(KSCHL). If anybody has come across such developments, please do reply...
    Regards,
    Karthick C

    Hi,
    You can use the BAPI -
    'BAPI_PRICES_CONDITIONS'. Inside this BAPI, if you go to the tables BAPICONDCT, there is a parameter called as OPERATION. You need to mention this field before using the BAPI.
    003 - Delete: Message contains objects to be deleted
    004 - Change: Message contains changes
    005 - Replace: This message replaces previous messages
    009 - Original: First message for process
    023 - Wait/Adjust: Data should not be imported
    018 - Resend
    You should mention any of the above one parameter for your BAPI calling.
    Regards,
    JLN

  • To change vendor no for condition types using BAPI_PO_CHANGE

    Hii,
    how to change vendor no for certain condition types using BAPI_PO_CHANGE.
    Is it possible .
    Any parameter is there.
    Plz help urgent
    Title edited by: Alvaro Tejada Galindo on Jun 12, 2008 5:23 PM

    Hi,
       It is possible.
    wa_pocond-vendor_no = wa_konv-lifnr.
    wa_pocondx-vendor_no = 'X'.
       wa_pocond-condition_no = wa_konv-knumv.
        wa_pocond-itm_number = wa_konv-kposn.
        wa_pocond-cond_type = wa_konv-kschl.
        wa_pocondx-condition_no = wa_konv-knumv.
        wa_pocondx-itm_number = wa_konv-kposn.
        wa_pocondx-cond_type = 'X'.
        wa_pocondx-change_id = 'U'.
        APPEND wa_pocondx TO it_pocondx.
        CALL FUNCTION 'BAPI_PO_CHANGE'
          EXPORTING
            purchaseorder                = wa_konv-ebeln
          POHEADER                     =
          POHEADERX                    =
          POADDRVENDOR                 =
          TESTRUN                      =
          MEMORY_UNCOMPLETE            =
          MEMORY_COMPLETE              =
          POEXPIMPHEADER               =
          POEXPIMPHEADERX              =
          VERSIONS                     =
          NO_MESSAGING                 =
          NO_MESSAGE_REQ               =
          NO_AUTHORITY                 =
          NO_PRICE_FROM_PO             =
        IMPORTING
          EXPHEADER                    =
          EXPPOEXPIMPHEADER            =
         TABLES
           return                       = it_return
           poitem                       = it_poitem
           poitemx                      = it_poitemx
          POADDRDELIVERY               =
          POSCHEDULE                   =
          POSCHEDULEX                  =
          POACCOUNT                    =
          POACCOUNTPROFITSEGMENT       =
          POACCOUNTX                   =
          POCONDHEADER                 =
          POCONDHEADERX                =
           pocond                       = it_pocond
           pocondx                      = it_pocondx
          POLIMITS                     =
          POCONTRACTLIMITS             =
          POSERVICES                   =
          POSRVACCESSVALUES            =
          POSERVICESTEXT               =
          EXTENSIONIN                  =
          EXTENSIONOUT                 =
          POEXPIMPITEM                 =
          POEXPIMPITEMX                =
          POTEXTHEADER                 =
          POTEXTITEM                   =
          ALLVERSIONS                  =
          POPARTNER                    =
          POCOMPONENTS                 =
          POCOMPONENTSX                =
          POSHIPPING                   =
          POSHIPPINGX                  =
          POSHIPPINGEXP                =
          POHISTORY                    =
          POHISTORY_TOTALS             =
          POCONFIRMATION               =
        COMMIT WORK AND WAIT.

  • Change the name for File Type....

    H CRM Experts,
    How can i change the name of that button? i want it to have the name "voir" instead of "browse"
    <input type="File"/>
    Thanks
    Srini

    This is a tricky one. Even if it is not related to SAP CRM WebClient in any way as you are using standard HTML INPUT tag. That is not THTMLB or CHTMLB tag library.
    The probolem is: For a file upload field behind the field there is a button that shows always the same text. In english version "Browse" in germany it is "Durchsuchen" you can not change it. It is hardcoded in the browser for that specific language.
    There is a nice screenshot on this page illustrating it: http://www.quirksmode.org/dom/inputfile.html
    As said before it is a pure HTML related issue. You will be able to finde your solution using your favourite search engine. I propose this link: http://forums.seochat.com/html-coding-11/change-text-button-in-input-file-205212.html
    cheers Carsten

  • How to manually change the thumbnail images of the new tab page (without using addons)?

    I wanted to customize the images displayed on the thumbnails on the New Tab Page. I tried using the addon "New Tab Tools" to do so and it worked, for a while. Now a bug seems to have affected it (it is not displaying any thumbnails, so I uninstalled it). So I want to try another approach. I want to MANUALLY change the images for each of the thumbnail on the new tab page (of course, the thumbnails are 'pinned').
    (I read some other articles related to thumbnails, specifically about DELETING them, and it asked me to open the Firefox Profile Folder, and in there, delete the thumbnails folder. I thought I could simply change the images stored in it instead of deleting them, but there is NO thumbnails folder in the Firefox profile folder (I accessed the profile folder thru the troubleshooting information section in the help menu). So where is this thumbnails folder after all?)
    So, how can I do it?
    Thanks in advance.

    I note you are using Icedragon 26. Not sure I have come across that before.
    I guess they provide their own support, as they are apparently offering something based on an outdated and unsupported Firefox26. I see their forum has threads on Icedragon if you search for them, but at a quick glance I see no specific topic
    *https://forums.comodo.com <br /> & https://forums.comodo.com/index.php?action=search2
    You could always install an official and up to date Firefox 29
    * See [[How to download and install Firefox on Windows]]
    * Download from http://www.mozilla.org/en-US/firefox/all/
    You may note the New Tabs page may be subject to a few changes over coming versions of Firefox it is apparently being improved. Firefox itself as Fx29 is also slightly changed from Fx26
    * [[Learn more about the design of the new Firefox]]

  • Table containing validity periods for condition types in me12 transaction

    Hi .,
          i need the name of the table which contains the Validity Start and Validity End dates for Condition type 'PB00' IN ME12 transaction .. kindly help me..
    Regards.,
    S.Sivakumar

    hi,
    we hav data in A018.
    130     M     PB00     10011     30000102     XXXX     0     31.12.9999     03.09.2004     0000007715
    130     M     PB00     10061     20000822     XXXX     0     31.12.9999     08.10.2006     0000011194
    130     M     PB00     10061     30000436     XXXX     0     31.12.9999     21.01.2005     0000009793
    130     M     PB00     10061     30000437     XXXX     0     31.12.9999     21.01.2005     0000009792
    130     M     PB00     10065     80000414     XXXX     0     31.12.9999     30.07.2004     0000007487
    130     M     PB00     10269     10004972     XXXX     0     31.12.9999     20.01.2007     0000011237
    130     M     PB00     10482     30000129     XXXX     0     31.12.9999     16.07.2004     0000006911
    130     M     PB00     18091     30001906     XXXX     0     31.12.9999     06.05.2006     0000011061
    130     M     PB00     18091     30001912     XXXX     0     31.12.9999     06.05.2006     0000011059
    130     M     PB00     18091     30001913     XXXX     0     31.12.9999     06.05.2006     0000011060

  • Condition types PB00 and PBXX

    Dear Experts,
    1) Can anybody please explain that can we use Condition type PB00 in number of Pricing  procedures. like i have three pricing procedures, local purchase, Import Purchase,
    External Service Pricing procedure.
    what is recommend, eiether to use same one (PB00) or maintain seperate condition type for each Pricing procedure ?
    2) What is the difference between Condition type PB00 and PBXX ?
    Waiting for your valuable reply
    Thanks in Advance

    Dear,
    The difference between pricing conditions PB00 and PBXX is :
    PB00- automatic pricing - can be used for automatic pricing determination
    PBXX- manual pricing - used for manual pricing.
    When you maintain the pricing condition for the PO, the system will look at the available condition records (for PB00) and make the automatic pricing determination. In case, such condition records were not defined, then it is mandatory that you have to maintain manually the pricing condition where PBXX will be automatically defaulted in replacement for PB00.
    Regards,
    Syed Hussain.

  • Condition type PB00 and PBXX

    Dear Gurus,
    When system pick condition type PB00 and when it picks PBXX ?
    I have made one scheduling agreement having 20 line items. For some line items it has picked condition type PB00 and for rest it has picked PBXX. Why system is picking PB00 for some line items and PBXX for rest ?

    Hi,
    If you create an Info Record manually or automatically the gross price is entered or adopted is assigned to condition type PB00.
    When PO is created with reference to a contract or a quotation a vendor`s gross price for a material is adopted from the Info Record condition. (or where appropriate from PO price history) as default value for condition type PB00.
    If no valid info. record condition exists and no order price history can be found, the R/3 system is not able to suggest a price and requires the manual entry of price and a manual entry of net price. The manually entered price is assigned to the condition type PBXX.
    These two condition type for the gross price must be available in the calculation schema assigned to the standard PO. In the standard system these are the condition type PO00 and PBXX. An access sequence is assigned to PB00 so that the price determination process can be carried out for this condition type. No access sequence is assigned to PBXX . PB00 must come before PBXX in the calculation schema. You can also use your own comparable condition type in place of PB00 and PBXX.
    At the time a PO is created, is the system finds a condition record belonging to PB00 with valid condition, PBXX is irrelevant. PBXX is taken into account only if requirement  6 is fulfilled. Requirement 6 checks the condition exclusion indicator (KOMP-KZNEP).
    Hope this lengthy answer clears your doubt(s)!!
    Reetesh

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

  • How to Sum the amounts for calculating rates.

    Hi,
    I have a requirement in Apps 11i (OAB) that I need to code in PL/SQL. I would be calling a procedure in order to complete this task. When an Extract is run, this code gets executed and should return the amount for that person.
    I need to calculate sum of all the amounts for each of the months between START date to the END date.
    Ex: Amount = Amount + (for each of the months between START and END date) x Rate.
    This START and END date would be calculated in the procedure itself.(dynamic).
    Once we get the START date and END date, we need to loop thru some records and find person's rate between those START date and END date.
    For rate calculation:
    15th day of any month is used as the cut off date for rate calculation.
    Suppose from 01-JAN-2006 to 15-MAR-2006 Rate is Rs 10 AND
    16-MAR-2006 to 01-JUL-2006 rate is Rs 20 AND person died on 01-JUL-2006
    Then rate = Rs(3x10) + Rs(3x20) + full month of July Rs.20 (P.S Here person's death needs to evaluated for the whole month) =30 + 60 + 20 = Rs.110
    Typically the start date and end date would be in one particular YEAR. And person may have different rates for different amounts as mentioned above.
    Let me if you need any more details..Thank You!
    Additional Info:
    This data comes from 2 tables in OAB Application where it can be joined with a common ID.
    One table lets say Coverage table contains the usual columns Eff_start_date, Eff_end_date along with this it has Coverage_start_date and Coverage_end_date (Dates specifying duration of the person enrolled in particular coverage.)
    P.S Rate Changes ONLY when the person enrolls in different coverage.
    2nd Table lets say Rate table contains the usual columns Eff_start_date, Eff_end_date along with this it has rate_start_date and rate_end_date and RATE(column) for that duration.(may vary depending upon the coverage).
    All the records should be between the START and END date, which will be calculated at runtime.
    Unable to submit any sample records.:-(
    Well, IF I had given the exact requirement, I would have got the solution by this Time!!! Your comments (and solutions) would definitely help me. Thank You
    Message was edited by:
    user559682

    If i understand you correctly it can be possible with :
    Connected to Oracle Database 10g Express Edition Release 10.2.0.1.0
    Connected as hr
    SQL>
    SQL> drop table dates;
    Table dropped
    SQL> create table dates( "start" date, "end" date, "rate" number);
    Table created
    SQL> insert into dates values( to_date('01.01.2006', 'DD.MM.YYYY'), to_date('30.05.2006', 'DD.MM.YYYY'), 10);
    1 row inserted
    SQL> insert into dates values( to_date('01.06.2006', 'DD.MM.YYYY'), to_date('15.09.2006', 'DD.MM.YYYY'), 15);
    1 row inserted
    SQL> insert into dates values( to_date('16.09.2006', 'DD.MM.YYYY'), to_date('31.12.2006', 'DD.MM.YYYY'), 20);
    1 row inserted
    SQL> SELECT * FROM dates;
    start       end               rate
    01.01.2006  30.05.2006          10
    01.06.2006  15.09.2006          15
    16.09.2006  31.12.2006          20
    SQL> SELECT t.i, d."rate"
      2    FROM (SELECT add_months(to_date('01.01.2006', 'DD.MM.YYYY') /* start*/, LEVEL - 1) i
      3            FROM dual
      4          CONNECT BY LEVEL <= 12) t
      5        ,dates d
      6   WHERE t.i BETWEEN d."start" AND d."end";
    I                 rate
    01.01.2006          10
    01.02.2006          10
    01.03.2006          10
    01.04.2006          10
    01.05.2006          10
    01.06.2006          15
    01.07.2006          15
    01.08.2006          15
    01.09.2006          15
    01.10.2006          20
    01.11.2006          20
    01.12.2006          20
    12 rows selected
    SQL> SELECT SUM(d."rate") rs
      2    FROM (SELECT add_months(to_date('01.01.2006', 'DD.MM.YYYY') /* start*/, LEVEL - 1) i
      3            FROM dual
      4          CONNECT BY LEVEL <= 1 +
      5                     extract(MONTH FROM to_date('10.10.2006', 'DD.MM.YYYY') /*death*/) -
      6                     extract(MONTH FROM to_date('01.01.2006', 'DD.MM.YYYY') /* start*/)
      7          ) t
      8        ,dates d
      9   WHERE t.i BETWEEN d."start" AND d."end";
            RS
           130
    SQL>

Maybe you are looking for