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
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
Find out how to automatically replace an SAP workflow item when a user hits "cancel" so that the workflow item re-appears to all possible agents. Continue Reading