<?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: internal table from dynpro to html template in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/internal-table-from-dynpro-to-html-template/qaa-p/2303968#M993738</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;&lt;/P&gt;&lt;P&gt;your table does not have a visualization (yet)? In order to have access from the&lt;/P&gt;&lt;P&gt;HTML template you must transfer the contents of the internal table to the ITS &lt;/P&gt;&lt;P&gt;context (the pool of Business HTML variables).&lt;/P&gt;&lt;P&gt;Do this using the function module 'ITS_SET_CONTEXT'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;best regards&lt;/P&gt;&lt;P&gt;Tobias&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 30 May 2007 08:01:44 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-05-30T08:01:44Z</dc:date>
    <item>
      <title>internal table from dynpro to html template</title>
      <link>https://community.sap.com/t5/technology-q-a/internal-table-from-dynpro-to-html-template/qaq-p/2303964</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;we are on WAS700, internal ITS.&lt;/P&gt;&lt;P&gt;during PBO of a dynpro I have filled an internal table (ig_quantity). I am not using a table control or any visualization on the dynpro layout for this table.&lt;/P&gt;&lt;P&gt;How is the easiest way to loop through the table on the corresponding html template? Is it possible at all if the internal table is not in the dynpro-element list? The point is, I need to insert an input-field on the html side, which needs to be added to an existing tablecontrol.&lt;/P&gt;&lt;P&gt;I am not really into htmlBusiness, but I assume, I need something like this:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;`repeat with n from 1 to ig_sublist-quantity`
...&amp;lt;html coding&amp;gt;...
`end`&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;ig_sublist is my internal table, quantity a field in the table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanx, matthias&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Matthias Kasig&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Matthias Kasig&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 May 2007 16:29:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/internal-table-from-dynpro-to-html-template/qaq-p/2303964</guid>
      <dc:creator>matthias_kasig2</dc:creator>
      <dc:date>2007-05-29T16:29:31Z</dc:date>
    </item>
    <item>
      <title>Re: internal table from dynpro to html template</title>
      <link>https://community.sap.com/t5/technology-q-a/internal-table-from-dynpro-to-html-template/qaa-p/2303965#M993735</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it would be something like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;`repeat with j from ig_sublist.firstvisible &lt;/P&gt;&lt;P&gt;                     to   ig_sublist.lastvisible`&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;P&gt;to ge the value of the quantity field it will be&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ig_sublist-quantity[j].value&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;`end` &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/5f/1fb0f94aee11d189740000e8322d00/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/5f/1fb0f94aee11d189740000e8322d00/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Raja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 May 2007 05:29:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/internal-table-from-dynpro-to-html-template/qaa-p/2303965#M993735</guid>
      <dc:creator>athavanraja</dc:creator>
      <dc:date>2007-05-30T05:29:00Z</dc:date>
    </item>
    <item>
      <title>Re: internal table from dynpro to html template</title>
      <link>https://community.sap.com/t5/technology-q-a/internal-table-from-dynpro-to-html-template/qaa-p/2303966#M993736</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Raja,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;on my html template I wrote:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;`repeat with j from ig_sublist.firstvisible to ig_sublist.lastvisible`
