<?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: Conversion program required to update Ztable in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-program-required-to-update-ztable/m-p/5478117#M1254226</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Hope the following will help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;&amp;lt; Unformatable code rmoved &amp;gt;&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Rob Burbank on Apr 20, 2009 9:48 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 20 Apr 2009 12:12:00 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-04-20T12:12:00Z</dc:date>
    <item>
      <title>Conversion program required to update Ztable</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-program-required-to-update-ztable/m-p/5478115#M1254224</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;          My requirement is iam having TAB -Delimited text file in some directory .I need to write a conversion program which will pick the file and uploadin the &lt;STRONG&gt;zeetable&lt;/STRONG&gt;.Inbetween we need to some validations in the conversion program.Can any one send some IDEA on this requiremnet .&lt;/P&gt;&lt;P&gt;-&amp;gt; If any one send some sample program which do the same function it would be great.THANKS IN ADVANCE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sriram&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Apr 2009 10:42:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-program-required-to-update-ztable/m-p/5478115#M1254224</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-20T10:42:02Z</dc:date>
    </item>
    <item>
      <title>Re: Conversion program required to update Ztable</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-program-required-to-update-ztable/m-p/5478116#M1254225</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;&lt;/P&gt;&lt;P&gt;For ur zee table simply create table maintenance generator. After activiting again go to utilities-&amp;gt;Table Maintenance generator-&amp;gt; Environment-&amp;gt;Modifications-&amp;gt;events and create new entries inside this include write ur own validations which u required for ur ztable during uploading data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Apr 2009 11:51:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-program-required-to-update-ztable/m-p/5478116#M1254225</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-20T11:51:59Z</dc:date>
    </item>
    <item>
      <title>Re: Conversion program required to update Ztable</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-program-required-to-update-ztable/m-p/5478117#M1254226</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Hope the following will help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;&amp;lt; Unformatable code rmoved &amp;gt;&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Rob Burbank on Apr 20, 2009 9:48 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Apr 2009 12:12:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-program-required-to-update-ztable/m-p/5478117#M1254226</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-20T12:12:00Z</dc:date>
    </item>
    <item>
      <title>Re: Conversion program required to update Ztable</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-program-required-to-update-ztable/m-p/5478118#M1254227</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;&lt;/P&gt;&lt;P&gt;1. Get the TAB -Delimited file from the directory into internal table &lt;STRONG&gt;itab&lt;/STRONG&gt; using GUI_DOWNLOAD.&lt;/P&gt;&lt;P&gt;2. Perfrom the validation on the &lt;STRONG&gt;itab&lt;/STRONG&gt; and append the sucessuful records in &lt;STRONG&gt;I_FINAL&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;3  Using MODIFY statement update the Z table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Apr 2009 12:19:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-program-required-to-update-ztable/m-p/5478118#M1254227</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-20T12:19:52Z</dc:date>
    </item>
    <item>
      <title>Re: Conversion program required to update Ztable</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-program-required-to-update-ztable/m-p/5478119#M1254228</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sriram,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;According to your requirement,the solution goes in the following way&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1)  have a path in your program to upload the file(tab delimited) eg: C:/Document sand Settings/test.txt&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) SAP has given many interface FM's like GUI_DOWNLOAD which suits your requirement,this FM downloads the non sap data in the tab delimited file into an internal table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3)Immediately calling the FM use sy-subrc if its 1 then make the validations in your internal table &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4) Finally MODIFY enables us to modify the Z customized DB table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If anything else revert back&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards&lt;/P&gt;&lt;P&gt;Srikanth.P&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Apr 2009 13:42:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-program-required-to-update-ztable/m-p/5478119#M1254228</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-20T13:42:41Z</dc:date>
    </item>
    <item>
      <title>Re: Conversion program required to update Ztable</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-program-required-to-update-ztable/m-p/5478120#M1254229</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hey..check this code..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: BEGIN OF itab OCCURS 0,&lt;/P&gt;&lt;P&gt;        text(1520) TYPE c,&lt;/P&gt;&lt;P&gt;      END OF itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: wa_itab like line of itab.&lt;/P&gt;&lt;P&gt;CONSTANTS:  co_var(9) VALUE 'FNAME',&lt;/P&gt;&lt;P&gt;            ABAP_TRUE(5) VALUE 'TRUE'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME TITLE text-002 .&lt;/P&gt;&lt;P&gt;PARAMETER: p_lfile TYPE rlgrap-filename.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF BLOCK b2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_lfile.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; CALL FUNCTION 'KD_GET_FILENAME_ON_F4'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      program_name  = syst-repid&lt;/P&gt;&lt;P&gt;      dynpro_number = syst-dynnr&lt;/P&gt;&lt;P&gt;      field_name    = co_var&lt;/P&gt;&lt;P&gt;    CHANGING&lt;/P&gt;&lt;P&gt;      file_name     = p_lfile&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      mask_too_long = 1&lt;/P&gt;&lt;P&gt;      OTHERS        = 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; START-OF-SELECTION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; DATA  fsize type i.&lt;/P&gt;&lt;P&gt; CALL FUNCTION 'GUI_UPLOAD'&lt;/P&gt;&lt;P&gt;   EXPORTING&lt;/P&gt;&lt;P&gt;    FILENAME                      = p_lfile&lt;/P&gt;&lt;P&gt;    FILETYPE                      = 'ASC'&lt;/P&gt;&lt;P&gt;    HAS_FIELD_SEPARATOR           = 'X'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   HEADER_LENGTH                 = 0&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   READ_BY_LINE                  = 'X'&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   DAT_MODE                      = 'X'&lt;/P&gt;&lt;/LI&gt;&lt;UL&gt;&lt;LI level="2" type="ul"&gt;&lt;P&gt;   CODEPAGE                      = ' '&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   IGNORE_CERR                   = ABAP_TRUE&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   REPLACEMENT                   = '#'&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   CHECK_BOM                     = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   VIRUS_SCAN_PROFILE            =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  IMPORTING&lt;/P&gt;&lt;P&gt;    FILELENGTH                    = fsize&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   HEADER                        =&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;    FILE_OPEN_ERROR               = 1&lt;/P&gt;&lt;P&gt;    FILE_READ_ERROR               = 2&lt;/P&gt;&lt;P&gt;    NO_BATCH                      = 3&lt;/P&gt;&lt;P&gt;    GUI_REFUSE_FILETRANSFER       = 4&lt;/P&gt;&lt;P&gt;    INVALID_TYPE                  = 5&lt;/P&gt;&lt;P&gt;    NO_AUTHORITY                  = 6&lt;/P&gt;&lt;P&gt;    UNKNOWN_ERROR                 = 7&lt;/P&gt;&lt;P&gt;    BAD_DATA_FORMAT               = 8&lt;/P&gt;&lt;P&gt;    HEADER_NOT_ALLOWED            = 9&lt;/P&gt;&lt;P&gt;    SEPARATOR_NOT_ALLOWED         = 10&lt;/P&gt;&lt;P&gt;    HEADER_TOO_LONG               = 11&lt;/P&gt;&lt;P&gt;    UNKNOWN_DP_ERROR              = 12&lt;/P&gt;&lt;P&gt;    ACCESS_DENIED                 = 13&lt;/P&gt;&lt;P&gt;    DP_OUT_OF_MEMORY              = 14&lt;/P&gt;&lt;P&gt;    DISK_FULL                     = 15&lt;/P&gt;&lt;P&gt;    DP_TIMEOUT                    = 16&lt;/P&gt;&lt;P&gt;    OTHERS                        = 17&lt;/P&gt;&lt;P&gt;           .&lt;/P&gt;&lt;P&gt;  if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;  Loop at itab into wa_itab.&lt;/P&gt;&lt;P&gt;    INSERT  DB_TAB from wa_itab.&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;   endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Krishna Chaitanya  G on Apr 20, 2009 8:23 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Apr 2009 18:22:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-program-required-to-update-ztable/m-p/5478120#M1254229</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-20T18:22:50Z</dc:date>
    </item>
    <item>
      <title>Re: Conversion program required to update Ztable</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-program-required-to-update-ztable/m-p/5478121#M1254230</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;apart from the all above replies, would like to give u 1 more tip: its self explanatory, if u find any such prog.s in ur system itself ( preferably in QA system).&lt;/P&gt;&lt;P&gt;example specify GUI_DOWNLOAD in se37 and then use WHERE USED LIST and select Z prog. in ur system.&lt;/P&gt;&lt;P&gt;thanq&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Apr 2009 18:40:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-program-required-to-update-ztable/m-p/5478121#M1254230</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-20T18:40:18Z</dc:date>
    </item>
  </channel>
</rss>

