<?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: to open pdf from binary text itab in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/to-open-pdf-from-binary-text-itab/m-p/4248561#M1014085</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Amit,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your patience inputs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will be downloading a file of size 3-5MB&lt;/P&gt;&lt;P&gt;So thats going to be huge and gives a message so many bytes transferred..&lt;/P&gt;&lt;P&gt;I don't want that to happen thats my intention.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Simha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 18 Aug 2008 11:19:17 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-08-18T11:19:17Z</dc:date>
    <item>
      <title>to open pdf from binary text itab</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/to-open-pdf-from-binary-text-itab/m-p/4248552#M1014076</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a PDF in app server which i am reading into a binary text form into an internal table.&lt;/P&gt;&lt;P&gt;Below code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
data: begin of itab occurs 0,
field(256),
end of itab.
data: dsn(100) value '/usr/sap/xfr/FIS/testpdf',

open dataset dsn for input in binary mode.
 
do.
read dataset dsn into itab-field.
if sy-subrc = 0.
append itab.
else.
exit.
endif.
enddo.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now how do i launch this PDF by using this binary text in ITAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know i can download on to presentation server using GUI_Download, and then opening the same using CL_GUI_FRONTEND_SERVICES=&amp;gt;EXECUTE&lt;/P&gt;&lt;P&gt;but i don't want to do that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any way to launch / render this PDF on UI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any inputs on this is highly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Simha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Jul 2008 07:22:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/to-open-pdf-from-binary-text-itab/m-p/4248552#M1014076</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-31T07:22:50Z</dc:date>
    </item>
    <item>
      <title>Re: to open pdf from binary text itab</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/to-open-pdf-from-binary-text-itab/m-p/4248553#M1014077</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;using HTML Viewer you can get that..pass the PDF and generate the URL and use the same for display .show URL will take care of that.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data:    v_html_alignment type i,
           v_numbytes type i,
           v_mode type char1,
           v_url(255) type c,
           v_pdf     like sopcklsti1-doc_type value 'PDF',
           v_application(11) type c value 'application',
           lt_pdf  type table of tline.


*-Container for html viewer
  data: cl_html_container type ref to cl_gui_custom_container,
*-HTML viewer
        cl_htmlviewer     type ref to cl_gui_html_viewer.

**-Create container for HTML viewer
*  create object cl_html_container
*    exporting
*      container_name = 'HTML_CONTAINER'.
*
**-Create HTML Viewer
*  create object cl_htmlviewer
*    exporting parent = cl_html_container.
*
**-Alignment
**  v_html_alignment = cl_htmlviewer-&amp;gt;align_at_left  +
**                     cl_htmlviewer-&amp;gt;align_at_right +
**                     cl_htmlviewer-&amp;gt;align_at_top   +
**                     cl_htmlviewer-&amp;gt;align_at_bottom.
**
**  call method cl_htmlviewer-&amp;gt;set_alignment
**    EXPORTING
**      alignment = v_html_alignment
**    EXCEPTIONS
**      others    = 1.
*
*
**-Load PDF Data
*  call method cl_htmlviewer-&amp;gt;load_data
*    EXPORTING
*      type                 = v_application
*      subtype              = v_pdf
*      size                 = v_numbytes
*    IMPORTING
*      assigned_url         = v_url
*    CHANGING
*      data_table           = lt_pdf
*    EXCEPTIONS
*      dp_invalid_parameter = 1
*      dp_error_general     = 2
*      cntl_error           = 3
*      others               = 4.
*
*
*  call method cl_htmlviewer-&amp;gt;show_url   "data
*    EXPORTING
*      url                    = v_url
*      in_place               = ' '
*    EXCEPTIONS
*      cntl_error             = 1
*      cnht_error_not_allowed = 2
*      cnht_error_parameter   = 3
*      dp_error_general       = 4
*      others                 = 5.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use the above code.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Jul 2008 07:35:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/to-open-pdf-from-binary-text-itab/m-p/4248553#M1014077</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-31T07:35:41Z</dc:date>
    </item>
    <item>
      <title>Re: to open pdf from binary text itab</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/to-open-pdf-from-binary-text-itab/m-p/4248554#M1014078</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vijay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your inputs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used the code but just populated lt_pdf like below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
LOOP AT ITAB.
  LS_PDF-TDLINE = ITAB-FIELD.
  APPEND LS_PDF TO LT_PDF.
