<br><font size=2 face="sans-serif">Well Mike....</font>
<br>
<br><font size=2 face="sans-serif">What I have a &nbsp;custom method (CreateWFComments)
that should not take you that long to set up (I admit the creating the
paramaters is pretty tedious). &nbsp;I created it a while ago and it basically
allowed me to specify 3 document titles that I later concatenate for easier
binding. &nbsp;I originally created this method to get over the issues
you describe. &nbsp;</font>
<br>
<br><font size=2 face="sans-serif">Here's some sample code:</font>
<br><font size=2 face="sans-serif">==============================================</font>
<br><font size=2 face="sans-serif">begin_method createwfcomments changing
container.</font>
<br><font size=2 face="sans-serif">* Please note this method was created
to allow a default subject line</font>
<br><font size=2 face="sans-serif">* (or document title) to</font>
<br><font size=2 face="sans-serif">* be specified when a user created comments
within a user-decision</font>
<br><font size=2 face="sans-serif">* in a workflow. There are 3 paramemeters
for the document title that</font>
<br><font size=2 face="sans-serif">* can be specified. 3 parameters are
supplied to get over the</font>
<br><font size=2 face="sans-serif">* inability of the workflow builder
allowing static text and container</font>
<br><font size=2 face="sans-serif">* parameters to mixed when binding out
to task. (Unless you do a programmed binding!)</font>
<br><font size=2 face="sans-serif">*</font>
<br><font size=2 face="sans-serif">* This method first calls the create
method and secondly calls the edit</font>
<br><font size=2 face="sans-serif">* method to change the SOFM document.
&nbsp;This is done because the enjoy</font>
<br><font size=2 face="sans-serif">* function module swc_get_dispatch_manager
will not allow a default</font>
<br><font size=2 face="sans-serif">* document title. The non-enjoy version
of swc_get_dispatch_manager</font>
<br><font size=2 face="sans-serif">* will force the user to enter the subject
line thru pop-up. &nbsp;this may</font>
<br><font size=2 face="sans-serif">* confusing for first time users and
involves more clicks.</font>
<br><font size=2 face="sans-serif">* For this method to work supply parameters
documenttype = 'RAW' and</font>
<br><font size=2 face="sans-serif">* no_dialog = 'X'.</font>
<br>
<br><font size=2 face="sans-serif">DATA: result_object TYPE swc_object.</font>
<br>
<br><font size=2 face="sans-serif">DATA:</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; documenttitle LIKE
sood-objdes,</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; documentlangu LIKE
sood-objla,</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; documentsortfield
LIKE sood-objsrt,</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; documentpriority
LIKE sood-objpri,</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; documentsensitivity
LIKE sood-objsns,</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; no_dialog LIKE
sonv-flag,</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; parentfolid TYPE
swc_object,</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; documentname LIKE
sood-objnam,</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; documenttype LIKE
sood-objtp,</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; documentcontent
LIKE soli-line OCCURS 0,</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; modifiablebyauthor
LIKE sood-objcp,</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; expirydate LIKE
sodocchgi1-obj_expdat,</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; processtype LIKE
sodocchgi1-proc_type,</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; processelement
LIKE sodocchgi1-proc_name,</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; skipfirstscreen
LIKE sodocchgi1-skip_scren,</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; processsystem LIKE
sodocchgi1-proc_syst,</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; processclient LIKE
sodocchgi1-proc_clint,</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; originator TYPE
swc_object,</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; documentheader
LIKE soli-line OCCURS 0,</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; referencetype LIKE
sood-extct,</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; fileimport LIKE
sonv-flag,</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; documentsize LIKE
sood-objlen,</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; enjoy LIKE sonv-flag,</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; doctitle1 LIKE
sood-objdes,</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; doctitle2 LIKE
sood-objdes,</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; doctitle3 LIKE
sood-objdes.</font>
<br>
<br><font size=2 face="sans-serif">swc_get_element container 'DOCTITLE1'
doctitle1.</font>
<br><font size=2 face="sans-serif">swc_get_element container 'DOCTITLE2'
doctitle2.</font>
<br><font size=2 face="sans-serif">swc_get_element container 'DOCTITLE3'
doctitle3.</font>
<br><font size=2 face="sans-serif">* SWC_GET_ELEMENT CONTAINER 'DOCUMENTTITLE'
DOCUMENTTITLE.</font>
<br><font size=2 face="sans-serif">swc_get_element container 'DOCUMENTLANGU'
documentlangu.</font>
<br><font size=2 face="sans-serif">swc_get_element container 'DOCUMENTSORTFIELD'
documentsortfield.</font>
<br><font size=2 face="sans-serif">swc_get_element container 'DOCUMENTPRIORITY'
documentpriority.</font>
<br><font size=2 face="sans-serif">swc_get_element container 'DOCUMENTSENSITIVITY'
documentsensitivity.</font>
<br><font size=2 face="sans-serif">swc_get_element container 'NO_DIALOG'
no_dialog.</font>
<br><font size=2 face="sans-serif">swc_get_element container 'PARENTFOLID'
parentfolid.</font>
<br><font size=2 face="sans-serif">swc_get_element container 'DOCUMENTNAME'
documentname.</font>
<br><font size=2 face="sans-serif">swc_get_element container 'DOCUMENTTYPE'
documenttype.</font>
<br><font size=2 face="sans-serif">swc_get_table container 'DocumentContent'
documentcontent.</font>
<br><font size=2 face="sans-serif">swc_get_element container 'ModifiableByAuthor'
modifiablebyauthor.</font>
<br><font size=2 face="sans-serif">swc_get_element container 'ExpiryDate'
expirydate.</font>
<br><font size=2 face="sans-serif">swc_get_element container 'ProcessType'
processtype.</font>
<br><font size=2 face="sans-serif">swc_get_element container 'ProcessElement'
processelement.</font>
<br><font size=2 face="sans-serif">swc_get_element container 'SkipFirstScreen'
skipfirstscreen.</font>
<br><font size=2 face="sans-serif">swc_get_element container 'ProcessSystem'
processsystem.</font>
<br><font size=2 face="sans-serif">swc_get_element container 'ProcessClient'
processclient.</font>
<br><font size=2 face="sans-serif">swc_get_element container 'Originator'
originator.</font>
<br><font size=2 face="sans-serif">swc_get_table container 'DocumentHeader'
documentheader.</font>
<br><font size=2 face="sans-serif">swc_get_element container 'ReferenceType'
referencetype.</font>
<br><font size=2 face="sans-serif">swc_get_element container 'FileImport'
fileimport.</font>
<br><font size=2 face="sans-serif">swc_get_element container 'DocumentSize'
documentsize.</font>
<br><font size=2 face="sans-serif">swc_get_element container 'Enjoy' enjoy.</font>
<br><font size=2 face="sans-serif">swc_get_element container 'DOCUMENTTITLE'
documenttitle.</font>
<br><font size=2 face="sans-serif">swc_get_element container 'DOCUMENTNAME'
documentname.</font>
<br>
<br><font size=2 face="sans-serif">CONCATENATE doctitle1 doctitle2 doctitle3
INTO</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; documenttitle SEPARATED BY space.</font>
<br>
<br><font size=2 face="sans-serif">TRANSLATE documenttitle+1 TO LOWER CASE.</font>
<br>
<br><font size=2 face="sans-serif">swc_set_element container 'DOCUMENTTITLE'
documenttitle.</font>
<br>
<br><font size=2 face="sans-serif">swc_call_method self 'CREATE' container.</font>
<br>
<br><font size=2 face="sans-serif">swc_get_element container '_result'
result_object.</font>
<br>
<br><font size=2 face="sans-serif">* Set enjoy version.</font>
<br><font size=2 face="sans-serif">swc_set_element container 'Enjoy' 'X'.</font>
<br>
<br><font size=2 face="sans-serif">swc_call_method self 'EDIT' container.</font>
<br>
<br>
<br><font size=2 face="sans-serif">swc_set_element container result result_object.</font>
<br>
<br><font size=2 face="sans-serif">end_method.</font>
<br><font size=2 face="sans-serif">==============================================</font>
<br>
<br><font size=2 face="sans-serif">enjoy </font>
<br>
<br><font size=2 face="sans-serif">Edwin.</font>
<br>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td>
<td><font size=1 face="sans-serif"><b>&quot;Mike Pokraka&quot; &lt;asap@workflowconnections.com&gt;</b></font>
<br><font size=1 face="sans-serif">Sent by: sap-wug-bounces@mit.edu</font>
<p><font size=1 face="sans-serif">03/16/2006 08:49 AM</font>
<br><font size=1 face="sans-serif">Please respond to &quot;SAP Workflow
Users' Group&quot;</font>
<td><font size=1 face="Arial">&nbsp; &nbsp; &nbsp; &nbsp; </font>
<br><font size=1 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; To:
&nbsp; &nbsp; &nbsp; &nbsp;&quot;SAP Workflow Users' Group&quot;
&lt;sap-wug@mit.edu&gt;</font>
<br><font size=1 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; cc:
&nbsp; &nbsp; &nbsp; &nbsp;</font>
<br><font size=1 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; Subject:
&nbsp; &nbsp; &nbsp; &nbsp;Re: SOFM.CREATE in Enjoy mode loses
title</font></table>
<br>
<br>
<br><tt><font size=2>Howzit Edwin!<br>
<br>
Thanks, that technically solves the problem but not quite the way I want<br>
it. True, I no longer have an empty subject field, but that's because now<br>
I have no field, no dialog, no attachment, nothing.<br>
<br>
I've also tried filling DOCUMENTHEADER with no joy.<br>
<br>
Cheers,<br>
Mike<br>
<br>
Edwin Mukusha wrote:<br>
&gt; Howdy Mike,<br>
&gt;<br>
&gt; Try setting the NO_DIALOG parameter to 'X'.<br>
&gt;<br>
&gt; have a super day<br>
&gt;<br>
&gt; Edwin.<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; &quot;Mike Pokraka&quot; &lt;asap@workflowconnections.com&gt;<br>
&gt; Sent by: sap-wug-bounces@mit.edu<br>
&gt; 03/16/2006 07:09 AM<br>
&gt; Please respond to &quot;SAP Workflow Users' Group&quot;<br>
&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; To: &nbsp; &nbsp; sap-wug@mit.edu<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; cc:<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; Subject: &nbsp; &nbsp; &nbsp; &nbsp;SOFM.CREATE
in Enjoy mode loses title<br>
&gt;<br>
&gt;<br>
&gt; Hmm, subject says it all, but in more detail:<br>
&gt; I have a task with SOFM.CREATE to add attachments to a WF. I populate
the<br>
&gt; subject by binding the text into &amp;DOCUMENTTITLE&amp; and it appears,
no prob.<br>
&gt;<br>
&gt; I bind an 'X' to &amp;ENJOY&amp; and 'RAW' into &amp;DOCUMENTTYPE&amp;,
and I get the nice<br>
&gt; enjoy screen with an empty title. Smells like a bug, but I can't find
any<br>
&gt; notes and I've tried it on a 620 and a 640/NW04 system - same result.<br>
&gt;<br>
&gt; TIA<br>
&gt; Mike<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; SAP-WUG mailing list<br>
&gt; SAP-WUG@mit.edu<br>
&gt; http://mailman.mit.edu/mailman/listinfo/sap-wug<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; SAP-WUG mailing list<br>
&gt; SAP-WUG@mit.edu<br>
&gt; http://mailman.mit.edu/mailman/listinfo/sap-wug<br>
&gt;<br>
<br>
_______________________________________________<br>
SAP-WUG mailing list<br>
SAP-WUG@mit.edu<br>
http://mailman.mit.edu/mailman/listinfo/sap-wug<br>
</font></tt>
<br>