Inserting tables in the task description

Mark Pyc markpyc at hotmail.com
Sat Feb 19 12:19:02 EST 2005


G'day Hal,

You certainly can.

It can be done in either the PC style or line based text editor.

In the PC based one you choose from the menus to Insert a Command

I prefer the old style line based version where you set you line to be a 
"command line" indicated by either ':/' or '/:' (I can never remember 
which). Then insert an IF statement as follows:

/:   IF &ContainerElementName& = 'SomeFixedValue'
*   Your conditional text goes here.......
/:   ENDIF

You can use menu 'Insert > Expression' to put in the Container Element.

It makes your Workitems much more stylish!

Have fun,
Mark

From: "Fairless, Hal" <Hal.Fairless at pacificorp.com>
Reply-To: "SAP Workflow Users' Group" <sap-wug at mit.edu>
To: "SAP Workflow Users' Group" <sap-wug at mit.edu>
Subject: RE: Inserting tables in the task description
Date: Fri, 18 Feb 2005 08:32:51 -0800

Richard,

      Can you direct me to some documentation concerning ABAP statements
w/i a task description, or perhaps pass along an example.  I have a
situation where we are using the description task as the content of an
e-mail, complete with container values.  The client would like to have a
text variable that is dependent on a container value.  Your response to
Carmen give me the impression that I could vary the text content
depending on the container value within the task description.

Thanks

Hal Fairless

________________________________

From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf
Of Richard Marut
Sent: Thursday, January 27, 2005 9:49 PM
To: 'SAP Workflow Users' Group'
Subject: RE: Inserting tables in the task description



Carmen,



You can put ABAP statements into the task description by going to the
menu path Edit -->Command -->Insert Command and choose Command and then
type in your command. You'll have to type in the expression with the &'s
surrounding it because you can't choose it while entering the command.
It's a little tricky to get it to work but a little patience will get
you there. Just do each command one at a time on a separate line. I have
never tried a loop but I'm sure you can figure if out.



As for the alignment of columns, I have never had much luck with that
due to the font being used. If you could figure out how to switch to a
fixed font where all characters are the same length, please let me know
(all of us in the group, that is).



Richard...



________________________________

From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf
Of Cheung, Carmen
Sent: Thursday, January 27, 2005 11:20 PM
To: 'SAP Workflow Users' Group'
Subject: Inserting tables in the task description



Hi all

I'm trying to insert a table of values, from the workflow container, to
a workflow task description to be sent our users.

As the table does not have field headings, I need to format the output
to make it understandable.

I've tried to export each field as a new table and inserted  'all lines
as cont. text', one field under another; however, the fields do not
align nicely due to their varying lengths.

E.g.
&ITEM[]&
&VALUE[]&

Each record from these individual field tables can be also written one
by one, by specifying the record number e.g. Item: &ITEM[1]& for the
first record.

Is it possible to have a loop to define how many records are written to
the task description?

I'd really appreciate any other ideas on how to go about this.

Thanks

Carmen

EOM

NOTICE - This message and any attached files may contain information
that is confidential and/or subject of legal privilege intended only for
use by the intended recipient. If you are not the intended recipient or
the person responsible for delivering the message to the intended
recipient, be advised that you have received this message in error and
that any dissemination, copying or use of this message or attachment is
strictly forbidden, as is the disclosure of the information therein.  If
you have received this message in error please notify the sender
immediately and delete the message.


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

This email is confidential and may be legally privileged.

It is intended solely for the addressee. Access to this email by anyone 
else, unless expressly approved by the sender or an authorized addressee, is 
unauthorized.

If you are not the intended recipient, any disclosure, copying, distribution 
or any action omitted or taken in reliance on it, is prohibited and may be 
unlawful. If you believe that you have received this email in error, please 
contact the sender, delete this e-mail and destroy all copies.

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




More information about the SAP-WUG mailing list