ENDLOOP.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but its not working i am getting HTML000001.pdf in V_URL in load_data method but show_url is not working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is wrong with my code?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Simha&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Simha on Jul 31, 2008 11:11 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Jul 2008 08:12:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/to-open-pdf-from-binary-text-itab/m-p/4248554#M1014078</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-31T08:12:56Z</dc:date>
    </item>
    <item>
      <title>Re: to open pdf from binary text itab</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/to-open-pdf-from-binary-text-itab/m-p/4248555#M1014079</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can some one help me out?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Simha on Aug 8, 2008 10:29 AM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Simha on Aug 18, 2008 12:19 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Aug 2008 07:24:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/to-open-pdf-from-binary-text-itab/m-p/4248555#M1014079</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-04T07:24:10Z</dc:date>
    </item>
    <item>
      <title>Re: to open pdf from binary text itab</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/to-open-pdf-from-binary-text-itab/m-p/4248556#M1014080</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi simha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you say that you do not want to download the file&lt;/P&gt;&lt;P&gt;on presentation server (front end) and open it --&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But that would really happen if at all there is some&lt;/P&gt;&lt;P&gt;FM which would directly open the file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eg. When we open a file on browser thru a link,&lt;/P&gt;&lt;P&gt;the file actually gets downloaded on local machine&lt;/P&gt;&lt;P&gt;in some temporary folder under some temporary name,&lt;/P&gt;&lt;P&gt;and ONLY then it gets opened.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't see any other direct way in which a pdf file can&lt;/P&gt;&lt;P&gt;get opened, without getting downloaded &amp;amp; saved, behind the scenes.&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;amit m.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Aug 2008 10:22:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/to-open-pdf-from-binary-text-itab/m-p/4248556#M1014080</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-18T10:22:46Z</dc:date>
    </item>
    <item>
      <title>Re: to open pdf from binary text itab</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/to-open-pdf-from-binary-text-itab/m-p/4248557#M1014081</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Amit,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I understand that anything that you open on your PC takes system memory but there should be a way to open the attachments using cl_htmlviewer or something.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What i want is, in a report on click of button i need to invoke the attaachment(either PDF/JPEG).&lt;/P&gt;&lt;P&gt;as i have this data as binary text in a cluster table, which i will retrieve on click of button into ITAB and invoke.&lt;/P&gt;&lt;P&gt;I am struck here in invoking this as i am not sure how to do using HTML control or any other better ways.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Simha&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Simha on Aug 18, 2008 12:56 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Aug 2008 10:54:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/to-open-pdf-from-binary-text-itab/m-p/4248557#M1014081</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-18T10:54:44Z</dc:date>
    </item>
    <item>
      <title>Re: to open pdf from binary text itab</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/to-open-pdf-from-binary-text-itab/m-p/4248558#M1014082</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi again,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Is there any specific reason that - behind the scenes -&lt;/P&gt;&lt;P&gt;  you do not want to download the file on front end and then open it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As per my personal opinion, there is no  harm in doing it.&lt;/P&gt;&lt;P&gt;If we use a HTML viewer or anything, it will also do the&lt;/P&gt;&lt;P&gt;same behind the scenes.&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;amit m.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Aug 2008 10:58:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/to-open-pdf-from-binary-text-itab/m-p/4248558#M1014082</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-18T10:58:08Z</dc:date>
    </item>
    <item>
      <title>Re: to open pdf from binary text itab</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/to-open-pdf-from-binary-text-itab/m-p/4248559#M1014083</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;when i download and open it, user knows that it is being downloaded and i don't want to do it as i feel its not the best way of giving the solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can't we invoke with out downloading?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Aug 2008 11:02:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/to-open-pdf-from-binary-text-itab/m-p/4248559#M1014083</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-18T11:02:17Z</dc:date>
    </item>
    <item>
      <title>Re: to open pdf from binary text itab</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/to-open-pdf-from-binary-text-itab/m-p/4248560#M1014084</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;1. If your concern is about the user knowing that the file&lt;/P&gt;&lt;P&gt;  is downloaded,&lt;/P&gt;&lt;P&gt;  then i would say that don't worry about that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  When we use GUI_DOWNLOAD then there is&lt;/P&gt;&lt;P&gt;  no progress bar or any download icon on front-end,&lt;/P&gt;&lt;P&gt;  that one can know what is really happening.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  It would be almost instantaneous, unless the file is very big.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. To get a taste of it, just copy paste.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a) this will download a .txt file with two lines&lt;/P&gt;&lt;P&gt;b) it will automatically open it in notepad.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

