How to display string which has BSP elements correctly?

Hi,
   I have a string variable lv_text which content is:
<htmlb:group height = "100%"
                     width  = "100%" >
          <htmlb:groupHeader>
            <xhtmlb:toolbar id="toolbar1" >
              <xhtmlb:toolbarItem placement="LEFT" >
                <htmlb:textView design = "HEADER3"
                                text   = "AAAA"/>
              </xhtmlb:toolbarItem>
            </xhtmlb:toolbar>
          </htmlb:groupHeader>
          <htmlb:groupBody>
            <%
  if gv_if_dis_message = 'X'.
            %>
            <%@include file="message.htm" %>
            <%
  Endif.
            %>
          </htmlb:groupBody>
        </htmlb:group>
    I want to use it in my BSP page and display the content correctly. Because it has some BSP elements, so now it can not be displayed correctly. How to solve this problem?
    Thanks a lot!

you cannot do this way. what you can do is call the factory method of the htmlb:<tab> to get the element and render the element to a string and you can now use this string in your bsp page.
Regards
Raja

Similar Messages

  • Passing String Which Has Single Quote Row/Value to a Function Returns Double Quoate

    Hi, I'm getting weird thing in resultset. When I pass String which has single quote value in it to a split function , it returns rows with double quote. 
    For example  following string:
    'N gage, Wash 'n Curl,Murray's, Don't-B-Bald
    Returns:
    ''N gage, Wash ''n Curl,Murray''s, Don''t-B-Bald
    Here is the split function:
    CREATE Function [dbo].[fnSplit] (
    @List varchar(8000), 
    @Delimiter char(1)
    Returns @Temp1 Table (
    ItemId int Identity(1, 1) NOT NULL PRIMARY KEY , 
    Item varchar(8000) NULL 
    As 
    Begin 
    Declare @item varchar(4000), 
    @iPos int 
    Set @Delimiter = ISNULL(@Delimiter, ';' ) 
    Set @List = RTrim(LTrim(@List)) 
    -- check for final delimiter 
    If Right( @List, 1 ) <> @Delimiter -- append final delimiter 
    Select @List = @List + @Delimiter -- get position of first element 
    Select @iPos = Charindex( @Delimiter, @List, 1 ) 
    While @iPos > 0 
    Begin 
    -- get item 
    Select @item = LTrim( RTrim( Substring( @List, 1, @iPos -1 ) ) ) 
    If @@ERROR <> 0 Break -- remove item form list 
    Select @List = Substring( @List, @iPos + 1, Len(@List) - @iPos + 1 ) 
    If @@ERROR <> 0 Break -- insert item 
    Insert @Temp1 Values( @item ) If @@ERROR <> 0 Break 
    -- get position pf next item 
    Select @iPos = Charindex( @Delimiter, @List, 1 ) 
    If @@ERROR <> 0 Break 
    End 
    Return 
    End
    FYI: I'm getting @List value from a table and passing it as a string to split function.
    Any help would be appreciated!
    ZK

    fixed the issue by using Replace function like
    Replace(value,'''''','''')
    Big Thanks Patrick Hurst!!!!! :)
    Though I came to another issue which I posted here:
    https://social.msdn.microsoft.com/Forums/sqlserver/en-US/a26469cc-f7f7-4fb1-ac1b-b3e9769c6f3c/split-function-unable-to-parse-string-correctly?forum=transactsql
    ZK

  • How to display string with XML content in 4.6?

    Hi,
    I`d like to know how to display string with XML content in it for 4.6.
    4.6 has not method parse_string.
    And example like this is not helpful:
      DATA: lo_mxml    TYPE REF TO cl_xml_document.
      CREATE OBJECT lo_mxml.
      CALL METHOD lo_mxml->parse_string
        EXPORTING
          stream = gv_xml_string.
      CALL METHOD lo_mxml->display.
    Thank you.

    Hi,
    May be you can use fm SAP_CONVERT_TO_XML_FORMAT. But it have some issues with memory usage, the program consumed tons of memory during convert.

  • I want to display strings which are in case structure ,into one text box

    hi,
    i am writing a vi, which has event structure inside that a
    case structure.
    i problem is , i have two cases,
    1) when the value is true it executes the true case, first it reads the string constant and second is the string indicator which is my out put.
    2) in the false case it does pritty much same.
    i want to display the inputs and out puts of different cases into the same text box that is one for input and one for output.
    Can some one help me.
    Solved!
    Go to Solution.

    Did u tried as Ravans suggested.
    Put the indicators outside of the case structures.  Wire across the borders of the case structure.  It creates "tunnels".
     I am not getting
    but it displays both result at a time. but i want
    to display the instruction first, to the user, so that they act
    according to the instruction and ,than i want to display the result.  
     Try this VI.
    Balaji PK (CLA)
    Ever tried. Ever failed. No matter. Try again. Fail again. Fail better
    Don't forget Kudos for Good Answers, and Mark a solution if your problem is solved.
    Attachments:
    string display-1.vi ‏22 KB

  • How to display string message real time in a string area?

    I want to display string message on String indicator in screen real time, message is updating realtime when test application runing, i want to see the newest message display on screen real time instead of by drag down the vertical scroll bar manually.
    please give me an idea how to set the attribute of string indicator?thanks

    You can use Text.ScrollPosition property node for autoscrolling.
    Andrey.

  • How to handle where xmltype has empty elements

    Here is my problem:
    I have some information stored in table1 and some information in table2.These tables are joined with a key.
    Table2 has an xmltype column. That stores if
    anything (any info) has been overridden. That is has changed. There is information in this table even when nothing is overridden. In that
    case the xmltype has blank elements.
    In my query I have to display all records where the information has been overridden.That is fine as I extract from xmltype column using xmlsequence.
    The issue arises when I need to display information when it is not overridden. In that case since the xmltype has empty
    elements, the query doesnt return anything (NO RECORDS).Here it is not overridden
    <?xml version="1.0" encoding="UTF-8"?>
    <O><AR></AR>
    </O>Here is an example where it is overridden</br>
    <?xml version="1.0" encoding="UTF-8"?>
    <O><AR>
         <L id="A">
              <LL>4</LL>
         </L>
         <L id="B">
              <LL>2.5</LL>
         </L>
    </AR>
    </O>My query is something like:
    select....
    ,extractValue(k.column_value,'/L/@id') as lt,
    extractValue(k.column_value,'/L/LL') AS ll,
    FROM TABLE1 T1, TABLE2 T2,
    , table(xmlsequence(T2.XMLCOL.extract('/O/AR/L')))k
    WHERE ...So to tackle this problem of nothing being returned just because xmltype doesnt have overridden values, i have a query (using union to other)
    that says select null for the xmltype elements that I am selecting.
    I handle null as follows:
    select null as lt,null as ll......
    from ....This returns me a row even if something is overridden. I want a row from this null query only if it is not being returned from the other query.
    I know confusing but...:-(

    I am all set. Added something in where condition. Work around that would work:)

  • How to find tablespace which has maxsize UNLIMITED?

    Oracle 9.2
    I am looking for tablespaces which has maxsize UNLIMITED in dictionary view dba_xxxx. I want to use SQL to search which tablespaces don't have UNLIMTED file. I can not find which dictionary table or which column to indicate which tablespaces don't have UNLIMITED file?
    Please shed some lights.
    Thanks
    S.

    See Note 468096.1 How To Check For Autoextensible Datafiles Set To Maxsize Unlimited.
    Oracle limits the number of blocks in a datafile to approximately *4 million blocks*, so you can execute:
    select file_name from dba_data_files where maxblocks=4194302;
    HTH
    Enrique
    Edited by: Enrique Orbegozo on Oct 13, 2008 12:10 PM

  • How to find table which has no index?

    Hi,
    How to find a table which has no index?
    Please provide the query to find the above.
    Thanks
    Jafar

    select owner,
           table_name
      from dba_tables dt
    where not exists(select 'x'
                        from dba_indexes di
                       where dt.owner=di.table_owner
                         and dt.table_name = di.table_name)

  • How to find tables which has more than 1000 Partitions

    Hi All,
    Is there any other way to find out the tables which has more than 1000 Partitions ?
    Apart from SAP report RSDD_MSSQL_CUBEANALYZE. Because this report is not working for me as job getting cancel again and again with ABAP dump DBIF_DSQL2_SQL.I already check SAP Note 1309838, but itu2019s not applicable for us because we are on highest support package level SAP_BW 701 SP06.
    Thanks,
    Harshal

    If you are running SQL Server as your database platform run this query:
    select o.object_id,o.name,p.Partition_count from sys.objects o
    inner join
    (select object_id,count(distinct partition_number) as Partition_count
    from sys.partitions
    group by object_id)
    p
    on o.object_id = p.object_id
    where o.type = 'U'
    order by p.Partition_count desc

  • How to update table which has column name as Oracle keyword?

    Hi All,
    Somebody has created one table which has column name as "OPTION", now i am trying update this table column value and its throwing an error. "Invalid Identifier".
    Could you please help me in this?
    Thanks in advance.
    Regards,
    Ganesh Patil

    check this :
    batch@DOLN1> create table "from" ("select" varchar2(10));
    Table created.
    batch@DOLN1> desc "from";
    Name                                                                                                  Null?    Type
    select                                                                                                         VARCHAR2(10)
    batch@DOLN1> update "from" set "select" = 'hello World';
    0 rows updated.
    batch@DOLN1> insert into "from" values('hello World');
    insert into "from" values('hello World')
    ERROR at line 1:
    ORA-12899: value too large for column "TCM_BATCH"."from"."select" (actual: 11, maximum: 10)
    batch@DOLN1> update "from" set "select" = 'hello';
    0 rows updated.
    batch@DOLN1> insert into "from" values('hello');
    1 row created.
    batch@DOLN1> commit;
    Commit complete.
    batch@DOLN1> update "from" set "select" = 'World' where "select" = 'hello';
    1 row updated.
    batch@DOLN1> select * from "from";
    select
    World

  • How can I know which has brought down the database SI or SA

    Hi to all,
    Hi
    Sorry about this simple question but i am little bit confused.
    Suppose if i used Shutdown immediate and i use Shutdown abort then how can i know which brought down my database Shutdown immediate(SI) or Shutdown abort(SA)
    Please help me !!!!!

    Hi,
    Ofcourse shutdown abort will execute...
    See the output from alert log
    Tue Jun 01 11:54:17 2010
    Shutting down instance (immediate)
    Stopping background process SMCO
    Tue Jun 01 11:54:35 2010
    Shutting down instance: further logons disabled
    Tue Jun 01 11:54:39 2010
    Shutting down instance (abort)
    License high water mark = 125
    USER (ospid: 5436): terminating the instance
    Instance terminated by USER, pid = 5436
    Tue Jun 01 11:54:42 2010
    Instance shutdown complete
    Thanks,
    Ajikumar G
    Expertise in Oracle Apps...

  • TS4006 I have several iphones on  find my iphone. How do I know which one is the correct iphone. None of them are labeled Iphone4 or 5 etc.

    I just had my iphone stolen from me. In the past I have always set up my phones an ipads on to the find my iphone service. I have never deleted them from the find my iphone account and now I have 3 iphones showing and 2 ipads. How can you tell the difference when none of them are labeled as Iphone 4, iphone 4s, iphone 5, etc. No dates are shown as when purchased so it I can't figure out which one is the correct iphone to put on lost mode and send message to.

    Deleting on one device does not affect another device.
    You can delete the App's on the iPhone and nothing will happen to the ones on the iPad.
    1.  You don't need to.
    2.  Settings->Cellular->"Use Cellular Data For" will show the data usage for each App since the last statistics reset
    3.  Settings->General->Background App Refresh Will show which Apps are allowed to get data in the background
    4.  It restricts it to Wifi.  If the App requires internet access and Data is turned off, it will have to wait until the device is connected to a wifi network.
    5.  Nope, You just use up battery since the BT radio will continuously look for nearby BT devices.
    6.  The Personal Hotspot uses your cellular internet connection from your phone or other cellular device; whether you consider that secure or not I cannot say.  It also depends on what you are doing while connected to the Hotel's wifi. I would not do online banking while on vacation though.

  • How to Display string array in jsp page using netui-data:repeater tag ??

    hi,
    I am trying to display a string array in a table using the netui-data:repeater tag.
    I have to use a page flow controller Array(1 Dimensional) to be displayed in the jsp.
    Can any one tell me how to print the array in a table of 3rows & 5 columns.
    Here is the code on which I am crrently working on.
    <netui-data:repeater dataSource="{pageFlow.strWorkObject_Array}">
    <netui-data:repeaterHeader>
    <table cellpadding="4" border="1" class="tablebody">
    </netui-data:repeaterHeader>
    <netui-data:repeaterItem>
    <tr>
    <td><netui:label value="{container.item}" >
    </netui:label></td>
    <td><netui:label value="{container.item}">
    </netui:label></td>
    <td><netui:label value="{container.item}">
    </netui:label></td>
    </tr>
    </netui-data:repeaterItem>
    <netui-data:repeaterFooter>
    </table>
    </netui-data:repeaterFooter>
    </netui-data:repeater>

    weblogic.developer.interest.workshop
    Mansoor Naseem wrote:
    I would like to know where the pageflow newsgroup is.
    These are all the groups in weblogic.developer.interest:
    weblogic.developer.interest.60beta.* (5 groups) weblogic.developer.interest.management
    weblogic.developer.interest.61beta.* (2 groups) weblogic.developer.interest.misc
    weblogic.developer.interest.clustering.* (1 group) weblogic.developer.interest.performance
    weblogic.developer.interest.commerce weblogic.developer.interest.personalization
    weblogic.developer.interest.ejb.* (3 groups) weblogic.developer.interest.portal
    weblogic.developer.interest.environment weblogic.developer.interest.rmi-iiop
    weblogic.developer.interest.jdbc weblogic.developer.interest.security
    weblogic.developer.interest.jms weblogic.developer.interest.servlet
    weblogic.developer.interest.jndi weblogic.developer.interest.tools
    weblogic.developer.interest.jsp weblogic.developer.interest.weblogicenterprise
    MN

  • How to display String attribute in a Formatted way ?

    Hi all,
    We are using JDev 10.1.3.1, ADF BC + adf faces.
    In our database, there is a varchar column stored as : "070000001", this is a readonly attribute (updated by stored procedure).
    In jspx, we want to display it as : "07/0000001" .
    How can we do that ? (there is no hints for string attribute ?)
    Thank you for your help,
    xtanto

    you can use a SQL-calculated attribute with an appropriate SQL expression -- using SUBSTR() and string contatentation -- or you can use a java-calculated transient attribute.
    the former will allow the user to query on it. The latter wouldn't.

  • How to display with which group(s) a contact is associated.

    How do you display group association for each contact?  When I click on All Contacts, I want to go through each contact and see which contacts have been associated with none, one or multiple groups.

    Hold down the option key. The groups will highlight in yellow.

Maybe you are looking for

  • Error while downloading Detroit MI W2 Magnetic media File.

    Hello Guys, We are getting a Run time error while downloading a w2 magnetic media file for MI, and its only for a particular tax company. Any help is appreciated. ST22 Dump: Runtime Errors         CREATE_DATA_ILLEGAL_LENGTH Exception              CX_

  • Cargo management tab is missing in Ocean freight booking

    Hi Experts, I found cargo management tab is missing in Ocean freight booking/ Transportation cockpit, though hierarchy types assigned for the functionality to create drayage orders. Please suggest if any configuration is missing. Thanks, Shakti

  • Nokia N86 Photos corrupt and Photo App not working

    My photo's seem to be getting corrupted after I have taken them and I don't know why. I can copy them on to my computer but when I go into the photo's app they were broken images but I can't find them via file manager. Then I was unable to get into t

  • Mapping one-many cmp relation without association table

    Hello: I want to know if I can map a relationship with this model: Table department -deptPK (PK) -deptNo (constraint unique) -deptoDescription Table employee -empPK (PK) -empName -deptNo (FK) My problem is that i can't establish the relation employee

  • I can not print from my windows xp pc to my 5520 printer

    i can not print from my windows xp pc to my 5520 printer. im on the network and pass all online tests but my computer wont recognize the printer. i can do the eprint or print from a phone or even send an email to the printer. all that is fine its jus