Change Delivery Pricing Conditions.

Hi,
The scenario is like this.
There is a pricing condition line in the outbound delivery and i have to change that.
Is there any function module or bapi available for this?
I tried Bapi_prices_conditions - which looks like that is for inbound delivery.
I tried pricing_edit_condition_lines - that is not working.
Any other options?
Thanks in advance.
Thanks and Regards,
Mahesh.

Hi,
As far as I know, this can be done for condition type/vendor price maintained in info. record.
Transaction code: MEKP
Enter the condition type, enter the '+' sign if value is to be raised.
If you tick the 'Test Run' you can also simulate the condition (old v/s New).
Hope this helps!!
Reetesh

Similar Messages

  • Change header pricing condition in sales order

    Hi,
    I have an requirement in VA01 and VA02 to automatically edit one header pricing condition. The user can able to change the value of that condition type in header not in items . Does anyone know what user exit I can use for this requirement.
    Thanks

    Hi Sunil,
    Plealse find below 2 methods to change header pricing conditions in sales order.
    1.Goto SE38, give prog name as MV45AFZZ and in that write logic under USEREXIT_PRICING_PREPARE_TKOMK . (OR)
    2) The same can be done by creating a Alt Calculation type routine through VOFM and writng the logic in the routine, which will then be assigned to the pricing procedure in the condition type which will automatically calculate the condition.
    Try with the options mentioned above..
    Regards,
    KK

  • Change of pricing condition in sales after delivering or invoicing of a sub

    Hello,
    I have to change the pricing condition of a sales order item, condition type PR00, after a sub quantity had been delivered or invoiced to the customer. BAPI_SALES_ORDER change I tried with did not work but also I got no error.
    w_inx-updateflag = 'U'.
    w_cond-itm_number = '000010'.
    w_cond-cond_type = 'PR00'.
    w_cond-cond_value = 999.
    w_cond-currency = 'EUR'.
    APPEND w_cond TO t_cond.
    w_condx-itm_number = '000010'.
    w_condx-cond_type = 'PR00'.
    w_condx-updateflag = 'U'.
    w_condx-cond_value = 'X'.
    w_condx-currency = 'X'.
    APPEND w_condx TO t_condx.
    w_vbeln = p_in.  <--- from input parameter
    CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
       EXPORTING
         salesdocument    = w_vbeln
         order_header_inx = w_inx
       TABLES
         return           = t_ret
         conditions_in    = t_cond
         conditions_inx   = t_condx.
    How can I change the price and trigger a new pricing for the sales order?
    Thank you for your time
    Regards
    Norbert

    Hi
    In the transaction VOFM, tab -> Formulas -> Condition Value , create a new routine, no need to copy from existing as you will be writing your own logic.
    In this new routine, set xkwert to your required value.
    Ask your SD functional to assign this formula to ZAS2 condition in the transaction V/08.
    I hope this might help.
    Best Regards,
    Nikhil Patil

  • Changing the pricing condition table

    Hi Gurus,
    As there is a shortage free tables I want to change the existing condtion table and to add new field to fulfill the requirement.Currently we have the table sales area/PH1-PH6 and I need to change it to sales area/PH1-PH6/material group2.While i am trying to change in V/04 system is not allowing and its showing the  following messages "Carry out repairs in non-original system only if they are urgen" andt "function code not allowed". Please let me know how to change the existing condition table.
    Regards,
    Hari CHalla.

    Hi
    I think you need to get the acces key to change the standard table from SAP in service market place.
    Regards
    Yatin Thakkar

  • Crm_order_maintain ,changing pricing condition value at item level

    Hi,
    I am trying to change the pricing condition value at item level while creating sales order through CRM_ORDER_MAINTAIN.
    I am not able to change the condition value.
    Code is below.
          wa_inputfields-ref_guid   = wa_orderi-guid.
          wa_inputfields-ref_kind   = 'B'.
          wa_inputfields-objectname = 'PRIDOC'.
          wa_fieldname-fieldname    = 'KBETR'.
          append wa_fieldname to wa_inputfields-FIELD_NAMES.
          wa_fieldname-fieldname    = 'KMEIN'.
          append wa_fieldname to wa_inputfields-FIELD_NAMES.
          wa_fieldname-fieldname    = 'KPEIN'.
          append wa_fieldname to wa_inputfields-FIELD_NAMES.
          wa_fieldname-fieldname    = 'KSCHL'.
          append wa_fieldname to wa_inputfields-FIELD_NAMES.
          wa_fieldname-fieldname    = 'WAERS'.
          append wa_fieldname to wa_inputfields-FIELD_NAMES.
          INSERT wa_inputfields INTO TABLE it_inputfields.
    wa_pricing_add-KSCHL  = 'ZP06'.
    wa_pricing_add-WAERS  = 'USD'.
    wa_pricing_add-KBETR = '10'.
    wa_pricing_add-KPEIN = '1'.
    wa_pricing_add-KMEIN = 'ST'.
    INSERT wa_pricing_add INTO table it_pricing_add .
    wa_pricing-REF_GUID     = wa_orderi-guid.
    wa_pricing-REF_KIND      = 'B'.
    wa_pricing-PRICING_TYPE  = 'A'.
    wa_pricing-COND_ADD = it_pricing_add.
    wa_pricing-PRICING_PROCEDURE = 'ZVDSP'.
    append wa_pricing to it_pricing.
    Can you tell me how to overwrite the condition value while creating sales order using crm_order_maintain.?
    Regards,
    Indhra.E

    Hello Indhra,
    Check the CT_INPUT_FIELDS table, in the OBJECTNAME field you will find all the tables that are filled during the function call. Check those tables mentioned in the OBJECTNAME to look for any pricing related data.
    When your order is in change mode and you activate debug <b>just before you make the change</b>, the CRM_ORDER_MAINTAIN FM call contains <b>data only relevant for the change you just made</b>. In other words, you need to fill exactly the same tables as CRMD_ORDER does.
    E.g. You just change the pricing procedure and you see in debug that 5 tables are filled, you must do exactly the same in your code! It's quite anoying but you're using a low-level API FM that can handle ANY transaction type in CRM!
    Check it, it works!!
    <b>Reward points if useful!</b>
    Regards,
    Joost

  • Changing Pricing Condition from VF02

    Hi,
    I'm an ABAPer, for a development purpose I'm trying to change the Pricing Condition data from VF02.But I have found that the Update button at the bottom is disabled.Looking for solution so that I can change the Pricing Procedure.
    Thanks in advance.
    Sarbajit Majumdar.

    Dear Sarabjit,
    If you want to change the price which is coming in the order you need to change its condition record, for this kindly follow the following steps:
    1-     First go to the Analysis Tab on VF02 and check which pricing procedure is maintained over there.
    2-     Then check the condition type you want to change the records for, click on the extension icon before the Condition type you will get the access sequence which is maintained for the Condition type.
    3-     Click on the access sequence and see on the right side of the screen on which basis the condition records are maintained for it.
    4-     The condition record may appear like customer/material/plant.
    5-     Now use T Code VK12, on the initial screen it will ask for Condition Type, enter the condition type and press enter for which you want to change the value.
    6-     The system will ask for the key combination of the condition type which you will get from the step 3 & 4.
    7-     In the next screen it will ask for the values of key combination which are present on the analysis view(step 3 & 4)
    8-     Once you enter these data and press f8(execute) you will reach to the next screen where you can change the condition record for the condition type.
    Regards,
    Ashu

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

  • Function Module to change pricing condition in Agreement

    Hi Experts ,
    While creating purchase agreement (ME31L) BDC i want to change the pricing condition in the document at item level .
    Planing to use function modules to change the pricing condition after document is created .
    Any help in function module which will change the pricing condition in Agreement will be appreciated .
    Any other suggestion are also welcome (-: .
    Thank You .

    how to change the pricing consition in  agreement(ME31L)

  • Changing Pricing Conditions in CRM

    Hi,
    We'd like to change an already existing price condition on contracts in CRM using a batch program.
    The prices doesn't exist in R/3 but only in CRM.
    We have run some tests using Function Module
    'CRM_ORDER_MAINTAIN' but the pricing conditions where not saved(the price sheet is updated and also the total net price of the contract).
    Does anyone know of a functon module to use for changing a pricing condition for a contract in CRM ??
    Thanks,
    Björn

    Hi,
    did you find a solution to your question ? I am trying to find an answer to the same subject.
    thanks,
    Isaac

  • Copying changed pricing conditions to other distribution channels

    Dear Experts,
    I have 3 distribution channels.My requirement is,if  I change an pricing conditions(using VK12) in one distribution channel,it should be copied to other distribution channels also.
    Can you please suggest an BAPI/FM to implement this?
    Many thanks.
    Rgds,
    Murali

    Hi Dinesh,
    Can you please elaborate this as I am new to this.
    Many thanks.
    R,
    Murali

  • User Exit / BAdI to update the pricing conditions of the Purchase Order

    Hello SAPients,
    This is my requirement:
    "Copy the Pricing Conditions from the Shipment Cost Document (VI01 / VI02) to the automatically generated Purchase Order".
    I'm using the enhancement V54U0002 (Function Module EXIT_SAPLV54U_002) to EXPORT  the values of the Pricing Conditions to memory and I have used the enhancement MM06E005 ( FM EXIT_SAPMM06E_006, 007, 012, 013, 014, 016, and 017) to IMPORT the values from memory and store them in TKOMV. But, when the PO is generated the values don't stay, they are always changed with the standard PBXX pricing conditions.
    My question is: Does anyone know the User Exit / BAdI that I can use to change the Pricing Conditions of the Purchase Order?
    <<removed_by_moderator>>
    Thanks!
    Edited by: Vijay Babu Dudla on Jan 14, 2009 11:08 PM

    >
    kartik tarla wrote:
    > check this badi
    > ME_PROCESS_PO_CUST
    >
    > and the following user exit
    > Goto-> include RV61AFZA then search for
    > USEREXIT_PRICING_RULE see if its helpful to u.
    Hello Kartik / SAPients,
    I tried with ME_PROCESS_PO_CUST but didn't work. The system doesn't execute that code. Any other idea would be greatly appreciated.
    Thanks.

  • BAPI_PO_CHANGE, Pricing condition valueis not updating

    Hi Experts,
    I need to update the one of the Pricing condition amount in PO.
    I am using BAPI_PO_CHANGE by passing PO number, POCOND
    and POCONDX.
    i need to update the pricing condition amount say from 10 to 15.
    I am passing the same in POCOND-COND_VALUE = '15.00000'
    and CHANGE_ID = 'U'.
    Please let me know the sol, Definitely points will be awarded.
    or cant we change the pricing condition value by BAPI. Please confirm.
    Thanks,
    Shaik Bhasha

    Hi,
    I believe you can use this BAPI to PO conditions..
    Check this code..
    PARAMETERS: p_ebeln LIKE ekko-ebeln.
    DATA: t_poitem LIKE bapimepoitem OCCURS 0 WITH HEADER LINE.
    DATA: t_poitemx LIKE bapimepoitemx OCCURS 0 WITH HEADER LINE.
    DATA: t_return LIKE bapiret2 OCCURS 0 WITH HEADER LINE.
    DATA: t_cond LIKE bapimepocond OCCURS 0 WITH HEADER LINE.
    DATA: t_condx LIKE bapimepocondx OCCURS 0 WITH HEADER LINE.
    t_poitem-po_item = '00010'.
    t_poitem-net_price = '17.00'.
    APPEND t_poitem.
    t_poitemx-po_item = '00010'.
    t_poitemx-net_price = 'X'.
    t_poitemx-po_itemx = 'X'.
    APPEND t_poitemx.
    t_cond-itm_number = '00010'.
    t_cond-cond_type = 'P000'.
    t_cond-cond_value = '17.00'.
    t_cond-currency = 'USD'.
    t_cond-change_id = 'U'.
    APPEND t_cond.
    t_condx-itm_number = '00010'.
    t_condx-itm_numberx = 'X'.
    t_condx-cond_type = 'X'.
    t_condx-cond_value = 'X'.
    t_condx-currency = 'X'.
    t_cond-change_id = 'X'.
    APPEND t_condx.
    CALL FUNCTION 'BAPI_PO_CHANGE'
    EXPORTING
    purchaseorder = p_ebeln
    TABLES
    return = t_return
    poitem = t_poitem
    poitemx = t_poitemx
    pocond = t_cond
    pocondx = t_condx.
    COMMIT WORK.
    The above code works fine for me...
    Thanks,
    Naren

  • Pricing condition replicate on to IPC.

    We are using ECOM 5.0 with ECC 6.0
    Is there a standard program or FM for replicating any changes to pricing condition in ECC on to IPC?
    Whenever there is a change in config, we use standard program which would replicate the KB changes on to IPC.
    Similarly, do we have any thing for pricing changes?

    hi,
    After any change in the pricing condition do a VMC reset and/or ipc buffer  deletion.
    This will reflect the change to the ipc immediately.
    Otherwise changes will update to IPC as per the settings in VMC may be once in 12 hrs like that.
    To clear ipc buffer use the FM IPC_DET_CLEAR_CUST_BUFFER
    Thanks and Regards
    shanto aloor

  • Changing the pricing conditons for a trading contract (Trnx WB22)

    Hi Gurus,
    I want to change the pricing condition amount (KBETR) for a given item in a trading contract using a BAPI.
    I already used BAPI_TRADINGCONTRACT_CHANGE and tried to change the amount field for a given
    condition Type, But was not successful in doing so.
    Although I was able to change item details in the same trading contract but could not change the condition prices although I was able to do it manually.(WB22)
    Could anyone please help me on this because I need the information urgently.
    Thanks in Advance....

    I had solved it myself by using table parameters VENDORCONDIN and VENDORCONDINX.

  • Pricing conditions for the articles are getting triggered one day before the actual activation date to 3rd party systems through job WPMU.

    Hi SAP Guru´s,
    Currently we are sending the pricing, promotions & article master data delta load to 3rd party system from SAP ECC via SAP XI through IDOCS using daily scheduled batch jobs WPMU. IDOC segment - WP_PLU.
    Here the issue is the promotion & pricing data are sent to 3rd party system one day before the actual start date.
    Eg: Promotion 123456 which has start date as 15/05/2014 & ending on 30/05/2014 & was created & activated on 13/05/2014.
    This promotion 123456 is getting triggered from SAP ECC through batch job on 14/05/2014 morning & 3rd party system receives the data on 14/05/2014 & the promotion are getting activated at 3rd party system end on 14/05/2014 itself which actually gets active from 15/05/2014.
    Same in the case for Standard Pricing data which needs to be active from 31/05/2014 once the promotion 123456 ends on 30/05/2014.
    The standard pricing data gets triggered from SAP ECC on 30/05/2014 through batch job & reaching 3rd party system on 30/05/2014 & getting activate on 30/05/2014 itself.
    This creates more issues at the store end as well as affecting business.
    We checked at 3rd party system end & they replied that their system considers the updated time stamp & date to activate the prices & it does not considers the actual active from & active to date. They need the data to be sent from SAP ECC on the effective date of the pricing & promotions.
    Can any one help me how to change the pricing conditions beign triggered through batch job in SAP ECC based on the actual promotion & pricing conditons start date or is there any other process to trigger the data through the batch job on the actual promotion & pricing data activation date.
    Thanks in Advance.
    Thanks & Regards,
    P.P.Shankar

    Hello Shankar,
    Change the lead time in the POS Outbound Profile. You can't put less than 2 days there so data for today and tomorrow will be transferred which also means you need to adjust your batch timing accordingly.
    Sales and Distribution -> POS Interface -> Outbound -> Maintain Profile for POS Outbound.
    See if it helps. The best option would still be that the 3rd part system considers the activtion date.
    Kind Regards
    Kaizad

Maybe you are looking for

  • Content Rendered from UCM after updation returns old data

    Hi The requirement that i have in place is as below: 1. Portal application should have an option to display content from UCM(Content here is just the metadata like title, description, etc of the content) 2. The application should also have options fo

  • 17 inch Laptop 1920x1200 keynote doesn't support size

    Hello, I have just bought a 17 laptop, mmm its niceeee! Im a using keynote to show my design portfolio. My question is that my screen's res is 1920x1200 but keynote 09 only goes up to 1920x1080. If I create a white page, even when I ask the comp to f

  • I have a problem with arabic text in facbook im using firfox v5

    <blockquote>Locking duplicate thread.<br> Please continue here: [[/questions/856583]]</blockquote> I'm using Firefox web browser v5 and i can wright and reed Arabic text at all web sights. but when I'm trying to read or right Arabic text in Facebook

  • Concatenated groupings question

    Hello, Regarding to concatenated groupings, if i have: GROUP BY grouping sets(a,b), grouping sets(c,d), the result is a cross product of groupings from each grouping set. So, we have the following groupings: (a,c), (a,d), (b,c), (b,d). But if we have

  • Copy Z table structure and contents

    Hi all, I am looking at a quick and easy way to copy a Z Table structure and its contents from one system to another completely different system on different servers and locations. Is this possible? Thanks