report abc.


*---------------------------------------
data : begin of itab occurs 0,
       line(100) type c,
       end of itab.


*---------------------------------------
itab-line = 'This is line 1'.
append itab.
itab-line = 'This is line 2'.
append itab.



*---------------------------------------
CALL FUNCTION 'GUI_DOWNLOAD'
  EXPORTING
*   BIN_FILESIZE                    =
    FILENAME                        = 'd:\zz.txt'
*   FILETYPE                        = 'ASC'
  TABLES
    DATA_TAB                        = itab
.

*---------------------------------------
CALL FUNCTION 'GUI_RUN'
  EXPORTING
    COMMAND          = 'd:\zz.txt'
*   PARAMETER        =
*   CD               =
* IMPORTING
*   RETURNCODE       =
          .



&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;amit m.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Aug 2008 11:06:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/to-open-pdf-from-binary-text-itab/m-p/4248560#M1014084</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-18T11:06:50Z</dc:date>
    </item>
    <item>
      <title>Re: to open pdf from binary text itab</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/to-open-pdf-from-binary-text-itab/m-p/4248561#M1014085</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Amit,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your patience inputs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will be downloading a file of size 3-5MB&lt;/P&gt;&lt;P&gt;So thats going to be huge and gives a message so many bytes transferred..&lt;/P&gt;&lt;P&gt;I don't want that to happen thats my intention.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Simha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Aug 2008 11:19:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/to-open-pdf-from-binary-text-itab/m-p/4248561#M1014085</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-18T11:19:17Z</dc:date>
    </item>
    <item>
      <title>Re: to open pdf from binary text itab</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/to-open-pdf-from-binary-text-itab/m-p/4248562#M1014086</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi again,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If your concern is just about the message of xx bytes transferred,&lt;/P&gt;&lt;P&gt;then there is a small one line work around for it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will not show the standard message, instead&lt;/P&gt;&lt;P&gt;it will show our message which can be either blank,&lt;/P&gt;&lt;P&gt;or a simple message that 'Opening File'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just put this statement, immediately after gui_download.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

