Implementing Functionality when a dialog WI is createdbut before itis processed

John A Haworth jhoworth at csc.com
Thu May 4 09:53:53 EDT 2006


I was thinking more about the effect of running the RSWUWFML2 report. The 
description text of the workitem being displayed as text in outlook. If 
the WI display was changed in SAP so that the HTML display FM was used, in 
sap the description is seen in a HTML format, what would the display look 
like from outlook.

Thanks

John


----------------------------------------------------------------------------------------
This is a PRIVATE message. If you are not the intended recipient, please 
delete without copying and kindly advise us by e-mail of the mistake in 
delivery. NOTE: Regardless of content, this e-mail shall not operate to 
bind CSC to any order or other contract unless pursuant to explicit 
written agreement or government initiative expressly permitting the use of 
e-mail for such purpose.
----------------------------------------------------------------------------------------





"Hill, Anna" <anna.hill
@sap.com>
Sent by: sap-wug-bounces
04/05/2006 14:25
Please respond to "SAP Workflow Users' Group"
 
        To:     "SAP Workflow Users' Group" <sap-wug at mit.edu>
        cc: 
        Subject:        RE: Implementing Functionality when a dialog WI is 
createdbut      before  itis processed


Email notifications sent out of SAP using the SendTaskDescription method 
on SELFITEM in my experience are formatted as plain text (so will appear 
in courier font). Here’s a handy tip - it’s worth noting that if you 
wanted to include a link to a form or an ITS inbox for example, you may 
need to ensure that the line width is long enough so that the link doesn’t 
get cut part way through. To do this, just hard code the line width to 132 
or something appropriate in the bindings. 
 
 
Anna Hill
SAP Netweaver Technology 
SAP (UK) Ltd
Clockhouse Place, Bedfont Road,
Feltham, Middlesex TW14 8HD 
T   +44 (0)20 8917 6125
F   +44 (0)20 8917 6461
M  +44 (0)7966 975125
E  anna.hill at sap.com 

From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf 
Of John A Haworth
Sent: 03 May 2006 16:47
To: SAP Workflow Users' Group
Cc: sap-wug at mit.edu; sap-wug-bounces at mit.edu
Subject: RE: Implementing Functionality when a dialog WI is createdbut 
before itis processed
 

Hi 

Just a query, If the workitem is received and acted upon from Outlook, how 
does the text look? 

Regards 

John


----------------------------------------------------------------------------------------
This is a PRIVATE message. If you are not the intended recipient, please 
delete without copying and kindly advise us by e-mail of the mistake in 
delivery. NOTE: Regardless of content, this e-mail shall not operate to 
bind CSC to any order or other contract unless pursuant to explicit 
written agreement or government initiative expressly permitting the use of 
e-mail for such purpose.
----------------------------------------------------------------------------------------




 
"Antonio, Bryan" <bryan.antonio
@tycoelectronics.com> 
Sent by: sap-wug-bounces 
03/05/2006 15:20 
Please respond to "SAP Workflow Users' Group" 
        
        To:        <sap-wug at mit.edu> 
        cc:         
        Subject:        RE: Implementing Functionality when a dialog WI is 
created but        before        itis processed



Hi Markus,

You can try incorporting your custom stuffs (thru a function module) in
the
WI Display tab of the Task. There are available templates that you start
from (see demo FM).
What I did with our requisition Workflow is format the workitem text in
html format inorder
to display texts in different languages, display purchase req details
in table format, etc.


I hope this helps. 
Thanks,
Bryan


----------------------------------------------------------------------

Message: 1
Date: Wed, 3 May 2006 13:47:32 +0200
From: "Hill, Anna" <anna.hill at sap.com>
Subject: RE: Implementing Functionality when a dialog WI is created
                but before                 itis processed
To: "SAP Workflow Users' Group" <sap-wug at mit.edu>
Message-ID:
 <4F6AA1C17C4DC74E894FE3A5C39178EE02E55D5D at dewdfe23.wdf.sap.corp>
Content-Type: text/plain; charset="us-ascii"

Hi Markus



Depending on what you wanted to do, you could try using either
programming exits (you'll find information on this on the relevant tab
on the step in the workflow builder) or conditions - again check the
step in the workflow builder - and have a play around.



Cheers

Anna



Anna Hill
SAP Netweaver Technology 

SAP (UK) Ltd
Clockhouse Place, Bedfont Road,
Feltham, Middlesex TW14 8HD 

T   +44 (0)20 8917 6125
F   +44 (0)20 8917 6461
M  +44 (0)7966 975125
E  anna.hill at sap.com <mailto:anna.hill at sap.com> 

________________________________

From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf
Of Markus Klein
Sent: 03 May 2006 09:35
To: SAP Workflow Users' Group
Subject: Implementing Functionality when a dialog WI is created but
before itis processed



Hello,



how can i implement custom functionality of a Dialog workitem as soon as
the WI is created but before it is processed by the user?





regards,

Markus



______________________________________

ABS Team GmbH
SAP-Consulting, Human Capital Management
Muehlenweg 65
37120 Bovenden

