Skip to Content
author's profile photo Former Member
Former Member

to add attachment in supplier survey scenario

Hi all,

I am now working with adding attachment to standard supplier survey process. Briefly speaking, the role purchaser send mail to supplier's mailbox. The supplier send a response mail with attachments to the SRM server. In SO50, I configure a ZClass to receive the class to fetch the XSTRING of the attachment. Now I need to store these attachments to SAP server and then open them in a list in the survey monitor web dynpro view for each participant.

I searched the documents about DMS and also debugged the attachment functionality of Shopping Cart.

1 I found it seems impossible to simulate the way that SC stores its attachments. Since SC use some class:/SAPSRM/CL_PDO_BO_SC_ADV, which it is impossible to create a similar one in supplier survey.

2 For DMS, I am not sure how it works. Is it to call the method CREATE_WITH_FILES/URL/TABLE of class CL_BDS_DOCUMENT_SETfor storing the documents? Should anything else be done besides that? How can I make the relationship with the DMS documents with my supplier suvey? Should I create a ZTable with fields SURVEY GUID and DMS document GUID for that?

Thanks for help in advance.

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Sep 21, 2011 at 01:07 PM

    Finally, I use BDS to store attachments.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member


      I am looking for similar functionality to request suppliers to attach some documents as a response to Survey. Can you please let me know how you accomplished this using BDS?



Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.