Change PO Conditions

Hi all,
I want to change the PO conditions, I've have an implementation of the Badi BBP_DOC_CHANGE_BADI for PO, but in this badi I haven't the Conditions Table. In the table ET_ITEM (structure BBP_PO_ITEM_BADI) don't exits a field for this purpose.
Do you know how can i do it?
Do you know if exits other badi for do it? I've finded the Badi BBP_BDI_PO_PRICE_COND_CHANGE but i think is for internal use.
Thanks in advance.

Hi,
Thanks you your repply...
but i think is not possible to enhance the interface for PO.
I've debbuged the BADI and i've seen that it's called from FM BBP_PD_PO_CREATE. And i can't see there any parameter for Conditions, so i don't know if i enhance the interface it works, i don't think so...

Similar Messages

  • BAPI_CUSTOMERQUOTATION_CHANGE - error while changing a condition value

    Hallo Gurus,
    I am trying to use tshi BAPI BAPI_CUSTOMERQUOTATION_CHANGE to change a condition value of a condition record of a quotation.
    Every time I execute the BAPI, instead of the condition tyoe being changed, a new record is added to the list of conditions!
    Can someone please help!
    Thsi is my piece of code::
    itab_BAPISDH1X-UPDATEFLAG = 'U'.
    append itab_BAPISDH1X.
    itab_BAPICOND-ITM_NUMBER = '10'.
    itab_BAPICOND-COND_ST_NO = '31'.
    itab_BAPICOND-COND_COUNT = '00'.
    itab_BAPICOND-COND_TYPE = 'ZST3'.
    itab_BAPICOND-COND_VALUE = '15.00'.
    itab_BAPICOND-COND_UPDAT = 'X'.
    append itab_BAPICOND.
    itab_BAPICONDX-ITM_NUMBER = '10'.
    itab_BAPICOND-COND_ST_NO = '31'.
    itab_BAPICOND-COND_COUNT = '00'.
    itab_BAPICONDX-COND_TYPE = 'ZST3'.
    itab_BAPICONDX-UPDATEFLAG = 'X'.
    itab_BAPICONDX-COND_VALUE = 'X'.
    append itab_BAPICONDX.
    CALL FUNCTION 'BAPI_CUSTOMERQUOTATION_CHANGE'
      EXPORTING
        salesdocument                = p_vbeln
      QUOTATION_HEADER_IN          =
        quotation_header_inx         = itab_BAPISDH1X
      tables
        return                       = itab_BAPIRET2
       CONDITIONS_IN                =  itab_BAPICOND
       CONDITIONS_INX               =  itab_BAPICONDX
    Thanks!
    Mukta

    Hmm...
    Change the following....and check..
    itab_BAPICONDX-ITM_NUMBER = '10'.
    itab_BAPICOND-COND_ST_NO = '31'.
    itab_BAPICOND-COND_COUNT = '00'.
    itab_BAPICONDX-COND_TYPE = 'ZST3'.
    itab_BAPICONDX-UPDATEFLAG = 'X'.
    itab_BAPICONDX-COND_VALUE = 'X'.
    append itab_BAPICONDX.
    "change the above to.....
    ab_BAPICONDX-COND_TYPE = 'X'.
    append itab_BAPICONDX.
    The BAPICONDX.. should contain only X.. in the fields which you want to update.. try this change..and let us know if it works.
    Also have a look at the FUNCTION MODULE DOCUMENTATION for this bapi in SM37.
    Cheers...

  • How to change pricing Conditions in Sales order in change sales order bapi

    Hi Experts,
    How to change pricing Conditions in Sales order in change sales order bapi.
    I have used the 2 function modules bapi-changesalesorder and sd salesdocument change, But it is creating the new record , instead of changing the existing one, Could please assist regarding the same
    Thanks in Advance .
    NLN

    HI NLN
      I have just tried on my system and managed to overwrite the existing price by passing the following parameters.
      <b>Import Paramters:</b>
         SALESDOCUMENT - Sales Document Number
         ORDER_HEADER_INX - UPDATEFLAG as <b>'U'</b>.
         LOGIC_SWITCH - Import Structure - Pass 'X' to LOGIC_SWITCH-COND_HANDL.
      <b>Tables:</b>
         CONDITIONS_IN - ITM_NUMBER,
                         COND_COUNT, -> Condition counter same as KONV-ZAEHK generally it is <b>'01'</b>
                         COND_TYPE,
                         COND_VALUE,
                         CURRENCY.
         CONDITIONS_INX - ITM_NUMBER,
                          COND_COUNT,
                          COND_TYPE,
                          UPDATEFLAG as <b>'U'</b>,
                          CURRENCY.
       Hope i have clarified your query.
    Kind Regards
    Eswar

  • Report on Change in Condition Record effects which all Sales Orders

    Hello Gurus,
    Thanks in advance. My customer requires a report which gives him list of Sales Orders effected due to Change in Condition Record.
    Proper input to this will be greatly rewarded.
    Regards,
    Vishvesh Kamdar

    hi,
    whenever u change the condition record it will fall under the validility date, ie.,
    <b>example:</b>
    Condition record for cond type PR00 is
    <b>valid from 01/05/2007 to 31/99/9999 is  Rs.1000</b>
    but suddenly when u change prices  on 01/10/2007 then system will display has below
    <b>vaild from 01/05/2007 to 31/09/2007 is Rs.1000
    vaild from 01/10/2007 to 31/99/999 is Rs.1500</b>
    hence u take all the sale orders & billing document which are created from 01/10/2007, this will slove ur purpose
    SE16-->vbak--->enter -
    > here u will find created on enter the date & execute
    hope this heklps u
    regards,
    Arunprasad

  • How to change pricing conditions

    Hello Experts,
    i'm trying to change pricing conditions in routines.
    SPRO --> SD --> System Modifications --> Routines --> Define Copying Requirements (double click any activities) -->  it will open "Maintain Requirement and Formula"
    select from menubar "Formulas --> Condition Value"
    Routine Number --> 36 - Cumulation condition.
    i want to change conditions in this Routine 36, so i copy this routine and create a new routine name
    901 - Cumulation condition
    i want to change Pricing Conditions in this routines. this standard routine adding all sub-total pricing values. but i want to display all sub-total pricing value separately in there respective field.
    i'm checking this result in VA11.
    any ideas? i know i have to change code in this copied rotines for this calculations. but i'm not finding any clue where this value is getting added in each sub-total field level.
    if any more clarification needed, please ask.

    Hi Rabindra
    For Net Price you can refer this Note 80183.
    Neha

  • Pricing procedure  change the condition value

    Hi,
    My pricing procedure determines the Tax in %basis.Now i have a rewuirement wherein i should be able to enter the amount in AMOUNT COLOUMN in condition tab. This value should be the condition Value for the condition type.
    Now my pricing procedure doesnt allow me to make any changes and the condition type is greyed out. how can i calulate the tax in amount instead of % and be able to enter the value manually?
    Thanks,
    Challa

    Hi Challa,
    Price can be maintained either on percentage basis or on amount basis.
    So you have to make changes in condition type to convert it from percentage to amount.
    Go to IMG u2013 sales and distribution u2013 master data u2013 basic function u2013 pricing u2013 pricing control u2013 define condition type.
    Select maintain condition type from the options.
    Now select your condition type and click on detail.
    Change the calculation type from A (percentage) to B (Fixed amount) and save it.
    Now go to VK11 and maintain the new condition record for that condition type.
    Now create the sales order and go to condition tab and check out the pricing it will be amount.
    Please do this method if you find any difficulty then tell us.
    Regards
    Raj.

  • Problem changing the Condition Value in Po using BAPI_PO_CHANGE

    Hi Experts,
    My issue is BAPI_PO_CHANGE is not changing the Condition value. and giving message in bapi return as 'cannot be processed manually'.
    Can anybody please help me on this.
    Thanks & Regards,
    Sudheer

    Check this link http://forums.sdn.sap.com/thread.jspa?threadID=652278
    Regards,

  • Change of Condition Value in PO after MIGO

    Hi Gurus!
    I want to change the condition value after migo. I have a scenario in which we have lots of purchase orders which are received.
    Unfortunately user has mentioned a wrong value in the tax. We want to change the value of tax in the purchase order after cancelling the MIGO document. But the system is not allowing me to do the changes. I also deactivate the release as well through ME29N.
    Regards
    Imran

    Hi,
    For changing the tax value, you need to change the tax code to the one that has the correct tax % configured. You can use transaction FTXP to find out the tax rates assigned to tax codes. For changing tax code it it not necessary to cancel already posted GRs
    Ramesh

  • Changing the Condition value in Quatation only and not in Order

    Hi Gurus,
    We have a Requirement from Client in which the Client should be Able to change the condition Value PR00 in the Quotation and not in Sales order......can someone please let me know how's that possible?
    Because if we try to make Changes in Condition Type in V/06 it will also allow changes in Sales Order....

    Hi
    You can use user-exit USEREXIT_PRICING_PREPARE_TKOMP in the include MV45AFZZ.
    IF VBAK-AUART = (Your quotation type)
    LOOP AT XKOMV.
    IF XKOMV-KSCHL = 'PR00'.
    SELECT * FROM T685A INTO TABLE I_T685A WHERE KSCHL = 'PR00'.
    READ TABLE I_T685A WITH KEY KSCHL = XKOMV-KSCHL.
    I_T685A-KMANU = 'C'.
    MODIFY I_T685A INDEX SY-TABIX.
    MODIFY T685A FROM TABLE I_T685A.
    REFRESH I_T685A.
    ENDIF.
    ENDLOOP.
    like this discuss with your abapper and build the logic
    regards
    Prashanth

  • Mass change for  condition record

    I try to change the condition record for material with validity period of one year starting next year Jan 1st. Since that material is already exists in the system with validity period of current date to 12/31/9999, it is not saving my changes. When increase price by 5%, it is not giving any problem but when I display to see the changes "Environment-Changes-Per condition record", it is giving an popup box saying "Change documents for conditions not yet save are not possible"
    I try to delete material condition with longer period. It is deleting at that moment but when I come back and see still that material exists with longer period.
    how do I deal with this problem to solve?
    Fully rewarded for solution.
    Thanks,
    Manu.

    Hi Manu;
    At any given point in time you can have only one valid condition record with a validity period.
    1. Create a condition record with validity from today to 12/31/2007
    2. Create a condition record with validity from 01/01/2008 to ....
    You issue would be solved.
    Regards.

  • Change the condition type based on sales document type

    Dear ALL,
    I have created a condition Zxxx which is a fixed calculation type for the documents created by the upload from external tool to SAP.  I created this condition because external tool is using a 15 place decimal which SAP doesn't allow and if the normal condition type Zyyy is used SAP calculates once in SAP and there are rounding issues.  What the Zxxx condition type does is accept whatever value is sent up from external tool to SAP, regardless of the quantity.  The problem is that whenever they create a credit with reference, in SAP and they want to do a partial credit, the Zxxx doesn't take the partial quantity into consideration and doesn't change the value. 
    Is there a way to force SAP to change the condition type from Zxxx to Zyyy based on sales document type without recalculating the whole document because that would again, cause rounding issues.  We would need to have the calculation done only on quantities changed in the credit memo request .
    please advice me. your inputs are highly appreciated.
    TIA
    KOGI

    Dear ALL,
    someone please help me with this issue. your inputs are higly helpful.
    TIA
    KOGI

  • 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

  • Change the Condition base value in a Condition type.

    Hi Experts,
    I have a problem because I need to change the condition base value for a condition type. This condition base is calculated as a result of other condition types in the list of pricing Elements. I would need to change the base in order to solve the problem.
    Thank you and best regards.

    Hi Alberto
    if i get it correctly , this is your scenario
    condition 1--- price x
    condition 1--- price Y
    condition 1--- price z
    now you want a fourth conddition with base value total of the above 3
    if so , you maybe define all the above 3 as statistical ,
    in another row , create a total of the above 3,
    assign a sub total this ,
    create new conditon type and in its alt base value , give the formalue for the sub total
    for eg 5 for sub toal 1, 6 for sub total 2
    and then you would get the right base value
    Hope this helps
    Thanks
    Akasha

  • Error during manuel entry/Change of condition.

    Dear friends,
    while I am trying to create standard customer order(VA01), I have faced an error message as: Item 00001:Error during manuel entry/Change of condition.
    Can anyone tell me solution?
    Thanks in advance.

    Hi,
    Goto to V/08 for your pricing procedure, check for the condition type if it is mandatory condition and / or if it is manual condition.
    In V/06, select condition type and check the value for Manual entry field
    Hope you get some inputs
    regards,
    Sagar

  • MASS CHANGE OG CONDITION RECORD CST CONDITION TYPE

    Dear SD experts,
    Could anyone plzz suggest me how to change the condition type for CST from 3% to 2% .
    There rae some 2500 records how to change it.
    I had taken the key combination as
    Country/Plant Region/Region.TAXC11Cust/tax mat
    RegardsJAYANTH

    Hi Manu;
    At any given point in time you can have only one valid condition record with a validity period.
    1. Create a condition record with validity from today to 12/31/2007
    2. Create a condition record with validity from 01/01/2008 to ....
    You issue would be solved.
    Regards.

