<br><font size=1 face="Verdana">Sorry for the amount of replies here...
but maybe this is interesting for anyone:</font>
<br><font size=1 face="Verdana">After a few minutes of debugging i found
the following sourcecode in Include LSWLDU12 (Row 177) :</font>
<br>
<br><font size=1 color=#808080 face="Courier New"><i>*- we analyze if this
note may be edited...</i></font><font size=1 face="Courier New"><br>
</font><font size=1 color=#808080 face="Courier New"><i>* &nbsp;rule: user
must be creator AND note must have been created within</i></font><font size=1 face="Courier New"><br>
</font><font size=1 color=#808080 face="Courier New"><i>* &nbsp; &nbsp;
&nbsp; &nbsp;the current workitem</i></font><font size=1 face="Courier New"><br>
</font><font size=1 color=#808080 face="Courier New"><i>* &nbsp;(we got
no note-creation-wi, so we check: note is not a flowitem AND</i></font><font size=1 face="Courier New"><br>
</font><font size=1 color=#808080 face="Courier New"><i>* &nbsp;note was
not sent AND note is younger than current wi)</i></font><font size=1 face="Courier New"><br>
 &nbsp; &nbsp;</font><font size=1 color=blue face="Courier New">IF</font><font size=1 face="Courier New">
LT_NOTES-CREATOR &nbsp; &nbsp; </font><font size=1 color=blue face="Courier New">EQ</font><font size=1 face="Courier New">
SY-UNAME &nbsp; &nbsp; &nbsp; </font><font size=1 color=blue face="Courier New">AND</font><font size=1 face="Courier New"><br>
 &nbsp; &nbsp; &nbsp; WI_HEADER-WI_TYPE &nbsp; &nbsp;</font><font size=1 color=blue face="Courier New">NE</font><font size=1 face="Courier New">
WI_FLOW &nbsp; &nbsp; &nbsp; &nbsp;</font><font size=1 color=blue face="Courier New">AND</font><font size=1 face="Courier New"><br>
 &nbsp; &nbsp; &nbsp; LT_NOTES-SENT &nbsp; &nbsp; &nbsp; &nbsp;</font><font size=1 color=blue face="Courier New">NE</font><font size=1 face="Courier New">
CROSS.<br>
<br>
 &nbsp; &nbsp; &nbsp;</font><font size=1 color=blue face="Courier New">IF</font><font size=1 face="Courier New">
( LT_NOTES-CRDAT &nbsp; </font><font size=1 color=blue face="Courier New">EQ</font><font size=1 face="Courier New">
WI_HEADER-WI_CD </font><font size=1 color=blue face="Courier New">AND</font><font size=1 face="Courier New"><br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; LT_NOTES-CRTIM &nbsp; &gt; &nbsp;WI_HEADER-WI_CT
) </font><font size=1 color=blue face="Courier New">OR</font><font size=1 face="Courier New"><br>
 &nbsp; &nbsp; &nbsp; &nbsp; ( LT_NOTES-CRDAT &nbsp; &gt; &nbsp;WI_HEADER-WI_CD
).<br>
</font><font size=1 color=#808080 face="Courier New"><i>*- note may be
edited...</i></font><font size=1 face="Courier New"><br>
 &nbsp; &nbsp; &nbsp; &nbsp;</font><font size=1 color=blue face="Courier New">APPEND</font><font size=1 face="Courier New">
LT_NOTES.<br>
<br>
 &nbsp; &nbsp; &nbsp;</font><font size=1 color=blue face="Courier New">ENDIF</font><font size=1 face="Courier New">.<br>
 &nbsp; &nbsp;</font><font size=1 color=blue face="Courier New">ENDIF</font><font size=1 face="Courier New">.</font>
