<?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: upload data into the table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/upload-data-into-the-table/m-p/1962483#M395575</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Anji,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You said 'Schedule this program as a Background Job with required time paramters'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you not know that you cannot schedule this FM in the background.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 19 Feb 2007 10:37:16 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-02-19T10:37:16Z</dc:date>
    <item>
      <title>upload data into the table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/upload-data-into-the-table/m-p/1962477#M395569</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have data in the internal table which i need to put one Ztable which i created, can any one help me out in giving an example for how to upload the data into the table in background job everyday Using BDC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will be very thankful if any one you can help me out with some examples thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Feb 2007 09:46:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/upload-data-into-the-table/m-p/1962477#M395569</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-19T09:46:39Z</dc:date>
    </item>
    <item>
      <title>Re: upload data into the table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/upload-data-into-the-table/m-p/1962478#M395570</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 have created any custom screen to Insert data into the custom table, then you can do BDC for it. If there is no Custom Screen, you can 1st validate the data that is uploaded and directly user INSERT statement to create data in table. I dont see any advantage in doing BDC for SM30 and uploading data into table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Mahesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Feb 2007 09:50:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/upload-data-into-the-table/m-p/1962478#M395570</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-19T09:50:04Z</dc:date>
    </item>
    <item>
      <title>Re: upload data into the table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/upload-data-into-the-table/m-p/1962479#M395571</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Sample code to update the Z db table :&lt;/P&gt;&lt;P&gt;REPORT yupload.&lt;/P&gt;&lt;P&gt;TABLES ybtab.&lt;/P&gt;&lt;P&gt;DATA itab LIKE ybtab OCCURS 0 WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'WS_UPLOAD'&lt;/P&gt;&lt;P&gt; EXPORTING&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  CODEPAGE                      = ' '&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;   filename                      = 'C:\data.txt'&lt;/P&gt;&lt;P&gt;   filetype                      = 'DAT'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  HEADLEN                       = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  LINE_EXIT                     = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  TRUNCLEN                      = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  USER_FORM                     = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  USER_PROG                     = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  DAT_D_FORMAT                  = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  FILELENGTH                    =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  TABLES&lt;/P&gt;&lt;P&gt;    data_tab                      = itab&lt;/P&gt;&lt;P&gt; EXCEPTIONS&lt;/P&gt;&lt;P&gt;   CONVERSION_ERROR              = 1&lt;/P&gt;&lt;P&gt;   FILE_OPEN_ERROR               = 2&lt;/P&gt;&lt;P&gt;   FILE_READ_ERROR               = 3&lt;/P&gt;&lt;P&gt;   INVALID_TYPE                  = 4&lt;/P&gt;&lt;P&gt;   NO_BATCH                      = 5&lt;/P&gt;&lt;P&gt;   UNKNOWN_ERROR                 = 6&lt;/P&gt;&lt;P&gt;   INVALID_TABLE_WIDTH           = 7&lt;/P&gt;&lt;P&gt;   GUI_REFUSE_FILETRANSFER       = 8&lt;/P&gt;&lt;P&gt;   CUSTOMER_ERROR                = 9&lt;/P&gt;&lt;P&gt;   NO_AUTHORITY                  = 10&lt;/P&gt;&lt;P&gt;   OTHERS                        = 11&lt;/P&gt;&lt;P&gt;          .&lt;/P&gt;&lt;P&gt;IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;ELSE.&lt;/P&gt;&lt;P&gt;  INSERT ybtab FROM TABLE itab.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;Schedule this program as a Background Job with required time paramters .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Feb 2007 09:52:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/upload-data-into-the-table/m-p/1962479#M395571</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-19T09:52:25Z</dc:date>
    </item>
    <item>
      <title>Re: upload data into the table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/upload-data-into-the-table/m-p/1962480#M395572</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Madan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For ur requirement there is no  need to use BDC. Instead declare ut itab similar to the ZTABLE anf use the MODIFY statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;MODIFY ZTABLE FROM ITAB.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vasanth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Feb 2007 09:53:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/upload-data-into-the-table/m-p/1962480#M395572</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-19T09:53:15Z</dc:date>
    </item>
    <item>
      <title>Re: upload data into the table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/upload-data-into-the-table/m-p/1962481#M395573</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;  As you will upload the data to the standard tables through the standard transactions we can do the same to upload the data to the ztables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;kumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Feb 2007 09:54:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/upload-data-into-the-table/m-p/1962481#M395573</guid>
      <dc:creator>sreeramkumar_madisetty</dc:creator>
      <dc:date>2007-02-19T09:54:46Z</dc:date>
    </item>
    <item>
      <title>Re: upload data into the table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/upload-data-into-the-table/m-p/1962482#M395574</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use insert statement to upload data, but validate ur data before inserting.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Feb 2007 10:35:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/upload-data-into-the-table/m-p/1962482#M395574</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-19T10:35:33Z</dc:date>
    </item>
    <item>
      <title>Re: upload data into the table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/upload-data-into-the-table/m-p/1962483#M395575</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Anji,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You said 'Schedule this program as a Background Job with required time paramters'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you not know that you cannot schedule this FM in the background.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Feb 2007 10:37:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/upload-data-into-the-table/m-p/1962483#M395575</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-19T10:37:16Z</dc:date>
    </item>
    <item>
      <title>Re: upload data into the table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/upload-data-into-the-table/m-p/1962484#M395576</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 wnat to upload the data from the internal table into the ztable then you have to first create the dialogue program with some screens which updates the table from the data given in the screen. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After that you can record your dialogue program and code a BDC. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, I suggest you to use the statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Insert &amp;lt;Ztablename&amp;gt; from table &amp;lt;internal_table_name&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with the help of this , you will be able to directly post the value of the internal table to the Ztable. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The internal table should be of the same structure like the Ztable. &lt;/P&gt;&lt;P&gt;Remember to validate the data before inserting. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this might be helpfull&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Feb 2007 10:42:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/upload-data-into-the-table/m-p/1962484#M395576</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-19T10:42:40Z</dc:date>
    </item>
    <item>
      <title>Re: upload data into the table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/upload-data-into-the-table/m-p/1962485#M395577</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your valuable inputs,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so i have the fields in the table the Company Code, Plant, Year, Material No ... , As per the reply you have given i have to create a screen with the Company code Plant and Year and the remaining i will update after validating can you suggest me some example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here  is my Requirement i have the data in the internal table, my internal table has the fields like Company code, Plant, Year, Inventory Qty, Material num, Inventory Value, ........&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So i want to upload the data to the table which have the similar structure of my internal table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Feb 2007 10:52:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/upload-data-into-the-table/m-p/1962485#M395577</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-19T10:52:41Z</dc:date>
    </item>
  </channel>
</rss>