Maybe you are looking for

  • Understanding Application and Web Server Integration

    Folks, I am relatively new to web development and have some fundamental questions. I have read various articles and posts on these forums that describe the difference between an Application server and web server but haven't seen any on the integratio

  • I am getting ORA-20001: Seed insert error while seed translatable text step

    Hi, I am getting this error while English to Arabic translation in the Seed translatable text step ORA-20001: Seed insert error: WWV_FLOW_ICON_BAR.ICON_IMAGE_ALT ORA-00001: unique constraint (APEX_030200.WWV_FLOW_TRANSLATABLE_TEXT_PK) violated Can i

  • Cloning Old iMac G4 HD to new (not Intel) G5 iMac HD????

    I have a 3yr old white round-base, flat panel iMac and need to replicate my 60gb hard drive to a new 160gb G5 (not Intel version) iMac flat panel hard drive??? I plan to connect the 2 via a Firewire cable, then transfer the hard drive contents..any r

  • Acrobat 5 Title display problem

    Dear All, I had used Acrobat 5 to change PDF Creator using JavaScript, but this doesn't reflects updated Creator value in Acrobat 6-9. Anyone help me to reflect updated creator value in Acrobat 6-9 using Acrobat 5 JavaScript. Thanks, Selvakumar

  • Error declared hash table

    Hi i have this problem types : begin of stru,          workcenter type /bi0/oiworkcenter, end of stru. data: tb_work1 type hashed table of stru with key workcenter, tb_work2 type hashed table of stru with key workcenter. But this code generate an err