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.