Populating condition value instesd of rate in creation of Quotation

Hi All,
I have to create quotation with condition value(KWERT) populated with some value using function module BAPI_QUOTATION_CREATEFROMDATA2.
I'm able to  cteare quotation with value populating to condition amount( KBETR ) using the same function module. At that time automatically KWERT will get populated with a value = KBETR * QUANTITY.  But I do not need any value in KBETR, but need the value to be populated in KWERT. Please let me know how to do this with FM, BAPI_QUOTATION_CREATEFROMDATA2.
I'm able to create the same manulay, but finding issues while using FM.
Thanks in advance,
Sabu

Hi,
Check the Pricing condition type configuration(Table : T685A).  Calculation type should be B-Fixed Amount.
Pass the value in structure field QUOTATION_CONDITIONS_IN-COND_VALUE & QUOTATION_CONDITIONS_IN-CONDVALUE while executing the BAPI.
Regards
Vinod

Similar Messages

  • How to update condition value using e1edp05 segment during order creation

    Hi,
    I have a requirement where I need to update the item level condition value (komv-kbeter)  to the condition type (komv-kschl) from the incoming idocs (orders05).
    But  the same is configured  in such a way to populate automatically with the default condition value zero during the order creation level using VA01 at condition tab.
    I am able to populate condition values from incoming idoc using segment E1EDP05 which is good, but it was getting created as new entry with the same condition type  instead of updating the condition value to the existing condition type(which got populated from automatically from configuration) .
    So I want to restrict to one entry instead of two with same condition type. Is there any userexit/gap to restrict automatic population of condition type thru programming or to update with idoc (orders05) value rather than inserting as new row?
    My client doesn’t want to restrict the pricing automation from configuration. So I have to handle through programming level.
    Your  inputs are appreciated

    It doesn't really matter if it's a credit/debit memo, it's the same transaction anyway and pretty much the same functionality. What is your requirement exactly? Do you always have to override the price from Siebel or, let's say, some price is automatically proposed and you might or might not need to override it?
    We use a custom (Z..) condition for price override. When a material is entered in VA01, some price (condition PR00, for example) is assigned automatically. Then, let's say, a special price has been negotiated with this customer just for this purchase. So the user goes into Conditions, types in condition code Z... and types in the new price. This basically annuls the previous PR00 condition. I'm not a functional consultant and can't give you all the config details, but your SD person should be able to help.
    I'm still positive that conditions cannot be removed or changed by IDoc. One thing I would suggest for your situation: do not create ZCD2 condition initially and then just add ZCD2 condition when you receive the data from Siebel. Otherwise it seems that you would have to write a user exit or a requirement to deal with the duplicate conditions.

  • Condition Value is not updated

    Hi All,
    I am using bill of services, so i have a sales order and as a subsequent document a service entry sheet, my invoice is created with reference to the service entry sheet.
    In my price procedure i have a percentage guarantee condition.
    In the sales order i insert a percentage for the condition, afterwards i create a service entry sheet with reference to the sales order and all the conditions values are copied correctly, till here everything ok.
    In the SES i change the guarantee condition value and then i create the invoice, but the guarantee condition value is not updated and takes the value i inserted before in the sales order.
    I already tried to change the condition copy control but no sucess.
    Anyone can help me with this issue??
    Thank you.
    Best Regards,
    Tiago Ferreira

    Hi Madhu,
    Here is my code:
        SALES_CONDITIONS_IN-ITM_NUMBER = I_UPLOAD-ITMNUMBER.
        SALES_CONDITIONS_IN-COND_TYPE = I_UPLOAD-COND_TYPE.
        SALES_CONDITIONS_IN-COND_VALUE = I_UPLOAD-COND_VALUE / 10.
        APPEND SALES_CONDITIONS_IN.
        CLEAR SALES_CONDITIONS_IN.
        SALES_CONDITIONS_INX-ITM_NUMBER = I_UPLOAD-ITMNUMBER.
        SALES_CONDITIONS_INX-COND_TYPE = I_UPLOAD-COND_TYPE.
        SALES_CONDITIONS_INX-UPDATEFLAG = 'U'.
        SALES_CONDITIONS_INX-COND_VALUE = 'X'.
        APPEND SALES_CONDITIONS_INX.
        CLEAR SALES_CONDITIONS_INX.
    I am just creating a CMR with reference to billing document. Its creating condition recod 'ZAP0' correctly, which i am passing manally. But, its not  populating condition value to levy condition it should determine automatically.
    Please suggest.
    Regards,
    Srikanth.

  • Condition value currency based on amount currency in sales order creation

    Hi all,
          I have a requirement where during creation of a sales order with line items in the conditions tab where if condition type is EDI2 the amount currency should be USDN and accordingly condition value currency should also be changed to USDN.
    I found the exit to acheive this and succeeded in changing the amount currency to USDN but condition value  currency is also changing but for all above condition types.
    I am using form userexit_field_modific_kzwi.
    loop at xkomv where kschl = 'EDI2'.
    XKOMV-WAERS  = 'USDN'.
    MODIFY XKOMV INDEX SY-TABIX TRANSPORTING WAERS .
    select single waers into komk-waerk from TCURC where waers = xkomv-waers.
    endloop.
    Thanks & Regards
    Jerry

    Hi Vindo,
    Thank you for your replay.
    There is no Net value column in pricing procedure. Am able to change the Net value in the condtion tab of  Item level but the problem is , the change is  not  reflected in condition tab of sales order header net value.This is creating a problem when we try to post the invoice document .
    Cheers,
    sravan.
    Edited by: Rob Burbank on May 7, 2010 4:30 PM

  • Tax condition value is not calculating based on condition rate maintained

    Hi,
    I have maintained the condition rate as 4% for a condition type against a tax code in FV11. and also the validity period is correct.
    But when I select the tax code in purchase order and click on taxes button, some other condition value is coming in condition value field for that condition type. for example the PO price is 100Rs. the condition value has to  be 4% on 100Rs that is 4Rs. but some constant value is coming 5, even if change the condition rate in FV11 as 0%, the condition value is coming as 5 only.
    Does anybody faced this issue.??

    Hi
    for example the PO price is 100Rs. the condition value has to be 4% on 100Rs that is 4Rs. but some constant value is coming 5, even if change the condition rate in FV11 as 0%, the condition value is coming as 5 only.
    try this
    change your PO value and then observed the changes ,IF then  your are getting value different than 5 ,then i think there is no problem in your tax  procedure because you are saying after 0% in FV11 also your are get 5 only in PO
    as per me you can not put any constant value in tax procedure ,we only map how tax calculation will below for condition
    and check your condition record for that vat condition again in FV13
    Regads
    Kailas ugale

  • At time of return depot invoice creation , not capture Excise Condition Value

    Hi,
    my queastion is that
    In retun process from Customer to Depot,
    when user create return Depot invoice through t-code VF01 then  Not capture Excise Condition Value (  JEXP - Basic Excise Duty ,  JCEP- Edu.  Cess Duty and JA1X - Additional tax. ) at time of Depot. Invoice Creation.
    we can also check  Table J_1IRG23D, in this table have value of these Excise Cond. Value.
    But Delivery No. is not update in table J_1IRG23D.
    and I applied  condition formula 356 in Procedure ZDOM02 ( Traders  Pricing Procedure).
    How can capture condition value of JEXP, JCEP and JA1X  at time of Retrun Depot Invoice Creation ?
    Guide me  .....

    Hi,
    I have  flow your define step:
    Returns from Customer to Depot
    1     Create a return order in Depot
    2     Key in the invoice number and execute
    3     Assign Order Reason and save
    4     Create a return delivery  and do PGR.  Maintain storage location 1030
    5     Create Transfer posting in MB1B with movement type 453, storage location 1030 and save
    6     Note down the material document reference
    7     Go to J1IG to reverse excise issue posting
    8     Click "Capture"
    9     Key in the material document number and  series group
    10     Click "Details".  Now select the line item and again click "More documents"
    11     Key in the original excise invoice reference created at supplying plant
    12     Skip all warning message and go back
    13     Maintain the internal number and the year.
    14     With this, entry from RG23D will be reversed
    But still the excise condition values are not being captured during invoice VF01 and std depot routing 356 is being used.
    Program name of depot routing  is  FV64A356.
    we can also check  Table J_1IRG23D, in this table have value of these Excise Cond. Value.
    But Delivery No. is not update in table J_1IRG23D.
    Guide me.........

  • IPC condition value userexit - wrong condition rate

    Hi Pricing-gurus,
    I have a java condition value userexit to calculate the value for the very first price condition.
    The condition value is calculated correctly, however, the price per unit is wrong which is due to the condition rate that was not changed, also.
    If I change condition rate also in this formula, the entire pricing is wrong because the IPC carries out the pricing run multiple times (SAP: for internal reasons) resulting in a rate and value that is too high, as the changes are adding up.
    How can I change the condition rate just once? Or how how can I make sure that the formula is carried out only once during a pricing update?
    Regards,
    Michael

    Hi Pricing-gurus,
    I have a java condition value userexit to calculate the value for the very first price condition.
    The condition value is calculated correctly, however, the price per unit is wrong which is due to the condition rate that was not changed, also.
    If I change condition rate also in this formula, the entire pricing is wrong because the IPC carries out the pricing run multiple times (SAP: for internal reasons) resulting in a rate and value that is too high, as the changes are adding up.
    How can I change the condition rate just once? Or how how can I make sure that the formula is carried out only once during a pricing update?
    Regards,
    Michael

  • How to see planned expenditure/conditional value in PO along with Item rate

    Hi
    If I need to see a report similar to ME2L, ME2N which will give PO price & value along with planned expenditure/conditional value from purchase order, which transaction to be seen. ME2L will not give planned expenditure seperately.
    Regards
    Raghu Shetty

    hi
    there is no standard report which shows the expenditure/conditional value in po. you have to develop your customs report./

  • What is the Procedure to Create "Condition Value" Routine Using VOFM

    Dear Guru,
    I want to know Step-By-Step Procedure to Create "Condition Value" Routine Using VOFM.
    Give me guideline how it will link to program RV64ANNN.
    and if it doesnot link to RV64ANNN
    what might be the possible reason and how to make it link with RV64ANNN.

    Dear Guru.
    I have encountered a technical issue related to Creation of User Routine for pricing procedure
    (Routine :: RV64A978).
    Before coming to issue I want to give you slight glance on my requirement.
    I have got two requirements to write two routines for a new condition type -->> packing type .
    >>Routine Number  One First  I Have wrote  Requirement Routine         RV61A943
    Routine Number two  Other I Have wrote  calculate condition value  RV64A978
    So as usual normal procedure of writing a routine I followed VOFM for writing routine for pricing procedure and routine for calculation (condition value).
    I performed above respective process for both routines in VOFM.
    And I have activated both routine from going VOFMMenu bar edit  Activate.
    After activation automatic include is generated in both case .
    INCLUDE RV61A943 .  "FAMD PAckage Wt        
    Is generated in RV61ANNN
    INCLUDE RV64A978 .  "FAMD Package-Rate     
    Is generated in RV64ANNN
    In case of Routine  RV61A943
    I can able to find the main include routine RV61ANNN from where used function in SE38 and able to trace it.        
    And I am able to find it in the lists of Includes of RV61ANNN.
    But In case of Routine  RV64A978
    I can not able to find the main include routine RV64ANNN from where used function and able to trace it. Pls refer below picture.
    But in RV64ANNN it is showing that routine RV64A978 is there 
    So Guru I want to know following things >
    1.     What might be the main reason in case of RV64A978 ??
    2.     How I should approach to solve this issue??
    Because what I understood unless routine RV64A978 is traceable  from u201Cwhere usedu201D to find out its main routine RV64ANNN , the routine RV64A978 wont work in pricing procedure (I believe).

  • Conditions Types during creation of Quotation

    Dear All ,
              I want to know from where the condition types are fetched during creation of quotation in ME47 . These condition types are not fetched from vendor schema thats for sure . I want to know which pricing procedure is responsible for quotation creation .
              My requirement is I have to create a quotation comparision sheet for my vendor and I want to know from which table I should take the values of condition types to achieve my target .
    Regards
    Abhijit Das

    Hi Sachin ,
    I am trying to create a Quotation in ME47 .The condition types I can find init to maintain are
    P000 : Gross Price
    R000 : Discount On gross
    R001 : Discount Of quantity
    R002 : Absolute Discount
    R003 : Discount % on net
    But my client requires more condition types like Packing & Forwarding ,Excise , CESS , VAT /CST , FREIGHT .
    I want to know how I will enter these condition types in Quotation . After maintaining these entries only I want to compare the quotations through ME49 .
    But system is not allowing me to enter these conditions
    HI Sachin
    I am Kalyan,
    To Maintain these conditions in Quotation, use Transaction ME47, Go to Maintain Quotation Overview Screen
    Now select the Line item for which u like to add the conditions as u mentioned, choose the Item conditons Icons (Shift + F6),
    Now, Select / Choose the Validity period will proceed to another screen, where we can edit the changes.
    Here u can add additional Price like freight, discount etc. here. And SAVE it.
    Thanks and Regards
    Kalyan,

  • Extracting Purchase doucument Item condition value (Urgent)

    Hi Gurus,
    Currently, I am extracting purchase order item level data using 2lis_02_itm DS in which the extract structure is modified with fields which are fetching data from Condition Type (KSCHL), Condition Value (KWERT), etc., field at run time for which code is written in CMOD.
    Now, user requirement is some what like this: they maintain KWERT for one of the condition type after a week/a month or 2 months (not fixed) of PO creation date.
    Problem: In current extraction the data is comming for all the values changed or records added at item level (like material number, quantity, value, net value, etc.) but its not extracting the change in Condition Value (KWERT).
    <b>Please explain why?</b>
    Also, I tried to create a view based on the tables EKKO, EKPO and KONV but since KONV is pool table it's not allowing to create one.
    Tried to create function module by changing standard function module RSAX_BIW_GET_DATA_SIMPLE_1 and passing an custom extract structure created with only few (required) fields. The problem with this one is that in OPEN CURSOR ..... area when I am trying to write select statement which contains INTO clause, its giving error while checking where as query is working when tested as a report output.
    <b>Also, pls. let me know weather any provision is available on extraction of Condition data for each item in a PO is available in SAP's standard DS or BC. The one like they have condition level DS for application area SD.</b>
    for any further details pls. let me know.
    Thank You in advance.
    Points will be awarded to satisfying answer.
    Regards,<b></b><b></b>

    Good afternoon Joshi,
    It is unfortunnatelly very normal that the changes of the conditions are not loaded into BI... When you enhanced a DS, all the fields you add are simply calculated for each line that are in the delta queue. Here the change of a condition is not recognize as a change for BI, so no record is created in the delta queue so you extra fields are not calculated...
    The simplest way to check on which field a change is triggering a record in the delta queue is to check the fields in the extract structure in transaction LBWE for your datasource.
    One solution might be to assign one of the sub-totals to that condition (if you already use the 6 available sub-totals I remember that there was a way to create some extra ones...)
    If this does not work, to extract data from a pool table, you can always create in infoset query in transaction SQ01. To my knowledge there is no BC datasource  for PO condition.
    hope it helps,
    Rodolphe
    I do not think

  • Condition value in a sales order

    Hi,
    We have a condition type ZLTL (less than truckload) in our pricing procedure and Alt CBV is set to routine 12. Even though there is a record maintained, the condition value shows as 0 in the Item details screen.
    The condition rate shows correct $20.49, but the condition value is 0. I have tried to take off the routine 12 from AltCBV, no change.
    Checked for condition exclusion groups, none mentioned.
    Is there something I am missing.
    Thanks & Regards,
    Pavan

    hi pavan,
    first up, please see the pricing analysis for this condition in the item conditions tab. also let me know if ZLTL is a header or item condition. Anyway, the pricing analysis should give the required clue to check why the did nt get picked. And also if the correct From and to are maintained, if not an approriate alternative calculation type.
    And if none of the above works and you feel everything has been verified from the functional side, take the help of your abaper to debug, may be there some customization for the Z condition type.
    Regards,
    Sadhu Kishore

  • 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

  • BAPI_PO_CHANGE - Change Condition Value

    Hi,
    I want to change the Condition value for a particular Condition type using BAPI_PO_CHANGE.
    I am populating values for following
    Import parameters
    PURCHASEORDER
    POHEADER (Fields PO_NUMBER)
    POHEADERX (Fields PO_PO_NUMBER = X)
    Tables
    POITEM (Fields PO_ITEM, PLANT, STGE_LOC
    POITEMX (Field PO_ITEM, PO_ITEMX = X, PLANT = X, STGE_LOC= X)
    POCOND (Fields COND_TYPE, COND_VALUE, CURRENCY)
    POCONDX (Fields COND_TYPE = X, COND_VALUE = X, CURRENCY = X)
    But PO condition value is not getting changed...
    Regards,
    Balaji Viswanath.

    Hi,
    I got the answer from Naren's earlier post... Given the answer below...
    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

  • Basic Excise duty condition value is not captured in in Excise tab at GR

    Dear Experts
    i am facing the problem that, Basic excise duty amount is not appearing / captured in Excise tab, Goods Receipt Screen.
    Please guide me on whether the problem is with Excise master data or excise configuration.

    Dear friend,
    please check the your maintained in fv11 or not for the bed, ecess, and secess, and set offs if  your using the taxinn  procedure
    or in case of your using the taxinj at the time for taxcode for the conditions your maintained condition values or not
    and again in j1id excise rates your maintained or not  check for the particular chapterid of that material
    i think this will help you
    Regards
    Pramod

Maybe you are looking for