RSWUWFML2 includes original message text after change

Dart, Jocelyn jocelyn.dart at sap.com
Tue Jun 14 02:31:55 EDT 2005


You could have a look at OSS for notes in the documentation area.  Are
you sure its the RSWUWFML2 program and not the underlying function call
that returns the expanded documentation?
 

Regards, 
Jocelyn Dart 
Senior Consultant 
SAP Australia Pty Ltd. 
Level 1/168 Walker St. 
North Sydney 
NSW, 2060 
Australia 
T   +61 412 390 267 
M   + 61 412 390 267 
E   jocelyn.dart at sap.com 
http://www.sap.com <http://www.sap.com/>  

************************************************************************
***************** 
The information contained in or attached to this electronic transmission
is confidential and may be legally privileged. It is intended only for
the person or entity to which it is addressed. If you are not the
intended recipient, you are hereby notified that any distribution,
copying, review, retransmission, dissemination or other use of this
electronic transmission or the information contained in it is strictly
prohibited. If you have received this electronic transmission in error,
please immediately contact the sender to arrange for the return of the
original documents. 

Electronic transmission cannot be guaranteed to be secure and
accordingly, the sender does not accept liability for any such data
corruption, interception, unauthorized amendment, viruses, delays or the
consequences thereof.

Any views expressed in this electronic transmission are those of the
individual sender, except where the message states otherwise and the
sender is authorized to state them to be the views of SAP AG or any of
its subsidiaries. SAP AG, its subsidiaries, and their directors,
officers and employees make no representation nor accept any liability
for the accuracy or completeness of the views or information contained
herein. Please be aware that the furnishing of any pricing information/
business proposal herein is indicative only, is subject to change and
shall not be construed as an offer or as constituting a binding
agreement on the part of SAP AG or any of its subsidiaries to enter into
any relationship, unless otherwise expressly stated. 

************************************************************************
***************** 

 

________________________________

From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf
Of Kjetil Kilhavn
Sent: Tuesday, 14 June 2005 3:31 PM
To: SAP Workflow Users' Group
Subject: RE: RSWUWFML2 includes original message text after change


Perhaps that is the way it was designed, but then I'd say the design has
an error. 
What is the point in allowing text changes if they don't work? I will
stick to my assumption about function module error for a little while
longer, in particular since the conversion to HTML works as it should
(according to my thinking). We'll see what the OSS says.
-- 
Kjetil Kilhavn, Statoil KTJ IT BKS
 

________________________________

From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf
Of Dart, Jocelyn
Sent: 14. juni 2005 06:13
To: SAP Workflow Users' Group
Subject: RE: RSWUWFML2 includes original message text after change


Yes that's right - you are meant to create your own text in the customer
namespace.  Then use the parameters to pass it in.  You can always copy
the original text as a starting point. 
 

Regards, 
Jocelyn Dart 
Senior Consultant 
SAP Australia Pty Ltd. 
Level 1/168 Walker St. 
North Sydney 
NSW, 2060 
Australia 
T   +61 412 390 267 
M   + 61 412 390 267 
E   jocelyn.dart at sap.com 
http://www.sap.com <http://www.sap.com/>  

************************************************************************
***************** 
The information contained in or attached to this electronic transmission
is confidential and may be legally privileged. It is intended only for
the person or entity to which it is addressed. If you are not the
intended recipient, you are hereby notified that any distribution,
copying, review, retransmission, dissemination or other use of this
electronic transmission or the information contained in it is strictly
prohibited. If you have received this electronic transmission in error,
please immediately contact the sender to arrange for the return of the
original documents. 

Electronic transmission cannot be guaranteed to be secure and
accordingly, the sender does not accept liability for any such data
corruption, interception, unauthorized amendment, viruses, delays or the
consequences thereof.

Any views expressed in this electronic transmission are those of the
individual sender, except where the message states otherwise and the
sender is authorized to state them to be the views of SAP AG or any of
its subsidiaries. SAP AG, its subsidiaries, and their directors,
officers and employees make no representation nor accept any liability
for the accuracy or completeness of the views or information contained
herein. Please be aware that the furnishing of any pricing information/
business proposal herein is indicative only, is subject to change and
shall not be construed as an offer or as constituting a binding
agreement on the part of SAP AG or any of its subsidiaries to enter into
any relationship, unless otherwise expressly stated. 

************************************************************************
***************** 

 

________________________________

From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf
Of Cooper, John M
Sent: Monday, 13 June 2005 7:51 PM
To: SAP Workflow Users' Group
Subject: RE: RSWUWFML2 includes original message text after change


I had the same result when I tried to maintain the original text.  I
resolved it by creating a new dialog text rather than maintaining the
old one.
 
John

________________________________

From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf
Of Kjetil Kilhavn
Sent: Monday, June 13, 2005 8:57 AM
To: SAP Workflow User's Group
Subject: FW: RSWUWFML2 includes original message text after change


I just checked a little further (and re-read my message). Obviously
making 'Never Display' equal to 'True' shouldn't solve my problem. They
should be different to solve my problem. Since the two are strings, and
they _are_ already different I can't figure out why this doesn't work.
 
