Making a task description show line item detail

Zmudzin,Tomasz,VEVEY,GL-DS/DM Tomasz.Zmudzin at nestle.com
Thu Aug 29 03:00:19 EDT 2002


Jocelyn,
 
it's a rare honor to disagree with you -- I'm just running the "ugly"
scenario in the system now :-)
 
OK, to my defense -- still feel bad about the ugliness :-) -- I'm not
returning attributes of the line items in my virtual multiline attribute,
but rather a long description of the header object itself, retrieved from
some SAP standard texts. So that's actually pretty elegant, and it works...
 
Kind regards,
Tomasz
 
-----Original Message-----
From: Dart, Jocelyn [mailto:jocelyn.dart at sap.com]
Sent: Thursday,29. August 2002 03:32
To: SAP-WUG at MITVMA.MIT.EDU
Subject: Re: Making a task description show line item detail
 
 
Hi Kevin,
Tomasz is correct - using multiline container elements in a text is
standard, but you can't do this at object.attribute level where the object
is in
a multiline list.
 
Instead you can either:
A) In your workflow, build a multiline container element of values holding
just that field
(e.g. by using container operations to add each object.attribute value to a
multiline
container element) - then pass the multiline container element of values to
your task.
 
 
or:
B) Use a programmed binding between the workflow and the task that takes
your
multline container element of object references and builds a multiline
container
element of values from it.  Basically you build a function module to do
this.
Read up on it in the SAP library help if you think you need to go to these
lengths.
 
 
By the way, Tomasz, That second "ugly" suggestion wouldn't work - it would
just return the same
error.
Regards,
        Jocelyn Dart
Consultant (SRM, EBP, Workflow)
and co-author of the book
"Practical Workflow for SAP"
SAP Australia
email: jocelyn.dart at sap.com
phone: +61 412 390 267
fax:   +61 2 9935 4880
 
 
 
 
-----Original Message-----
From: Zmudzin,Tomasz,VEVEY,GL-DS/DM [mailto:Tomasz.Zmudzin at nestle.com]
Sent: Thursday, 29 August 2002 1:03 AM
To: SAP-WUG at MITVMA.MIT.EDU
Subject: Re: Making a task description show line item detail
 
 
(Sorry to mix in into your conversation)
 
so that's what I've been referring to with &MYOBJECT.ITEMS##.Description&...
Each item of the multi-line container element you insert needs to be a flat
field. You'll probably have to resort to using an additional workflow
container element to pass this data. Another ugly option would be creating a
multiline virtual attribute of your header-level object and populating it
from the ITEM.Description to be able to insert something like
&MYOBJECT.ItemDescriptions##&.
 
Kind regards,
Tomasz
 
-----Original Message-----
From: Kevin [mailto:kjw1969 at yahoo.com]
Sent: Wednesday,28. August 2002 16:53
To: SAP-WUG at MITVMA.MIT.EDU
Subject: Re: Making a task description show line item detail
 
 
Jocelyn,
When I chose the field in the mulitline attribute I recieved a message:
Access to attributes is not possible for multi-line elements. Therefore,
attribute ITEM cannot be accessed for element ITEMS.
 
 
 "Dart, Jocelyn" wrote:
Hi Kevin,
This is standard stuff.
If you put a mutliline container element in your task description the system
will automatically expand it when the work item is created.
 
Regards,
Jocelyn Dart
Consultant (SRM, EBP, Workflow)
and co-author of the book
"Practical Workflow for SAP"
SAP Australia
email: jocelyn.dart at sap.com
phone: +61 412 390 267
fax: +61 2 9935 4880
 
 
 
 
-----Original Message-----
From: Kevin [mailto:kjw1969 at yahoo.com]
Sent: Wednesday, 28 August 2002 5:47 AM
To: SAP-WUG at mitvma.mit.edu
Subject: Making a task description show line item detail
 
 
I would like to be able to create a standard task description that shows
line item detail. Eg. Shows PO number and then loops through showing the
line items underneath it. Is there a standard way of achieving this or do I
need to code this?
 
 
---------------------------------
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
 
 
---------------------------------
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
 


More information about the SAP-WUG mailing list