Reg:Pricing condition Updation

Hi,
I need to modify the sales order line item condition type.
just i want to insert one new condition type.
thro'background process...
Please suggest which bapi can i use...
thanks
jb

BAPI_PRICECATALOGUE_SAVREPLICA
ME_PRICING_CONTRACT.
Reward points..

Similar Messages

  • New pricing condition update for sales order

    Hi All,
    We need to insert new pricing condition for existing sales order.Could you please sugest any bapi or function module to
    update new pricing condition type.
    Thanks
    Mohit

    One reason to use program is that then the business can be 100% that all the sales orders are "updated"
    (maybe) & if anything goes wrong; The SAP consulting company - who created the program - is to be blamed / is accountable.
    In short business wants to be 100% sure that update has taken place for ALL s orders.
    Is that correct Mohit?
    Edited by: Typewriter on Jun 24, 2011 9:27 AM

  • Reg Pricing Conditions

    Hi Gurus,
    Im new to sap abap, can any one tell me what are pricing conditions, what is transaction code to creat pricing condition.
    thanq in advance.

    Hello,
    the following transactions are necessary to use the pricing:
    V/03 , V/04 , V/05
    - create, change, display a condtion tabe which are use in the condition access sequence
    V/06  -  here you can create the pricing type
    V/07  -  maintain the condtion access sequence for pricing in SD
    V/08  -  maintain the pricing procedure
    This are the customizing transactions for pricing.
    VK11/VK12/VK13
    - create, change and display a condition record
    These are the master data transactions for pricing.
    Furthermore I would recomend the link:
    http://help.sap.com/saphelp_470/helpdata/en/de/7a8534c960a134e10000009b38f83b/frameset.htm
    I hope that the information are helpful.
    regards
    Claudia

  • How to update pricing condition in sales in batch in the evening

    Gurus,
    I have a situation where I am supposed to update the freight charge condition type ("ZFR9" in my organization) on a scaled basis, depending on how much the customer (ship-to) has ordered on the same date. Since this changes from time to time, I need to write a program that does the following in the background in the evenings.
    1) Accumulate the wt of the material ordered by the same ship-to customer on the same delivery date.
    2) Find the scaled freight rate from a central universal freight charge table.
    3) Update the ZFR9 by this new frieght rate in all such sales order/line items that have the delivery date in question.
    The problem with using BDC is that the condition type ZFR9 appears on different lines depending on presence or absence of other condition types.
    Also I could not find any BAPI that does the update on a line item pricing condition.
    I am on 4.6C.
    Thanks for any help you can offer me.
    Regards
    Raju

    Guys,
    I am trying to make this work. I am able to add extra pricing conditions to sales order but I can not understand
    - how to change the value of an existing condition type OR
    - how to delete the condition type from the sales order line item
    Here is the sample code that I am using to test this out (most of the information is hard coded so that I can focus on a particular record)
    REFRESH RETURN.
        CLEAR   RETURN.
        REFRESH ORDER_ITEM_IN.
        CLEAR   ORDER_ITEM_IN.
        REFRESH ORDER_ITEM_INX.
        CLEAR   ORDER_ITEM_INX.
        REFRESH PARTNERCHANGES.
        CLEAR   PARTNERCHANGES.
        REFRESH CONDITIONS_IN.
        CLEAR   CONDITIONS_IN.
        REFRESH CONDITIONS_INX.
        CLEAR   CONDITIONS_INX.
        CLEAR SALESDOCUMENT.
        CLEAR ORDER_HEADER_INX.
    Move screen accepted docnumber TO SALESDOCUMENT.
        MOVE P_VBELN       TO SALESDOCUMENT.
        ORDER_HEADER_INX-UPDATEFLAG = 'U'.
        APPEND ORDER_HEADER_INX.
    Move screen accepted line item
        ORDER_ITEM_IN-ITM_NUMBER = P_POSNR.
        APPEND ORDER_ITEM_IN.
    Move screen accepted line item
        ORDER_ITEM_INX-ITM_NUMBER = P_POSNR.
        ORDER_ITEM_INX-UPDATEFLAG = 'U'.
        APPEND ORDER_ITEM_INX.
    Set the condition value
        CONDITIONS_IN-ITM_NUMBER      = P_POSNR.
        CONDITIONS_IN-COND_ST_NO      = '230'.
        CONDITIONS_IN-COND_COUNT      = '01'.
        CONDITIONS_IN-COND_TYPE       = 'ZSR3'.
        CONDITIONS_IN-COND_VALUE      = '333.00'.
        CONDITIONS_IN-CURRENCY        = 'USD'.
        CONDITIONS_IN-COND_UNIT       = 'LB'.
        CONDITIONS_IN-COND_P_UNT      = '100'.
        APPEND CONDITIONS_IN.
        CONDITIONS_INX-ITM_NUMBER     = P_POSNR.
        CONDITIONS_INX-COND_ST_NO     = '230'.
        CONDITIONS_INX-COND_COUNT     = '01'.
        CONDITIONS_INX-COND_TYPE      = 'ZSR3'.
        CONDITIONS_INX-UPDATEFLAG     = 'X'.  " update
        CONDITIONS_INX-COND_VALUE     = 'X'.  " update
        CONDITIONS_INX-CURRENCY       = ''.   " no update
        CONDITIONS_INX-COND_UNIT      = ''.   " no update
        CONDITIONS_INX-COND_P_UNT     = ''.   " no update
        APPEND CONDITIONS_INX.
        WRITE: / 'BAPI Called for', P_VBELN, P_POSNR .     
        CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
          EXPORTING
            SALESDOCUMENT               = SALESDOCUMENT
      ORDER_HEADER_IN             =
            ORDER_HEADER_INX            = ORDER_HEADER_INX
      SIMULATION                  =
      BEHAVE_WHEN_ERROR           = ' '
      INT_NUMBER_ASSIGNMENT       = ' '
      LOGIC_SWITCH                =
          TABLES
        RETURN                      = RETURN
       ORDER_ITEM_IN               = ORDER_ITEM_IN
       ORDER_ITEM_INX              = ORDER_ITEM_INX
      PARTNERS                    =
      PARTNERCHANGES              = PARTNERCHANGES
      PARTNERADDRESSES            =
      ORDER_CFGS_REF              =
      ORDER_CFGS_INST             =
      ORDER_CFGS_PART_OF          =
      ORDER_CFGS_VALUE            =
      ORDER_CFGS_BLOB             =
      ORDER_CFGS_VK               =
      ORDER_CFGS_REFINST          =
      SCHEDULE_LINES              =
      SCHEDULE_LINESX             =
      ORDER_TEXT                  =
      ORDER_KEYS                  =
         CONDITIONS_IN               = CONDITIONS_IN
         CONDITIONS_INX              = CONDITIONS_INX
      EXTENSIONIN                 =    .
        IF sy-subrc = 0.
          CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
               EXPORTING
                    WAIT = 'X'.
    IMPORTING
      RETURN        =
        ELSE.                                           
         WRITE: ' BAPI RETURN CODE = ', SY-SUBRC.              
        ENDIF.

  • How to update the pricing conditions in Products.

    Hi All,
    I have created a Product Using  Function Modules. Now i need to update the Pricing Conditions into it. Can anyone suggest me with  the exact Function Module and Tables that are used to Update the pricing conditions?Can anyone provide me with a sample report program written to update the pricing conditions.?
    Points will be awarded for useful answers.
    Thanks In Advance,
    Shwetha Korlepara.

    Hi,
    Can you check if these FM's are useful:
    CRM_MKTPL_GET_BP_SALES_AREAS
    CRM_MKTPL_AL_FILL_PRODUCT
    Hope this helps.
    Regards,
    Anup

  • 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

  • Mass update of Third Party Vendor at PO Line item pricing condition

    Hi All,
    We have requirement from business as follows:
    We are using item level condition for Lumper Charge in PO and it is for Third Party Vendor. We maintain vendor in pricing condition record so it will be automatically populated while PO is created. Recently vendor is changed so we have also updated new vendor in pricing condition record so it will be taken care when new POs will be created. But there are thousand open POs in which new vendor needs to be updated.
    Is there any way to mass update third party vendor at PO line item level?
    Relevant pointers will be rewarded.
    Regards,
    Tt

    Hi,
       You may check the following options:
    1. If the freight vendor was pulled through condition record, then change the vendor in the condition record and update the pricing in MEI1. Refer the KBA: 1819416 - Condition records not getting updated automatically when using MEI1/MEI4
    2. If the condition is manual condition, there is no option to mass change the vendor in standard, as of my knowledge. You may create a custom program to change the vendor in the PO. Refer the similar thread: Mass update of freight vendor in PO condition
    Regards,
    AKPT

  • CRMXIF_ORDER_SAVE add or update pricing conditions

    Hi Experts,
    I'm working in a requirement where I have to add items into a  quotation via CRMXIF_ORDER_SAVE this is working now. The problem is that I'm not able to add or update  either standar nor "Z" pricing conditions (e.g. XBRT or ZPRU). For this I use the segment  E101CRMXIF_PRCD_COND_XT and E101CRMXIF_BT_PRCD_COND where:
    COND_TYPE = 'ZPRU'
    COND_VALUE = 'value in numbers' e.g. 45
    COND_CURRENCY = 'USD'
    OBJECT_TASK = 'I'
    Do you know if its possible to do it, or if anything is missing?
    Thank you in advance
    Regards
    Donovan L.

    Yes, it's possible I guess the condition which are you talking are manual conditions, right? and you marked the correponding X fields, right?
    Cheers!
    Luis

  • How pricing condition be auto updated if the user changes price in PO ?

    Hi
    Is there any configuration setting on how pricing condition can be automatically updated if the user changes price in the purchase order ?
    Thanks
    Maruthi

    Hi Maruthi,
    As far as I know, POs (like many other documents in SAP) are "snapshots" of data as it was at the time of the document creation.  This snapshot has no direct link to master data, so it will not change unless you go to the document and manually change/refresh whatever data you need updated. 
    Even if there were a way to link your PO to master data to auto-update I don't see how any change on a PO could go backwards and change master data.  Pricing works the other way around - the PO takes the price from the condition records, not the records from the PO.
    Hope this helps,
    J

  • Update value of Pricing condition

    Hi all,
    I am having existing custom program in which sales order get display through ALV. and when user select records through ALV and execute, All pricing conditions of selected sales order gets updated. For this BDC is written( in which Update button is clicked on condition tab at line item in sales order)
    My requirement is to add new field for pricing condition on selection screen.  and if user  puts any pricing condition on the field,  only that pricing condition should get updated with new value for selected  sales order. It should not update all the pricing condition for the sales order.
    Problem: I can not use BDC in this particular case because if i use Update button on condition tab(line item ) in sales order  on BDC, it will update all the pricing condition of sale order.
    Question: How i will trace new value of any pricing condition. Functional are saying that it is maintained in VK13. If this is a case
    then
    1)How I will come to know in which config table, Condition record exist  i.e New value of pricing .
    2)Each pricing Condition will have multiple condition tables ( Lot of combinations) and I will come to know about the tableu2019s    only at runtime. For getting the values from  table I need the value of there respective key fields.
    How I will get the values of all the key fields of  the condition tables ?
    If there is any better way to get the new reprising value of pricing condition please let me know?
    Thanks in advance

    Hi,
    Please check if any other standard pricing types suits your requirement.  Assuming that your current pricing type is 'B'-carry out automatic pricing. So, when you update pricing, you can choose the best that suit your case.
    [http://help.sap.com/saphelp_46c/helpdata/en/dd/560f03545a11d1a7020000e829fd11/content.htm]
    Regards,
    P Gomatheeswaran

  • Net value not being updated from Pricing Element/Pricing condition

    Hi All,
    User confirm activity of 40 hours in CJ20n of Project System. When we are creating RRB(Resource Related Billing) request for billing of 40 hours using DP91, Net Value is coming Zero where as pricing condition for the item is upodating Basic Price from quantity of 40 hours.
    Please adise, why Net Value field is not being updating.
    Regards
    Rajesh

    hi monty,
    first of all please check the validity and other criteria by which sytem populates the pricing records in to the sales order.
    this can be easily done by refering to past "pricing" posts.
    also
    kindly check on the reference status whether this order is getting referenced and pricing values from a preceeding document like  sales quotation,because if the conditions mentioned by you are not in the preceeding saes document then it will not get populated ,hence you have to update pricing by going on to the conditions tab,
    update me so that other solutions can put to you
    regards
    Mohit Singh

  • Updating pricing condition

    Hi All,
    I have encounted a case that user deleted the PO line item after GR, SO invoice.  Our MM expert managed to undeleted the PO line item, but the S.O. pricing condition XP03 does not get updated.  Is there any way we can update the pricing ??  It is a TPO S.O. type, and PO direct deliver to Customer
    Thanks & Regards,
    Rebella

    Hi,
    It is possible to cancel the invoice if the configuration allows it, irrespective of the time.
    Check in VOFA if your billing document type has a cancellation document type linked to it. If not link the cancellation document and then try cancelling the document. It will allow.
    Once that is done,  you have to cancel the PGI (VL09) reverse the picking (VL02N) and then delete the delivery document(VL02N)
    Once this is done, the sales document will come to Open status.
    Now you can make changes to the condition type based on its configuration in V/06, and then carry out the transaction once again.
    Hope this helps you
    Pls reward if this helps.

  • M/08 maintain pricing condition not updating

    Hi experts ,
    I have written some code in one of  the form in M/08 transaction for accomodating changes in the Pricing schema of PO .I have checkde the Statistics checkbox for that form .
    I have used the form for VAT calculation using  Excise Duty , E.cess and Sec.E.Cess and the i m getting the required values in the code part .
    But the problem is that , its not updating the VAT value in the ME23N transaction in the Condition Item Tab .
                                 Cond Tyope                                              Statistics   Subtot      Condition Formula
    247     0     ZTAX     VAT Value               X     F     955
    Please Suggest  wat i need to do .!!
    Regards Rajesh .

    hi
    good
    if you are trying to update the pricing condition using the BDC recording then it may happen sometime that some your recording screens wont work proplerly in the production server so it wont take the appropriate data from the flat file.
    Please debug the code in producation to point out the field which is not working properly than you do the recording again .
    Hope this will help you to solve y our problem.
    Thanks
    mrutyun^

  • In Invoice header conditions pricing values updated as u201C0u201D

    Dear guruu2019s
    I am facing the below error can any please suggest me on the same.
    We have created the sales order with 3 line items and we have created 3 individual deliveries and 3 different invoices but for the 1st sales order line item we observed that at invoice level the pricing conditions are not updated at header level the values are u201C0u201D. But the same has been update at sales order level and rest off the 2 sale order (2&3) line items all the invoice has been updated properly.
    Dear guru can any one suggest what all reasons that will impact our header condition to update the values as 0
    Regards,
    Bhanu

    Dear Guru's
    This is in continuous of the above mail
    We observed that in the invoice item level in pricing tab Statistical values field has been updated as option Y- No cumulating- value can be used statistically. If the option is u2013 System will copy item to header totals then automatically the pricing values gets updated in the Header condition tab.
    Here my doubt is how system updates this value. If I would like to change the same it is in grayed out mode. Please suggest me the same
    Regards,
    Bhanu Prathap

  • Unable to update the header Pricing Condition of Customer Quotation

    Hi Friends,
    I am trying to change the Customer Quotaion using the 'BAPI_CUSTOMERQUOTATION_CHANGE'.
    I am able to update the Header details and item details,but When it comes to pricing Conditions the Following errors I am getting
    000000: Operations with Conditions of type F not allowed(ZZHD).
    as it is a Header pricing Condition, I am passing Item number as 000000,even I tried to Comment and see,but the same issue.
    Following is are the pricing Condition details that I am passing to BAPI.
    CLEAR: wa_quote_condition_in,
             wa_quote_condition_inx.
      wa_quote_condition_in-itm_number        = '000000'.
      wa_quote_condition_inx-itm_number       = '000000'.
      wa_quote_condition_in-COND_COUNT     = '01'.
      wa_quote_condition_inx-COND_COUNT    = '01'.
      wa_quote_condition_in-cond_type            = 'ZZHD'.
      wa_quote_condition_inx-cond_type         = 'ZZHD'.
        wa_quote_condition_inx-updateflag      = 'U'.
      lv_zzhd  = ( ls_nd_payment-transport_charg / 10 ).
      wa_quote_condition_in-cond_value     = lv_zzhd.
      wa_quote_condition_inx-cond_value    = 'X'.
      APPEND: wa_quote_condition_in TO it_quote_condition_in,
              wa_quote_condition_inx TO it_quote_condition_inx.
      CLEAR: wa_quote_condition_in,
             wa_quote_condition_inx.
    Please help in tracing the above issue.
    Regards,
    Xavier.P
    Edited by: Xavier on Sep 7, 2011 10:59 AM
    Edited by: Xavier on Sep 7, 2011 11:00 AM

    Hi prasad,
    Please find the you will find 'condition type paramter in the structers bapicond, bapicondx.
    data :it_quote_condition_in    TYPE TABLE OF bapicond,
             wa_quote_condition_in    TYPE bapicond,
             it_quote_condition_inx   TYPE TABLE OF bapicondx,
             wa_quote_condition_inx   TYPE bapicondx.
    CALL FUNCTION 'BAPI_CUSTOMERQUOTATION_CHANGE'
        EXPORTING
          salesdocument                = ls_nd_payment-vbeln
          quotation_header_in          = wa_header
          quotation_header_inx         = wa_header_inx
         simulation                   = 'X'
      BEHAVE_WHEN_ERROR            =
      INT_NUMBER_ASSIGNMENT        =
       logic_switch                 = wa_logic_switch
      NO_STATUS_BUF_INIT           = ' '
        TABLES
          return                       = it_bapiret2
          quotation_item_in            = it_order_items
          quotation_item_inx           = it_order_items_inx
         partners                     = it_partners
      PARTNERCHANGES               =
      PARTNERADDRESSES             =
          conditions_in                = it_quote_condition_in
          conditions_inx               = it_quote_condition_inx
      QUOTATION_CFGS_REF           =
      QUOTATION_CFGS_INST          =
      QUOTATION_CFGS_PART_OF       =
      QUOTATION_CFGS_VALUE         =
      QUOTATION_CFGS_BLOB          =
      QUOTATION_CFGS_VK            =
      QUOTATION_CFGS_REFINST       =
        schedule_lines               = it_order_schedule
        schedule_linesx              = it_order_schedule_inx
       quotation_text               = it_texts
      QUOTATION_KEYS               =
      EXTENSIONIN                  =
      CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
    Regards,
    Xavier.P

Maybe you are looking for

  • How do I maintain the configuration of my current Catalog in PSE9 when moving it to a new computer?

    While the Version Sets in my current catalog are collapsed, the version sets in the Catalog on the new computer have all become 'expanded'; this is unacceptable to me, as many of the pairs that are stacked as Version Sets have become separated.  Whil

  • Max-shm-memory Problem - out o memoy. No space on device

    Hi Everyone, First time post.  I'm a UNIX SA tying to troubleshhot the problem:  On Solaris 10. SQL> startup pfile=inittest1.ora ORA-27102: out of memory Solaris-AMD64 Error: 28: No space left on device SQL> u01/app/oracle/admin/dd00lod1/udump/dd00lo

  • Programing code question

    Hi Gurus, I want to create additional field in the report, where I want to do multiplication with (-1); how to append a new deffined field ZDMBTR to INT internal table? Code is displayed below. Thanks. data: int like ZFI_GET_COMM_ITE occurs 0 with he

  • What font is used in the CS4 panels/palettes?

    I need to recreate one of the panels/palettes in InDesign. Does anyone know what font is used? Thanks, Lloyd

  • Converting A DBA to an Excel Spreadsheet

    Hi Know how to interogate my database and retrieve my data. But my problem is arranging the data on a Excel Spreedsheet. So that all the similer data falls in the correct columns and rows. At this moment it soes sort the data according to the correct