How to change the Destination URI value of a item table at run time

I'd like to change the Destination URI of item of a table region when a column X of my view is not NULL. Where should I set the new Destination URI value for the item table region for specific row? Is in the RowImpl for the view object or in the Controler of the page?
I'd really appreciate any suggestion.
Thanks in advance.

Hi,
Thanks for the help, but I still dont know where I should to use setAttributeValue(DESTINATION_ATTR,OADataBoundValueViewObject());
All examples that I saw till now here, suggestes to change something in the page in Controller but based on something entered in the page. In my case is IN to OUT, I will render some item table with a specific value parameter based what is in the database. Being more specific, I have a html table and one column Col1 has a value and it will have a DESTINATION URL if another column Col2 is Null. I believe I would have to check somewhere if the Col2 is null or not and change the DESTINATION URL property.
Thanks again..

Similar Messages

  • How to change the data type property of a feild property at run time.

    i have feild varchar2(15) in database, but if want to insert alphanumric, char, number it at runtime by changing its parameters dynamically (parameter is a).
    i have write this code
    if a= 'C' then
         set_item_property('CAPTION1',DATATYPE,'Char');
    elsif a='N' then
    set_item_property('CAPTION1',DATATYPE,'Number');
    else
    set_item_property('CAPTION1',DATATYPE,'alphanumeric');
    end if;
    no compile time error but its not working at runtime, any one can help me.

    Checking for number is easy:
      Declare
        c varchar2(100) := 'hello';
        n number ;
      Begin
        n := To_Number(c);
      Exception
       When Others Then
       -- cannot convert string to number --
      End;You can do the same to check dates also
    Francois

  • How to change the Credential domain Value in XML gateway?

    How to change the Credential domain Value in XML gateway?
    configured the XML Gateway trading partner . It is generating the header as given below. but need to change the Credential domain to DUNS.
    <Header>
    <From>
    <Credential domain="olgridap1.lan">
      <Identity>53369415-cxml</Identity>
    </Credential>
    </From>
    Desired XML header
    <Header>
    <From>
    <Credential domain="DUNS">
      <Identity>53369415-cxml</Identity>
    </Credential>
    </From>

    You might want to check WLP 10.3 & deployment plan & log4j.xml for a similar topic.

  • How to Change the Document Condition Values in PO print

    HI,
    I have a requirement to change the document condition values in PO printout. We are using the copied form of MEDRUCK.
    Please tell me how can i change the Document Condition Values at run time.
    Thanks....

    hi
    hence you have copied standard script you cant able to change the driver program for this you have to use itcsy structure.
    go to the page window and select the window which you have the amount field. open the text editor of the windoiw here write
    /:           PERFORM CONTACT IN PROGRAM ZAMOUNT_ZF110_IN_AVIS1_C
    /:           USING &REGUH-ZALDT&
    /:           CHANGING &DT&
    /:           ENDPERFORM
    now create a report program with name  ZAMOUNT_ZF110_IN_AVIS1_C.
    and follow as the example program is .
    *&      Form  CONTACT
          text
         -->IN_TAB     text
         -->OUT_TAB    text
    FORM contact TABLES in_tab STRUCTURE itcsy
                       out_tab STRUCTURE itcsy.
      DATA : v_telf1 TYPE telf1.
      DATA : v_telfx TYPE telfx.
      DATA : v_adrnr TYPE ad_addrnum.
      DATA : v_flagcomm6 TYPE ad_flgcm06.
      DATA : v_datum(10) TYPE c.
      DATA : v_sydatum TYPE sy-datum.
      DATA : v_lifnr TYPE lifnr .         " Santosh Rawat , 19th Feb
      DATA : v_email TYPE ad_smtpadr .   " Santosh Rawat , 19th Feb
      LOOP AT in_tab.
        IF in_tab-name = 'REGUH-LIFNR'.
      CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT' " Santosh Rawat , 19th Feb
            EXPORTING
              input  = in_tab-value
            IMPORTING
              output = v_lifnr.
          SELECT SINGLE telf1 telfx adrnr FROM lfa1
            INTO (v_telf1, v_telfx, v_adrnr)
            WHERE lifnr = v_lifnr.
          SELECT SINGLE smtp_addr FROM adr6    " Santosh Rawat ,19th Feb
         INTO v_email WHERE ADDRNUMBER = v_adrnr. " Santosh Rawat ,19th Feb
         SELECT SINGLE flagcomm6 FROM adrc INTO v_flagcomm6
           WHERE addrnumber = v_adrnr.
        ELSEIF
          in_tab-name = 'REGUH-ZALDT' OR in_tab-name = 'REGUP-BLDAT'   .
          MOVE in_tab-value TO v_datum.
          REPLACE ALL OCCURRENCES OF '.' IN v_datum WITH ' '.
          CONDENSE v_datum.
          MOVE v_datum TO v_sydatum.
    *CALL FUNCTION 'CONVERSION_EXIT_INVDT_INPUT'
    EXPORTING
       input         = V_DATUM
    IMPORTING
      OUTPUT        = V_DATUM
          CALL FUNCTION 'CONVERT_DATE_TO_EXTERNAL'
            EXPORTING
              date_internal            = v_sydatum
            IMPORTING
              date_external            = v_datum
            EXCEPTIONS
              date_internal_is_invalid = 1
              OTHERS                   = 2.
          IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
          ENDIF.
        ENDIF.
      ENDLOOP.
      LOOP AT out_tab.
        IF out_tab-name = 'TEL'.
          MOVE v_telf1 TO out_tab-value.
        ELSEIF out_tab-name = 'FAX'.
          MOVE v_telfx TO out_tab-value.
        ELSEIF out_tab-name = 'EMAIL'.
          MOVE v_email TO out_tab-value.        " Santosh Rawat , 19th Feb
        ELSEIF out_tab-name = 'DT'.
          MOVE v_datum TO out_tab-value.
        ENDIF.
        MODIFY out_tab FROM out_tab.
    *MODIFY TABLE OUT_TAB .
      ENDLOOP.
    ENDFORM.             }
    reply for any query.
    regards,
    venkat.

  • How to change the flashvars's value automaticly

    <object width="600" height="409">
    <param name="movie" value="http://fpdownload.adobe.com/strobe/FlashMediaPlayback.swf"></param>
    <param name="flashvars" value="src=http%3A%2F%2Fosmf.org%2Fvideos%2Fcathy2.flv"></param>
    <param name="allowFullScreen" value="true"></param>
    <param name="allowscriptaccess" value="always"></param>
    <embed src="http://fpdownload.adobe.com/strobe/FlashMediaPlayback.swf" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="600" height="409" flashvars="src=http%3A%2F%2Fosmf.org%2Fvideos%2Fcathy2.flv"></embed></object>
    Now the label  flashvars's value is fixed,I want to change the flashvars's value automaticly,Such as with javascript or jquery.
    Who can help me?Thanks so much!

    You can try passing the parameter in the HTML template file ... for example in the $ORACLE_HOME/forms/server/basejpi.htm
    i.e.
    <PARAM NAME="TYPE" VALUE="%jpi_mimetype%">
    <PARAM NAME="CODEBASE" VALUE="%codebase%">
    <PARAM NAME="CODE" VALUE="oracle.forms.engine.Main" >
    <PARAM NAME="ARCHIVE" VALUE="%archive%" >
    <PARAM name="codebase_lookup" value="false">
    I have never done it myself so I do not know if it would be recognized though.

  • How to change the font color of a disabled item

    Can I change the default color of a disabled item from gray to something else? I've tried to put style="color:darkblue" in the HTML form element attributes but it didn't worked.

    Hi,
    Code probably run, but IE do not just understand CSS what code set ?
    I did find something related
    http://www.askthecssguy.com/2007/05/shawn_asks_the_css_guy_about_s_1.html
    Regards,
    Jari
    Edited by: jarola on Oct 27, 2010 11:24 PM
    And this
    http://stackoverflow.com/questions/602070/changing-font-colour-in-textboxes-in-ie-which-are-disabled

  • How to Change the default Search value for Field Role?

    HI,
    I went through numerous threads on how to default the search value , but does not help for my issue. Hence im posting this new thread. Please provide your suggestions on how to achieve this.
    For the Ship-to party field (in item detail )  on webui when i do a F4 help i get the pop up with various search criteria and  for the field Role the default value is "Ship-to party".  which is visible. we need to change this default value to Prospect which is available in drop down.
    The attribute is STRUCT.ROLE  and view BP_HEAD_SEARCH/SearchHelp . The method GET_DQUERY_VALUEHELPS  from the context node class is called to fill the value help for this attribute, but i dont understand how the ship-to party is filled as default. There is no code in this method to default the value.
    The generic GET_V_S_STRUCT method also does not default the Ship-to party on this field.
    I want to understand how this Ship-to party is filled by default and how can i change this to prospect..
    Many Thanks,
    Shaik

    We had a same requirement of defaulting Sales org and division in search criteria for a specific value.
    this can be doen by redefining "DO_PREPARE_OUTPUT" method in IMPL class for the respective view.
    See the code:
    METHOD do_prepare_output.
    *CALL METHOD SUPER->DO_PREPARE_OUTPUT
    **  EXPORTING
    **    iv_first_time = ABAP_FALSE
      DATA:
        lr_qs TYPE REF TO cl_crm_bol_dquery_service.
    * Get current query object
      lr_qs ?= me->typed_context->search->collection_wrapper->get_current( ).
      IF iv_first_time = abap_true.
        lr_qs->clear_selection_param_values( ).
        lr_qs->delete_empty_selection_params( ).
    *   if l_sales_orgs is initial.
        CALL METHOD lr_qs->insert_selection_param
          EXPORTING
            iv_index     = '1'
            iv_attr_name = 'SALES_ORG'
            iv_sign      = ' '
            iv_option    = 'EQ'
            iv_low       = 'O 50000514'.
    *   endif.
    *   if l_dist_chan is initial.
        CALL METHOD lr_qs->insert_selection_param
          EXPORTING
            iv_index     = '2'
            iv_attr_name = 'DISTR_CHAN'
            iv_sign      = ' '
            iv_option    = 'EQ'
            iv_low       = '01'.
    * endif.
    Hope this will help..
    THanks & Regards,
    Amit

  • How to change the destination number of my online ...

    I want to change the number that my online number forwards to.  How do I do that?  I see instructions for those who are using Skype for Business, but I just have a single account with a single line.   How do I change the number that rings when someone dials my skype-to-go number?

    Hi,
    A user is not have the No. of processor but a work process can handle N No. of users. If a user hit any transaction v acn say from  a list of N worl proceesor which has been taken the work.
    Correct if I am wrong.
    Regards
    Syed.

  • How to change the default text "There are no items to show in this view" in the visual webpart

    Hi,
    I am using a visual webpart and in that if there are no items in the list it is showing the default text "There are no items to show in this view." I want to change this default text. 
    I checked the forums here there are multiple ways are shown but no one is working for me.
    Kindly help me to change this text.
    Thanks in advanced.

    It seems you're retrieving items inside a specific you.. why not having a <div> inside you're visual web part and check to see if the count of items retrieved is > 0 then insert that in the div, otherwise, insert your custom message and not rendering
    the web part itself. What you're describing is the default message from SharePoint which comes from default views, and this can be changed from xslt in SP 2010 or in JSLink in SP 2013, here's a link how to do so in JSLink :
    http://www.idubbs.com/blog/2015/jslink-csr-to-override-there-are-no-items-to-show-in-this-view/ .
    But as said, since you're doing a visual web part, keep your stuff in the visual web part and check for the count of items before adding the rendered data to your div.  
    Mohamed Derhalli
    SharePoint Consultant
    Blog: SharePoint Thoughts
       Twitter:
    LinkedIn:
      

  • How to update the Customer field value of PO Item under the Delivery Address Tab?

    Hi Friends,
         i tried to update the Customer field Using Bapi_PO_change.I passed the PO Order no,POADDRDELIVERY data with Item no,Adrees no,Customer no.But i am getting no data changed message from return table.I attached the screen shots.So please suggest me the helpful information for resoving this issue.
    Thanks,
    Dinesh

    Thank you friends,
                My Problem was resolved.In my case i have passed the customer value in BAPI_PO_CHANGE POITEM Table with updated customer value.
    Thanks,
    Dinesh

  • How to change the column name as bold in adf table

    Hi,
    How can I change the column name with bolder style and blue colour in adf Table?
    I changed the color and font weight in af:column properties, but its effecting the data in that column but not with the column Header Text property.(i have given column name in header text).
    can any one have any idea how to do this?
    and I have taken panel tabbed layout and in that i'm displaying this table.
    but this table has scroll beneath of it to show all columns.
    but i want to display all columns (for this, page should have scroll at the bottom side).
    how can I achieve this???

    Hi,
    Add the following CSS Code to the custom skin css file that is to be created as per the suggestions above.
    *af|column::column-header-cell{*
    color:Blue;
    font-weight:bold;
    This would ensure that all the table column headers are blue in color and bolder font style through-out the application.
    By the way, what version of JDeveloper are you using?
    Thanks,
    Navaneeth

  • How to change the standard Fields short description in KNVV table

    Hi All,
    Our system is recently upgraded from 4.7 to ECC 6. When we compared both versions we found the KNVV table fields descriptions are changed in 4.7(customer modifications done in 4.7) and same these customer modifications are not copied to ECC 6 from 4.7 version.
    So I tried to change the short description at domain level with the help of access key. But the description is not changed. Can you please let me know is there any procedure that how can we change the fields description for standard tables.
    KNVV table in 4.7                                                        ECC 6
    Fields                       Short Description                     Short Description
    1. KVGR1               Gen.Bus.Terms print                Customer group 1
    2. KVGR2               VAT on FOC                            Customer group 2
    3. KVGR3               Confirmation status                 Customer group 3
    4. KVGR4               Collect Billing                           Customer group 4
    5. KVGR5               SC Surchge Excl                    Customer group 5
    Regards,
    Jyothi CH.

    You need not use access key to change field labels
    Transaction CMOD -> Go to -> Text Enhancements -> Keyword -> Change.
    Here you can change all data element KNVGR1 to KVGR5

  • How to change the position of label of an item to be in the rigth side?

    Hi ,
    I want to change the position of the label of an item (displayed as text field) to be in the rigth side of the text field of the item instead on the left side of the text field of the item?
    Thanks in advance
    Yoel

    Hello Yoel,
    >> I want to change the position of the label of an item (displayed as text field) to be in the rigth side of the text field of the item instead on the left
    Are you talking about a single item among others, which will be left at the left side, or are you talking about the entire page (Right-To-Left page orientation)?
    I’m afraid Leo suggestion will not help you either way. The “Horizontal / Vertical Alignment” field, in the label section of the item, pertains to the alignment within the ‘TD’ cell of the item’s label, which by default is located to the left of the item. Within this cell, you can choose several alignment options, including right and left.
    Regards,
    Arie.

  • How to set the XML tree to be collapsed by default at run time?

    I am developing a simple software in Java, to improve my programming skills, the output of this program is an XML file. I am very new to XML. My question is that, every time the XML file is opened the tree is in expanded form, which appears to be the default setting at run time. I want it to be fully collapsed when the XML file is opened. I have read about certain solutions to this problem by using XSL or CSS. I am not familiar with XSL at the moment so I have not explored it yet. Is there any other way around this problem.
    I would like someone to just point me in the right direction so that I can eventually get to the answer.
    Any help will be highly appreciated.
    Thankyou

    Bscript wrote:
    My question is that, every time the XML file is opened the tree is in expanded form, which appears to be the default setting at run time. I want it to be fully collapsed when the XML file is opened. If you are asking to control the XML display in text editor when the XML is opened, I think you can't control it through the java. How the individual editor shows the XML is their property. For example, if you open the file in notepad, you may not get the pretty XML however if you open if the file in XML editor like XMLSpy, you may get its hierarchical representation.

  • How to change the parameter's value of Oracle Forms Applet?

    Hello,
    I'm working with Oracle Forms 10.1.2.3.0 and JRE 1.6.0_14, we got some performance issues and we think are related with Java, so we enabled Java trace and we realized that every time user moves the cursor from one item to another, the applet sends a request to the server. This is the request.
    network: Connecting http://server/forms/lservlet;jsessionid=e53bb50b2f95ecb357451bf21a291367cc1747d2d9956b3ba1c4a05916d87d34.e34LaheTahaLai0LaxyLbN4ObxqTe6fznA5Pp7ftolbGmkTy with proxy=DIRECT
    I want to disable these connections as Sun states that sometimes they are not needed (not sure if this is the case but we want to test it).
    I got a possible answer from a Sun forum, the possible fix is to set the following property to false:
    <APPLET ...>
    <PARAM name="codebase_lookup" value="false">
    </APPLET>
    But I don't know how to pass that parameter to Oracle Forms applet.
    Does anybody know?
    Thanks.

    You can try passing the parameter in the HTML template file ... for example in the $ORACLE_HOME/forms/server/basejpi.htm
    i.e.
    <PARAM NAME="TYPE" VALUE="%jpi_mimetype%">
    <PARAM NAME="CODEBASE" VALUE="%codebase%">
    <PARAM NAME="CODE" VALUE="oracle.forms.engine.Main" >
    <PARAM NAME="ARCHIVE" VALUE="%archive%" >
    <PARAM name="codebase_lookup" value="false">
    I have never done it myself so I do not know if it would be recognized though.

Maybe you are looking for

  • Exchange 2010 GAL Export script working from EMS but not as a scheduled task

    I have been asked to get a script together to export the GAL on an Exchange 2010 server and then email it to a manager. I have been playing it with days, and have pruned it to the very minimum to at least try and get it working before improving it. A

  • Import Process in CIN

    Dear Gurus, We are following the below procedure for Import Procurement :- 1. Prepare PO for Import Vendor.  Assign Comissional customs code to customs clearing conditions type 2. Make First MIRO for Customs clearing      Entries in FI are :         

  • Dynamic creation of the select-options

    Hi alll, I have a requirement in which the user has to check the checkbox fields that he wants to have in the select option. Accordingly the select-option fields will be created. For eg. if the user checks three fields out of ten & executes the progr

  • Order related or delivery related billing

    Arnab Sarkar In Sales doc header control, if the field of Del. related billing and order related billing is filled up, then what kind of billing takes place during the invoice creation? del. related billing or order related billing?

  • Sumifs function question

    Hi, Everyone, I have a function question of Sumifs, here a sample as follows, =SUMIFS(Budget :: E4:E14,Budget :: C4:C14,"=5003677000",Budget :: B4:B14,OR("=Transit","=Drawing cash")), according to the logic, I think like this, but it's wrong. So how