&amp;lt;input type="text" name="ig_sublist-QUANTITY[`j`]" VALUE="`ig_sublist-QUANTITY[j].value`" size="10"&amp;gt;
`end`&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;but this does not seem to have any effect - I don't get to see an html- inputfield...&lt;/P&gt;&lt;P&gt;do you have a clue why I can't see the html inputs derived from the internal table?&lt;/P&gt;&lt;P&gt;I checked the table in PBO of the dynpro - it is filled with two lines.&lt;/P&gt;&lt;P&gt;regards, matthias&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 May 2007 06:59:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/internal-table-from-dynpro-to-html-template/qaa-p/2303966#M993736</guid>
      <dc:creator>matthias_kasig2</dc:creator>
      <dc:date>2007-05-30T06:59:17Z</dc:date>
    </item>
    <item>
      <title>Re: internal table from dynpro to html template</title>
      <link>https://community.sap.com/t5/technology-q-a/internal-table-from-dynpro-to-html-template/qaa-p/2303967#M993737</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;are you sure ig_sublist is available for the template? can you just put it a javascript alert to view the value of firstvisible and lastvisible values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;script&amp;gt;&lt;/P&gt;&lt;P&gt;alert('`ig_sublist.firstvisible`');&lt;/P&gt;&lt;P&gt;&amp;lt;/script&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 May 2007 07:04:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/internal-table-from-dynpro-to-html-template/qaa-p/2303967#M993737</guid>
      <dc:creator>athavanraja</dc:creator>
      <dc:date>2007-05-30T07:04:49Z</dc:date>
    </item>
    <item>
      <title>Re: internal table from dynpro to html template</title>
      <link>https://community.sap.com/t5/technology-q-a/internal-table-from-dynpro-to-html-template/qaa-p/2303968#M993738</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;&lt;/P&gt;&lt;P&gt;your table does not have a visualization (yet)? In order to have access from the&lt;/P&gt;&lt;P&gt;HTML template you must transfer the contents of the internal table to the ITS &lt;/P&gt;&lt;P&gt;context (the pool of Business HTML variables).&lt;/P&gt;&lt;P&gt;Do this using the function module 'ITS_SET_CONTEXT'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;best regards&lt;/P&gt;&lt;P&gt;Tobias&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 May 2007 08:01:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/internal-table-from-dynpro-to-html-template/qaa-p/2303968#M993738</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-30T08:01:44Z</dc:date>
    </item>
    <item>
      <title>Re: internal table from dynpro to html template</title>
      <link>https://community.sap.com/t5/technology-q-a/internal-table-from-dynpro-to-html-template/qaa-p/2303969#M993739</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Durajraj and Tobias,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to Durajraj: I tried the javascript alert, and the alert displays nothing - no ig_sublist.firstvisible or thelike...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to Tobias: in my PBO Module where I fill my internal table ig_sublist I put in the FM&lt;/P&gt;&lt;P&gt;ITS_SET_CONTEXT like this:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;      ig_sublist[] = &amp;lt;sublist&amp;gt;.
      CALL FUNCTION 'ITS_SET_CONTEXT'
        TABLES
          context                 = ig_sublist.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I get an ST22 because of type mismatch. The FM expects a type&lt;/P&gt;&lt;P&gt;context like SAVWCTXT.&lt;/P&gt;&lt;P&gt;SAVWCTXT is a structure with three fields:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;FIELDNAME	AVWCTXFLD	CHAR	30	0	ALE/Web (ITS) Kontext-Feldname
FIELDINDEX	AVWCTXIDX	NUMC	8	0	ALE/Web (ITS) Kontext-Index
FIELDCONT	AVWCTXCONT	CHAR	1024	0	ALE/Web (ITS) Kontext-Feldinhalt&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my ig_sublist is a table whic consists of a lot of fields, but I only need the quantity field. I can declare a variable like:&lt;/P&gt;&lt;P&gt;DATA: context_table type standard table of SAVWCTXT.&lt;/P&gt;&lt;P&gt;but how do I connect my ig_sublist to the export table context_table then?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;kind regards, matthias&lt;/P&gt;&lt;P&gt;ps: sorry for the late reaction, but I didn't have to time to respond earlier, I gave points to both of you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Jun 2007 09:17:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/internal-table-from-dynpro-to-html-template/qaa-p/2303969#M993739</guid>
      <dc:creator>matthias_kasig2</dc:creator>
      <dc:date>2007-06-01T09:17:15Z</dc:date>
    </item>
    <item>
      <title>Re: internal table from dynpro to html template</title>
      <link>https://community.sap.com/t5/technology-q-a/internal-table-from-dynpro-to-html-template/qaa-p/2303970#M993740</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tobias,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now I tried feed the FM ITS_SET_CONTEXT like this:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA: ig_cont type standard table of SAVWCTXT,
          wg_cont type SAVWCTXT.

    ig_sublist[] = &amp;lt;sublist&amp;gt;.
    loop at ig_sublist into wg_sublist.
      wg_cont-fieldname = 'quantity'.
      wg_cont-fieldindex = sy-tabix.
      wg_cont-fieldcont = wg_sublist-quantity.
      append wg_cont to ig_cont.
    endloop.
      CALL FUNCTION 'ITS_SET_CONTEXT'
        TABLES
          context                 = ig_cont
*       EXCEPTIONS
*         ITS_NOT_AVAILABLE       = 1
*         OTHERS                  = 2
                .&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the debugger I can see, that ig_cont, the export table for the FM gets filled properly. Still when calling ig_cont on the html template like this:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&amp;lt;script&amp;gt;