<br>
<br><font size=1 face="Verdana">That's bad, of course...because the attachment
is older than the wi and the changing person isn't necessarily the creator
of the note.</font>
<br>
<br><font size=1 face="Verdana">Does anyone know how/if I can influence
that check (without modification of course)?</font>
<br>
<br><font size=1 face="Verdana">br</font>
<br><font size=1 face="Verdana">chris</font>
<br>
<br>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>&quot;Florin Wach&quot;
&lt;florin.wach@gmx.net&gt;</b> </font>
<br><font size=1 face="sans-serif">Gesendet von: sap-wug-bounces@mit.edu</font>
<p><font size=1 face="sans-serif">25.02.2008 11:39</font>
<table border>
<tr valign=top>
<td bgcolor=white>
<div align=center><font size=1 face="sans-serif">Bitte antworten an<br>
&quot;SAP Workflow Users' Group&quot; &lt;sap-wug@mit.edu&gt;</font></div></table>
<br>
<td width=59%>
<table width=100%>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">An</font></div>
<td><font size=1 face="sans-serif">&quot;SAP Workflow Users' Group&quot;
&lt;sap-wug@mit.edu&gt;</font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">Kopie</font></div>
<td>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">Thema</font></div>
<td><font size=1 face="sans-serif">Re: Editable Attachment</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br><tt><font size=2>Hello Christian,<br>
<br>
the object method SOFM.Create uses a flag &quot;ModifiableByAuthor&quot;
as an import parameter, which is not set to 'X' by the calling method WF_Doc.Create_SOFM.<br>
Please try to subtype and enhance the call within this method to flag this
parameter.<br>
<br>
I haven't look, why a WF_Doc is not changeable.<br>
<br>
Best wishes,<br>
Florin<br>
<br>
<br>
-------- Original-Nachricht --------<br>
&gt; Datum: Mon, 25 Feb 2008 10:47:22 +0100<br>
&gt; Von: &quot;Christian Wallner&quot; &lt;C.Wallner@ats.net&gt;<br>
&gt; An: sap-wug@mit.edu<br>
&gt; Betreff: Editable Attachment<br>
<br>
&gt; Hi!<br>
&gt; <br>
&gt; I have a question regarding editable attachments:<br>
&gt; I created a workflow in which I want to have a word document where
some <br>
&gt; inputs are made by the user who works with the workflow.<br>
&gt; Therefore I have a step where the initial document is created. This
<br>
&gt; document should be passed to the subsequent steps as an attachment
<br>
&gt; (_ADHOC_Objects) which the user should be able to edit.<br>
&gt; <br>
&gt; Unfortunately it seems that this is not possible. So I tried to convert
<br>
&gt; the wf_doc into a sofm using WF_DOCUMENT.CREATE_SOFM. This works well
and <br>
&gt; I attached the created SOFM to _ATTACH_Objects. But when I try to
edit the<br>
&gt; document in the next step the system says &quot;No changeable attachments&quot;.
<br>
&gt; <br>
&gt; This looks strange to me because when I create an attachment of type
&quot;doc&quot;<br>
&gt; manually I AM actually able to edit it afterwards...<br>
&gt; <br>
&gt; Any tipps are highly appreciated! :-)<br>
&gt; <br>
&gt; regards,<br>
&gt; Chris<br>
&gt; AT&amp;S Austria Technologie &amp; Systemtechnik AG<br>
&gt; Legal form | Rechtsform: Aktiengesellschaft<br>
&gt; Registered office | Sitz: Fabriksgasse 13, 8700 Leoben, Austria &nbsp;<br>
&gt; Commercial Register Number | Firmenbuchnummer: FN 55638 x, Landesgericht<br>
&gt; Leoben <br>
&gt; <br>
&gt; This e-mail and any attachment may contain confidential and/or privileged<br>
&gt; information. If you are not the intended recipient (or have received
this<br>
&gt; e-mail in error) please notify the sender immediately and destroy
this<br>
&gt; e-mail. Any unauthorised copying, disclosure or distribution of the
material in<br>
&gt; this e-mail is strictly forbidden.<br>
_______________________________________________<br>
SAP-WUG mailing list<br>
SAP-WUG@mit.edu<br>
http://mailman.mit.edu/mailman/listinfo/sap-wug<br>
</font></tt>
<br><small><br><br>AT&S Austria Technologie & Systemtechnik AG<br>
Legal form | Rechtsform: Aktiengesellschaft<br>
Registered office | Sitz: Fabriksgasse 13, 8700 Leoben, Austria<br>  
Commercial Register Number | Firmenbuchnummer: FN 55638 x, Landesgericht Leoben <br><br>
This e-mail and any attachment may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorised copying, disclosure or distribution of the material in this e-mail is strictly forbidden.
</small>