<?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: Attachment in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/attachment/m-p/2645042#M609171</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Himanshu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can you please let me know how you did this? I want to attach a file from application server to a notification.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Kishore&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 26 Aug 2009 14:03:40 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-08-26T14:03:40Z</dc:date>
    <item>
      <title>Attachment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/attachment/m-p/2645036#M609165</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am tring to attach files to a custom program which is to create notifications i have to attach text files to a particular notification number .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Himanshu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Aug 2007 05:04:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/attachment/m-p/2645036#M609165</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-17T05:04:38Z</dc:date>
    </item>
    <item>
      <title>Re: Attachment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/attachment/m-p/2645037#M609166</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Himanshu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can u elaborate your requirement.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Aug 2007 05:49:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/attachment/m-p/2645037#M609166</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-17T05:49:24Z</dc:date>
    </item>
    <item>
      <title>Re: Attachment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/attachment/m-p/2645038#M609167</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt; We have a program from which we create notifications now we also want to be able to make attachments like notepad documents to particular notification numbers that are created from that program. I other words I want to link the file to the notification number carry it to the sap server from windows server so that when again i open that notification number i get the attachement and can read it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Himanshu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Aug 2007 06:11:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/attachment/m-p/2645038#M609167</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-17T06:11:46Z</dc:date>
    </item>
    <item>
      <title>Re: Attachment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/attachment/m-p/2645039#M609168</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use the bapis for creating documents in SAP Document Management system.&lt;/P&gt;&lt;P&gt;for attaching the files to the notification. Otherwise, in the notification screen you can also call transaction CV01N for attaching the document and transaction CV03N for displaying the document attachment.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Aug 2007 06:22:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/attachment/m-p/2645039#M609168</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-17T06:22:05Z</dc:date>
    </item>
    <item>
      <title>Re: Attachment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/attachment/m-p/2645040#M609169</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have created an attachemnt like this could some one help me in reading it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  WHEN 'ATTACH'.&lt;/P&gt;&lt;P&gt;  data lo_container TYPE REF TO cl_gui_container .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'F4_FILENAME'&lt;/P&gt;&lt;P&gt;   EXPORTING&lt;/P&gt;&lt;P&gt;     PROGRAM_NAME        = SYST-CPROG&lt;/P&gt;&lt;P&gt;     DYNPRO_NUMBER       = SYST-DYNNR&lt;/P&gt;&lt;P&gt;     FIELD_NAME          = 'P_PATH '&lt;/P&gt;&lt;P&gt;   IMPORTING&lt;/P&gt;&lt;P&gt;     FILE_NAME           = P_PATH&lt;/P&gt;&lt;P&gt;            .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ws_borident-OBJKEY = ZMM07-QMNUM.&lt;/P&gt;&lt;P&gt;ws_borident-OBJTYPE = 'NOTI'.&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'SO_FOLDER_ROOT_ID_GET'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; EXPORTING&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  OWNER                       = ' '&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;   REGION                      = 'B'&lt;/P&gt;&lt;P&gt; IMPORTING&lt;/P&gt;&lt;P&gt;   FOLDER_ID                   = folder_id&lt;/P&gt;&lt;P&gt; EXCEPTIONS&lt;/P&gt;&lt;P&gt;   COMMUNICATION_FAILURE       = 1&lt;/P&gt;&lt;P&gt;   OWNER_NOT_EXIST             = 2&lt;/P&gt;&lt;P&gt;   SYSTEM_FAILURE              = 3&lt;/P&gt;&lt;P&gt;   X_ERROR                     = 4&lt;/P&gt;&lt;P&gt;   OTHERS                      = 5&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;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;w_document-foltp = folder_id-objtp .&lt;/P&gt;&lt;P&gt;w_document-folyr = folder_id-objyr .&lt;/P&gt;&lt;P&gt;w_document-folno = folder_id-objno .&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;append document to documents.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;w_document-objdes = p_name .&lt;/P&gt;&lt;P&gt;w_document-objnam = p_name .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data w_h_data like sooD2 ..&lt;/P&gt;&lt;P&gt;data w_fol_data like sofm2.&lt;/P&gt;&lt;P&gt;data w_rec_data like soos6 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;w_h_data-objdes = p_name .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'SO_DOCUMENT_REPOSITORY_MANAGER'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    METHOD             = 'IMPORTFROMPC'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  OFFICE_USER        =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;   REF_DOCUMENT       = W_DOCUMENT&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  NEW_PARENT         =&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;  AUTHORITY          =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  OBJCONT            =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  OBJHEAD            =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  OBJPARA            =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  OBJPARB            =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  RECIPIENTS         =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;   ATTACHMENTS        = W_ATTACHEMENT&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  REFERENCES         =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  FILES              =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  CHANGING&lt;/P&gt;&lt;P&gt;    DOCUMENT           = W_DOCUMENT&lt;/P&gt;&lt;P&gt;   HEADER_DATA        = W_H_DATA&lt;/P&gt;&lt;P&gt;   FOLMEM_DATA        = W_FOL_DATA&lt;/P&gt;&lt;P&gt;   RECEIVE_DATA       = W_REC_DATA&lt;/P&gt;&lt;P&gt;          .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if w_document-okcode = 'CREA' or w_document-okcode = 'CHNG'.&lt;/P&gt;&lt;P&gt;w_attachement-objtype = 'MESSAGE'.&lt;/P&gt;&lt;P&gt;w_attachement-objkey = w_document(34).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'BINARY_RELATION_CREATE_COMMIT'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    OBJ_ROLEA            = WS_BORIDENT&lt;/P&gt;&lt;P&gt;    OBJ_ROLEB            = W_ATTACHEMENT&lt;/P&gt;&lt;P&gt;    RELATIONTYPE         = 'ATTA'&lt;/P&gt;&lt;UL&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;  BINREL               =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  BINREL_ATTRIB        =&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;  NO_MODEL             = 1&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  INTERNAL_ERROR       = 2&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  UNKNOWN              = 3&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  OTHERS               = 4&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;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Himanshu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Aug 2007 06:25:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/attachment/m-p/2645040#M609169</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-20T06:25:29Z</dc:date>
    </item>
    <item>
      <title>Re: Attachment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/attachment/m-p/2645041#M609170</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;done&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Aug 2007 11:04:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/attachment/m-p/2645041#M609170</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-20T11:04:36Z</dc:date>
    </item>
    <item>
      <title>Re: Attachment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/attachment/m-p/2645042#M609171</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Himanshu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can you please let me know how you did this? I want to attach a file from application server to a notification.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Kishore&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Aug 2009 14:03:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/attachment/m-p/2645042#M609171</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-26T14:03:40Z</dc:date>
    </item>
    <item>
      <title>Re: Attachment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/attachment/m-p/2645043#M609172</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Himanshu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can you please let me know how you did this? I want to attach a file from application server to a notification.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Kishore&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Aug 2009 14:04:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/attachment/m-p/2645043#M609172</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-26T14:04:06Z</dc:date>
    </item>
  </channel>
</rss>

