<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>* 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>*
the current workitem</i></font><font size=1 face="Courier New"><br>
</font><font size=1 color=#808080 face="Courier New"><i>* (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>* note was
not sent AND note is younger than current wi)</i></font><font size=1 face="Courier New"><br>
</font><font size=1 color=blue face="Courier New">IF</font><font size=1 face="Courier New">
LT_NOTES-CREATOR </font><font size=1 color=blue face="Courier New">EQ</font><font size=1 face="Courier New">
SY-UNAME </font><font size=1 color=blue face="Courier New">AND</font><font size=1 face="Courier New"><br>
WI_HEADER-WI_TYPE </font><font size=1 color=blue face="Courier New">NE</font><font size=1 face="Courier New">
WI_FLOW </font><font size=1 color=blue face="Courier New">AND</font><font size=1 face="Courier New"><br>
LT_NOTES-SENT </font><font size=1 color=blue face="Courier New">NE</font><font size=1 face="Courier New">
CROSS.<br>
<br>
</font><font size=1 color=blue face="Courier New">IF</font><font size=1 face="Courier New">
( LT_NOTES-CRDAT </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>
LT_NOTES-CRTIM > WI_HEADER-WI_CT
) </font><font size=1 color=blue face="Courier New">OR</font><font size=1 face="Courier New"><br>
( LT_NOTES-CRDAT > 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>
</font><font size=1 color=blue face="Courier New">APPEND</font><font size=1 face="Courier New">
LT_NOTES.<br>
<br>
</font><font size=1 color=blue face="Courier New">ENDIF</font><font size=1 face="Courier New">.<br>
</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>"Florin Wach"
<florin.wach@gmx.net></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>
"SAP Workflow Users' Group" <sap-wug@mit.edu></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">"SAP Workflow Users' Group"
<sap-wug@mit.edu></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 "ModifiableByAuthor"
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>
> Datum: Mon, 25 Feb 2008 10:47:22 +0100<br>
> Von: "Christian Wallner" <C.Wallner@ats.net><br>
> An: sap-wug@mit.edu<br>
> Betreff: Editable Attachment<br>
<br>
> Hi!<br>
> <br>
> I have a question regarding editable attachments:<br>
> I created a workflow in which I want to have a word document where
some <br>
> inputs are made by the user who works with the workflow.<br>
> Therefore I have a step where the initial document is created. This
<br>
> document should be passed to the subsequent steps as an attachment
<br>
> (_ADHOC_Objects) which the user should be able to edit.<br>
> <br>
> Unfortunately it seems that this is not possible. So I tried to convert
<br>
> the wf_doc into a sofm using WF_DOCUMENT.CREATE_SOFM. This works well
and <br>
> I attached the created SOFM to _ATTACH_Objects. But when I try to
edit the<br>
> document in the next step the system says "No changeable attachments".
<br>
> <br>
> This looks strange to me because when I create an attachment of type
"doc"<br>
> manually I AM actually able to edit it afterwards...<br>
> <br>
> Any tipps are highly appreciated! :-)<br>
> <br>
> regards,<br>
> Chris<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<br>
> Leoben <br>
> <br>
> This e-mail and any attachment may contain confidential and/or privileged<br>
> information. If you are not the intended recipient (or have received
this<br>
> e-mail in error) please notify the sender immediately and destroy
this<br>
> e-mail. Any unauthorised copying, disclosure or distribution of the
material in<br>
> 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>