<?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>topic Re: Defining Dynamic Internal Table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/defining-dynamic-internal-table/m-p/8037734#M1610496</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Below links may help:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Filling dynamic internal table   |&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="9806414"&gt;&lt;/A&gt;]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Create a dynamic internal table|http://www.divulgesap.com/blog.php?p=MjE=]&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 11 Jul 2011 14:08:41 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-07-11T14:08:41Z</dc:date>
    <item>
      <title>Defining Dynamic Internal Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/defining-dynamic-internal-table/m-p/8037733#M1610495</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everybody,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to create a dynamic internal table without knowing its structure. I have stored the DDIC field elements that have to be used in a customizing table. I would like to create the internal table depending on the field elements order. The goal is to be able to pass this internal table to an Adobe Forms. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, in some cases I might have to print fieldu2019s content 1, 2, 3, and 4 but in other cases I might have to print fields 3, 1, 4 and 2. I do not know in which order the fields have to be printed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am struggling with the techniques I should use to create my internal table. I do not know if I should use Field Symbols or else.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you provide any coding examples?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sylvain&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jul 2011 14:02:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/defining-dynamic-internal-table/m-p/8037733#M1610495</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-07-11T14:02:18Z</dc:date>
    </item>
    <item>
      <title>Re: Defining Dynamic Internal Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/defining-dynamic-internal-table/m-p/8037734#M1610496</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Below links may help:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Filling dynamic internal table   |&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="9806414"&gt;&lt;/A&gt;]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Create a dynamic internal table|http://www.divulgesap.com/blog.php?p=MjE=]&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jul 2011 14:08:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/defining-dynamic-internal-table/m-p/8037734#M1610496</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-07-11T14:08:41Z</dc:date>
    </item>
    <item>
      <title>Re: Defining Dynamic Internal Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/defining-dynamic-internal-table/m-p/8037735#M1610497</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;Thank you for the answer but I do not know how to use the field's content of my customizing table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, in my customizing table I have YFIELD1, YFIELD2, YFIELD3 and YFIELD4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;YFIELD1 = BUKRS&lt;/P&gt;&lt;P&gt;YFIELD2 = VBELN&lt;/P&gt;&lt;P&gt;YFIELD3 = FKDAT&lt;/P&gt;&lt;P&gt;YFIELD4 = MATNR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I use field YFIELD1 content BUKRS to create my &amp;lt;FS&amp;gt;? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope my further explanation helps to understand my issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sylvain.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jul 2011 14:25:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/defining-dynamic-internal-table/m-p/8037735#M1610497</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-07-11T14:25:27Z</dc:date>
    </item>
    <item>
      <title>Re: Defining Dynamic Internal Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/defining-dynamic-internal-table/m-p/8037736#M1610498</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;does this solve your problem?&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
DATA:
  lt_fieldcatalog TYPE lvc_t_fcat,
  ls_fieldcatalog LIKE LINE OF lt_fieldcatalog,
  lt_table        TYPE REF TO data.

FIELD-SYMBOLS:
  &amp;lt;lt_table&amp;gt;      TYPE table.


ls_fieldcatalog-fieldname = 'FIELD1'.
APPEND ls_fieldcatalog TO lt_fieldcatalog.
ls_fieldcatalog-fieldname = 'FIELD2'.
APPEND ls_fieldcatalog TO lt_fieldcatalog.

cl_alv_table_create=&amp;gt;create_dynamic_table(
  EXPORTING
    it_fieldcatalog           = lt_fieldcatalog
  IMPORTING
    ep_table                  = lt_table
  EXCEPTIONS
    generate_subpool_dir_full = 1
    OTHERS                    = 2 ).

ASSIGN lt_table-&amp;gt;* TO &amp;lt;lt_table&amp;gt;.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Oliver&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jul 2011 12:33:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/defining-dynamic-internal-table/m-p/8037736#M1610498</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-07-12T12:33:44Z</dc:date>
    </item>
    <item>
      <title>Re: Defining Dynamic Internal Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/defining-dynamic-internal-table/m-p/8037737#M1610499</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much for your answers I was able to solve my problem with the &amp;lt;FS&amp;gt; technique.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sylvain&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jul 2011 17:04:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/defining-dynamic-internal-table/m-p/8037737#M1610499</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-07-12T17:04:50Z</dc:date>
    </item>
    <item>
      <title>Re: Defining Dynamic Internal Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/defining-dynamic-internal-table/m-p/8037738#M1610500</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sylvain&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the same requirement to pass the internal table with varying number of columns in the adobe form and the same should be display in the form.,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have passed the dynamic internal table from the abap code to the adobe interface and checked teh same value are passed.&lt;/P&gt;&lt;P&gt;Tried the below solution:&lt;/P&gt;&lt;P&gt;1)Defined the field symbol of the type Standard table(beacuse the structure for table is not fixed) in the adobe Interface.&lt;/P&gt;&lt;P&gt;2)Assign the values of the internal table into the field symbol by:&lt;/P&gt;&lt;P&gt;   READ TABLE im_t_output INTO ls_output INDEX 1.&lt;/P&gt;&lt;P&gt;  ASSIGN ls_output-ZALVTAB-&amp;gt;* TO &amp;lt;GT_T_OUTPUT&amp;gt;.&lt;/P&gt;&lt;P&gt; Already checked , the values are coming into the &amp;lt;GT_T_OUTPUT&amp;gt; field symbols.&lt;/P&gt;&lt;P&gt;3) Drag the field symbol &amp;lt;GT_T_OUTPUT&amp;gt; from the adobe interface to the data context of the form.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when i am running the program its giving dump with the following error.&lt;/P&gt;&lt;P&gt; "You attempted to move one data object to another.&lt;/P&gt;&lt;P&gt;  This is not possible here because the conversion of a data object&lt;/P&gt;&lt;P&gt;  of type "h" to type "g" is not supported."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think that is beacuse in the form it ia taking the field symbol as the text value not the internal table .&lt;/P&gt;&lt;P&gt;As you have already solved the problem to pass the internal table of varying number of columns in the adobe for.&lt;/P&gt;&lt;P&gt;Request you to provide me the code or some guidelines so that i can achieve the same and also request to share hoe you have read the values of the internal table in the adobe form through the adove form language.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sourabh Makhija&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Dec 2011 07:31:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/defining-dynamic-internal-table/m-p/8037738#M1610500</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-12-12T07:31:24Z</dc:date>
    </item>
    <item>
      <title>Re: Defining Dynamic Internal Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/defining-dynamic-internal-table/m-p/8037739#M1610501</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;Can anyone tell how to pass this &amp;lt;fs&amp;gt; to the Adobe Form?&lt;/P&gt;&lt;P&gt;How can I declare in interface this &amp;lt;fs&amp;gt; and put it on the context on the form as a table?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Dec 2012 17:38:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/defining-dynamic-internal-table/m-p/8037739#M1610501</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-12-17T17:38:19Z</dc:date>
    </item>
  </channel>
</rss>

