<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Question Re: TableView Iterator - Inputfield and Image in one cell??? in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/tableview-iterator-inputfield-and-image-in-one-cell/qaa-p/758680#M218818</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hallo Matthias,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"solute"? Not in any dictionary I checked. Maybe "solve"? Puzzled. But I suspect I know what your question is.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you look at the source code of the HTML you will see about what happens. You can also build a simple BSP page with inputfield (must be of type date with showHelp!) plus the image. It has nothing to do with iterator.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When the inputField is rendered, it is usually rendered as &lt;/P&gt;&lt;FORM&gt;&lt;P&gt;&lt;INPUT type="text" /&gt;. However, once you request showHelp, then we have to place that nice little icon next to the inputField. And this is done with a sequence:&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;/FORM&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;INPUT type="text" /&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;&lt;IMG help...="" /&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;Problem is that in HTML is a block sequence, and browser will always do a break after this HTML element. (You can check this in that very good HTML book you have on your table, at about the place where I have my dictionary.)&lt;BR /&gt;&lt;BR /&gt;So now the browser "breaks" (moves to new line) after our sequence, and then your image lands effectively below inputField. &lt;BR /&gt;&lt;BR /&gt;How to solve? You must render out an additional to put all of that stuff onto one line.&lt;BR /&gt;&lt;BR /&gt;Prototype code (I assume you are using cl_bsp_bee_table):&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;endda_bee-&amp;gt;add_html( html = '&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;' level = 1 ).&lt;BR /&gt;&amp;nbsp;&amp;nbsp;endda_bee-&amp;gt;add( element = endda level = 1 ).&lt;BR /&gt;&amp;nbsp;&amp;nbsp;endda_bee-&amp;gt;add_html( html = '&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;' level = 1 ).&lt;BR /&gt;&amp;nbsp;&amp;nbsp;endda_bee-&amp;gt;add( element = endda_save level = 1 ).&lt;BR /&gt;&amp;nbsp;&amp;nbsp;endda_bee-&amp;gt;add_html( html = '&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;' level = 1 ).&lt;BR /&gt;&lt;BR /&gt;You could consider to add border, cell padding and spacing, etc to the &lt;/P&gt;&lt;TABLE&gt;&lt;/TABLE&gt;&lt;P&gt; sequence.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would recommend the level parameter as well, even if optional. One day it might be really needed to get formatting correct (when default of 1 is not the correct value).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;brian&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 11 Dec 2003 17:47:13 GMT</pubDate>
    <dc:creator>former_member181879</dc:creator>
    <dc:date>2003-12-11T17:47:13Z</dc:date>
    <item>
      <title>TableView Iterator - Inputfield and Image in one cell???</title>
      <link>https://community.sap.com/t5/technology-q-a/tableview-iterator-inputfield-and-image-in-one-cell/qaq-p/758679</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've got I little problem maybe easy to solute but I didn't get it rigth yet.&lt;/P&gt;&lt;P&gt;I've got a tableview in Lineselection mode, on Click I like to get my date&lt;/P&gt;&lt;P&gt;fields as inputfields and net to the datefields a icon SAVE. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I fits and works but their is allways a carriage return between my inputfield&lt;/P&gt;&lt;P&gt;and the icon and I don't like this - anybody know how to solute??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks Matthias&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Coding:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GET_COLUMN_DEFINITIONS:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;append initial line to p_column_definitions assigning add( element = endda_save ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;p_replacement_bee = endda_bee.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Dec 2003 17:46:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/tableview-iterator-inputfield-and-image-in-one-cell/qaq-p/758679</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2003-12-11T17:46:13Z</dc:date>
    </item>
    <item>
      <title>Re: TableView Iterator - Inputfield and Image in one cell???</title>
      <link>https://community.sap.com/t5/technology-q-a/tableview-iterator-inputfield-and-image-in-one-cell/qaa-p/758680#M218818</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hallo Matthias,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"solute"? Not in any dictionary I checked. Maybe "solve"? Puzzled. But I suspect I know what your question is.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you look at the source code of the HTML you will see about what happens. You can also build a simple BSP page with inputfield (must be of type date with showHelp!) plus the image. It has nothing to do with iterator.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When the inputField is rendered, it is usually rendered as &lt;/P&gt;&lt;FORM&gt;&lt;P&gt;&lt;INPUT type="text" /&gt;. However, once you request showHelp, then we have to place that nice little icon next to the inputField. And this is done with a sequence:&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;/FORM&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;INPUT type="text" /&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;&lt;IMG help...="" /&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;Problem is that in HTML is a block sequence, and browser will always do a break after this HTML element. (You can check this in that very good HTML book you have on your table, at about the place where I have my dictionary.)&lt;BR /&gt;&lt;BR /&gt;So now the browser "breaks" (moves to new line) after our sequence, and then your image lands effectively below inputField. &lt;BR /&gt;&lt;BR /&gt;How to solve? You must render out an additional to put all of that stuff onto one line.&lt;BR /&gt;&lt;BR /&gt;Prototype code (I assume you are using cl_bsp_bee_table):&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;endda_bee-&amp;gt;add_html( html = '&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;' level = 1 ).&lt;BR /&gt;&amp;nbsp;&amp;nbsp;endda_bee-&amp;gt;add( element = endda level = 1 ).&lt;BR /&gt;&amp;nbsp;&amp;nbsp;endda_bee-&amp;gt;add_html( html = '&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;' level = 1 ).&lt;BR /&gt;&amp;nbsp;&amp;nbsp;endda_bee-&amp;gt;add( element = endda_save level = 1 ).&lt;BR /&gt;&amp;nbsp;&amp;nbsp;endda_bee-&amp;gt;add_html( html = '&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;' level = 1 ).&lt;BR /&gt;&lt;BR /&gt;You could consider to add border, cell padding and spacing, etc to the &lt;/P&gt;&lt;TABLE&gt;&lt;/TABLE&gt;&lt;P&gt; sequence.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would recommend the level parameter as well, even if optional. One day it might be really needed to get formatting correct (when default of 1 is not the correct value).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;brian&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Dec 2003 17:47:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/tableview-iterator-inputfield-and-image-in-one-cell/qaa-p/758680#M218818</guid>
      <dc:creator>former_member181879</dc:creator>
      <dc:date>2003-12-11T17:47:13Z</dc:date>
    </item>
    <item>
      <title>Re: TableView Iterator - Inputfield and Image in one cell???</title>
      <link>https://community.sap.com/t5/technology-q-a/tableview-iterator-inputfield-and-image-in-one-cell/qaa-p/758681#M218819</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Brian,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;many thanks for your help and your first lesson in using correct english &lt;SPAN __jive_emoticon_name="wink"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But what about the HTML Book I have on my table did I missing something??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Until next question Matthias&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Dec 2003 13:22:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/tableview-iterator-inputfield-and-image-in-one-cell/qaa-p/758681#M218819</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2003-12-12T13:22:29Z</dc:date>
    </item>
    <item>
      <title>Re: TableView Iterator - Inputfield and Image in one cell???</title>
      <link>https://community.sap.com/t5/technology-q-a/tableview-iterator-inputfield-and-image-in-one-cell/qaa-p/758682#M218820</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hallo Matthias,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You are welcome. The English you should not take to seriously. It is also about the 3rd language I learned. Usually I am able to pick up small mistakes in sentences, and from knowing something about the writing (mother tongue, country, etc) can mentally correct the text while reading. Your text left me puzzled. &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the HTML/HTTP book is more serious. A deep knowledge always comes from reading. Unfortunately I have no real excellent book to recommend (I must admit I always google for answers), but still believe that for background reading an excellent book is the only way to go. Maybe you find a book to recommend!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;until the next answer, brian&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Dec 2003 13:23:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/tableview-iterator-inputfield-and-image-in-one-cell/qaa-p/758682#M218820</guid>
      <dc:creator>former_member181879</dc:creator>
      <dc:date>2003-12-12T13:23:29Z</dc:date>
    </item>
    <item>
      <title>Re: TableView Iterator - Inputfield and Image in one cell???</title>
      <link>https://community.sap.com/t5/technology-q-a/tableview-iterator-inputfield-and-image-in-one-cell/qaa-p/758683#M218821</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Matthias,&lt;/P&gt;&lt;P&gt;    I've got problem same as you had.&lt;/P&gt;&lt;P&gt;I've some difficulty during the definitions of type of endda, endda_save and endda_bee.&lt;/P&gt;&lt;P&gt;It is correct :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DATA: endda TYPE REF      TO cl_htmlb_inputfield. &lt;/P&gt;&lt;P&gt;  DATA: endda_save TYPE REF TO cl_htmlb_image.&lt;/P&gt;&lt;P&gt;  DATA: endda_bee TYPE REF  TO  cl_bsp_bee_table.&lt;/P&gt;&lt;P&gt;?&lt;/P&gt;&lt;P&gt;I've tried with theese but it doesn't work.&lt;/P&gt;&lt;P&gt;Many thanks,&lt;/P&gt;&lt;P&gt;Luca&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Mar 2004 16:18:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/tableview-iterator-inputfield-and-image-in-one-cell/qaa-p/758683#M218821</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2004-03-12T16:18:21Z</dc:date>
    </item>
    <item>
      <title>Re: TableView Iterator - Inputfield and Image in one cell???</title>
      <link>https://community.sap.com/t5/technology-q-a/tableview-iterator-inputfield-and-image-in-one-cell/qaa-p/758684#M218822</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ops,&lt;/P&gt;&lt;P&gt;I forgot the :&lt;/P&gt;&lt;P&gt; CREATE OBJECT endda .&lt;/P&gt;&lt;P&gt; CREATE OBJECT endda_save .&lt;/P&gt;&lt;P&gt; CREATE OBJECT endda_bee.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now it is all ok.&lt;/P&gt;&lt;P&gt;Only small problem on showhelp dispay (empty popup without any calendar)&lt;/P&gt;&lt;P&gt;Thanks a lot,&lt;/P&gt;&lt;P&gt;Luca&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Mar 2004 17:01:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/tableview-iterator-inputfield-and-image-in-one-cell/qaa-p/758684#M218822</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2004-03-12T17:01:01Z</dc:date>
    </item>
  </channel>
</rss>

