<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=ISO-8859-1">
<META content="MSHTML 6.00.2800.1479" name=GENERATOR></HEAD>
<BODY id=role_body style="FONT-SIZE: 10pt; COLOR: #000000; FONT-FAMILY: Arial"
bottomMargin=7 leftMargin=7 topMargin=7 rightMargin=7><FONT id=role_document
face=Arial color=#000000 size=2>
<DIV>
<DIV>
<DIV>
<DIV><FONT lang=0 face=Arial size=2 FAMILY="SANSSERIF"
PTSIZE="10">Dominik,</FONT></DIV>
<DIV> </DIV>
<DIV>Looks like the template can only be Word or Excel. I have a need for a PDF
fillable form :-(</DIV>
<DIV> </DIV>
<DIV>Also, do you have any ideas on recognizing if an attachment was
made directly to the BO by a user?</DIV>
<DIV><FONT lang=0 face=Arial size=2 FAMILY="SANSSERIF"
PTSIZE="10"></FONT> </DIV>
<DIV><FONT lang=0 face=Arial size=2 FAMILY="SANSSERIF"
PTSIZE="10">Regards,<BR>Ramki Maley<BR>Workflow Developer,
USCBP.<BR>248-613-1287 (C)</FONT></DIV></DIV>
<DIV> </DIV>
<DIV>In a message dated 9/22/2005 10:07:30 AM Eastern Standard Time,
dominik.sobolewski@gambit.de writes:</DIV>
<BLOCKQUOTE style="PADDING-LEFT: 0px; MARGIN-LEFT: 0px"><FONT
style="BACKGROUND-COLOR: transparent" face=Arial color=#000000 size=2>Hi
Tom,<BR><BR>I have been doing the same thing several times, attaching wf_doc
or sofm<BR>objects to all kinds of documents in a way that they can be
displayed by<BR>using the generic object services. Just add a 'create document
from<BR>template step' after the decision task (wf_doc.create) and check
the<BR>advance with dialog box. Once the wf_doc document is created, convert
it<BR>into a sofm object, you can do this by calling the method create_sofm of
BO<BR>wf_doc. Now you must link the sofm object and the second object (BKPF,
FIPP<BR>or whatever), therefore create a FM that calls BINARY_RELATION_CREATE
and<BR>add a commit work in your FM.Obj_rolea, field OBJKEY must be populated
with<BR>the Objectkey of your target Object (If I remember it right), OBJTYPE
takes<BR>the object name (eg. FIPP) Obj_roleb must be populated with sofm and
the<BR>objectkey likewise.<BR><BR>Additionaly you must maintain the object
relationship once in table<BR>VRBINRELATION via sm34. I believe you must
create a relationship between<BR>your targetobject and attachment type 'ATTA'.
I think there is some note on<BR>this table, if you don't get along let me
know and I will have a closer<BR>look.<BR><BR>Cheers Dominik
:-)<BR><BR><BR>Mit freundlichen Grüßen<BR>Gambit Consulting GmbH<BR>Dominik
Sobolewski<BR><BR>Aulgasse 141-143<BR>D-53721 Siegburg<BR>Telefon: +49 2241
8845-56<BR>Mobil: +49 151 12173209<BR>Telefax: +49 2241
8845-99<BR><BR>mail to:
sobolewski@gambit.de<BR>http://www.gambit.de<BR><BR><BR><BR><BR><BR>_______________________________________________<BR>SAP-WUG
mailing
list<BR>SAP-WUG@mit.edu<BR>http://mailman.mit.edu/mailman/listinfo/sap-wug<BR></FONT></BLOCKQUOTE></DIV>
<DIV></DIV></DIV>
<DIV> </DIV></FONT></BODY></HTML>