GET_DOCUMENT uses function CONVERT_ITF_TO_STREAM_TEXT to get a plain
text from the SAP Script. I found a function called HTML_FROM_SAPSCRIPT
(which calls function CONVERT_ITF_TO_HTML), and in contrast it only
returns my new text - plus HTML formatting. There appears to be a bug
somewhere, and my guess is that it is in CONVERT_ITF_TO_STREAM_TEXT or
somewhere below it.
 
So this isn't really appropriate for the workflow group. I have sent an
OSS message (0020079747 0000651224 2005).
-- 
Kjetil Kilhavn, Statoil KTJ IT BKS
 


________________________________

From: Kjetil Kilhavn 
Sent: 10. juni 2005 17:33
To: 'SAP Workflow User's Group'
Subject: RSWUWFML2 includes original message text after change


We are about to start using SAP's standard program for workflow
notifications. Hooray! Well, we have made some minor modifications, but
nothing that touches the problem that I have come across.
 
Since no regular users here in Statoil are familiar with the term
"system administrator" the message sent to the recipients had to be
changed to refer to "IT Support". This is fairly straightforward I
thought, so I used SE61 to maintain the Dialog Text SWU_NOTIF_INBOX2. To
change the text I had to give the modification a name, and so I did -
ZSWU_NOTIF_INBOX2. When I preview the text it looks just as it should.
 
However, when the e-mail arrives the body contains both the new text and
the original text of SWU_NOTIF_INBOX2. Beats me, and I haven't found
anything in OSS. I have looked for both SE61 notes and RSWUWFML2 notes.
We are on support pack SAPKB46C48, so OSS note 720290 is not relevant
any longer even if I was hoping so at first (checked the code too, just
to be sure).
 
Have anyone successfully changed any of the messages that are used to
send the notifications?
The question is, is this a program error in RSWUWFML2 or is it me that
does something wrong when I modify the texts?
 
 
Some more information for those that want to know the ugly details.
 
The text is fetched in form GET_DOCUMENT, which calls function DOCU_GET.
When I make a call to DOCU_GET for SWU_NOTIF_INBOX2 the following text
is returned (SAP Script)
 
/* Generated include for enhancement - KJETILK - 2005-06-08

/: INCLUDE ZSWU_NOTIF_INBOX2 OBJECT DOKU ID TX LANGUAGE E

/: IF 'Never Display' = 'True'

*  There are new work items in your Workflow inbox in the SAP system

   &SYST-SYSID&. Open the SAP Shortcut attachment in order to access
your 
   Workflow inbox and then process your work items.

*

*  If you have any problems logging on, contact your system
administrator.
*

/: ENDIF

 
Apparently I can fix the problem if I can make 'Never Display' be equal
to 'True' - but I don't have a clue about doing that.
 
 
The form GET_DOCUMENT continues to call function TEXT_INCLUDE_REPLACE
which inserts my modified text.
/* Generated include for enhancement - KJETILK - 2005-06-08

/: STYLE S_DOCUS1

*  There are new work items in your Workflow inbox in the SAP system

   &SYST-SYSID&. Open the SAP Shortcut attachment in order to access
your   
   Workflow inbox and then process your work items.

*

*  If you have any problems logging on, start SAP R3 from the Start menu

   and try again. If that does not help, please contact IT Support.

*

/: STYLE *

/: IF 'Never Display' = 'True'

*  There are new work items in your Workflow inbox in the SAP system

   &SYST-SYSID&. Open the SAP Shortcut attachment in order to access
your   
   Workflow inbox and then process your work items.

*

*  If you have any problems logging on, contact your system
administrator   
*

/: ENDIF


 
For your information; ZSWU_NOTIF_INBOX2 does not exist as a separate
document, so I can't refer to that in the program selection screen.
Calling DOCU_GET for ZSWU_NOTIF_INBOX2 does not return any text. Instead
it returns an exception.
-- 
Kjetil Kilhavn, Statoil KTJ IT BKS
 

-------------------------------------------------------------------
The information contained in this message may be CONFIDENTIAL and is
intended for the addressee only. Any unauthorised use, dissemination of
the
information or copying of this message is prohibited. If you are not the
addressee, please notify the sender immediately by return e-mail and
delete
this message.
Thank you. 

------------------------------------------------------------------------
------
This e-mail is intended for the use of the addressee(s) only and may
contain privileged, confidential, or proprietary information that is
exempt from disclosure under law. If you have received this message in
error, please inform us promptly by reply e-mail, then delete the e-mail
and destroy any printed copy. Thank you.
========================================================================
======

-------------------------------------------------------------------
The information contained in this message may be CONFIDENTIAL and is
intended for the addressee only. Any unauthorised use, dissemination of
the
information or copying of this message is prohibited. If you are not the
addressee, please notify the sender immediately by return e-mail and
delete
this message.
Thank you. 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20050614/ef383d18/attachment.htm


More information about the SAP-WUG mailing list