Conditon value not updating in CONDITION tab for Sales Order

Hi Experts,
Can anyone tell me about this ?
I have created a Z condition type for VA01 and need to place some value (based on some logic  taken from conditon records).
I am not able to do this.
Steps already taken care of.
!) In VOFM >formula section>conditon value = New routine is created.
2) in V/08, after selecting the Z condition type Routine number is given in front of the Z condition type.
Waiting....

Hi Prabhu,
I didn't understand the meaning of analyzing the Pricing Procedure ?
In V/08, I have selected the Z condition type created in the system and than selecting that, navigated to CONTROL folder.
Now in front of the Z condition type in CALCULATION TYPE field the number of the routine is given (Which is created using VOFM).
Now what else I need to do?
Repy@Madhu.
Yes Madhu. Routine is activated and control is stopping if break point given in the routine. In this routine I am trying to populate a value in its XKOMV internal table's KBETR field but when VA01's main CONDITIONS TABS screen comes the value is not appearing.

Similar Messages

  • How to update the condition price in sales order while creating the invoice

    Hi,
    How to update the condition price in the sales order to carry out the new price while creating the invoice?
    While creating the invoice it should update the condition price in sales order.
    Thanks,
    Balaram

    No, pricing is not there in delivery.
    I found an exit for VF01transaction where we can update the price in order.
    Can you please tell me how to update the price if I have the order, material numbers and conditions number?
    Thanks,
    Balaram

  • Update KOMV-KBETR field for sales order and billing

    I would like to update the KOMV-KBETR (condition amount or percentage) under condition tab for both Sales order and billing.
    example:There are two condition types ZA00 and ZB00 and need to get the KBETR value from ZA00 and add it to KBETR value of ZB00 and update the sum in KBER value of ZB00.
    1. creation of sales order & billing.
    2. Change of sales order & billing.
    3. For single & multiple line items in both sales order & billing.
    4. during updation of price in the change mode of sales order & billing.
    5.When user click on Update button in the condition tab(i.e., when clicked on Carryout new pricing)
    I tried with the VOFM routine but as the routine is triggering multiple times the sum is calculated again and again.For that I set flags also.It is working for sales orders but for billing creation the field XKOMV-KBETR is cleared after this routine.
    So I would like to know are there any EXITS for this scenario or any one entountered the similiar issue which I am facing.

    Hi Brad,
       It is an Client requirement.So need to do the addition of that condition types.
    Can you please let me know the configuration point where we can do it and the condition type which we need to update the Rate/Amount value.ie., KOMV-KBETR is and Price list value and not the subtotal one.
    Thanks,
    Srilakshmi Lagisetty.

  • VA01 user exit to manually insert condition record for sales order

    Hello Experts,
    I have a req. to find a user exit through which I can insert a new condition record for a sales order everytime a sales order is created.
    Whenever a sales order is created I should check whether condition types X and Y are being generated for the particular sales order.If yes I have to insert a new condition record with type Z for that sales order after some calculations.
    Does anybody have an idea which user exit should be used so that my new condition comes up in the CONDITIONS tab for the sales order item.
    Thanks in anticipation.
    Vipul

    Hi,
    What I suggest is suppose you want condition type say 'XXX' to appear with some calculated value only when condition type 'X' & 'Y' are present, then let the consultant define that condition type in pricing procedure, with 'Manual Entry not allowd flag on, so that nobody can overwrite the value calculated by your routine in condition type 'XXX'  & let him 'attach; a routine say 901 to it. Now via VOFM in routine 901 you can put your logic. In routine 901 you can loop at xkomv & check if both condition types viz. 'X' & 'Y' are present. IF yes then calculate the value of condition type 'XXX' as per the logic required & pass it on to SAP by xkomv-kwert = w_amount, where w_amount is the value calculated by you as per the logic required.
    I hope this helps,
    Regards
    Raju Chitale

  • How to define the detail "Condition" item for  sales order?

    Hi, I checked the condition information of a sales order, the following contents were displayed:
    PR00     Price     230.00
         Gross Value     230.00
         Discount Amount     0.00
         Net Value for Item     230.00
         Net Value 2     230.00
         Net Price     230.00
    I can understand that the price 230.00 can be maintained via tcode: vk11, what I want to know is:
    How to define/control the following items such as:
    Gross Value     230.00
    Discount Amount     0.00
    Net Value for Item     230.00
    Net Value 2     230.00
    Net Price     230.00
    and how to control their currency?
    Thanks.

    Hi, Dear Ferry Lianto,
    Thank you very much.
    Commonly I know the total pricing procedures.
    But, would you please tell me how to control the CURRENCY for the subitem of a condition type as follows?
    For example, I can see the following kind of
    contents in the Tab:condition of a sales order:
    PR00     Price     130.00000      TEST     100
         Gross Value     20.12      USD     100 <-how to
         Discount Amount     0.00      USD     100
         Rebate Basis     20.12      USD     100
         Net Value for Item     20.12      USD     100
         Net Value 2     20.12      USD     100
         Net Value 3     20.12      USD     100
    VPRS     Cost     27.22      HKD
         Profit Margin     16.61      USD
    The currency of PR00:price can be controlled via tcode VK12; but how to control the currency of its subitem such as gross value, discount amountm, net value for item, net value 2, & net calue 3...
    Thanks and regards.

  • Update payment card details for sales order

    Hi all,
    Is there any function module or bapi which can be
    used to update the payment card details for a sales order
    The bapi_salesorder_creatfromdat2 is having the structure
    CCARD which takes in this details , but what I really want is to change the already created sales order.  The bapi for sales order change is not having any structure which allows passing this details.
    Please can anybody give some inputs on it.
    Regards,
    Shibu Mathew.

    Hi Anurag,
    Thank you very much for the answer..
    I too found it as i was digging through the
    BAPI_SALESORDER_CHANGE.
    One's again thanks for the solution.
    Regards,
    Shibu Mathew.

  • "Not possible to determine account for sales order or project stock"

    Hi,
    I get this error when trying to create a purchase order (type EUB). I think I should define a new account for sales order. How should I proceed?
    Thanks in advance.
    Luis.

    Hi
    1) Check the spro-MM-purchasing-account assignment-Maintain account assignment categories -
        Here check the account modifications against Account assignment category C,P
    2) Then go to OBYC -GBB check the account maintained against the account modifier obtained in step 1
    Regards
    Sandeep

  • Values not updating in Condition records

    Hi All,
    Small question for you all -
    We have a condition record for TAX (ZVAT) this has three access sequences on it, one of these feilds for access is the HT (OIHANTYP),
    Nowe the problem is when HT = 01 then Vat should be calculated at the correct rate of which it does, but when you change the HT code to 02 then the Condition does not update, the only way around this is to carry out new pricing not ideal,
    Also if after changing the HT code and saving the order the order still does not update.
    Just as a side we also use scales and this works fine, if you amned the qty up then the rate chages automatically with these adjustments, it only seems to be when we change the HT that this problem occurs.
    Also just notice we are also using split valuation items, so also the batch needs to be maintained, if you get the right combination of Batch and HT then the condition updates all o, any ideas where this maybe set?
    Any help or comments are most welcome
    Regards
    Steve
    Edited by: Steve Cane on May 20, 2009 12:32 PM

    Hi Steve,
    If the field is available in VBAP or VBKD,  get in touch with an abapper and try the code in the below mentioned exits in MV45AFZB:
    USEREXIT_NEW_PRICING_VBAP
    Option for entry of preconditions for carrying out pricing again (e.g. changes made to a certain item field could be used as the precondition for pricing to be carried out again).
    USEREXIT_NEW_PRICING_VBKD
    Option for entry of preconditions for carrying out pricing again (e.g. changes to the customer group or price group could be set as the preconditions for the system to carry out pricing again).
    Regards,
    Naveen Aggarwal

  • Values not updated in CRM ,CRM_BADI_BUPA_MOBILE_CHANGE for Sybasemobile

    Hi All,
    We are unable to make changes in CRM
    Implemented the Change BADI CRM_BADI_BUPA_MOBILE_CHANGE  (For language and timezone fields).
    please check my previous post.
    Implementing  CRM_BADI_BUPA_MOBILE_CHANGE for Sybasemobile
    On mobile made changes for these fields ,checked in DOE ,CE structures ,they are not updated with new values.
    checked the FM CRM_BUPA_MOBILE_CHANGE ,BADI is getting triggerd.
    How the dat flows ..mobile->doe ->crm ?(for update values)?
    Thanks,
    Anitha.

    Hi siva,
    Thanks for the information.
    data : ls_address TYPE bapibus1006_address,
    CALL FUNCTION 'BUPA_ADDRESS_READ_DETAIL'
          EXPORTING
            iv_partner           =ls_ce_bupa_hdr-partner
            iv_xaddress           = 'X'
          IMPORTING
            es_address            = ls_address
          EXCEPTIONS
            no_partner_specified  = 1
            no_valid_record_found = 2
            OTHERS                = 3.
    loop at ce_bupa_header into ls_ce_bupa_hdr.
        IF ls_ce_bupa_hdr-FIELD_NAME = 'LanguageKey'.
          ls_address-languiso =  ls_ce_bupa_hdr-FIELD_VALUE.
        elseIF ls_ce_bupa_hdr-FIELD_NAME = 'ZTIME_ZONE'.
          ls_address-time_zone = ls_ce_bupa_hdr-FIELD_VALUE.
        endif.
          endloop.
    CALL FUNCTION 'BUPA_ADDRESS_CHANGE'
      EXPORTING
         IV_PARTNER                      =ls_ce_bupa_hdr-partner
          IV_PARTNER_GUID                 =
          IV_ADDRNUMBER                   =
          IV_ADDRGUID                     =
      IS_ADDRESS                      =
           IS_ADDRESS_X                    =ls_address
          IV_DUPLICATE_MESSAGE_TYPE       =
          IV_ACCEPT_ERROR                 = ' '
    U mean to say this?.
    Will try executing and come back.
    Thanks.
    Anitha.

  • GR Cost not updating as Target Cost for process orders

    Dear SAPians,
    We are facing an issue in Target Vs Actual cost reporting for process orders. We are creating a process order after cost estimate of that material and doing the confirmations for activity cost. After that, GR has been done for the finished goods of that process order. That GR entry is updating the Actuals values but not updating the Target cost. When I am checking the standard report KKBC_ORD, I am getting the following figures.
    Cost Elemnt Text     |     Target Cost     |     Actual Cost     |     Target Vs Act
    Inventory Chnge FG     |     0     |     1,472,205.60-     |     1,472,205.60-
    Packing Matrl Cons.     |     1,148,142.37     |     1,252,752.68     |     104,610.31
    Raw Material Cons.     |     60,463.91     |     50,688.29     |     224.38
    Semi-Fin Matrl Cns.     |     181,934.68     |     367,959.56     |     186,024.88
    Labour Cost Activity     |     39,735.36     |     39,862.80     |     127.44
    Machine Cst Activty     |     41,611.75     |     43,153.01     |     1,541.26
    That 'Inventory Change FG' entry is showing the GR posting updating actuals and not target cost. This is causing huge difference in target vs actual cost that will affect the profit and loss figures ultimately.
    What am I missing here? What should I do to update the GR amount in Target cost as well.
    Shirazi

    Dear,
    Target Cost on Production Order or Process Order is shown only when Variance is Calculated.
    So please calculate the Variance, system will show the Total Target Cost.
    Br,Vivek

  • Value not populating in the print out (sales order) for the 1st time

    Hi friends,
    While saving a sales order, the order confirmation going to the user is not populating the LDC field. LDC is Last date of change. This field can be found in the Additonal data 2 tab of the material in the sales order. When I enter a date in this field and save, the print preview of the output has this value, but the print out does not carry this value.
    Another weird thing about this issue is that, the second time i trigger the output, the print out has the value.
    Please give me some clue on where to check and how to go about fixing this problem.
    Regards,
    Shanu.

    Dear Shanu,
    This issue may be related bug in the output program so take help of ABAPer to fix the issue.
    I hope this will help you,
    Regards,
    Murali.

  • Excise CIN amounts not updated in TAX field in Sales Order Pricing

    Hi,
    I am not getting the Excise Amount [CIN] i.e BED + ECS + SHE Cess in Tax field of Sales Order Pricing Procedure. only Sales Tax amount is showing.
    Plz let me know, where did I go wrong in the Configuration.
    Thanx in advance.
    with best regards
    Jabbar

    Abdul,
    What you have said is correct with regards to condition record creation, excise rate picking and its calculation.
    On clicking the "analysis" button in pricing screen (Sales item details --> condition -->) try to analyse for each condition type
    we can resolve it
    Check within the condition type whether you have entered condition category = D, it must be like this
    Cond. class   =  D Taxes
    Calculat.type  = A Percentage
    Cond.category = D Tax
    In Pricing Procedure Activate "Statistical" Indicator, it will definitely appear in the tax field.
    Regards
    Sathya

  • Business area is not updating when allocating stock to sales order

    Dear Experts,
    When ever we allocating/dislocating stock in MB1B with 412E and 411E movement type,business area is not updating in the
    accounting documents.but we assigned business area to plant in the customization.its happening to our Depot,for remaing plants its working.
    Regards,
    Varun

    please suggest me right forum to post the issue.
    Regards,
    Varun

  • Pricing condition tables for Sales Order

    Hi experts,
    please can you tell me the code I have to write into a query's field to retrive the value of a specific header pricing condition saved into a Sales Order?
    Thank you very much
    Kind Regards
    Andrea

    1) From sale order header table VBAK fetch the condition number KNUMV for a particular sale order VBELN.
    2) From conditions table KONV fetch the conditions for condition number KNUMV with item number POSNR as 000000.
    This way you can fetch the header conditions. Our ABAPers normally do a loop on the line items and total up the values to arrive at the header condition value. If you use this way then you need to pass another field condition origin KHERK with value D while fetching data from KONV.
    Regards,
    GSL.

  • Pricing condition redetermination for sales order created with reference

    Hi,
    Are  there any exit or routines that can be used to redetermine MWST pricing condition alone when creating sales order with reference to another sales order? The pricing from preceeding sales order is copied but we need only MWST to be redetermined after saving the order
    This is because we are making changes so that while saving the sales order the material tax classification is defaulted to M based on some conditions so that MWST picks up the value M
    Regards,
    Vin

    Hello Vinod ,
    did you tried following options :-
    1.Using Exit ( MV45aFzz) and re calculte pricning using FM 'PRICING'.
    2.or Using Copy Control (Tcode : VOFM ) while creating order with Ref.
    regards
    Prabhu

Maybe you are looking for

  • How do I repair a scratch on my laptop?

    How do I repair a scratch on my laptop?

  • Selective printing restriction in CS4 under Mac OS 10.8 (french edition)

    I run CS4 under Mountain Lion for 2 months without problem .... until yesterday. I can print on my Epson Stylus pro 3800 images with Premium Photo paper (A2 size in the auto sheet feeder ) without problem, but the same image can't be print with Epson

  • Webutil and execute_query

    Hi All, Here's my problem for today. I have a tabular datablock with over 30 data items in each row that is populated by Execute_query. What I want to do is take results of that query and use Web_util and download the data to my desktop. I've done so

  • IWeb Error: "Your search did not produce any results."

    I just updated my iWeb and added the new search and comment features to my iWeb site. I am happy to see these features added but the search feature gives me a page displaying "Your search did not produce any results." Does anyone else have this issue

  • IWeb and Mobile Me are exasperate me

    I have a personal web site from 2 years. Since now it was hosted at my home server. But I really want to use "comment" part of this site. I change DNS settings of my site to point to web.me.com, buy and setup a "mobile me" account, upload the site. A