Markus Klein
SAP Consultant
eMail:   klein at abs-team.de
Tel.:      +49 551 820 33 0
Mobil:   +49 151 126 23 047
Fax:      +49 551 820 33 99
           www.abs-team.com <http://www.abs-team.com/> 



-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://mailman.mit.edu/pipermail/sap-wug/attachments/20060503/1b38b4c5/a
ttachment-0001.htm

------------------------------

Message: 2
Date: Wed, 3 May 2006 08:52:10 -0500
From: <lianghuan.x.hu at accenture.com>
Subject: RE: How to use FORM-HTMLPROCESS
To: <sap-wug at mit.edu>
Message-ID:
 
<DA8A2E1F7A4B6141AE579B40FF60B9E802B2BE70 at AMRXM1108.dir.svc.accenture.co
m>
 
Content-Type: text/plain; charset="us-ascii"

Manish:

I have never tried that, but you can test it by just executing the
transaction code.

Larry

________________________________

From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf
Of Khanna, Manish
Sent: Tuesday, May 02, 2006 9:54 PM
To: SAP Workflow Users' Group
Subject: RE: How to use FORM-HTMLPROCESS


Hi Larry,

I changed the layout by changing the program generated by "Generate
Transaction". However I'm not able to test it.

Regards,
Manish

________________________________

From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf
Of lianghuan.x.hu at accenture.com
Sent: Tuesday, May 02, 2006 7:26 PM
To: sap-wug at mit.edu
Subject: RE: How to use FORM-HTMLPROCESS

Hi Manish:

FORM-HTMLPROCESS only gives a vary bare-bone basic form, and there seems
no way for modification, but I hope someone can correct me if I am
wrong.

Have you tried the form step?

Thanks.
Larry Hu

________________________________

From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf
Of Khanna, Manish
Sent: Tuesday, May 02, 2006 2:49 AM
To: SAP Workflow Users' Group
Subject: RE: How to use FORM-HTMLPROCESS
Thanks Larry. 

I created a new task with FORM-HTMLPROCESS. Then generated a web
transaction for the same. However 

1.                 It never asked for the layout and other details. 
2.                 I've no idea from where I can modify that? 

Thanks
Manish



________________________________

From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf
Of lianghuan.x.hu at accenture.com
Sent: Monday, May 01, 2006 7:53 PM
To: sap-wug at mit.edu
Subject: RE: How to use FORM-HTMLPROCESS

Manish:

1. Any task that calls FORM-HTMLPROCESS has a web transaction code that
is created when you click the menu item Web Transaction while creating
the task itself.  The web transaction code creation is a unique step
only needed for tasks like this. This transaction code remembers the
text container elements of the task. Suppose you have specifed 4 text
elements. When you execute the web transaction outside the workflow, you
will be presented a form that has 4 input fields where you can type your
rejection reasons. 

2. When the method HTMLPROCESS is executed, the web transaction code is
called, and the rejection reasons are passed to the workflow containers
via memory manipulation. We do not need to bother about all the details
in the dark box. What we need to know is: if we need a form with n input
fields to let the user enter his rejection reasons, all we need to do is
the following:
- create a task that calls FORM-HTMLPROCESS, and specify n text elements
for export.
- do not forget to create the web transaction code for the task.
- specify n text element in the workflow container for import.
- create the step using the task and bind the task text elements to the
workflow text elements.

Thanks,
Larry Hu 
________________________________

From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf
Of Khanna, Manish
Sent: Monday, May 01, 2006 4:54 AM
To: SAP Workflow Users' Group
Subject: How to use FORM-HTMLPROCESS
Hi,

I need to enhance an exiting workflow. 

1. One step is to input rejection comments from the user if the document
is rejected.
2. This step in the workflow refers to a custom task which in turn calls
FORM-HTMLPROCESS. 
3. Binding from workflow passes lots of parameter that is displayed in
the FORM. However in the task I could not find how and where those
container elements were used.

Any suggestions?

Regards,
Manish


This message is for the designated recipient only and may contain
privileged, proprietary, or otherwise private information. If you have
received it in error, please notify the sender immediately and delete
the original. Any other use of the email by you is prohibited.
This message is for the designated recipient only and may contain
privileged, proprietary, or otherwise private information. If you have
received it in error, please notify the sender immediately and delete
the original. Any other use of the email by you is prohibited.


This message is for the designated recipient only and may contain
privileged, proprietary, or otherwise private information.  If you have
received it in error, please notify the sender immediately and delete
the original.  Any other use of the email by you is prohibited.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://mailman.mit.edu/pipermail/sap-wug/attachments/20060503/e12657ef/a
ttachment.htm

------------------------------

_______________________________________________
SAP-WUG mailing list
SAP-WUG at mit.edu
http://mailman.mit.edu/mailman/listinfo/sap-wug


End of SAP-WUG Digest, Vol 18, Issue 5
**************************************

_______________________________________________
SAP-WUG mailing list
SAP-WUG at mit.edu
http://mailman.mit.edu/mailman/listinfo/sap-wug
_______________________________________________
SAP-WUG mailing list
SAP-WUG at mit.edu
http://mailman.mit.edu/mailman/listinfo/sap-wug


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


More information about the SAP-WUG mailing list