Thursday, April 10, 2008

Where can I access workflow attachments?

I have an approval workflow. Some approval person attached a remark with a Doc file. Where does SAP keep the information regarding those kinds of attachments? In which tables? Who inserted the attachment? I want to show the attachment information later in a dialog or in a portal.

To be completely honest, I do not really know which tables the attachments are kept. The good news is that it doesn't really matter. If you want to get access to the workflow attachments you can use Function Module SAP_WAPI_GET_ATTACHMENTS. This will return all the attachments of a work item.

The multi-line parameter attachments will have an instance(s) of SOFM. You can loop through those and display the created user ID and more.

No comments:

Blog Archive