<?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 Uploading Dynamically created Internal table form Flat file in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/uploading-dynamically-created-internal-table-form-flat-file/m-p/2196911#M469001</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am creating dynamic internal table as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*-create dynamic internal table&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 = i_fldcat[]&lt;/P&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;P&gt;      ep_table        = i_modify.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ASSIGN i_modify-&amp;gt;* TO &amp;lt;fs_tab&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The dymamic internal table is created with the given Ztable in the selection screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now the problem is when I try to upload this table &amp;lt;fs_table&amp;gt; using function module Call function 'UPLOAD'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The first column of flat file is getting updated in Mandt of &amp;lt;fs_table&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to update sy-mandt in MANDT of &amp;lt;fs_table&amp;gt; and the rest of the fields with flat file data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e.g.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Flat file data:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;100 white&lt;/P&gt;&lt;P&gt;101 black&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;fs_table&amp;gt; structure is getting uploaded as below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;mandt zcode zdesc&lt;/P&gt;&lt;P&gt;100     white&lt;/P&gt;&lt;P&gt;101     black&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if the clint is 700&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it has to be uploaded as &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;mandt zcode zdesc&lt;/P&gt;&lt;P&gt;700    100     white&lt;/P&gt;&lt;P&gt;700    101     black&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone knows what should be the approach or any other function module to be used ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Mahesh Sahu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 10 May 2007 21:28:45 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-05-10T21:28:45Z</dc:date>
    <item>
      <title>Uploading Dynamically created Internal table form Flat file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/uploading-dynamically-created-internal-table-form-flat-file/m-p/2196911#M469001</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am creating dynamic internal table as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*-create dynamic internal table&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 = i_fldcat[]&lt;/P&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;P&gt;      ep_table        = i_modify.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ASSIGN i_modify-&amp;gt;* TO &amp;lt;fs_tab&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The dymamic internal table is created with the given Ztable in the selection screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now the problem is when I try to upload this table &amp;lt;fs_table&amp;gt; using function module Call function 'UPLOAD'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The first column of flat file is getting updated in Mandt of &amp;lt;fs_table&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to update sy-mandt in MANDT of &amp;lt;fs_table&amp;gt; and the rest of the fields with flat file data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e.g.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Flat file data:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;100 white&lt;/P&gt;&lt;P&gt;101 black&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;fs_table&amp;gt; structure is getting uploaded as below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;mandt zcode zdesc&lt;/P&gt;&lt;P&gt;100     white&lt;/P&gt;&lt;P&gt;101     black&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if the clint is 700&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it has to be uploaded as &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;mandt zcode zdesc&lt;/P&gt;&lt;P&gt;700    100     white&lt;/P&gt;&lt;P&gt;700    101     black&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone knows what should be the approach or any other function module to be used ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Mahesh Sahu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 May 2007 21:28:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/uploading-dynamically-created-internal-table-form-flat-file/m-p/2196911#M469001</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-10T21:28:45Z</dc:date>
    </item>
    <item>
      <title>Re: Uploading Dynamically created Internal table form Flat file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/uploading-dynamically-created-internal-table-form-flat-file/m-p/2196912#M469002</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See the answer in your previous thread and close this thread. why do you want to have many threads for one question.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 May 2007 21:34:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/uploading-dynamically-created-internal-table-form-flat-file/m-p/2196912#M469002</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-10T21:34:55Z</dc:date>
    </item>
  </channel>
</rss>

