Changing  Condition values and Condition currency of PO to local currency.

Dear Friends,
I have a weird request.
I have  a PO which has been created in USD. My local currency is INR.
Normally, when i display the PO, under conditions tab, the condition values and currency will be displayed in USD.
My requirement is like, i want to change and simulate the condition values in USD to local currency (INR) based on current exchange rate.
Is there any way i can simulate the same. Kindly help.
Thanks and Regards
Sandeep Sivan

I am not sure that it can be done through the config. You can change the values with the correct user exit and change the values accordingly before the values are displayed.
Regards,
FS

Similar Messages

  • How to changing char. values and create new lines in C_TH_DATA

    Hi experts,
    we need to distribute the cost of some sender costcenters to the corresponding receiver costcenters.
    We have already created a DSO and maintained this with the sender and receiver costcenter. We use this lookup table later in the execute method of our created planning function type to take the sender costcenter and distribute this to the corresponding receiver costcenters.
    I've already implemented an IP planning function based on planning function type for this process.
    At the end when I debug the method I see that this works fine. I give you an example:
    I have in my lookup table the following record:
    sender costcenter           receiver costcenter            distribution percent
    4711                                    4712                                    75
    4711                                    4713                                    25
    Based on those records in the lookup table I've to distribute the cost of sender costcenter to the receiver costcenters.
    Just imagine I would get this record from c_th_data:
    sender costcenter    costelement     value
           4711                 3000111         100
    I have to have the following result after running the exit planning function:
       costcenter    costelement     value
           4711                 3000111         100                   -> without changing
           4711                 8000111        -100
           4712                 8000111           75
           4713                 8000111           25
    When I debug the exit function I see in the execute method that c_th_data will be filled correctly. I see exactly the records that I want to see.
    But once the function is finished I don't see this result. I also checked the conversation
    Changing Char Value in IP C_TH_DATA
    but I can't understand what happens after my coding yet.
    Can anyone help me or give me an advice what could be the problem here?
    Thank you all in advance for your support.
    Kind regards,
    Ali

    Hi Ali,
    The planning function generates the records in delta mode. I am explaining the concept taking your example only:
    Records in cube before running PF:
    sender costcenter           receiver costcenter            distribution percent
    4711                                    4712                                    75
    4711                                    4713                                    25
    sender costcenter    costelement     value
           4711                 3000111         100
           4712                 3000111         100
           4713                 3000111         100
    The records that you need to generate from code(Previous ones need to be changed):
    sender costcenter    costelement     value
           4711                 3000111         000
           4712                 3000111         175
           4713                 3000111         125
    **Please note that you dont need to generate any corrections(delta records), you only need to generate the final values in the records and the PF will generate the delta's on its own. Also in this case you should see 3 Records Read, 0 Deleted, 3 Changed.
    Please let me know if you need any more clarification,
    Thanks,
    Puneet

  • Changing Variable values and saving it across sessions.

    Hi,
    I've have an requirement like counting the number of times a form is opened and number of times a button is clicked.For this I tried to use global variables.I tried to increment the value of the variable each time a form is opened or a button is clicked.
    opencount.value += 1;
    But it didnt work for me.I tried to hardcode a value like
    opencount.value = 5;
    Even this is also not working.Do I need change any settings or extend rights.Is it possible to save the values that are persistent across the sessions.
    Please help

    I have another apporach using an extras object.
    What you is a script object 'Actions' with this script, to create a counter in the extras object in any form object.
    function initOpenCounter(targetObject) {
        if (targetObject.extras.nodes.namedItem("OpenCounter") === null) {
            targetObject.extras.nodes.append(xfa.form.createNode("extras", "OpenCounter"));
            targetObject.extras.OpenCounter.nodes.append(xfa.form.createNode("integer", "state"));
            while (targetObject.extras.OpenCounter.nodes.length > 0) {
                targetObject.extras.OpenCounter.nodes.remove(targetObject.extras.OpenCounter.nodes.item(t argetObject.extras.OpenCounter.nodes.length - 1));
            var newState = xfa.form.createNode("integer", "OpenCounter");
            newState.value = 0;
            targetObject.extras.OpenCounter.nodes.append(newState);
    Then you need another script, to call the function in the script object and raise the counter, when the form opens.
    I used a floating field in a text on a master pager and put this script into its initialize event.
    Actions.initOpenCounter(this);
    var cCount = parseInt(this.extras.OpenCounter.nodes.item(0).value, 10);
              cCount += 1;
    this.extras.OpenCounter.nodes.item(0).value = cCount;
    this.rawValue = cCount;
    Here's a sample form with an open and save counter.
    https://acrobat.com/#d=C90OHrJKx52LHrtbtahWzQ

  • Et_validate doesn't fire if user changes value and presses update button

    I am maintaining a flag for "dirty" records in a potentially large number of rows in a matrix. To set this flag I check for the et_Validate event and ItemChanged = true. This works fine if the user changes a value and then presses tab to leave the field.
    My problem is that et_Validate does not fire if the user changes a field's value and then presses the update button.
    It's like the screenpainter where if you change a field's value and then select a different field before pressing tab your change isn't saved.
    I suppose I could always send a tab keypress or automatically update the current row but I'm wondering how others handle this.
    I am currently using SBO2005A SP1 PL11.

    Additional info:
    If I change a matrix cell and click on the update/ok button then the ItemEvent.row = -1 and the active item is still the matrix. If I force a "click" in a field on the first row then the et_validate fires otherwise it does not.
    Does anyone have any other ideas on forcing et_Validate to fire when the user clicks on a button?

  • How to change the Value of a Varible while debugging in ECC 6.0

    Hi all,
    How can i change   and Save the Value of a varible while debugging a FM in ECC 6.0.
    I can able to change the Value of a variable by clicking the Pencil Icon (Change icon) which is there next to that value
    But i am not able to save that value
    Please give the suggestions
    Thanks in Advance
    Regards
    Ajay

    Ajay,
    I think you are changing more than one variable value at a time...this things generally happen in this case.
    Go step by step.....
    Press on the pencil button
    value filed becomes editable
    change the value
    and at once press the enter
    the ediatble field automatically becomes non editable, and hence retain the changed value.
    Pooja

  • Very strange behaviour of table values and event case

    Hi all
    i'm becoming crazy on my .vi
    i want to change the second col values on click from yes to no and from no to yes simply by a click.
    The problem is that this changing happens after some clicks on an old position.
    Try to click on some "no" on the file that is attached.
    Thanks a lot!
    Dario
    http://www.sd-studio.it - web design agency
    Attachments:
    Ecu_wizard.vi ‏101 KB

    The issue took me a sec to understand but here it is.  You are trying to change the value during the mouse up event.  And you do... however you have just selected that cell in the table.  So LabVIEW is waiting for the user to change the value, and in this case ignoring your change.  All you need to do is add a property node to the end of that sequence that is Key Focus and set it to false

  • Best way to change TreeMap value?

    Hello,
    I am wondering what is the best way to change a value in a TreeMap? I have retrieved a value by .get on the key i.e.
    String aString = (TreeMap) aTreeMap.get(aKey);but would now like to change aString and ?.put? it back into the map?
    How would I do this?
    Thank you,
    Poot.

    but would now like to change aString and ?.put? it
    back into the map?Do I just have to keep a note on the (key,value) - especially key - change the value and then .put(key,value) back in? Though I'll need to remove the initial pairing if I do this since TreeMap won't allow duplicate keys!
    There must be an easier way as this.
    Thank you for your reply,
    Regards,
    Poot.

  • Alv output capturing changed Output values

    hi all,
    I have an alv grid output. In this output i have one column which is input enabled . I will be changing the values and I have a pushbutton in the application tool bar. When I press the pushbutton, by selecting the row with the changed value, that row should be captured in the internal table of a program.
    How can I achieve this.
    Thanks
    Saravana

    Hi,
    If you are using OOp
      call method grid1->get_selected_rows
        importing
          et_index_rows = i_sel_alvrows[].
      call method cl_gui_cfw=>flush.
      describe table i_sel_alvrows lines v_dbcnt.
      if i_sel_alvrows[] is initial.
    * Info message : Please select a row
        message i176.                        " Please select a row'.
      endif.
      if v_dbcnt gt 1.
    * Info message : Multiple Row Selection not  possible
        message i177.                        " Multiple Row Selection not
        " possible'
      else.
       read table i_output into wa_output index wa_sel_alvrows-index.
    Here wa_output contains the selected row.
    aRs

  • How to change parameters values

    dear gurus,
    can someone guide how to change below values and apply and what steps should taken and changes do in files
    *     Shared_pool_size = 450M
    *     Db_cache_size = 750M
    *     Pga_aggregate_target = 125M
    *     Sort_area_size = 1M
    *     Open_cursors = 4000
    *     Processes = 300
    regards

    Hi If you have set SGA_TARGET and PGA_TARGET , then you dont have to wory for the individual components.Oracle internally handle it .
    You can get the information for each components using below sql
    sql> select * from V$SGA_DYNAMIC_COMPONENTS;
    If you want to find the optimize size of few of above components , take AWR report(by running script @?/rdbms/admin/awrrpt.sql). At below of report you will see SGA Memory Summary,Shared Pool Advisory,SGA Target Advisory,Java Pool Advisory,PGA Memory Advisory . So accordingly you can reset above mention parameters. This will put lower limit for these parameters
    Edited by: amitbansode on Sep 9, 2009 5:07 AM
    Edited by: amitbansode on Sep 9, 2009 5:08 AM

  • How change saturation value of a image??

    I have to change value pixel to pixel??
    My image is a PlanarImage and a slider for modificate saturation value.
    Each pixel-> convert HSB-> manipulate S value ->> convert to RGB???
    Thanks.

    Ajay,
    I think you are changing more than one variable value at a time...this things generally happen in this case.
    Go step by step.....
    Press on the pencil button
    value filed becomes editable
    change the value
    and at once press the enter
    the ediatble field automatically becomes non editable, and hence retain the changed value.
    Pooja

  • Change condition value in debit memo and credit memo

    Hi Experts,
    When I am trying to create Credit Memo/Debit memo I could able to change the condition value for which condition type the value is there in Sales Order, but where as for other condition types it is not changeable.
    For example for Freight the Condition type is ZFRE,  value is 100 rs in sales order 90000001.
    If I create credit memo with reference to sales order I can able to change freight value from rs100 to rs 75.
    But what to do If I do not maintain freight value initially in sales order and if I want to adjust freight value ZFRE as rs 60 in credit memo. Presently I could not able to enter values in C/D Memo.
    Hope my question is clear to you all.
    Thanks & Regards
    Naresh

    Hi Naresh
    If I understand correctly,  then you want to include the freight amount automatically in the Credit memo which was not featuring in the Credit memo request.
    If it is so, then first see which is Pricing procedure working  for your Credit memo Request.
    In the Pricing Procedure, check the freight condition type (e,g. KF00).
    See the what is Acees sequence assigned to it and in the Access sequence what are table assigned.
    In  condition type KF00,  Access sequence assigned is KF00 and two condition tables "Incoterm" and "Incoterm Part1 + Part2" are assigned to it.
    In the Access sequnce of your Freight condition type , add another/new condition table "350" (Sales organisation). This table is already available in standard system.
    Select the new condition table row, and click on the "Field" in the dialog box till the technical names are opened up / shown inspite of warning.
    Once the technical names of the fields are shown , you can see the green light there, then save it.
    Now, create a condition record (VK11) for your Freight condition (e,g. KF00) by choosing the "Sales organisation" level  from the key combination.
    Then go to the Copy control (VTFA), find the combination "G2 from CR "> go to Item level > select item category G2N and go to details.
    Here, you change the "Pricing type" value to " H " and save it.
    Now, when you will create a Credit memo with reference to the Credit memo request, the  new Freight condition (KF00) will come into effect in the Credit memo, even if ,it was not there in the reference document.

  • BAPI_SALESDATA_CREATEFROMDAT2 Changing Condition Value

    Hi,
      when I use  BAPI_SALESDATA_CREATEFROMDAT2  to changeing condition value
      wa_order_conditions_in-itm_number  = '000010'.
      wa_order_conditions_in-COND_ST_NO  = '010'.  
      wa_order_conditions_in-COND_COUNT  = '01'. 
      wa_order_conditions_in-cond_type   = 'PR01'.
      wa_order_conditions_in-applicatio  = 'V'. 
      wa_order_conditions_in-cond_value  = '1900'.
      wa_order_conditions_in-currency    = 'RMB'.
      wa_order_conditions_in-cond_p_unt  = '1'.
      wa_order_conditions_in-cond_unit   = 'PC'.
      wa_order_conditions_inx-itm_number = '000010'.
      wa_order_conditions_inx-COND_ST_NO = '010'.  
      wa_order_conditions_inx-COND_COUNT = '01'.    
      wa_order_conditions_inx-cond_type  = 'PR01'.
      wa_order_conditions_inx-updateflag = 'U'.
      wa_order_conditions_inx-cond_value = 'X'.
      wa_order_conditions_inx-currency   = 'X'.
      wa_order_conditions_inx-cond_p_unt = 'X'.
      wa_order_conditions_inx-cond_unit  = 'x'.
      APPEND wa_order_conditions_inx TO  
             i_order_conditions_inx.
      APPEND wa_order_conditions_in TO
             i_order_conditions_in.
      CALL FUNCTION 'BAPI_SALESORDER_CREATEFROMDAT2'
           EXPORTING
                order_header_in      = wa_order_header_in
                order_header_inx     = wa_order_header_inx
           IMPORTING
                salesdocument        = salesdocument
           TABLES
                order_conditions_in  = i_order_conditions_in
                order_conditions_inx = i_order_conditions_inx.
    run it i get a Sales order when i look the item conditions
    i found it add a new condition line like :
      PR01 1800.00  RMB ... (automatic price which can
                             be deleted and modifide manual  
                            in 'VA02')
      PR01 1900.00  RMB ... (I expected)
    but I only want to get one line
      PR01 1900.00  RMB ...
      now i don't know the reason,
      my version is R/3 3.6C
      wa_order_conditions_in-itm_number = '000010'.
      wa_order_conditions_in-COND_ST_NO = '010'.  
      wa_order_conditions_in-COND_COUNT = '01'. 
    '000010','010', '01'
      is found in BAPISDORDER_GETDETAILEDLIST by creat in va01 and look it in BAPISDORDER_GETDETAILEDLIST.

    Hi Pan!
    The handling of the conditions is quite tricky. Have a look at OSS 593246 for some hints.
    Have also a look in some other linked topics:
    BAPI_SALESORDER_CHANGE conditions
    BAPI_SALESORDER_CHANGE- No Pricing Condition Change
    Regards,
    Christian

  • PBXX condition currency not changed

    Dear gurus,
    I have issue with one PO. It was created with EUR currency and saved.
    Later on its currency was changed to THB (in header level) via ME22n and saved again. During the change, currency on item was changed nicely also with Net price recounted to THB, also on all conditions EXCEPT on PBXX field 'Crcy' (Rate unit). There also in field Amount (Rate) was kept amount in EUR.
    But in the same PBXX condition in field 'Condition value' and also its currency was nicely changed to THB.
    I tested this on more systems, this seems like general behaviour for Gross conditions, but is it really so?
    Maybe simple question, but I really was not able to find explanation for it anywhere...
    Thanks a lot!
    LS

    Hello Arminda Jack,
    thank you for reply.
    I think my system behaves in the way as you described. So yes, 'condition value' field changes according to document currency, but I am more concerned about fields on left from it, this is Amount and Crcy (Price and currency for 1 UoM). They don't change according to currency set in the header (also in your example: Gross price remained at USD currency).
    I was thinking if it is not because PBXX was set manually, it is not taken from condition records. For instance there is also NAVS condition in my example PO, but it is based on condition record and this changes nicely to THB.
    Is this assumption correct?
    Thank you in advance,
    Lubos

  • Changing condition type values in Billing Doc Line Items

    Hi All,
    I want to change the value of condition types JLST and JCST to zero in the line items of proforma invoices. How can I do this?
    Any function module or BAPI? Should I go for BDC?? I tried to find user exits. What can be the optimal way to do this?
    Please help.
    Thanks in Advance
    - Neha.

    Hi Neha,
    You pass 0 (zero) to the field COND_VALUE in CONDITIONSIN table alongwith other relevant data.
    And pass 'X' to the field COND_VALUE in CONDITIONSINX.
    hope it helps.
    saroj

  • User-exit that triggers everytime I change a line item and change condition

    Hello Experts,
    We are encountering an error wherein when we create a return order with reference
    to an invoice and we create multiple line items with the same material, the succeeding
    line items points to the wrong conditions in the reference invoice. Below is an example:
    Original Sales Invoice 3010002390
    Line Item No.     SKU          Quantity     Total Rebate Discount          Per Unit Rebate Discount
    10          100315          10               128.07                    12.81
    20          106666          10               128.07                    12.81
    30          100338          10               243.86                    24.39
    Return Order 1120000402  (repeatedly created with reference to the same sales invoice number)
    20          106666          1               12.81                    12.81
    30          106666          1               24.39                    24.39
    For Return Order line 30, it should have picked the price 12.81 instead it picked 24.39,
    which is the same line item with the original sales invoice.
    I am using user-exit 'USEREXIT_NEW_PRICING_VBAP' and it triggers everytime I change the quantity of a line item.
    But I tried to change the values in XKOMV and put 'U' in UPDKZ but it doesnt reflect when I view it.
    Hope you can help me guys. Thank you and take care!

    Thanks anyways...

Maybe you are looking for

  • How can I get iMovie 10 to see my iPhoto Library after I relocated it.

    How can I get iMovie 10 to see my iPhoto Library after I relocated it. I moved my iPhoto Library to a secondary hard drive, because my main SSD wasn't large enough. I then upgraded to IMove 10.0.4 and also moved my iMovie Library to the secondary har

  • Change of source system - any mass transaction?

    Hi, we have to transfer some programs and stuff from one system to another. Basis people will manually import a transport for this. In target system, I want to change the source system of  the transported objects. Because it is quite a big number, I

  • YE Ret Earning Roll and Clear Process produces out of balance.-MA to fix...

    YE Ret Earning Roll and Clear Process produces out of balance.-MA to fix.... Hi, Our co. has 13 segments. xxxxx-xxx-xxxxx-xxxxx-xxxx-xxx-x-xxx-xx-xx-xxx-xxx-xxx ENTITY OU PRIME SUB CC PRD R DC ST NW SP STAT FUT As a result of our year end retained ea

  • Every time I eject my Ipod from ITunes 7, it erases everything

    Every time I eject my ipod (with clickwheel) from ITunes 7 after updating, it takes a long time, and then when it finally ejects, all my songs are erased from the ipod. When I reconnect to my iBook, I have to restore the ipod... every time! After the

  • Can't burn disc for backup

    i upgradee to itunes 8.2 on my hp pc. now i get a message registry software missing i have no other burning software on my pc what could be the issue