Current Position:Home > Attachments in WD ABAP

Attachments in WD ABAP

Update:10-11Source: network consolidation
Advertisement
Hi Experts,
I have following requirement.
1) To upload the documents using Fileupload UI element.
2) All the uploaded documents should be displayed in table as an URL link.
3) When clicking on this Link the uploaded document should be displayed.
I have completed the first and second step.
Can someone please let me know how can i go about for last step.
Also is there any Class using which i can store the uploaded file and display the file
data when user clicks on URL link.

The Best Answer

Advertisement
>
Abhishek Jain wrote:
> Thanks Radhika.
>
> I have implemented the steps you mentioned and it worked.
>
> There is an another issue, i am able to view only text file correctly.
> When i upload PDF/MS word/Excel the data appears but in random text format.
> Everything i upload gets converted to text format.
>
> Is there any steps to be implemented so that i can view the same file and in same format that i have uploaded?
It sounds like somewhere along the way you are chaning from an XSTRING to a STRING field.  As long as you keep the content in its binary format (XSTRING) is should remain in tact.  We would have to know more about what you are doing to the content after it was uploaded to be able to comment further.
  • Display attachments through WebDynpro Abap Update:10-11

    Hi all, I am currently working on the Generic Object Services and I manage to create attachment and retrieve them. however I can't find how to display attachments into a WebDynpro interface. The context: I have two applications which communicate with

  • How to create attachments from an abap program? Update:11-30

    I have an abap report that shows material documents. Now by clicking on a button (at the end of each row), it should allow the user to attach a document. How to achieve this? (I tried to see the code behing the Private Objects of a document at FB03 b

  • Attachments in WD ABAP Update:10-11

    Hi Experts, I have following requirement. 1) To upload the documents using Fileupload UI element. 2) All the uploaded documents should be displayed in table as an URL link. 3) When clicking on this Link the uploaded document should be displayed. I ha

  • Attachments from Workflow to ABAP Webdynpro launched from UWL Update:10-11

    Hi All, You might have seen a recent post from me for sending attachments from ABAP Webdynpro to Workflow. I could do that by just calling SAP_WAPI_ATTACHMENT_ADD. I didnt have to create an instance of the SOFM object by passing the ATT_ID from this

  • Query on ABAP List Viewer and Table Control? Update:11-30

    Hi all, I was trying to solve the exercises in these areas....but was unable to do as some of the concepts were not clear to me as I'm new to this field. So Can any one help me out in giving me the Notes or attachments on the ABAP List Viewer(A.L.V.)

  • Incoming Image file with XML payload processing Update:10-11

    Hi, We have PI 7.1 and the interface is from file to standard RFC scenario with ABAP proxy in ECC. 2 incoming files need to be processed by the interface - xml file with transaction details and the corresponding Image file. These files have to be map

  • Reg : F4 Value Help Update:11-30

    Hi Experts,                 I am new to web dynpro abap. My scenario is to implement F4 value help. I had searched in the forum, But mostly i got the solution for OVS. For eg, I have to  display the key and text value of the country. I am going to ca

  • How can I print PDF attachments from ABAP report in transaction ME23N? Update:10-11

    Hi, Users attach PDF files using "services for objects" in transaction ME23N. How can I print the PDF attachments from ABAP report ? Thanks in advance,,Hi,   check this link,this might help you to solve your problem /people/thomas.jung3/blog/200

  • GOS Attachments Display URL in WD ABAP Update:11-30

    HI,   We have to display the GOS attachments list in the the WD ABAP application. Unfortunately the class and Function module which can do that are not working in the WD ABAP application. Like CL_GOS_DOCUMENT_SERVICE...   Any thoughts? Thanks Raghavh

  • Webservice in ABAP using Attachments Update:11-30

    Hi, as far is I was able to find similar questions it seems that Abap is not supporting attachments for webservices (at least not for 6.20 or 6.40). I want to send a file (e.g. Pdf, Wrd) with a webservice but when I try to create a rfc enabled functi