*---------------- MESSAGE-----
message 'Opening File' type 'S'.
*------------------------------

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now run the program again, and u will see the difference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;amit m.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Aug 2008 11:24:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/to-open-pdf-from-binary-text-itab/m-p/4248562#M1014086</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-18T11:24:30Z</dc:date>
    </item>
    <item>
      <title>Re: to open pdf from binary text itab</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/to-open-pdf-from-binary-text-itab/m-p/4248563#M1014087</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I did the same for a file which is at desktop.&lt;/P&gt;&lt;P&gt;use function module GUI_UPLOAD in BIN format and put it into internal table.&lt;/P&gt;&lt;P&gt;then do whatever you want with the internal table and then take the output with GUI_DOWNLOAD FUNCTION MODULE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find the code below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT  ZCRMTEST NO STANDARD PAGE HEADING.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;************************************************************************&lt;/P&gt;&lt;P&gt;*Program Name    : ZCRMTEST&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;**----&lt;/P&gt;&lt;HR originaltext="---------------------------------------------------" /&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="2" type="ul"&gt;&lt;P&gt;                  TABLES&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;**----&lt;/P&gt;&lt;HR originaltext="---------------------------------------------------" /&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;TABLES: zcrmtest."/sapapo/dp_fcst2,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*----&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------" /&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                 DATA DECLARATION&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;*----&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA:      file_name TYPE string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: BEGIN OF file_data OCCURS 0,         "Table for file records&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     pareaid(40) TYPE c,&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     seltext(120) TYPE c,&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      prpfl(70) TYPE c,&lt;/P&gt;&lt;P&gt;      END OF file_data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: BEGIN OF t_plan OCCURS 0,&lt;/P&gt;&lt;P&gt;      selectionid(22) TYPE c,&lt;/P&gt;&lt;P&gt;      sel_description(120) TYPE c,&lt;/P&gt;&lt;P&gt;      prpfl(22) TYPE c,&lt;/P&gt;&lt;P&gt;      END OF t_plan.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: no_of_records_in_plan TYPE sy-tfill,&lt;/P&gt;&lt;P&gt;      no_of_records_in_dp_fcst2 TYPE sy-tfill,&lt;/P&gt;&lt;P&gt;      final_table_records TYPE sy-tfill,&lt;/P&gt;&lt;P&gt;      no_of_records_in_file TYPE sy-tfill.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*----&lt;/P&gt;&lt;HR originaltext="------------------------------------------------------" /&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                FIELD-SYMBOLS&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;*----&lt;/P&gt;&lt;HR originaltext="------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FIELD-SYMBOLS &amp;lt;fs_t_plan&amp;gt; LIKE t_plan.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*----&lt;/P&gt;&lt;HR originaltext="------------------------------------------------------" /&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                SELECTION SCREEN&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;*----&lt;/P&gt;&lt;HR originaltext="------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;*SELECTION-SCREEN BEGIN OF BLOCK blk1 WITH FRAME TITLE text-001.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;*PARAMETERS :     p_area TYPE /sapapo/dp_fcst2-pareaid OBLIGATORY.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;*SELECTION-SCREEN END OF BLOCK blk1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF BLOCK blk2 WITH FRAME TITLE text-002.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS:      filename LIKE rlgrap-filename  "Output file path&lt;/P&gt;&lt;P&gt;                 DEFAULT '' OBLIGATORY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF BLOCK blk2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*----&lt;/P&gt;&lt;HR originaltext="-------------------------------------------------------" /&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;            AT SELECTION SCREEN&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;*----&lt;/P&gt;&lt;HR originaltext="-------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN ON VALUE-REQUEST FOR filename.&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;      field_name = filename&lt;/P&gt;&lt;P&gt;    CHANGING&lt;/P&gt;&lt;P&gt;      file_name  = filename.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TOP-OF-PAGE.&lt;/P&gt;&lt;P&gt;  sy-title = ' Overview Of Data Upload In Table /sapapo/dp_fcst2 '.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  WRITE: 'PROGRAM EXECUTED BY' .&lt;/P&gt;&lt;P&gt;  WRITE: '               '.&lt;/P&gt;&lt;P&gt;  WRITE: 'DATE'.&lt;/P&gt;&lt;P&gt;  WRITE: '               '.&lt;/P&gt;&lt;P&gt;  WRITE: 'TIME' .&lt;/P&gt;&lt;P&gt;  SKIP 1.&lt;/P&gt;&lt;P&gt;  WRITE: sy-uname .&lt;/P&gt;&lt;P&gt;  WRITE: '                      '.&lt;/P&gt;&lt;P&gt;  WRITE: sy-datum .&lt;/P&gt;&lt;P&gt;  WRITE: '         '.&lt;/P&gt;&lt;P&gt;  WRITE: sy-uzeit .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  WRITE:/.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*----&lt;/P&gt;&lt;HR originaltext="-------------------------------------------------------" /&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  CALL FUNCTION FOR TAB DELIMITED FILE UPLOAD TO SAP SYSTEM&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;*----&lt;/P&gt;&lt;HR originaltext="-------------------------------------------------------" /&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;  file_name = filename.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'GUI_UPLOAD'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;     filename                      =  file_name&lt;/P&gt;&lt;P&gt;     filetype                      =  'BIN' "'ASC'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   has_field_separator           =  'X'&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   HEADER_LENGTH                 =   '1'&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                      = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   CODEPAGE                      = ' '&lt;/P&gt;&lt;/LI&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;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;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                      = file_data&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 &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno&lt;/P&gt;&lt;P&gt;            WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;  DESCRIBE TABLE file_data .&lt;/P&gt;&lt;P&gt;  no_of_records_in_file = sy-tfill.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  data: itab type standard table of zcrmtest with header line,&lt;/P&gt;&lt;P&gt;         count type sy-tabix..&lt;/P&gt;&lt;P&gt;  loop at file_data.&lt;/P&gt;&lt;P&gt;  count = sy-tabix.&lt;/P&gt;&lt;P&gt;    itab-mandt = sy-mandt.&lt;/P&gt;&lt;P&gt;    itab-count1 = count.&lt;/P&gt;&lt;P&gt;    itab-ZTEST = file_data-prpfl.&lt;/P&gt;&lt;P&gt;    append itab.&lt;/P&gt;&lt;P&gt;    insert into zcrmtest values  itab.&lt;/P&gt;&lt;P&gt;  commit work.&lt;/P&gt;&lt;P&gt;  clear itab.&lt;/P&gt;&lt;P&gt;  endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  clear itab.&lt;/P&gt;&lt;P&gt;  refresh itab[].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: BEGIN OF file_data_DOWNLOAD OCCURS 0,         "Table for file records&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     pareaid(40) TYPE c,&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     seltext(120) TYPE c,&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      prpfl(70) TYPE c,&lt;/P&gt;&lt;P&gt;      END OF file_data_DOWNLOAD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT * FROM ZCRMTEST INTO CORRESPONDING FIELDS OF TABLE itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT ITAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;file_data_DOWNLOAD-PRPFL = itab-ZTEST.&lt;/P&gt;&lt;P&gt;APPEND file_data_DOWNLOAD.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'GUI_DOWNLOAD'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    BIN_FILESIZE                    =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      FILENAME                        = 'C:\test.pdf'&lt;/P&gt;&lt;P&gt;     FILETYPE                        = 'BIN'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    APPEND                          = ' '&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;     WRITE_FIELD_SEPARATOR           = ' '&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    HEADER                          = '00'&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    TRUNC_TRAILING_BLANKS           = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    WRITE_LF                        = 'X'&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    COL_SELECT                      = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    COL_SELECT_MASK                 = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    DAT_MODE                        = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    CONFIRM_OVERWRITE               = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    NO_AUTH_CHECK                   = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    CODEPAGE                        = ' '&lt;/P&gt;&lt;/LI&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;    WRITE_BOM                       = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    TRUNC_TRAILING_BLANKS_EOL       = 'X'&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    WK1_N_FORMAT                    = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    WK1_N_SIZE                      = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    WK1_T_FORMAT                    = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    WK1_T_SIZE                      = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    WRITE_LF_AFTER_LAST_LINE        = ABAP_TRUE&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    SHOW_TRANSFER_STATUS            = ABAP_TRUE&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                        = file_data_DOWNLOAD          "itab "file_data&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    FIELDNAMES                      =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  EXCEPTIONS&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    FILE_WRITE_ERROR                = 1&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    NO_BATCH                        = 2&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    GUI_REFUSE_FILETRANSFER         = 3&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    INVALID_TYPE                    = 4&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    NO_AUTHORITY                    = 5&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    UNKNOWN_ERROR                   = 6&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    HEADER_NOT_ALLOWED              = 7&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    SEPARATOR_NOT_ALLOWED           = 8&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    FILESIZE_NOT_ALLOWED            = 9&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    HEADER_TOO_LONG                 = 10&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    DP_ERROR_CREATE                 = 11&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    DP_ERROR_SEND                   = 12&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    DP_ERROR_WRITE                  = 13&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    UNKNOWN_DP_ERROR                = 14&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    ACCESS_DENIED                   = 15&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    DP_OUT_OF_MEMORY                = 16&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    DISK_FULL                       = 17&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    DP_TIMEOUT                      = 18&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    FILE_NOT_FOUND                  = 19&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    DATAPROVIDER_EXCEPTION          = 20&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    CONTROL_FLUSH_ERROR             = 21&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    OTHERS                          = 22&lt;/P&gt;&lt;/LI&gt;&lt;/UL&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;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this report will take any file from ur desktop and put into internal table.&lt;/P&gt;&lt;P&gt;from this internal table i am populating in one DB table for reference purpose and then again dumping it to somewhere in the local system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Mukesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Aug 2008 11:24:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/to-open-pdf-from-binary-text-itab/m-p/4248563#M1014087</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-18T11:24:31Z</dc:date>
    </item>
    <item>
      <title>Re: to open pdf from binary text itab</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/to-open-pdf-from-binary-text-itab/m-p/4248564#M1014088</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;  There was a similar requirement for our customer couple of years back and similar was our approach, but with time customer faced lot of performance issues and as the DB space grows table space allocation became tedious for DBA's , back up took lot more  time ,  which resulted in more down time of system  . There after slowly we migrated to Documemt management system of SAP which is a proven and standard methodolgy. Why not suggest your customer explaining the pitfalls and go for a DMS way for a longer term approach.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Suresh Bala&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Aug 2008 01:23:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/to-open-pdf-from-binary-text-itab/m-p/4248564#M1014088</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-19T01:23:00Z</dc:date>
    </item>
    <item>
      <title>Re: to open pdf from binary text itab</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/to-open-pdf-from-binary-text-itab/m-p/4248565#M1014089</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Suresh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You are correct. we invite all sorts of problems as you mention. We have suggested the client and they might consider after some time but mean while have to live with this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Appreciate your inputs. Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Simha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Aug 2008 05:41:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/to-open-pdf-from-binary-text-itab/m-p/4248565#M1014089</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-19T05:41:25Z</dc:date>
    </item>
  </channel>
</rss>

