Print out all attachments of a workflow?

Breslavets, Sergey Sergey.Breslavets at anheuser-busch.com
Thu Feb 6 13:12:38 EST 2003


Hi Werner,=20
 
take a look at the attached code. It's a very basic example i put =
together
during lunch break - should give you a general idea.
 
Regards,
Sergey
 
-----Original Message-----
From: Werner K=F6=DFl [mailto:werner.koessl at hirschvogel.de]
Sent: Thursday, February 06, 2003 4:43 AM
To: SAP-WUG at MITVMA.MIT.EDU
Subject: Re: Print out all attachments of a workflow?
 
 
Hi Sergey,
 
sorry, but i don't understand how to use SO_OBJECT_READ?!
Can you please help me?
 
Thanks, Werner.
 
 
 
----- Original Message -----
From: "Breslavets, Sergey" <Sergey.Breslavets at anheuser-busch.com>
To: <SAP-WUG at MITVMA.MIT.EDU>
Sent: Friday, January 24, 2003 5:21 PM
Subject: Re: Print out all attachments of a workflow?
 
 
Hi Werner,
 
if you refer to a SOFM-type attachments then you can do the following:
 - use container element _ATTACH_OBJECTS to get object handles for your
attachments (for specific workitem),
 - for each object get it's content using SO_OBJECT_READ as SOLI type =
table,
and
print it...
 
if you want to print documents that users create using 'Document from
Template'
step, then you got WF_DOC type documents, which you can process using =
WF_DOC
BAPI.
 
Regards,
Sergey
 
 
 
-----Original Message-----
From: Werner Kv_l [mailto:werner.koessl at hirschvogel.de]
Sent: Friday, January 24, 2003 4:16 AM
To: SAP-WUG at MITVMA.MIT.EDU
Subject: Print out all attachments of a workflow?
 
 
Hi all,
 
currently we want to archive all attachments of our workflows manually.
So we want to print out all attachments at the end of a workflow.
Now my question:
Is there a possibility to print out all attachments?
Of course we don't want to open each attachment and print it out =
manually
because there are often 20 attachments and more.
So we want the workflow system to print out the attachments?!
(I noticed for example the methode "print" of the objecttype "WF_DOC". =
But i
don't know how to use.)
Any idea???
 
Regards, Werner.
 
 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: z_attachments.txt
Url: http://mailman.mit.edu/pipermail/sap-wug/attachments/20030206/e5cd5f7d/attachment.txt


More information about the SAP-WUG mailing list