How to change value of an item through another item???

Hello guys,
I have couple of items in my form page, now depending on one item, I wanna change(from disable to enable or vice versa) the values of all other items in that form....
I thnk for this javascript is required...... but i new bee so if anybody can help me out with these.........
how to do that????? does anybody has good example or any link.....
plz help me with this issue.......... appreciated
thxs
regards,
gk

hi folks,
I am trying the same but still didnt found any sucess..... my scenario is like this:-
I have one radio button(P1_DETAILS_YN) and another as text box(P1_NAME), I have written below code under HTML Header(Edit page attribute)
<script language="javascript">
function checkSelect('P1_DETAILS_YN', 'P1_NAME')
if (document.getElementById('P1_DETAILS_YN').value=='Y')
{document.getElementById('P1_NAME').disable=true;}
else
{document.getElementById('P1_NAME').disable=false;}
</script>
and following under HTML Form Elements Attributes of P1_DETAILS_YN as:-
onchange="checkSelect(this.value, html_GetElement('P1_NAME))"
other than this do I miss anything else guys................ if so than let me know ASAP
thxs
regards,
gk

Similar Messages

  • How to use value of Report Rows for another Item heading (interesting)

    Hi!
    This seem to be interesting question.
    I have a classic report which has 4 rows with date values. The Row1 has Date1, Row2 has Date2 and so on.
    The report is structured like this
    DATE_COL COL1 COL2
    Row1 Date1 100 101
    Row2 Date2
    I want to use the values of DATE_COL of ROW1 which is Date1 in the label of ITEM1 which can be on same page or different page.
    Also I want to sue the value of DaTE_COL of ROW2 which is Date2 in the label of Column 1 of Report 2.
    How to accomplish this? Appreciate your suggestions.
    Thanks,
    --CP                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    cpora007 wrote:
    Hi!
    This seem to be interesting question.
    I have a classic report which has 4 rows with date values. The Row1 has Date1, Row2 has Date2 and so on.
    The report is structured like this
    DATE_COL COL1 COL2
    Row1 Date1 100 101
    Row2 Date2In your report attributes of DATE_COL column > add column link as follows
    Link Text: #DATE_COL#
    Target Type: URL
    URL: javascript:alert('#DATE_COL#');
    And set the Display as property to Standard Report Column
    Now when the link is clicked you will get the alert with corresponding value
    Next step is to set the value as the label of your item.
    If it is on the same page
    -- Use javascript to set the label
    If its on a different page then you will need to pass this value to that target page and set the label using *&P1_MY_ITEM_NAME.* syntax
    See this to learn how to pass the value in URL http://docs.oracle.com/cd/E23903_01/doc/doc.41/e21674/concept_url.htm#HTMDB03017
    I want to use the values of DATE_COL of ROW1 which is Date1 in the label of ITEM1 which can be on same page or different page.
    Also I want to sue the value of DaTE_COL of ROW2 which is Date2 in the label of Column 1 of Report 2. You can sue if you are in England! :)

  • How to change value of ${eol} from \n to \r\n, writing by File Adapter

    Hi All,
    How to change value of ${eol} from \n to \r\n, while writing file through File Adapter.
    As my file is being created in Linux environment, so for new line separater, \n is used. I mounted this file directory to windows System.
    As Windows requires \r\n for new line seperator. So I need to change value of ${eol} in the Schema created for file writing.
    Can any one provide help regarding this.
    Thanks in advance

    Hi,
    When an XML payload is written to a file \n would be used as the default line separator regardless of if its windows or linux, as per the XML specification http://www.w3.org/TR/REC-xml/#sec-line-ends.
    As such, one need not worry about the line separators because, the XML file would eventually be processed by a parser which usually would be able to understand both line endings (as they are whitespace characters as far as the parser is concerned).
    If you want to convert the line terminators (for readability etc), 10.1.3.4 has a new feature - in the XML schema definition for the file adapter payload, add these two top level directives to the schema element:
    xmlns:nxsd="http://xmlns.oracle.com/pcbpel/nxsd"
    nxsd:normalizeLineTerminators="false"
    Regards,
    Shanmu.

  • How to show value of COUNT_QUERY in a text Item?

    please tell me how to show value of COUNT_QUERY in a text Item?

    If you look a bit further down the thread Rosario posted, you might find the method DanielLiang posted to be easier to implement for you.
    you can use calculation:
    example :
    Database Data Block: block1 ( Query All Records : Yes )
    not Database Data Block : block2 (Single Record : Yes)
    block2 has a text item (number) ,it calculation property :
    calculation mode : summary
    summary function : count
    summarized block : block1
    summarized item : item1(block1's item)

  • How to change the posting date at the line item level in a sales order

    how to change the posting date at the line item level in a sales order

    Hi,
    I believe the POSTING DATE will appear on the accounting document
    In the Accounting document, the posting date will be based on the  Billing date.
    Please let me know if you need any more details
    santosh

  • How to move value from one tlist to another tlist in same form?

    how to move value from one tlist to another tlist in same form on button press?
    Same like in data block wizard when we select value from 1st list it will go to 2nd list and can be move back. Please help i am new to forms .
    Regards

    just call the following proc in your add & add all buttons. Reverse the code for REMOVEs
    this proc will move one item at a time from list_item1 to list_item2.
    PROCEDURE add_an_item
    IS
      v_list_count    NUMBER;
      v_item1_label  VARCHAR2(60);
    BEGIN
      IF :list_item1 IS NOT NULL THEN v_list_count := nvl(Get_List_Element_Count('list_item1'),0);
          IF v_list_count >= 1 THEN FOR i IN 1..v_list_count
          LOOP
             IF   :list_item1    = Get_List_Element_Value('list_item1', i)
             THEN
                  v_item1_label := Get_List_Element_label('list_item1', i);                 
                  Add_List_Element('list_item2',1,v_item_label,:list_item1);         
               Delete_List_Element('list_item1',i);
               Exit;
             END IF;
          END LOOP;
           END IF;
       END IF;
    END;
    *********************************************************************************this proc will move all items from list_item1 to list_item2.
    PROCEDURE add_all_items
    IS
      v_list_count NUMBER;
      v_item_label VARCHAR2(60);
      v_item_value VARCHAR2(60);
    BEGIN
    v_list_count := nvl(Get_List_Element_Count('list_item1'),0);
    IF    v_list_count = 1 AND Get_List_Element_Value('list_item1', 1) IS NULL THEN NULL;
    ELSIF v_list_count >= 1 THEN
           FOR i IN 1..v_list_count
           LOOP
            v_item_value  := Get_List_Element_Value('list_item1', i);
            v_item_label  := Get_List_Element_label('list_item1', i);       
            Add_List_Element('list_item2',i,v_item_label,v_item_value);
           END LOOP;
           clear_list('list_item1');
    END IF;
    END;I added [ code ] tags to make this easier to read.
    Message was edited by:
    Jan Carlin

  • How to change values of a characterstic at runtime?

    Hi,
    How to change the values of characterstic at runtime?
    for example if the characterstic contains values like P and A. i need to change all the P values as PLAN in the query output at runtime.
    Note: I cant use cell editor, because there are no stuctres in the query definition.
    Regards,
    Ravi

    Hi,
    Probably i was not clear in my question.
    for example characterstic ZPL contations Keys P and A with respectve texts PL and AC.
    but in the 10th query they dont want to see the text as PL but as PLAN. in the remaing queries they want to see the text as PL.
    I know we can do it using table interface in WAD-Table web item.
    If there any we can do this requirement in Bex designer?
    Regards,
    Ravi.

  • How to change keyboard shortcut for cycle through open tabs in PS and AI CC 2014

    I would love to set my own keyboard shortcuts for cycling through open tabs in PS and AI 2014 on OS X. I found out that this can be achieved with ctrl+tab in PS, but I couldn't manage to make any of the suggestions in the forum work for AI. As said, I would like to set a more "standard" shortcut like alt+cmd+arrow-keys for both of the apps. If that shouldn't be possible, does anyone know a shortcut in AI CC 2014?
    Many thanks!
    Amadeus

    Thanks! The shortcut can be set like this in AI, although all key combinations I would want to use are not allowed. Too bad. But anyways, thank you very much for the tip!
    cmd+~ is not an option for me, I guess, since the swiss/german keyboard layout has no dedicated tilde key.
    So, I have a working shortcut in PS (ctrl+tab / of which I still don't know how to change, if possible at all) and thanks to you, I can now set one in AI as well. Unfortunately, I can not set it to be identical as in PS, since the "cmd" key needs to be included in AI's shortcut assignment dialogue, but I guess, this is as good as it gets.

  • How to change value of instance variable and local variable at run time?

    As we can change value at run time using debug mode of Eclipse. I want to do this by using a standalone prgram from where I can change the value of a variable at runtime.
    Suppose I have a class, say employee like -
    class employee {
    public String name;
    employee(String name){
    this.name = name;
    public int showSalary(){
    int salary = 10000;
    return salary;
    public String showName()
    return name;
    i want to change the value of instance variable "name" and local variable "salary" from a stand alone program?
    My standalone program will not use employee class; i mean not creating any instance or extending it. This is being used by any other calss in project.
    Can someone tell me how to change these value?
    Please help
    Regards,
    Sujeet Sharma

    This is the tutorial You should interest in. According to 'name' field of the class, it's value can be change with reflection. I'm not sure if local variable ('salary') can be changed - rather not.

  • How to pass values of the prompt through Action Link - URL in 11g

    Hi All,
    I am in OBIEE 11g v6.
    Let's say, I have two dashbaord pages P1 and P2.
    P1 page contains
    1. Prompt PR1 - containing a single column EmpName
    2. Report R1
    P2 page contains
    1. Prompt PR2 - containing a single column EmpName (same column as in PR1)
    2. Report R2
    Requirement :
    Let's say a user select a value = David from the EmpName column in prompt PR1. In the Report R1, on one the measure columns 'Sales', I am using an action link - Navigate to URL ( I can't use Navigate to BI Content for some reasons). In the URL, I am giving the URL to page P2. Can I pass the selected value (which is David) to the EmpName column of the Prompt PR2 of Page P2 so that Report R2 is automatically limited by David when I land on that page through the URL?
    Few things to consider are, I can't use EmpName column in my report R1 on page P1, I just want to pass the value of a common column from one prompt on Page1 to another prompt on Page2. Is that possible. Can anybody please help?
    Thanks,
    Ronny

    Hmm can you give a try one more time with
    Add EmpName name and hide it on report R1 on page P1
    and set EmpName as Is Prompted on report R2 on page P2 and with my earlier steps should work.
    Other option is read this doc once that helps you how to pass value thru url.
    http://docs.oracle.com/cd/E21043_01/bi.1111/e16364/apiwebintegrate.htm#z1005224
    You need to have a EmpName as Is Prompted on report R2 on page P2
    If helps pls mark

  • User Exit: AFAR0002. How to change value in field: ANLC - NAFAP?

    Hi,
    At the moment I am working on custom Depreciation Key for which the depreciation for period (and subperiods) will be recounted and taken into account for depreciation posting.
    I try to use exit AFAR0002 for this purpose.
    I am able to count and change the value of depreciation for each subperiods. The problem is, that I cannot change the value of "Ordinary depreciation that is planned for the asset in the current fiscal year" for the pierod '000'. Due to this, in the last period of the current fiscal year system tries to reverse the sum of planned depreciation in previous subperiods. It simply tries to meet the "planned depreciation for fiscal year' with the sum of planned depreciation for subperiods.
    example:
    ANLC-NAFAP = 100.
    Active Asset value = 1000
    Depreciation for periods:
    001     ->     -50
    002     ->     -50
    003     ->     -50
    004     ->     -50
    005     ->     -50
    006     ->     -50
    007     ->     -50
    008     ->     -50
    009     ->     -50
    010     ->     -50
    011     ->     -50
    *012     ->     450
    planned value -> -100
    The questions are:
    1. is it possible to change value in ANLC-NAFAP in this exit
    2. How it sould be done.
    Thanks in advance for help.
    Regards,
    Wojciech

    Dear Paul,
    I had run AFAR. The report changed to '0' the value of ANLC-NAFAP  field - sth changed - thanks.
    But I still have a problem to set this value to the sum of planned depreciation for each month. At the moment, in the last period the system tries to reverse all planned "sub"depreciation to '0' in total.
    Is it any additional condition that has to be fulfilled in order to change the value of "Ordinary depreciation that is planned for the asset in the current fiscal year" for the pierod '000'?
    Regards,
    Wojciech

  • How to change value in BADI

    I want to change value of field afnam based on the following code below in BADI ME_PROCESS_REQ_CUST.
    But this code give me endless loop.  Is there anything missing in my coding?Please correct me, Thank you.
      data : obj_pr type MEREQ_ITEM,
             wa_eine type eine.
    CALL METHOD IM_ITEM->get_data
    RECEIVING
    re_data = obj_pr.
      if obj_pr-infnr <> space.
        select single * into wa_eine from eine
        where infnr = obj_pr-infnr.
        if sy-subrc = 0.
          obj_pr-afnam = wa_eine-effpr.
        endif.
      endif.
    CALL METHOD IM_ITEM->set_data
    EXPORTING
    im_data = obj_pr.

    Hi Jessie,
    As per my understanding, the thing is that, in BADI  "ME_PROCESS_REQ_CUST", there is a method called "CLOSE".
    you have to implement this method to close the processing....
    work on triggering the method first and if it triggers, then implement the coding and see how it is working....
    thanks,
    Vishnu.

  • How to change value of element and update XML file

    Hi
    I have an xml file called test.xml like below
    <?xml version="1.0" encoding="UTF-8"?>
    <printing>
         <userName/>
         <viewName/>
    </printing>I want to change value of user name and view name and update test.xml file in my folder
    Anyone has sample code to do so
    Ashish

    Thanx
    i was able to do so, but what i want now is to remove element
    for example
    i have following xml
    <?xml version="1.0" encoding="UTF-8"?>
    <printing>
    <firstLineTexts>
              <firstLineText />
              <firstLineText>|line11</firstLineText>
              <firstLineText>|line12</firstLineText>
    </firstLineTexts>
    </printing>how do i remove all elements fireLineText
    my final output should be
    <?xml version="1.0" encoding="UTF-8"?>
    <printing>
    <firstLineTexts>
    </firstLineTexts>
    </printing>How do i do it using DOM,
    I can create instance of DOM and write it using TransformerFactory
    Ashish

  • How to change value separator for html_Get function?

    I have application process, which gives invoice related information (date, amount,number). I run this process using html_Get function. Problem is with invoice amount. In polish localization decimal separator is comma (,). Then for an invoice issued today with value 1100.20 with number AA1 process returns: 2010-07-01,1100,20,AA1. It seems to be 4 values instead of expected 3.
    Is it possible to change value separator to ';'? Or maybe there is another solution for this problem.
    regards,
    Krystian

    hmmm join(separator) function     
    Joins together all the elements in an array to produce a single string. If no separator argument is passed through a comma is assumed.
    <script type="text/javascript">
    var scripts = new Array();
    scripts[0] = "PHP";
    scripts[1] = "ASP";
    scripts[2] = "JavaScript";
    scripts[3] = "HTML";
    var str=scripts.join(" : ");
    document.write(str);
    //document.write(scripts.join(" <br> "));
    </script>
    had to do research myself and found this, don't know if this will help you out tho..

  • How to change value date from posting date to net due date

    Hi Gurus,
    My client wants to change value date from posting date to net due date. currently posting date is considered as value date but in future client wants to change value date to net due date of documents.
    1. what configurations need to be maintained to change value date from posting date to net due date.
    2. Will these changes effect automatic payment run.
    Thanks and Regards,
    Suresh

    Hi Suresh,
    In Future
    While posting the documents you can mention the value date as due date of the documents.
    For already posted documents
    You can change the value date to net due date.
    If the value date is display mode i.e. if you are not able to change the value date in FB02 (Document Change Mode), use OB32 transaction and make value date field as eidtable (BSEG-VALUT).
    In OB32 transaction enter all the required fields like Account type, transaction type, company code and finally activate the Field can be changed check box.
    But not sure, whether we can change the value date to previous date or not?
    This would help you..
    Regards,
    Praisty
    Edited by: Praisty on Jul 28, 2009 9:56 AM

Maybe you are looking for

  • Encoded video doesn't work on Toshiba Blu-ray disc player

    I have a problem that I am trying to encode a sequence of frames in a video container , but the encoded video doesn't work on toshiba blu ray disc player .. I am using the following ffmpeg command to encode frames and convert them to a video: ffmpeg

  • How to connect to a yamaha PSR-E423 music keyboard

    How do I download songs from my mac to a Yamaha PSR-E423 music keyboard. I have in stalled the drivers but now what?

  • Need to Reinstall?

    Over the past several months, my system seems to have developed an increasing number of issues. • My applications get hung up or crash altogether • The speed of the whole computer slows down dramatically (despite having only one or two applications o

  • Image Downsampling Settings for PDFs

    Hello.  I am experimenting with the PDF settings in Acrobat to try to find a good compromise between image quality and file size.  I am trying to learn about bicubic downsampling for images and what would be good settings to use.  One thing that I've

  • Why does my secondary id logon fail?

    My wife and I share our primary Comcast account but I have a secondary id for email and account access. I log onto (or try to log onto) www.comcast.com with my secondary id about once a month. It inevitably fails - invalid id or password. I log onto