Decision Task -> Link to object's default Display method

Sample, Rick Rick.Sample at graybar.com
Mon Jun 28 09:25:13 EDT 2010


Container values - Anything passed from task -> method via WF Container.

Examples:

EMPLOYEET-Display
Defined parms on method: Infotype, Subtype, ValidityBegin, and ValidityEnd.
The display method is using:
swc_get_element container 'Infotype' infotype, to get the container values from the task to the method.

I am currently working on a WF in HR right now.
I have a Descision task, with EMPLOYEET object passed in to descision task for Display as link.
I am attempting to pass container values into the method so I can execute the default SAP Display method
from the "Objects and Attachments" links.

I set break in this Display method. So, from SAP Inbox, click on "Emplyee: Rick Sample' and you are in the Display method.
I have no values in container for any of the container values it is looking for via the swc_get_element.

All binding are there with data in task. But not being passed to method.

Note, this is all standard SAP functionality.

Thanks,
Rick


From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf Of Rick Bakker
Sent: Sunday, June 27, 2010 12:09 PM
To: SAP Workflow Users' Group
Subject: Re: Decision Task -> Link to object's default Display method

Hi Rick,

I have bound an object to the Decision Task. It shows up on the right under Objects and Attachments.
If I click on it, it runs its Display method. I put a breakpoint in the Display method, all is as expected.

I'm not sure what you mean by "container values". You're passing parameters to the method?
How do you do that?

If I pass a container element, say XTEST, from the workflow to the decision task, I expect it to be available to the Decision task. I don't expect it to be passed to the Display method of an object in the workitem. I'm not even sure how to do that. Maybe I'm missing something.

regards
Rick
On Sat, Jun 26, 2010 at 2:50 AM, Sample, Rick <Rick.Sample at graybar.com<mailto:Rick.Sample at graybar.com>> wrote:
Hi Rick,

Just so I am clear on what you are saying.
You have bound an object to the Decision Task. This will show in the "objects and attachments" pane like below.
Meaning, this object when selected, will open the default 'Display' method of <whatever> BO.
Objects and attachments


 *   Employee: Mr Rick L Sample


Now, if you go into (whatever BO) you are using and put a break point and execute, you are saying that you have container values? I step into my Display method and I got zip! Even though all data is in the task itself.

Don't know when it stopped. But I checked every WF I have in ECC6 and I see no data passed into them via container. All I have is the object-key. Period!
Some of my tasks just pop a session on the object-key and open <whatever>, but no setting parms, other container values from task make it into the method.

Rick


From: sap-wug-bounces at mit.edu<mailto:sap-wug-bounces at mit.edu> [mailto:sap-wug-bounces at mit.edu<mailto:sap-wug-bounces at mit.edu>] On Behalf Of Rick Bakker
Sent: Friday, June 25, 2010 10:41 AM

To: SAP Workflow Users' Group
Subject: Re: Decision Task -> Link to object's default Display method

Hi Rick,

I can confirm. Just have an object in the wf container and instantiate it, and it will appear on the Decision task, and it works.
I ran into a (different) problem with the Display method myself recently. Haven't tried passing parameters to it though.
Did it suddenly stop working?

cheers
Rick
On Fri, Jun 25, 2010 at 11:32 PM, Sample, Rick <Rick.Sample at graybar.com<mailto:Rick.Sample at graybar.com>> wrote:
Hey folks,

I checked and this is occurring across the board on all WFs. I have no access to container values in any workflow in ECC6.
I really recall ever doing much more than place the object on the Decision Task and have the Default Display method execute when user clicks on link. Always taken then to a display t-code like pa20, men23n, etc.

Can anyone confirm this for me please?


From: Sample, Rick
Sent: Tuesday, June 22, 2010 1:47 PM

To: SAP Workflow Users' Group
Subject: Decision Task -> Link to object's default Display method


I have a decision step with EMPLOYEE object.

This object has a default Display method and accepts some parms.

I have the binding in place, the data is making it to the task in runtime, but

stepping through the Display method, I have no CONTAINER values.



Any ideas as to why no container values being passed from Task to Display method?




Rick Sample | SAP Workflow Analyst/Developer
11885 Lackland Road | Maryland Heights, MO 63146 | Office (314) 573-5822 | Mobile (314) 952-2273 |
rick.sample at graybar.com<mailto:rick.sample at graybar.com>
www.graybar.com<http://www.graybar.com/> - Works to Your Advantage
[cid:image001.gif at 01CB1696.51A6C320]<http://www.graybar.com/>




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


_______________________________________________
SAP-WUG mailing list
SAP-WUG at mit.edu<mailto: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/20100628/3bd65640/attachment.htm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.gif
Type: image/gif
Size: 1548 bytes
Desc: image001.gif
Url : http://mailman.mit.edu/pipermail/sap-wug/attachments/20100628/3bd65640/attachment.gif


More information about the SAP-WUG mailing list