RSWUWFML2 includes original message text after change

Kjetil Kilhavn KJETILK at statoil.com
Fri Jun 10 11:33:19 EDT 2005


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20050610/5f5505da/attachment.htm


More information about the SAP-WUG mailing list