alert('`ig_cont.firstvisible`');
&amp;lt;/script&amp;gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I see no incoming data...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do I need to do something more? field-transport or stuff like that?&lt;/P&gt;&lt;P&gt;kind regards, matthias&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Jun 2007 10:13:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/internal-table-from-dynpro-to-html-template/qaa-p/2303970#M993740</guid>
      <dc:creator>matthias_kasig2</dc:creator>
      <dc:date>2007-06-01T10:13:53Z</dc:date>
    </item>
    <item>
      <title>Re: internal table from dynpro to html template</title>
      <link>https://community.sap.com/t5/technology-q-a/internal-table-from-dynpro-to-html-template/qaa-p/2303971#M993741</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;&lt;/P&gt;&lt;P&gt;what is the value of ig_cont.dim, ig_cont[1].quantity and so on?&lt;/P&gt;&lt;P&gt;You should see a dump of the contents of the ITS context *) if you &lt;/P&gt;&lt;P&gt;set ~record=1 as an URL parameter. This will work if adminenabled (6.20)&lt;/P&gt;&lt;P&gt;or itsp/devmode/contextdump (&amp;gt;6.20) respectively has been set.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Tobias&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*) The HTML source contains this dump&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Tobias Gomer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Jun 2007 10:34:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/internal-table-from-dynpro-to-html-template/qaa-p/2303971#M993741</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-01T10:34:49Z</dc:date>
    </item>
    <item>
      <title>Re: internal table from dynpro to html template</title>
      <link>https://community.sap.com/t5/technology-q-a/internal-table-from-dynpro-to-html-template/qaa-p/2303972#M993742</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;what does ig_cont.dim? and where can I see a dump of the contents of the ITS context ? I do not get shortdumps ST22 for my javascript alerts...&lt;/P&gt;&lt;P&gt;but still via the javascript alerts I don't see any values at all.&lt;/P&gt;&lt;P&gt;last thing I tried was:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&amp;lt;script&amp;gt;
