However, I suspect, that what you are asking is how is it possible to attach a PDF file programmatically. Assuming...
that the PDF file (or any PC-based filed) is already on the SAP server, then all you need to do is create a SOFM instance (see SOFM object type in the Business Object Repository).
Dig Deeper on SAP workflow development
Related Q&A from Alon Raskin
Find out how to configure clients so that the same version of an SAP workflow item is used when the workflow is triggered in separate clients. Continue Reading
An SAP user has created a user decision step in an SAP workflow item and wants to know how an end user can send an attachment to other users. Continue Reading
A SearchSAP.com reader wants to know how to hide the forward button in an SAP Business Workplace toolbar. Continue Reading