<?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: how to use dynamic internal table when using gui_upload? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-dynamic-internal-table-when-using-gui-upload/m-p/7642820#M1572378</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi madhukar&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have only one flat file..i am doing uploading for mb1a transaction..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my flat file is like &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;document date posting date docheader text  plant storage location material quantityinunit of measure assetno subassetno serialno&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with respect to quantity n number of serial number will be there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in that i have to pass serial number only dyanamicaly ....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is that possible...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 Feb 2011 13:57:49 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-02-16T13:57:49Z</dc:date>
    <item>
      <title>how to use dynamic internal table when using gui_upload?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-dynamic-internal-table-when-using-gui-upload/m-p/7642816#M1572374</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;my scenario is like i have header data, item data and serial numbers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so with respect to the  quantity in unit of measure ,there will be number of serial numbers..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have declared the dynamic internal table,but i am not getting the logic to change the structure accordingly with respect to the flat file entries..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is it possible to do or its not possible....any suggestion!!!!i have declared like this....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPES: BEGIN OF ty_final,&lt;/P&gt;&lt;P&gt;      bldat TYPE string,      "Document Date&lt;/P&gt;&lt;P&gt;      budat TYPE string,      "Psting Date&lt;/P&gt;&lt;P&gt;      bktxt TYPE string,      "Document Header Text&lt;/P&gt;&lt;P&gt;      werks TYPE string,      "Plant&lt;/P&gt;&lt;P&gt;      lgort TYPE string,      "Storage Location&lt;/P&gt;&lt;P&gt;      matnr TYPE string,      "Material Number&lt;/P&gt;&lt;P&gt;      erfmg TYPE string,      "Quantity in Unit Of Entry&lt;/P&gt;&lt;P&gt;      anln1 TYPE string,      "Asset Number&lt;/P&gt;&lt;P&gt;      anln2 TYPE string,      "Asset Subnumber&lt;/P&gt;&lt;P&gt;      sernr TYPE string,      "serial Number&lt;/P&gt;&lt;P&gt; END OF ty_final.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : it_final TYPE TABLE OF ty_final,&lt;/P&gt;&lt;P&gt;       wa_final TYPE ty_final.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FIELD-SYMBOLS : &amp;lt;fs_final&amp;gt; TYPE table.&lt;/P&gt;&lt;P&gt;ASSIGN it_final TO &amp;lt;fs_final&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;after this i called gui upload and passed internal table it_final..&lt;/P&gt;&lt;P&gt;but i have to change the internal table structure dynamically before the upload function.so that it will match with the flat file...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Karthick&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Feb 2011 10:29:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-dynamic-internal-table-when-using-gui-upload/m-p/7642816#M1572374</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-02-16T10:29:22Z</dc:date>
    </item>
    <item>
      <title>Re: how to use dynamic internal table when using gui_upload?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-dynamic-internal-table-when-using-gui-upload/m-p/7642817#M1572375</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Can you tell on what basis your flat file is going to change ?&lt;/P&gt;&lt;P&gt;How many types of flat file will you require to upload ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Madhukar Shetty&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Feb 2011 10:44:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-dynamic-internal-table-when-using-gui-upload/m-p/7642817#M1572375</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-02-16T10:44:58Z</dc:date>
    </item>
    <item>
      <title>Re: how to use dynamic internal table when using gui_upload?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-dynamic-internal-table-when-using-gui-upload/m-p/7642818#M1572376</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There are at least two approaches you can use to change/generate new dynamic-structured table. Either with [RTTI + RTTS|https://wiki.sdn.sap.com/wiki/display/Snippets/Creating&lt;EM&gt;Flat&lt;/EM&gt;and&lt;EM&gt;Complex&lt;/EM&gt;Internal&lt;EM&gt;Tables&lt;/EM&gt;Dynamically&lt;EM&gt;using&lt;/EM&gt;RTTI] or using [CL_ALV_TABLE_CREATE|http://www.sdn.sap.com/irj/scn/advancedsearch?query=cl_alv_table_create] . In this one just determine fieldcatalog of current table and change it accordingly, then regenarate table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are plenty of examples in SCN for this. You should not face difficulties applying this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Marcin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Feb 2011 10:49:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-dynamic-internal-table-when-using-gui-upload/m-p/7642818#M1572376</guid>
      <dc:creator>MarcinPciak</dc:creator>
      <dc:date>2011-02-16T10:49:54Z</dc:date>
    </item>
    <item>
      <title>Re: how to use dynamic internal table when using gui_upload?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-dynamic-internal-table-when-using-gui-upload/m-p/7642819#M1572377</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;data :  ifc type lvc_t_fcat.&lt;/P&gt;&lt;P&gt;call method cl_alv_table_create=&amp;gt;create_dynamic_table &lt;/P&gt;&lt;P&gt;               exporting &lt;/P&gt;&lt;P&gt;                  it_fieldcatalog = ifc &lt;/P&gt;&lt;P&gt;               importing &lt;/P&gt;&lt;P&gt;                  ep_table        = dy_table. &lt;/P&gt;&lt;P&gt;    assign dy_table-&amp;gt;* to &amp;lt;dyn_table&amp;gt;. &lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Create dynamic work area and assign to FS &lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  create data dy_line like line of &amp;lt;dyn_table&amp;gt;. &lt;/P&gt;&lt;P&gt;  assign dy_line-&amp;gt;* to &amp;lt;dyn_wa&amp;gt;. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Sri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Feb 2011 10:59:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-dynamic-internal-table-when-using-gui-upload/m-p/7642819#M1572377</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-02-16T10:59:00Z</dc:date>
    </item>
    <item>
      <title>Re: how to use dynamic internal table when using gui_upload?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-dynamic-internal-table-when-using-gui-upload/m-p/7642820#M1572378</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi madhukar&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have only one flat file..i am doing uploading for mb1a transaction..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my flat file is like &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;document date posting date docheader text  plant storage location material quantityinunit of measure assetno subassetno serialno&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with respect to quantity n number of serial number will be there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in that i have to pass serial number only dyanamicaly ....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is that possible...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Feb 2011 13:57:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-dynamic-internal-table-when-using-gui-upload/m-p/7642820#M1572378</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-02-16T13:57:49Z</dc:date>
    </item>
    <item>
      <title>Re: how to use dynamic internal table when using gui_upload?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-dynamic-internal-table-when-using-gui-upload/m-p/7642821#M1572379</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi marctin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am not getting why i have to use field catalog?i am doing uploading for mb1a transaction..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and cant iuse the way i used to declare dynamic internal table?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Feb 2011 13:59:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-dynamic-internal-table-when-using-gui-upload/m-p/7642821#M1572379</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-02-16T13:59:45Z</dc:date>
    </item>
    <item>
      <title>Re: how to use dynamic internal table when using gui_upload?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-dynamic-internal-table-when-using-gui-upload/m-p/7642822#M1572380</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi sridhar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i m not just getting whhy i have to use field catalog?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the way i declared the dynamic internal table is wrong?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Feb 2011 14:01:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-dynamic-internal-table-when-using-gui-upload/m-p/7642822#M1572380</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-02-16T14:01:05Z</dc:date>
    </item>
    <item>
      <title>Re: how to use dynamic internal table when using gui_upload?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-dynamic-internal-table-when-using-gui-upload/m-p/7642823#M1572381</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you mean it this way ????&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