alert('`ig_cont.firstvisible`');
alert('`ig_cont.fieldname.value`');
alert('`ig_cont[1].quantity.value`');
&amp;lt;/script&amp;gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I mean, my ig_cont table now contains the fields fieldname fieldindex and fieldcontent (just like the fields of the type structure for the FM) - do I not have to write eg&lt;/P&gt;&lt;P&gt;ig_cont.fieldname.value (which should be quantity always) and  ig_cont.fieldindex.value (which holds my sy-tabix from PBO&lt;/P&gt;&lt;P&gt;and ig_cont.fieldcont.value...&lt;/P&gt;&lt;P&gt;during my PBO loop I just do this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;loop at ig_sublist into wg_sublist.
      wg_cont-fieldname = 'quantity'.
      wg_cont-fieldindex = sy-tabix.
      wg_cont-fieldcont = wg_sublist-quantity.
      append wg_cont to ig_cont.
endloop.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and then ig_cont goes to ITS_CONTEXT_SET&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my htmlBusiness knowledge is very limited...&lt;/P&gt;&lt;P&gt;regards, matthias&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Jun 2007 10:57:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/internal-table-from-dynpro-to-html-template/qaa-p/2303972#M993742</guid>
      <dc:creator>matthias_kasig2</dc:creator>
      <dc:date>2007-06-01T10:57:37Z</dc:date>
    </item>
    <item>
      <title>Re: internal table from dynpro to html template</title>
      <link>https://community.sap.com/t5/technology-q-a/internal-table-from-dynpro-to-html-template/qaa-p/2303973#M993743</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;&lt;/P&gt;&lt;P&gt;again: What is the contents of the ITS context. The context dump &lt;/P&gt;&lt;P&gt;can be seen in the HTML-source of the page.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards Tobias&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Jun 2007 11:06:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/internal-table-from-dynpro-to-html-template/qaa-p/2303973#M993743</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-01T11:06:27Z</dc:date>
    </item>
    <item>
      <title>Re: internal table from dynpro to html template</title>
      <link>https://community.sap.com/t5/technology-q-a/internal-table-from-dynpro-to-html-template/qaa-p/2303974#M993744</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;erm - where can I administer these parameters?&lt;/P&gt;&lt;P&gt;&amp;lt;i&amp;gt;if you set ~record=1 as an URL parameter. This will work if adminenabled (6.20)&lt;/P&gt;&lt;P&gt;or itsp/devmode/contextdump (&amp;gt;6.20) respectively has been set.&lt;/P&gt;&lt;P&gt;&amp;lt;/i&amp;gt;&lt;/P&gt;&lt;P&gt;i checked transaction smicm --&amp;gt; parameters, but i can't find entries for itsp/devmode/contextdump... and wher is the URL parameter - should I set it in the internetservice itself? tried that, but the F4 help does not provide ~record&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had a look at the html source - I searched for "context" without success.&lt;/P&gt;&lt;P&gt;where in the source I might find what you need?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;kind regards, matthias&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Jun 2007 11:07:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/internal-table-from-dynpro-to-html-template/qaa-p/2303974#M993744</guid>
      <dc:creator>matthias_kasig2</dc:creator>
      <dc:date>2007-06-01T11:07:16Z</dc:date>
    </item>
    <item>
      <title>Re: internal table from dynpro to html template</title>
      <link>https://community.sap.com/t5/technology-q-a/internal-table-from-dynpro-to-html-template/qaa-p/2303975#M993745</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the html source displays for my script alerts:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&amp;lt;script&amp;gt;
alert('');
alert('');
alert('');
&amp;lt;/script&amp;gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ok, found transaction sitspmon and set&lt;/P&gt;&lt;P&gt;itsp/devmode/contextdump = 1.&lt;/P&gt;&lt;P&gt;I also added the parameter ~RECORD = 1 to my internetservice BBPSEARCH.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;still I don't know where to see the context in the html-source,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;kind regards, matthias&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Matthias Kasig&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Jun 2007 11:13:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/internal-table-from-dynpro-to-html-template/qaa-p/2303975#M993745</guid>
      <dc:creator>matthias_kasig2</dc:creator>
      <dc:date>2007-06-01T11:13:32Z</dc:date>
    </item>
    <item>
      <title>Re: internal table from dynpro to html template</title>
      <link>https://community.sap.com/t5/technology-q-a/internal-table-from-dynpro-to-html-template/qaa-p/2303976#M993746</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;&lt;/P&gt;&lt;P&gt;SAP Note 973226 explains how to set ~record and itsp/devmode/contextdump.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can either set &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ~record   1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the service file or as a URL parameter when you start a new session. Using it in the URL is more convenient because then you only have the context when you need it. Example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://[host]:[port]/sap/bc/gui/sap/its/webgui?~record=1" target="test_blank"&gt;http://[host]:[port]/sap/bc/gui/sap/its/webgui?~record=1&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Henning&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Jun 2007 12:48:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/internal-table-from-dynpro-to-html-template/qaa-p/2303976#M993746</guid>
      <dc:creator>former_member185704</dc:creator>
      <dc:date>2007-06-01T12:48:33Z</dc:date>
    </item>
    <item>
      <title>Re: internal table from dynpro to html template</title>
      <link>https://community.sap.com/t5/technology-q-a/internal-table-from-dynpro-to-html-template/qaa-p/2303977#M993747</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;&lt;/P&gt;&lt;P&gt;please read the Wiki article ' How to use the HTML source for debugging issues'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Tobias&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Jun 2007 13:07:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/internal-table-from-dynpro-to-html-template/qaa-p/2303977#M993747</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-01T13:07:55Z</dc:date>
    </item>
    <item>
      <title>Re: internal table from dynpro to html template</title>
      <link>https://community.sap.com/t5/technology-q-a/internal-table-from-dynpro-to-html-template/qaa-p/2303978#M993748</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi tobias,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ok, I get to see the itscontext now. unfortunately the page I want is part of a frameset. So for the frameset source I can see the itscontext, but not for the framepage itself. Can I get the context of the page in the html frameset?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But interesting:&lt;/P&gt;&lt;P&gt;in my script alert I tried:&lt;/P&gt;&lt;P&gt;alert('quantity.dim `quantity.dim`');&lt;/P&gt;&lt;P&gt;and I see a 2 - This means via the FM I seem to get values transferred to my page.&lt;/P&gt;&lt;P&gt;does that mean, that my internal table is called 'quantity' now?&lt;/P&gt;&lt;P&gt;I put the table ig_cont to the FM, and the structure of the table is&lt;/P&gt;&lt;P&gt;fieldname fieldindex fieldcont&lt;/P&gt;&lt;P&gt;where fieldname is quantity...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanx a lot,&lt;/P&gt;&lt;P&gt;matthias&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Jun 2007 13:30:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/internal-table-from-dynpro-to-html-template/qaa-p/2303978#M993748</guid>
      <dc:creator>matthias_kasig2</dc:creator>
      <dc:date>2007-06-01T13:30:37Z</dc:date>
    </item>
    <item>
      <title>Re: internal table from dynpro to html template</title>
      <link>https://community.sap.com/t5/technology-q-a/internal-table-from-dynpro-to-html-template/qaa-p/2303979#M993749</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;&amp;gt; ok, I get to see the itscontext now. unfortunately&lt;/P&gt;&lt;P&gt;&amp;gt; the page I want is part of a frameset. So for the&lt;/P&gt;&lt;P&gt;&amp;gt; frameset source I can see the itscontext, but not for&lt;/P&gt;&lt;P&gt;&amp;gt; the framepage itself. Can I get the context of the&lt;/P&gt;&lt;P&gt;&amp;gt; page in the html frameset?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is not an ITS related question. Please use Google to find information on how to use your web browser correctly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Henning&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Jun 2007 13:46:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/internal-table-from-dynpro-to-html-template/qaa-p/2303979#M993749</guid>
      <dc:creator>former_member185704</dc:creator>
      <dc:date>2007-06-01T13:46:16Z</dc:date>
    </item>
    <item>
      <title>Re: internal table from dynpro to html template</title>
      <link>https://community.sap.com/t5/technology-q-a/internal-table-from-dynpro-to-html-template/qaa-p/2303980#M993750</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;&amp;gt; in my script alert I tried:&lt;/P&gt;&lt;P&gt;&amp;gt; alert('quantity.dim `quantity.dim`');&lt;/P&gt;&lt;P&gt;&amp;gt; and I see a 2 - This means via the FM I seem to get values transferred to my page.&lt;/P&gt;&lt;P&gt;&amp;gt; does that mean, that my internal table is called 'quantity' now?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, that means that the variable quantity is an array holding two entries.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; I put the table ig_cont to the FM, and the structure of the table is&lt;/P&gt;&lt;P&gt;&amp;gt; fieldname fieldindex fieldcont&lt;/P&gt;&lt;P&gt;&amp;gt; where fieldname is quantity...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you wrote, the table ig_cont describes the array 'quantity'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Tobias&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Jun 2007 13:58:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/internal-table-from-dynpro-to-html-template/qaa-p/2303980#M993750</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-01T13:58:10Z</dc:date>
    </item>
    <item>
      <title>Re: internal table from dynpro to html template</title>
      <link>https://community.sap.com/t5/technology-q-a/internal-table-from-dynpro-to-html-template/qaa-p/2303981#M993751</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tobias,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanx a lot, I am almost through - I get the values on my page &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;But for the way back - I need to ask during PAI for my quantity array.&lt;/P&gt;&lt;P&gt;I assume, I have to use an FM like "its_get_content" or thelike?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanx, matthias&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Jun 2007 14:04:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/internal-table-from-dynpro-to-html-template/qaa-p/2303981#M993751</guid>
      <dc:creator>matthias_kasig2</dc:creator>
      <dc:date>2007-06-01T14:04:06Z</dc:date>
    </item>
    <item>
      <title>Re: internal table from dynpro to html template</title>
      <link>https://community.sap.com/t5/technology-q-a/internal-table-from-dynpro-to-html-template/qaa-p/2303982#M993752</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;if you plan to make the field values editable you must provide input fields with an ID. Post parameters are part of the request context - the way back to ABAP.&lt;/P&gt;&lt;P&gt;The function group 'AWRT' contains function modules for retrieving the context values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Tobias&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Jun 2007 14:11:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/internal-table-from-dynpro-to-html-template/qaa-p/2303982#M993752</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-01T14:11:30Z</dc:date>
    </item>
    <item>
      <title>Re: internal table from dynpro to html template</title>
      <link>https://community.sap.com/t5/technology-q-a/internal-table-from-dynpro-to-html-template/qaa-p/2303983#M993753</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;&lt;/P&gt;&lt;P&gt;You can find some documentation on developing IAC's in the SAP Library. For your current problem please have a look at this page where the usage of the field-get macro is explained:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/48/35d5624abf11d18a0f0000e816ae6e/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/48/35d5624abf11d18a0f0000e816ae6e/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;More general documentation on the whole subject is available in the "Web Transaction Tutorial":&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/d5/644d358460e327e10000009b38f889/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/d5/644d358460e327e10000009b38f889/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Henning&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Jun 2007 14:28:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/internal-table-from-dynpro-to-html-template/qaa-p/2303983#M993753</guid>
      <dc:creator>former_member185704</dc:creator>
      <dc:date>2007-06-01T14:28:52Z</dc:date>
    </item>
  </channel>
</rss>

