How to set size of rectangle dynamically depending on form size ?

Hi,
why does the size of a rectangle is not depend on the fom size? Can i set the size of my rectangle dynamically, depending on the user form size?
best regards
Markus

Markus,
I use the following in the FormResize event:
    Private Function ItemHandler_FormResize(ByRef oCompany As SAPbobsCOM.Company, _
            ByRef oApplication As SAPbouiCOM.Application, ByRef pVal As SAPbouiCOM.ItemEvent) As Boolean
        ItemHandler_FormResize = False
        oForm = oApplication.Forms.GetForm(pVal.FormTypeEx, pVal.FormTypeCount)
        Try
            oForm.Freeze(True)
            If pVal.BeforeAction = False Then
                oForm.Items.Item("FldRtg").Width = oForm.Width - 20
            End If
            ItemHandler_FormResize = True
        Catch ex As Exception
            oApplication.MessageBox("ItemHandler_FormResize(): " & ex.Message.ToString)
        Finally
            oForm.Freeze(False)
        End Try
    End Function
Regards,
Vítor Vieira

Similar Messages

  • How to set the charset encoding dynamically in JSP

    Is there any way to set the charset encoding dynamically in a JSP
    page?
    we are using weblogic 6.1 on HP unix.
    is there some way we can set the charset dynamically in the page directive
    <%@ page contentType="text/html;charset=Shift_JIS" %>
    and in MAET tag
    <meta http-equiv="Content-Type" content="text/html" charset="Shift_JIS">
    Saurabh Agarwal

    Dear Saurabh,
    I guess it is possible. Here is an example I have made some time ago :
    In my html page :
    <form name="form1" METHOD=POST Action=Lang ENCTYPE="application/x-www-form-urlencoded" >
    <p>
    <select name="code" size="1">
    <option value="big5">Chinese</option>
    <option value="ISO-2022-KR">Korean</option>
    <option value="x-euc-jp">Japanese</option>
    <option value="ISO-8859-1">Spanish</option>
    <option value="ISO-8859-5">Russian</option>
    <option value="ISO-8859-7">Greek</option>
    <option value="ISO-8859-6">Arabic</option>
    <option value="ISO-8859-9">French</option>
    <option value="ISO-8559-1">German</option>
    <option value="ISO-8859-4">Swedish</option>
    <option value="ISO-8859-8">Hebrew</option>
    <option value="ISO-8859-9">Turkish</option>
    </select>
    </p>
    <p>
    <textarea name="entree_text"></textarea>
    <input type="submit" name="Submit" value="Submit" >
    </p></form>
    and in my jsp :
    // Must set the content type first
    res.setContentType("text/html");
    code = req.getParameter("code");
    example = req.getParameter("entree_text");
    PrintWriter out = res.getWriter();
    // The Servlet send to the Browser the informations to format the language type
    out.println("<html><head><title>Hello World!</title><meta http-equiv=\"Content-Type\" content=\"text/html; charset="+code+"\"></head>");
    // System recover the general Character encoding
    String reqchar = req.getCharacterEncoding();
    out.println("<body><h1>Hello MultiLingual World!</h1>");
    out.println("You have defined an ISO of : "+code);
    out.println("<BR>This is the code of the page that is displayed in this page<BR>");
    out.println("<BR>");
    out.println("<BR>");
    out.println("Character encoding of the page is : "+reqchar);
    out.println("<BR>This is the character code in the Servlet");
    out.println("<BR>");
    out.println("<BR>");
    out.println("<BR>");
    out.println("You have typed : "+example);
    out.println("<BR>");
    out.println("");
    out.println("</body></html>");
    I think starting from this example it is surely easy to modify dynamically the jsp.
    The other possibility would be to use the Weblogic Commerce and the LOCALIZE function, so that you'll have an automatic redirection to the right jsp-encoding depending on the customer's language.
    Feel free to reply on the forum for any related issue.
    Best regards
    Nohmenn BABAI
    BEA EMEA Technical Support Engineer
    "Saurabh" <[email protected]> a écrit dans le message de news: [email protected]...
    Is there any way to set the charset encoding dynamically in a JSP
    page?
    we are using weblogic 6.1 on HP unix.
    is there some way we can set the charset dynamically in the page directive
    <%@ page contentType="text/html;charset=Shift_JIS" %>
    and in MAET tag
    <meta http-equiv="Content-Type" content="text/html" charset="Shift_JIS">
    Saurabh Agarwal[att1.html]

  • How to set background image in Dynamic Shell Layout

    Experts,
    Using dynamic shell layout, how can we create a skin like this http://www.2shared.com/photo/OqXfb5jq/layoutissue.html
    Issues :
    1)Need to set the background to the page - How to set it in dynamic shell layout.
    2)Panel box color to be changed
    please advice
    thnks
    jdev 11.1.2.1

    Color goes UNDER the background image. Just set it.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "StarPilot06" <[email protected]> wrote in
    message
    news:eqqve6$341$[email protected]..
    >I am trying somethign that seems tricky to me...
    >
    > The image I am using I faded to a solid color on the
    bottom half. I set
    > the
    > background image to to left and NO REPEAT but when the
    cell grows with
    > content
    > and it stretched beyond the image it goes blank
    underneath. How do I set
    > a
    > background color without going over the background
    image?
    >
    > I need them both to be background because I want to use
    text over both.
    >
    > Any ideaS?
    >

  • How to set my windows to open at their default size every time.

    Ok, when I connect to my computer with splash top from my ipad my windows resize.  Is there a way to set my windows to just open at default size no matter what.  So every time I open a program the window is at default factory settings size.
    Thank you,
    Byggy687

    > How can I create a username and password pop up window?
    Use DW's OpenBrowser Window behavior.
    > Is that database related?
    The pop up window is not, but the processing of the login is
    likely to be.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "Inokat" <[email protected]> wrote in
    message
    news:efd2l7$nns$[email protected]..
    > :), Man there are some excited people out there.
    > I got the picture after the first answer. Thanks David.
    >
    > I have another Q.
    > How can I create a username and password pop up window?
    Is that database
    > related?
    >
    > By the way, for those excited people out there, ?CHILL?
    >
    >
    >

  • Can anyone please tell me how to set a long tip dynamically?

    Hi Team,
    Could you please tell me how to set a longtip dynamically??
    Thanks,
    Swetha S

    Hi Shweta,
    As mentioned, the parameters for the setLongTip(OAPageContext pageContext, String tipMessageApplShortName, String tipMessageName)
    Instead, you are passing setLongTip(pageContext,String string). Put in the Message Application Short Name and respective Message name in above method parameters.
    Regards,
    Zahid

  • How to set the file path dynamically based on sytem, username, and date

    Hi All,
    My requirement is upload the data into one  structure like xyz that is related to t.code MCSZ.
    file will be in  UNIx SERVER .
    PATH IS: /sapif
    file name is xy789 load .txt
    I have  to write code in one user-exit
    how can i set the file path for this.
    shall i put hard code file path?
    because i have to writecode in user-exit.
    plz tell me how to set the file path based ons syetem, username, date
    Thanks in advance
    Ram.A

    Concatenate the field SY-SYSID, SY-UNAME and SY-DATUM for the file path

  • Urgent: How to set content type on upload depending on target folder?

    Hi,
    i have to set the content type of a file uploaded via SMB depending on the folder the file is placed in. All files placed below a certain root directory have to be of my custom content type. All others should be stored as documents of type "Document". Is there an easy way to accomplish this task? I can't assume any specific file extensions and can therefore not register my custom content type to that extension.
    Any hints are welcome.
    Thanks.

    Hi,
    i have to set the content type of a file uploaded via SMB depending on the folder the file is placed in.All files placed below a certain root directory have to be of my custom content type.
    +++ Use an agent to verify the name and extension using the IfsEvent class and EVENTTYPE_CREATEINSTANCE
    All others should be stored as documents of type "Document". Is there an easy way to accomplish this task?
    +++ Those that aren't your custom content type move to a different folder using the agent.
    I can't assume any specific file extensions and can therefore not register my custom content type to that extension.
    +++I've found that registering content type only really affects things like how a browser knows what kind of file it's downloading/looking at (mime type) or how a renderer knows how to render it.
    Any hints are welcome.
    Thanks.

  • How to set "Cc" field in Dynamic Email address in Receiver Mail adapter

    I have done the configuration for setting up the dynamic email address using the XSD provided by SAP in note no 748024. It is working fine.
    Michal's blog “Mail Adapter (XI) - how to implement dynamic mail address.” was a gr8 help in doing this.
    But there is no clue of setting up of "CC" in email.
    There should be "CC" in email is our bussiness requirement.
    Would appreciate your helps.
    with regards,
    Ravi Siddam

    Hi,
    If you do not need mail package for other reasons, I suppose it is enough to provide a value in Dynamic Configuration for fields "THeaderTO" and "THeaderCC" and the select "Use Adapter-Specific Message Attributes" and "Variable Transport Binding" in receiver Mail Adapter.
    see <a href="http://help.sap.com/saphelp_nw04/helpdata/en/6b/4493404f673028e10000000a1550b0/frameset.htm">SAP help</a> for more details.
    Regards,
    Daniele

  • How to set "Cc" field in Dynamic Email address in Receiver JDBC adapter

    I have done the configuration for setting up the dynamic email address using the XSD provided by SAP in note no 748024. It is working fine.
    Michal's  blog “Mail Adapter (XI) - how to implement dynamic mail address.” was a gr8 help in doing this.
    But there is no clue of setting up of "CC" in email.
    There should be "CC" in email is our bussiness requirement.
    Would appreciate your helps.
    with regards
    Ravi Siddam

    HI,
    See fragment from help,
    Specifications for mail attributes:
    &#9675;       Under From, specify the e-mail address from which the message is sent.
    &#9675;       Under To, specify the e-mail address that will receive the message. If you enter more than one address, you must separate them with a semicolon.
    If you have specified an IMAP server under URL, the message is saved in the specified folder but is not sent to the receiver specified under To.
    &#9675;       Under Cc, specify the other e-mail addresses to which the e-mail is to be sent.
    These addresses are visible to the receiver.
    &#9675;       Under Bcc, specify the other e-mail addresses to which the e-mail is to be sent.
    These addresses are not visible to the receiver.
    &#9675;       Enter the Subject of the e-mail message.
    &#9675;       Specify whether you want to encode the content of the e-mail message. You have the following options:
    &#9632;       None
    &#9632;       Base64 (default value)
    &#9632;       quoted-printable
    Hope this helps.
    Regards,
    Akshay.
    reward points if find useful.

  • How to set content of a dynamically created tab in a dynamically created tabstrip

    Hi All,
    I have a requirement where the whole layout is determined in run time according to a ztable values. I have created a tabstrip, inserted tabs to it, created elements (link to action) that has to be inserted into the different tabs created dynamically. BUt I am getting a dump when i try to do so.. the problem is with inserting the container to the tab. I get Null object reference. PFB the code. This has to be done urgently. Help is highly appreciated. TIA.
    method wddomodifyview .
      data lr_uielement_container       type ref to cl_wd_uielement_container.
      data lr_tabstrip          type ref to  cl_wd_tabstrip.
      data lrs_tabstrip  type ref to  cl_wd_tabstrip.
      data lr_matrix_head_data          type ref to cl_wd_matrix_head_data.
      data lr_tab type ref to cl_wd_tab.
      data lv_caption type ref to cl_wd_caption.
      data it_zps_reports_port type standard table of zps_reports_port.
      data wa_zps_reports_port like line of it_zps_reports_port.
      data lv_flag type c.
      data lv_text type string.
      data lv_link_text type string.
      data lr_linktoaction              type ref to cl_wd_link_to_action.
      data lr_lta_element type ref to cl_wd_uielement.
      data lr_scroll_container type ref to cl_wd_scroll_container.
      data lr_trans_cont type ref to cl_wd_transparent_container.
      data lr_id type string value 'LNK'.
      data lr_count type num value 0.
      data lr_id_d type string.
      data lo_nd_link_to_action type ref to if_wd_context_node.
      data lo_el_link_to_action type ref to if_wd_context_element.
      data ls_link_to_action type wd_this->element_link_to_action.
      data lv_textt type string.
      data lo_node type ref to if_wd_context_node.
      data lo_nd_info type ref to if_wd_context_node_info.
      data:lt_valueset type wdr_context_attr_value_list  ,
            l_value type wdr_context_attr_value.
      data ld_tabstrip            type ref to cl_wd_tabstrip.
      data: ld_container         type ref to cl_wd_uielement_container,
                ld_vc                type ref to cl_wd_view_container_uielement.
      if first_time eq abap_true.
        select * from zps_reports_port into corresponding fields of table it_zps_reports_port order by tabx.
        sort it_zps_reports_port.
    ************creation of tabstrip dynamically
        lr_uielement_container ?= view->get_element( id = 'ROOTUIELEMENTCONTAINER'   ).
        call method cl_wd_tabstrip=>new_tabstrip
          exporting
            id                         = 'TBS'
          receiving
            control                    = lr_tabstrip.
        lr_matrix_head_data = cl_wd_matrix_head_data=>new_matrix_head_data(
                  element                = lr_tabstrip
        lr_tabstrip->set_layout_data( the_layout_data = lr_matrix_head_data   ).
        lr_uielement_container->add_child(*       index     = index
            the_child = lr_tabstrip
        lo_node = wd_context->get_child_node( 'LINK_TO_ACTION' ).
        lo_nd_info = lo_node->get_node_info( ).
        lo_nd_link_to_action = wd_context->get_child_node( name = wd_this->wdctx_link_to_action ).
        lo_el_link_to_action = lo_nd_link_to_action->get_element( ).
        loop at it_zps_reports_port into wa_zps_reports_port.
    *****addition of tab for every new tab.
          at new tabx.
            lv_flag = abap_true.
          endat.
          if lv_flag = abap_true.
    if wa_zps_reports_port-tabx = 1.
            lv_text = 'Billing reports'.
          else.
            lv_text = 'Monthly closing reports'.
          endif.******Addition of new tab
            call method cl_wd_caption=>new_caption
              exporting
                text                   = lv_text
              receiving
                control                = lv_caption.
            call method cl_wd_tab=>new_tab
          exporting
             enabled                  = 'X'
         has_content_padding      = 'X'
              receiving
                control                  = lr_tab.
            lr_tab->set_header( lv_caption ).
            lr_tabstrip->add_tab( the_tab = lr_tab ).
            clear lv_flag.
          endif.
          lr_count = lr_count + 1.
          concatenate lr_id lr_count into lr_id_d.
          lv_textt = wa_zps_reports_port-trans_code.
          call method cl_wd_link_to_action=>new_link_to_action
            exporting
              id                          = lr_id_d
              on_action                   = 'ON_ACTION'
              text                        = lv_textt
            receiving
              control                     = lr_linktoaction.
          lr_matrix_head_data = cl_wd_matrix_head_data=>new_matrix_head_data(
    element                = lr_linktoaction
          lr_linktoaction->set_layout_data( the_layout_data = lr_matrix_head_data   ).
       lr_linktoaction->set_layout_data( the_layout_data = lr_matrix_head_data   ).**      lr_uielement_container->add_child(**    index     = lr_ind*          the_child = lr_linktoaction*             ).
             call method cl_wd_scroll_container=>new_scroll_container
            receiving
              control                  = lr_scroll_container
      lr_scroll_container->add_child( lr_linktoaction ).
    lr_tab->set_content( lr_trans_cont ).                 "im getting dump after the looping is done and the end method is executed
        endloop.
      endif.endmethod.

    HI SAYAN,
    this is the dump i am getting.
    Category               ABAP Programming Error
    Runtime Errors         OBJECTS_OBJREF_NOT_ASSIGNED
    ABAP Program           CL_NW7_VIEW_ELEMENT_ADAPTER===CP
    Application Component  BC-WD-ABA-REN
    Date and Time          18.05.2012 15:44:42
    |Short text                                                                                        |
    |    Access via 'NULL' object reference not possible.                                              |
    |What happened?                                                                                    |
    |    Error in the ABAP Application Program                                                         |
    |                                                                                                  |
    |    The current ABAP program "CL_NW7_VIEW_ELEMENT_ADAPTER===CP" had to be                         |
    |     terminated because it has                                                                    |
    |    come across a statement that unfortunately cannot be executed.                                |
    |What can you do?                                                                                  |
    |    Note down which actions and inputs caused the error.                                          |
    |                                                                                                  |
    |                                                                                                  |
    |    To process the problem further, contact you SAP system                                        |
    |    administrator.                                                                                |
    |                                                                                                  |
    |    Using Transaction ST22 for ABAP Dump Analysis, you can look                                   |
    |    at and manage termination messages, and you can also                                          |
    |    keep them for a long time.                                                                    |
    |Error analysis                                                                                    |
    |    You attempted to use a 'NULL' object reference (points to 'nothing')                          |
    |    access a component (variable: " ").                                                           |
    |    An object reference must point to an object (an instance of a class)                          |
    |    before it can be used to access components.                                                   |
    |    Either the reference was never set or it was set to 'NULL' using the                          |
    |    CLEAR statement.                                                                              |
    |How to correct the error                                                                          |
    |                                                                                                  |
    |                                                                                                  |
    |    If the error occures in a non-modified SAP program, you may be able to                        |
    |    find an interim solution in an SAP Note.                                                      |
    |    If you have access to SAP Notes, carry out a search with the following                        |
    |    keywords:                                                                                     |
    |                                                                                                  |
    |    "OBJECTS_OBJREF_NOT_ASSIGNED" " "                                                             |
    |    "CL_NW7_VIEW_ELEMENT_ADAPTER===CP" or "CL_NW7_VIEW_ELEMENT_ADAPTER===CM008"                   |
    |    "CREATE_NW7_BY_VIEW_ELEMENT"                                                                  |
    |                                                                                                  |
    |    If you cannot solve the problem yourself and want to send an error                            |
    |    notification to SAP, include the following information:                                       |
    |                                                                                                  |
    |    1. The description of the current problem (short dump)                                        |
    |                                                                                                  |
    |       To save the description, choose "System->List->Save->Local File                            |
    |    (Unconverted)".                                                                               |
    |                                                                                                  |
    |    2. Corresponding system log                                                                   |
    |                                                                                                  |
    |       Display the system log by calling transaction SM21.                                        |
    |       Restrict the time interval to 10 minutes before and five minutes                           |
    |    after the short dump. Then choose "System->List->Save->Local File                             |
    |    (Unconverted)".                                                                               |
    |                                                                                                  |
    |    3. If the problem occurs in a problem of your own or a modified SAP                           |
    |    program: The source code of the program                                                       |
    |       In the editor, choose "Utilities->More                                                     |
    |    Utilities->Upload/Download->Download".                                                        |
    |                                                                                                  |
    |    4. Details about the conditions under which the error occurred or which                       |
    |    actions and input led to the error.                                                           |
    |                                                                                                  |
    |System environment                                                                                |
    |    SAP Release..... 702                                                                          |
    |    SAP Basis Level. 0008                                                                         |
    |                                                                                                  |
    |    Application server... "ISVSAPECCDEV"                                                          |
    |    Network address...... "172.25.105.183"                                                        |
    |    Operating system..... "Windows NT"                                                            |
    |    Release.............. "6.1"                                                                   |
    |    Hardware type........ "4x AMD64 Level"                                                        |
    |    Character length.... 16 Bits                                                                  |
    |    Pointer length....... 64 Bits                                                                 |
    |    Work process number.. 18                                                                      |
    |    Shortdump setting.... "full"                                                                  |
    |                                                                                                  |
    |    Database server... "ISVSAPECCDEV"                                                             |
    |    Database type..... "MSSQL"                                                                    |
    |    Database name..... "ECD"                                                                      |
    |    Database user ID.. "ecd"                                                                      |
    |                                                                                                  |
    |    Terminal.......... "10.66.113.155"                                                            |
    |                                                                                                  |
    |    Char.set.... "C"                                                                              |
    |                                                                                                  |
    |    SAP kernel....... 720                                                                         |
    |    created (date)... "Mar 4 2012 23:19:29"                                                       |
    |    create on........ "NT 5.2 3790 S x86 MS VC++ 14.00"                                           |
    |    Database version. "SQL_Server_9.00 "                                                          |
    |                                                                                                  |
    |    Patch level. 211                                                                              |
    |    Patch text.. " "                                                                              |
    |                                                                                                  |
    |    Database............. "MSSQL 9.00.2047 or higher"                                             |
    |    SAP database version. 720                                                                     |
    |    Operating system..... "Windows NT 5.0, Windows NT 5.1, Windows NT 5.2, Windows                |
    |     NT 6.0, Windows NT 6.1, Windows NT 6.2"                                                      |
    |                                                                                                  |
    |    Memory consumption                                                                            |
    |    Roll.... 0                                                                                    |
    |    EM...... 4189792                                                                              |
    |    Heap.... 0                                                                                    |
    |    Page.... 0                                                                                    |
    |    MM Used. 3566480                                                                              |
    |    MM Free. 620640                                                                               |
    |User and Transaction                                                                              |
    |    Client.............. 220                                                                      |
    |    User................ 160072                                                                   |
    |    Language key........ "E"                                                                      |
    |    Transaction......... " "                                                                      |
    |    Transaction ID...... "38D2A0E14277F14BAD090050569F0165"                                       |
    |                                                                                                  |
    |    EPP Whole Context ID.... "0050569F01651EE1A89A470EE848AD09"                                   |
    |    EPP Connection ID....... "0050569F01651EE1A89A47B05E162D09"                                   |
    |    EPP Caller Counter...... 1                                                                    |
    |                                                                                                  |
    |    Program............. "CL_NW7_VIEW_ELEMENT_ADAPTER===CP"                                       |
    |    Screen.............. "SAPMHTTP 0010"                                                          |
    |    Screen Line......... 2                                                                        |
    |    Debugger Active..... "(TPDA)"                                                                 |
    |Server-Side Connection Information                                                                |
    |    Information on Caller of "HTTP" Connection:                                                   |
    |    Plug-in Type.......... "HTTP"                                                                 |
    |    Caller IP............. "10.66.113.155"                                                        |
    |    Caller Port........... 8001                                                                   |
    |    Universal Resource ID. "/sap/bc/webdynpro/sap/z160072_dynamic_view_crea"                      |
    |                                                                                                  |
    |    Program............. "CL_NW7_VIEW_ELEMENT_ADAPTER===CP"                                       |
    |    Screen.............. "SAPMHTTP 0010"                                                          |
    |    Screen Line......... 2                                                                        |
    |                                                                                                  |
    |    Information on Caller ofr "HTTP" Connection:                                                  |
    |    Plug-in Type.......... "HTTP"                                                                 |
    |    Caller IP............. "10.66.113.155"                                                        |
    |    Caller Port........... 8001                                                                   |
    |    Universal Resource Id. "/sap/bc/webdynpro/sap/z160072_dynamic_view_crea"                      |
    |Information on where terminated                                                                   |
    |    Termination occurred in the ABAP program "CL_NW7_VIEW_ELEMENT_ADAPTER===CP" -                 |
    |     in "CREATE_NW7_BY_VIEW_ELEMENT".                                                             |
    |    The main program was "SAPMHTTP ".                                                             |
    |                                                                                                  |
    |    In the source code you have the termination point in line 23                                  |
    |    of the (Include) program "CL_NW7_VIEW_ELEMENT_ADAPTER===CM008".                               |
    |Source Code Extract (Source code has changed)                                                     |
    |Line |SourceCde                                                                                   |
    |    1|METHOD create_nw7_by_view_element.                                                          |
    |    2|                                                                                            |
    |    3|  TYPES c1 TYPE c LENGTH 1.                                                                 |
    |    4|                                                                                            |
    |    5|  DATA: mappings             TYPE STANDARD TABLE OF wdr_elem_apt_map,                       |
    |    6|        mapping              TYPE wdr_elem_apt_map,                                         |
    |    7|        elem_defs            TYPE SORTED TABLE OF wdy_ui_elem_def WITH UNIQUE KEY definition|
    |    8|        elem_def             TYPE wdy_ui_elem_def,                                          |
    |    9|        new_entries          TYPE STANDARD TABLE OF t_nw7_class_registry,                   |
    |   10|        adapters             TYPE SORTED TABLE OF wdr_uiel_adapter WITH UNIQUE KEY library_n|
    |   11|        adapter_def          LIKE LINE OF adapters,                                         |
    |   12|        id_gen_entity        TYPE string,                                                   |
    |   13|        l_adapter_lib_name   TYPE string,                                                   |
    |   14|        lr_adapter_lib       TYPE REF TO if_nw7_adapter_library,                            |
    |   15|        l_current_library    TYPE string,                                                   |
    |   16|        l_current_id_gen_entity TYPE c1,                                                    |
    |   17|        lt_mapping           TYPE if_nw7_adapter_library=>tt_index_map.                     |
    |   18|                                                                                            |
    |   19|                                                                                            |
    |   20|  FIELD-SYMBOLS: <class_registry_entry> TYPE t_nw7_class_registry,                          |
    |   21|  <l_mapping>            TYPE if_nw7_adapter_library=>t_index_map.                          |
    |   22|                                                                                            |
    |>>>>>|  READ TABLE m_nw7_class_registry ASSIGNING <class_registry_entry>                          |
    |   24|    WITH TABLE KEY view_element_cid = view_element->_cid.                                   |
    |   25|  IF sy-subrc <> 0.                                                                         |
    |   26|                                                                                            |
    |   27|*   If not found, maybe we need to load the library first?                                  |
    |   28|    READ TABLE m_nw7_class_registry TRANSPORTING NO FIELDS                                  |
    |   29|      WITH KEY mapping-library_name =  view_element->_library_name.                         |
    |   30|*   No ViewElementAdapter found for ViewElement                                             |
    |   31|    ASSERT FIELDS view_element->_library_name CONDITION sy-subrc <> 0.                      |
    |   32|                                                                                            |
    |   33|    SELECT * FROM wdy_ui_elem_def INTO TABLE elem_defs                                      |
    |   34|      WHERE library_name =  view_element->_library_name                                     |
    |   35|      AND cid          <> ''.                                                               |
    |   36|    SELECT * FROM wdr_elem_apt_map INTO TABLE mappings                                      |
    |   37|      WHERE library_name =  view_element->_library_name.                                    |
    |   38|    SELECT * FROM wdr_uiel_adapter INTO TABLE adapters                                      |
    |   39|      WHERE library_name =  view_element->_library_name.                                    |
    |   40|                                                                                            |
    |   41|    LOOP AT mappings INTO mapping.                                                          |
    |   42|      APPEND INITIAL LINE TO new_entries ASSIGNING <class_registry_entry>.                  |
    |Contents of system fields                                                                         |
    |Name    |Val.                                                                                     |
    |SY-SUBRC|0                                                                                        |
    |SY-INDEX|2                                                                                        |
    |SY-TABIX|0                                                                                        |
    |SY-DBCNT|220                                                                                      |
    |SY-FDPOS|0                                                                                        |
    |SY-LSIND|0                                                                                        |
    |SY-PAGNO|0                                                                                        |
    |SY-LINNO|1                                                                                        |
    |SY-COLNO|1                                                                                        |
    |SY-PFKEY|                                                                                         |
    |SY-UCOMM|                                                                                         |
    |SY-TITLE|HTTP Control                                                                             |
    |SY-MSGTY|                                                                                         |
    |SY-MSGID|                                                                                         |
    |SY-MSGNO|000                                                                                      |
    |SY-MSGV1|                                                                                         |
    |SY-MSGV2|                                                                                         |
    |SY-MSGV3|                                                                                         |
    |SY-MSGV4|                                                                                         |
    |SY-MODNO|0                                                                                        |
    |SY-DATUM|20120518                                                                                 |
    |SY-UZEIT|154425                                                                                   |
    |SY-XPROG|                                                                                         |
    |SY-XFORM|                                                                                         |
    |Active Calls/Events                                                                               |
    |No.   Ty.          Program                             Include                             Line   |
    |      Name                                                                                        |
    |   22 METHOD       CL_NW7_VIEW_ELEMENT_ADAPTER===CP    CL_NW7_VIEW_ELEMENT_ADAPTER===CM008    23  |
    |      CL_NW7_VIEW_ELEMENT_ADAPTER=>CREATE_NW7_BY_VIEW_ELEMENT                                     |
    |   21 METHOD       /1WDA/C7STANDARD==============CP    /1WDA/C7STANDARD==============CCIMP  1096  |
    |      CL_SCROLL_CONTAINER=>IF_NW7_VIEW_ELEMENT_ADAPTER~SET_CONTENT                                |
    |   20 METHOD       /1WDA/C9STANDARD==============CP    /1WDA/C9STANDARD==============CCIMP  4583  |
    |      CL_TABSTRIP_ITEM=>IF_NW7_VIEW_ELEMENT_ADAPTER~SET_CONTENT                                   |
    |   19 METHOD       /1WDA/C9STANDARD==============CP    /1WDA/C9STANDARD==============CCIMP  3973  |
    |      CL_TABSTRIP=>IF_NW7_VIEW_ELEMENT_ADAPTER~SET_CONTENT                                        |
    |   18 METHOD       /1WDA/C8STANDARD==============CP    /1WDA/C8STANDARD==============CCIMP  3165  |
    |      CL_MATRIX_LAYOUT_CELL=>IF_NW7_VIEW_ELEMENT_ADAPTER~SET_CONTENT                              |
    |   17 METHOD       /1WDA/C8STANDARD==============CP    /1WDA/C8STANDARD==============CCIMP  3357  |
    |      CL_MATRIX_LAYOUT_ROW=>IF_NW7_VIEW_ELEMENT_ADAPTER~SET_CONTENT                               |
    |   16 METHOD       /1WDA/C8STANDARD==============CP    /1WDA/C8STANDARD==============CCIMP  2846  |
    |      CL_MATRIX_LAYOUT=>IF_NW7_VIEW_ELEMENT_ADAPTER~SET_CONTENT                                   |
    |   15 METHOD       /1WDA/C7STANDARD==============CP    /1WDA/C7STANDARD==============CCIMP  1865  |
    |      CL_TRANSPARENT_CONTAINER=>IF_NW7_VIEW_ELEMENT_ADAPTER~SET_CONTENT                           |
    |   14 METHOD       CL_WDR_VIEW_ADAPTER===========CP    CL_WDR_VIEW_ADAPTER===========CM003    72  |
    |      CL_WDR_VIEW_ADAPTER=>IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT                                |
    |   13 METHOD       CL_WDR_VIEW_ADAPTER===========CP    CL_WDR_VIEW_ADAPTER===========CM007    28  |
    |      CL_WDR_VIEW_ADAPTER=>IF_WDR_NW7_DELTA_RENDERER~CALCULATE_DELTA_BLOCKS                       |
    |   12 METHOD       CL_WDR_WINDOW_CONTENT_ADAPTER2CP    CL_WDR_WINDOW_CONTENT_ADAPTER2CM004     5  |
    |      CL_WDR_WINDOW_CONTENT_ADAPTER2=>PROCESS_DELTA_BLOCKS                                        |
    |   11 METHOD       CL_WDR_WINDOW_CONTENT_ADAPTER2CP    CL_WDR_WINDOW_CONTENT_ADAPTER2CM001    27  |
    |      CL_WDR_WINDOW_CONTENT_ADAPTER2=>IF_WDR_NW7_DELTA_RENDERER~CALCULATE_DELTA_BLOCKS            |
    |   10 METHOD       CL_WDR_NW7_INT_WIN_ADAPTER====CP    CL_WDR_NW7_INT_WIN_ADAPTER====CM005    66  |
    |      CL_WDR_NW7_INT_WIN_ADAPTER=>SET_CONTENT                                                     |
    |    9 METHOD       CL_WDR_NW7_MAIN_WIN_ADAPTER===CP    CL_WDR_NW7_MAIN_WIN_ADAPTER===CM002     6  |
    |      CL_WDR_NW7_MAIN_WIN_ADAPTER=>SET_CONTENT                                                    |
    |    8 METHOD       CL_WDR_CLIENT_SSR_LS==========CP    CL_WDR_CLIENT_SSR_LS==========CM001    29  |
    |      CL_WDR_CLIENT_SSR_LS=>IF_WDR_CLIENT~SEND_RESPONSE                                           |
    |    7 METHOD       CL_WDR_MAIN_TASK==============CP    CL_WDR_MAIN_TASK==============CM00I   118  |
    |      CL_WDR_MAIN_TASK=>EXECUTE                                                                   |
    |    6 METHOD       CL_WDR_MAIN_TASK==============CP    CL_WDR_MAIN_TASK==============CM00U     6  |
    |      CL_WDR_MAIN_TASK=>IF_WDR_RUNTIME~EXECUTE                                                    |
    |    5 METHOD       CL_WDR_CLIENT_ABSTRACT_HTTP===CP    CL_WDR_CLIENT_ABSTRACT_HTTP===CM01A   100  |
    |      CL_WDR_CLIENT_ABSTRACT_HTTP=>HANDLE_REQUEST                                                 |
    |    4 METHOD       CL_WDR_MAIN_TASK==============CP    CL_WDR_MAIN_TASK==============CM00J    89  |
    |      CL_WDR_MAIN_TASK=>IF_HTTP_EXTENSION~HANDLE_REQUEST                                          |
    |    3 METHOD       CL_HTTP_SERVER================CP    CL_HTTP_SERVER================CM017   388  |
    |      CL_HTTP_SERVER=>EXECUTE_REQUEST_FROM_MEMORY                                                 |
    |    2 FUNCTION     SAPLHTTP_RUNTIME                    LHTTP_RUNTIMEU02                     1155  |
    |      HTTP_DISPATCH_REQUEST                                                                       |
    |    1 MODULE (PBO) SAPMHTTP                            SAPMHTTP                               13  |
    |      %_HTTP_START                                                                                |
    |Chosen variables                                                                                  |
    |Name                                                                                              |
    |    Val.                                                                                          |
    |No.      22 Ty.          METHOD                                                                   |
    |Name  CL_NW7_VIEW_ELEMENT_ADAPTER=>CREATE_NW7_BY_VIEW_ELEMENT                                     |
    |VIEW_ELEMENT                                                                                      |
    |    {O:initial}                                                                                   |
    |    F0000000                                                                                      |
    |    F0000000                                                                                      |
    |    FF00000000000000                                                                              |
    |PARENT                                                                                            |
    |    {O:281*\CLASS-POOL=/1WDA/C7STANDARD\CLASS=CL_SCROLL_CONTAINER}                                |
    |    E0001000                                                                                      |
    |    60009100                                                                                      |
    |    E600000019010000                                                                              |
    |IGNORE_LIFETIME_WRAPPER                                                                           |
    |                                                                                                  |
    |    2                                                                                             |
    |    0                                                                                             |
    |    0                                                                                             |
    |    0                                                                                             |
    |    2000                                                                                          |
    |ADAPTER                                                                                           |
    |    {O:initial}                                                                                   |
    |    F0000000                                                                                      |
    |    F0000000                                                                                      |
    |    FF00000000000000                                                                              |
    |%_SPACE                                                                                           |
    |                                                                                                  |
    |    2                                                                                             |
    |    0                                                                                             |
    |    0                                                                                             |
    |    0                                                                                             |
    |    2000                                                                                          |
    |SYST-REPID                                                                                        |
    |    CL_NW7_VIEW_ELEMENT_ADAPTER===CP                                                              |
    |    4454535544554444445544455453334522222222                                                      |
    |    3CFE77F6957F5C5D5E4F1410452DDD3000000000                                                      |
    |    0000000000000000000000000000000000000000                                                      |
    |    0000000000000000000000000000000000000000                                                      |
    |    43004C005F004E00570037005F0056004900450057005F0045004C0045004D0045004E0054005F0041004400410050|
    |CL_NW7_VIEW_ELEMENT_ADAPTER=>M_NW7_CLASS_REGISTRY                                                 |
    |    Table IT_627[112x256]                                                                         |
    |    \CLASS-POOL=CL_NW7_VIEW_ELEMENT_ADAPTER\DATA=CL_NW7_VIEW_ELEMENT_ADAPTER=>M_NW7_CLASS_REGISTRY|
    |    Table reference: 318                                                                          |
    |    TABH+  0(20) = 303E3A00DF070000F03E3A00DF07000000000000                                       |
    |    TABH+ 20(20) = 3E010000730200007000000000010000FFFFFFFF                                       |
    |    TABH+ 40(16) = 04E50000B0D6000010000000A425C000                                               |
    |    store        = 0x303E3A00DF070000                                                             |
    |    ext1         = 0xF03E3A00DF070000                                                             |
    |    shmId        = 0     (0x00000000)                                                             |
    |    id           = 318   (0x3E010000)                                                             |
    |    label        = 627   (0x73020000)                                                             |
    |    fill         = 112   (0x70000000)                                                             |
    |    leng         = 256   (0x00010000)                                                             |
    |    loop         = -1    (0xFFFFFFFF)                                                             |
    |    xtyp         = TYPE#000018                                                                    |
    |    occu         = 16    (0x10000000)                                                             |
    |    accKind      = 4     (ItAccessHashed)                                                         |
    |    idxKind      = 0     (ItIndexNone)                                                            |
    |    uniKind      = 1     (ItUniYes)                                                               |
    |    keyKind      = 3     (user defined)                                                           |
    |    cmpMode      = 2     (cmpSingleMcmpR)                                                         |
    |    occu0        = 1                                                                              |
    |    stMode       = 0                                                                              |
    |    groupCntl    = 0                                                                              |
    |    rfc          = 0                                                                              |
    |    unShareable  = 0                                                                              |
    |    mightBeShared = 0                                                                             |
    |    sharedWithShmTab = 0                                                                          |
    |    isShmLockId  = 0                                                                              |
    |    isUsed       = 1                                                                              |
    |    isCtfyAble   = 1                                                                              |
    |    hasScndKeys  = 0                                                                              |
    |    hasRowId     = 0                                                                              |
    |    scndKeysOutdated = 0                                                                          |
    |    scndUniKeysOutdated = 0                                                                       |
    |    ----- Shareable Table Header Data -----                                                       |
    |    tabi         = 0xA0B53A00DF070000                                                             |
    |    pgHook       = 0xC0343A00DF070000                                                             |
    |    idxPtr       = 0x90323A00DF070000                                                             |
    |    id           = 536   (0x18020000)                                                             |
    |    shmTabhSet   = 0x0000000000000000                                                             |
    |    refCount     = 0     (0x00000000)                                                             |
    |    tstRefCount  = 0     (0x00000000)                                                             |
    |    lineAdmin    = 112   (0x70000000)                                                             |
    |    lineAlloc    = 112   (0x70000000)                                                             |
    |    shmVersId    = 0     (0x00000000)                                                             |
    |    shmRefCount  = 1     (0x01000000)                                                             |
    |    rowId        = 18446744073709551615                                                           |
    |    scndKeyAdmin = 0x0000000000000000                                                             |
    |    ----- 1st level extension part --------                                                       |
    |    regHook      = 0xB0763A00DF070000                                                             |
    |    collHook     = 0x0000000000000000                                                             |
    |    ext2         = 0x0000000000000000                                                             |
    |                                                                                                  |
    |    STANDARD                      RADIOBUTTON_GROUP_BY_IDX                                    RADI|
    |    5544445422222222222222222222225444445554454545554554452222222222222222222222222222222222225444|
    |    341E412400000000000000000000002149F2544FEF72F50F29F9480000000000000000000000000000000000002149|
    |    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000|
    |    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000|
    |    5300540041004E00440041005200440020002000200020002000200020002000200020002000200020002000200020|
    |                                                                                                  |
    |    STANDARD                      RADIOBUTTON                                                 RADI|
    |    5544445422222222222222222222225444445554422222222222222222222222222222222222222222222222225444|
    |    341E412400000000000000000000002149F2544FE00000000000000000000000000000000000000000000000002149|
    |    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000|
    |    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000|
    |    5300540041004E00440041005200440020002000200020002000200020002000200020002000200020002000200020|
    |         

  • How to set the condition for dynamic Xquery in OSB11g

    Hi to all,
    I have a requirement like three different requests all are converted in to standard format.For this scenario I use dyamic X-query transformation.For Example RequestA,RequestB and RequesrC what ever request it should be converted into one standard format say Response.For this I create three X-Query transformations,and proxy service.If i get the request from RequestA related XQuery will execute (RequstA to Response transformation).
    RequestA------Response
    RequestB------Response
    RequestC------Response
    Actually my idea is based on requset schema name (like RequestA) it will convert,for this scenario how can I set condition in dynamicXquery.
    Thanks in advance.

    Hi,
    Can u plz tel how make the x-query for an XML file,basically i follow the below link
    http://beatechnologies.wordpress.com/2010/12/01/dynamic-xquery-in-oracle-service-bus/
    In this example I'm creating the routing rulesXML file in Eclipse,I'm unable to assigning this xml file to an variable.I create a Xquery for this XML with any type,And I create GetRouting.XQ.can u pls tel which is correct method to Xquery with any type for this XML or else i send my jar file,tell me any modifications are required.
    Thanks in advance

  • How to Set Report Region Title Dynamically

    I have code working to periodically refresh a Interactive Report on a page. I have the following code in the page header:
    <script type="text/javascript">
    //automatic reload IRR
    function fnc_reloadIRR () {
    gReport.search('SEARCH');
    window.setTimeout(fnc_reloadIRR, 10000);
    // this means the code execution starts after 10 seconds
    window.setTimeout(fnc_reloadIRR, 10000);
    </script>
    This is working great. The title of the report region is "Intraday Color Code Test - &P1_LAST_REFRESH_TIME."
    I have a hidden page item named P1_LAST_REFRESH_TIME on the page that contains the last time the report was refreshed. I am struggling with resetting this value when the report region is refreshed. ( May not even need this item!)
    To address this, I created an On Demand application process that gets the Last Refreshed string. I then altered the above code like this:
    <script type="text/javascript">
    //automatic reload IRR
    function fnc_reloadIRR () {
    var ajaxRequest = new htmldb_Get( null, &APP_ID., 'APPLICATION_PROCESS=SET_LAST_REFRESH_TIME',0);
    gReport.search('SEARCH');
    window.setTimeout(fnc_reloadIRR, 10000);
    ajaxResult = ajaxRequest.get();
    // this means the code execution starts after 10 seconds
    window.setTimeout(fnc_reloadIRR, 10000);
    </script>
    Note the addition of the ajaxRequest stuff. This, too, is working. That is, if I check the value in ajaxResult, it does contain the correct, current time. So far so good.
    What I can't figure out is how, now, to get a reference to the title attribute of the Interactive Report Region so that I can reset it.
    I AM SOOOOO CLOSE. Can anyone fill in this last part of the puzzle for me?

    To clarify, I really just need to know how to get a reference to the Report Region's title so that I can set it to the value currently stored in "ajaxResult"

  • How to set hyperlink on a text depending on a flag

    Hi All,
    Can any one help in setting a Hyperlink on a text depending on a flag which is being set in backing bean.
    Thanks in Advance.

    Not sure what you exactly mean, but you at least can use the rendered attribute of the component or conditional statements in EL.
    <h:outputLink value="http://google.com" rendered="#{myBean.booleanValue}" />
    <h:outputLink value="#{myBean.booleanValue ? 'http://google.com' : 'http://sun.com'}" />

  • How to set/get value in dynamically created components?

    I need to create dynamically form based on definition written in database.
    I created an empty panelGreed in my jsf page
    <h:panelGrid columns="2" id="parseg"
    binding="#{ParsegBean.uiKatparam}">
    </h:panelGrid>I can�t use dataTable, because my form contains various component types (SelectOneMenu, OutputText, and InputText).
    In my bean I create components dynamically:
    Private UIPanel uiKatparam = null;
    Iterator componentIt = myComponentList.iterator()
    while(componentIt.hasNext()){
         MyComponent myComponent = (MyComponent)  componentIt.next();
         HtmlOutputText prompt = new HtmlOutputText();
         prompt.setValue(myComponent.getPrompt());
         prompt.setId(myComponent.getPromptId());
         uiKatparam.getChildren().add(prompt);     
         switch (myComponent.type) {
         case 1: //InputText
              HtmlInputText iText = new HtmlInputText();
              iText.setId(myComponent.getId());
              iText.setValue(myComponent.getDefaultValue());
              uiKatparam.getChildren().add(iText);
              break;
         case 2: //SelectOneMenu
              HtmlSelectOneMenu selectOneMenu = new HtmlSelectOneMenu();
    // �
              uiKatparam.getChildren().add(select);
              break;
         default:
              break;
    }When I try to get values in my Action:
    Iterator it = myBean.getUiKatparam().getChildren().iterator();
    while (it.hasNext()) {
    Object ob = it.next();
    if (ob.getClass().getName().matches(".*HtlmInputText")) {
    HtmlInputText t = (HtmlIputText) ob;
         String id = t.getId();
         String value = (String) t.getValue();
    //�
    //�
    }and value is still equal initial value
    How can I get velue entered to my InputText created dynamically?
    Michal

    I solved my problem creating UIData with dynamically added and dynamically rendered components (in each row is rendered another component).

  • How to set FileAdapter Append property Dynamically - SOA 11.1.1.3

    Hi,
    At the manual (http://download.oracle.com/docs/cd/E12839_01/integration.1111/e10231/adptr_file.htm) I found that I can use:
    Append Mode
    The Oracle File and FTP Adapters enable you to configure outbound interactions that append to an existing file. The Append to Existing File option allows the outbound invoke to write to the same file. There are two ways in which you can append to a file name:
    * Statically - in the JCA file for the outbound Oracle File Adapter
    * Dynamically - using the header mechanism
    I need to set this dynamically, but I can't find the property that I must set, like jca.file.append....
    Thank You in advance.
    JP

    http://download.oracle.com/docs/cd/E12839_01/integration.1111/e10231/adptr_propertys.htm#CHDJDGFD
    Append
    If this property is set to true, it causes Oracle File and FTP Adapters to append to a file on outbound. If the file does not exist, then a new file is created.
    The file name can either be specified in the JCA file for the outbound operation or in the jca.file.FileName header.

Maybe you are looking for

  • Troca da função ENTER nos documentos de marketing

    Caros, boa noite. No pedido de compra ou venda, se apertamos o enter, o documento tentará fechar. Alguém sabe se podemos trocar a função do enter? Queria que ele pulasse de uma linha para outra. Obrigado.

  • Getting objects to move between PCs

    After CS 150, I find myself back in the world of Java. I recently learned a neat language called Processing (a.k.a. Proce55ing), and I am one of the coders (and am way rusty to be of much use at this point) for a really cool project. I'm wondering if

  • Unable to load iTunes Store

    Since the Apple support staff has proven themselves utterly incompetent, I was hoping I could find some help on the forums. I am attempting to go to the iTunes store from the iTunes x64 Client (RC 10.5.1.42, the latest) on x64 Windows 7.  I am unable

  • 4/8/2014 - Release - Flash Player 13

    The next version of Flash Player is available for immediate download.  In today's release we've updated Flash Player with important security updates and bug fixes. Security update details can be found here: Security Bulletin (APSB14-09) New Features

  • Table where Manual Check Posting via FF68 is stored

    Hello Colleagues I have posted a Manual Check via T.Code FF68. Is there a Table where I can see the below fields for the Check that I have posted. 1. Check No. 2. Check Issuer. 3. Check Amount I have gone thru Table PCEC and FKKCR but could not find