Additional Blogs by Members
cancel
Showing results for 
Search instead for 
Did you mean: 
Former Member
0 Kudos
   *Process *  1. Attaching  files in PDFThe Attached documents can be viewed in Attachments tab as  "   Here also you have the options for adding attachments or delete  or save it.   2. ABAP WebDynpro Application for reading the attachments.   2.1  First Upload the Pdf through browse.   The Pdf is shown in table. 3. On Click Read Attachment button, the attachments of the Pdf are displayed in the table ‘List of Attachments’ as    4. On selecting the attachment the corresponding document. is prompted to open or save.       *Logic:**_ _* 1.      First we need to convert the Pdf into Xstring, which can be achieved through the File Upload UI Element. Here the converted Xstring data and Filename is stored in Data and filename properties File Upload UI Element.   2.      Then  the context is created with two nodes Attachments and Table. In Attachments node we have two attributes PDFContent (type Xstring ) for storing Xstring data and PDFname(type string) for filename .   In Table node we have attributes like a. data (type xstring) for storing xstring data of the attachment file. b. Description (type string) c.  filesize (type I) and d. mimetype (type string)     for distinguishing the type of attachments files.    2. Bind the attribute Pdfcontent and Pdfname with data and filename repectively  
2 Comments