<?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 Attaching file in module pool in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/attaching-file-in-module-pool/m-p/6472112#M1417429</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a screen which has a button called &lt;STRONG&gt;Attach File&lt;/STRONG&gt; (can be any file). If I click on the button, I can select a file from presentation server and that file should be attached for the particular data. And I have another button called &lt;STRONG&gt;Display Attachement,&lt;/STRONG&gt; in that case I should be able to display the attached document.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I searched SDN, I couldn't find any closed posts on this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anybody please help me out to get me a solution for this. If anyone has demo program, kindly share it across.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Yasin.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 11 Jan 2010 12:09:40 GMT</pubDate>
    <dc:creator>former_member1292715</dc:creator>
    <dc:date>2010-01-11T12:09:40Z</dc:date>
    <item>
      <title>Attaching file in module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/attaching-file-in-module-pool/m-p/6472112#M1417429</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a screen which has a button called &lt;STRONG&gt;Attach File&lt;/STRONG&gt; (can be any file). If I click on the button, I can select a file from presentation server and that file should be attached for the particular data. And I have another button called &lt;STRONG&gt;Display Attachement,&lt;/STRONG&gt; in that case I should be able to display the attached document.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I searched SDN, I couldn't find any closed posts on this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anybody please help me out to get me a solution for this. If anyone has demo program, kindly share it across.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Yasin.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jan 2010 12:09:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/attaching-file-in-module-pool/m-p/6472112#M1417429</guid>
      <dc:creator>former_member1292715</dc:creator>
      <dc:date>2010-01-11T12:09:40Z</dc:date>
    </item>
    <item>
      <title>Re: Attaching file in module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/attaching-file-in-module-pool/m-p/6472113#M1417430</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yasin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in SAP we have a concept like &lt;STRONG&gt;GOS(Generic Object Service)&lt;/STRONG&gt; with this we can attach files ,URL's, workflows etc and we can use these attached files in that screen if necessary ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[http://help-abap.blogspot.com/2009/02/generic-object-services-gos-toolbar.html]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[http://help.sap.com/saphelp_46c/helpdata/en/94/aa532cddd511d289860000e8216438/content.htm]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please take a look the above Links u may find some solution&lt;/P&gt;&lt;P&gt; i have worked on GOS menu if u have any queries let USknow,&lt;/P&gt;&lt;P&gt;SDN is there to Help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Surendra P&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jan 2010 12:21:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/attaching-file-in-module-pool/m-p/6472113#M1417430</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-11T12:21:30Z</dc:date>
    </item>
    <item>
      <title>Re: Attaching file in module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/attaching-file-in-module-pool/m-p/6472114#M1417431</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;Download internal table to presentation server file(PC) Separating fields/columns by a tab&lt;/STRONG&gt;  &lt;/P&gt;&lt;P&gt;DATA: ld_filename TYPE string,&lt;/P&gt;&lt;P&gt;DATA: begin of it_datatab occurs 0,&lt;/P&gt;&lt;P&gt;  col1(50) type c,&lt;/P&gt;&lt;P&gt;  col2(50) type c,&lt;/P&gt;&lt;P&gt;  col3(50) type c,&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      etc....&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt; end of it_datatab.&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'GUI_DOWNLOAD'&lt;/P&gt;&lt;P&gt;   EXPORTING&lt;/P&gt;&lt;P&gt;        filename         = ld_filename&lt;/P&gt;&lt;P&gt;        filetype         = 'ASC'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      APPEND           = 'X'&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;        write_field_separator = 'X'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      CONFIRM_OVERWRITE = 'X'&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;   TABLES&lt;/P&gt;&lt;P&gt;        data_tab         = it_datatab[]&lt;/P&gt;&lt;P&gt;   EXCEPTIONS&lt;/P&gt;&lt;P&gt;        file_open_error  = 1&lt;/P&gt;&lt;P&gt;        file_write_error = 2&lt;/P&gt;&lt;P&gt;        OTHERS           = 3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Uploading file from presentation server,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: i_file like rlgrap-filename value '/usr/sap/tmp/file.txt'.&lt;/P&gt;&lt;P&gt;DATA: begin of it_datatab occurs 0,&lt;/P&gt;&lt;P&gt;  row(500) type c,&lt;/P&gt;&lt;P&gt; end of it_datatab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'GUI_UPLOAD'&lt;/P&gt;&lt;P&gt;       EXPORTING&lt;/P&gt;&lt;P&gt;            filename        = i_file&lt;/P&gt;&lt;P&gt;            filetype        = 'ASC'&lt;/P&gt;&lt;P&gt;       TABLES&lt;/P&gt;&lt;P&gt;            data_tab        = it_datatab  "ITBL_IN_RECORD[]&lt;/P&gt;&lt;P&gt;       EXCEPTIONS&lt;/P&gt;&lt;P&gt;            file_open_error = 1&lt;/P&gt;&lt;P&gt;            OTHERS          = 2.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jan 2010 12:31:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/attaching-file-in-module-pool/m-p/6472114#M1417431</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-11T12:31:02Z</dc:date>
    </item>
    <item>
      <title>Re: Attaching file in module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/attaching-file-in-module-pool/m-p/6472115#M1417432</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot Suri. It's really great and it is working fine. But I have a concern in that. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am attaching these files based on some RS_NUMBER (is in a Z table) as object key. And in case if I delete the RS_NUMBER from the database table, is it possible to delete the attachments also?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again.&lt;/P&gt;&lt;P&gt;Yasin.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jan 2010 07:04:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/attaching-file-in-module-pool/m-p/6472115#M1417432</guid>
      <dc:creator>former_member1292715</dc:creator>
      <dc:date>2010-01-12T07:04:38Z</dc:date>
    </item>
  </channel>
</rss>