types:begin of ty1,
      f1 type c,
      f2 type c,
end of ty1.

types:begin of ty2,
      f1 type char02,
      f2 type char02,
end of ty1.

data:it1 type table of ty1,
     it2 type table of ty2.

field-symbols:&amp;lt;fs_tab&amp;gt; type standard table.


if op1 = 'X'.
assign it1 to &amp;lt;fs_tab&amp;gt;.
else.
assign it2 to &amp;lt;fs_tab&amp;gt;.
endif.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Feb 2011 14:34:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-dynamic-internal-table-when-using-gui-upload/m-p/7642823#M1572381</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2011-02-16T14:34:40Z</dc:date>
    </item>
    <item>
      <title>Re: how to use dynamic internal table when using gui_upload?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-dynamic-internal-table-when-using-gui-upload/m-p/7642824#M1572382</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi keshav,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;s this way only....i have already put how i declared!!!!!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Feb 2011 04:36:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-dynamic-internal-table-when-using-gui-upload/m-p/7642824#M1572382</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-02-17T04:36:35Z</dc:date>
    </item>
    <item>
      <title>Re: how to use dynamic internal table when using gui_upload?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-dynamic-internal-table-when-using-gui-upload/m-p/7642825#M1572383</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Partly solved but thanks for the kind help and tips provided by the experts..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Feb 2011 10:19:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-dynamic-internal-table-when-using-gui-upload/m-p/7642825#M1572383</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-02-21T10:19:11Z</dc:date>
    </item>
    <item>
      <title>Re: how to use dynamic internal table when using gui_upload?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-dynamic-internal-table-when-using-gui-upload/m-p/7642826#M1572384</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i used the function module TEXT_CONVERT_XLS_TO_SAP but it's showing field symbol is not assigned in runtime&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Sep 2012 09:34:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-dynamic-internal-table-when-using-gui-upload/m-p/7642826#M1572384</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-09-05T09:34:57Z</dc:date>
    </item>
  </channel>
</rss>

