Removing BO attachment from work item

Sue Doughty Sue.Doughty at odfl.com
Tue Jan 22 10:39:31 EST 2008


Hi Ed,

 

I had made the change from Florin's email below but was not starting the
workflow with the delegated object.  When I did that, I got what I
needed.

 

Thank you both for your help.

 

Regards, 

Sue T. Doughty 
SAP Workflow Specialist

OLD DOMINION FREIGHT LINE, INC.

500 Old Dominion Way, Thomasville, NC 27360

Toll Free :(800)432-6335, ext.5189 
Phone :(336)822-5189 Fax :(336)822-5149 
sue.doughty at odfl.com

________________________________

From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf
Of Edward Diehl
Sent: Tuesday, January 22, 2008 9:47 AM
To: SAP Workflow Users' Group
Subject: RE: Removing BO attachment from work item

 

Sue, 
If you use a delegated business object (ZBUS1065) and use that object to
trigger your workflow, then you can put whatever attribute of ZBUS1065
as the "name" (default attribute).  In the past I have created a virtual
attribute 'Title'  and used that as the default attribute. 
 
 Go to Basic Data (the hat) for the business object to the Defaults tab.
There you can specify the default method (usually Display) and the
default attribute (Title).

Hope that helps,
Ed

________________________________

Subject: RE: Removing BO attachment from work item
Date: Tue, 22 Jan 2008 09:26:48 -0500
From: Sue.Doughty at odfl.com
To: sap-wug at mit.edu

 

Florin,

 

Thank you for your response.  I did what you suggested, but the issue is
with the word "Employee" (the name of the Business Object).  Below is
what it looked like before #:

 

 

 

With HiringType = BUS1065, below is what it looks like now:

 

 

 

It changes the key of the record, not the name of the BO.

 

Does anyone know how to either delete the object from the attachment or
to change the name of the BO that displays in the work item?  BUS1065 is
an SAP object, so changes are not allowed.  We are not using UWL.

 

Regards, 

Sue T. Doughty 

SAP Workflow Specialist

OLD DOMINION FREIGHT LINE, INC.

500 Old Dominion Way, Thomasville, NC 27360

Toll Free :(800)432-6335, ext.5189 

Phone :(336)822-5189 Fax :(336)822-5149 

sue.doughty at odfl.com

-----Original Message-----
From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf
Of Florin Wach
Sent: Tuesday, January 22, 2008 3:41 AM
To: SAP Workflow Users' Group
Subject: Re: Removing BO attachment from work item

 

Hello Sue,

 

the attachment list with the business objects links is created from two
sources:

1. Objects, used as leading objects during the workflow

2. Objects, that are in the list _ATTACH_OBJECTS

 

You can only remove references to business objects, that you have
attached yourself in the second list, where for the first one, the
workflow runtime system uses (at least) the current leading object (i.e.
the one under _WI_OBJECT in the work item's task).

 

So the way to remove this object link is kinda blocked, where the way to
fully replace all occurences of BUS1065 with two different one's (and
therefor not using a system wide delegation) is quite too complicated.

 

SOLUTION:

1. Create a subtype of BUS1065 -> ZBUS1065.

2. Create+Implement+set status to implemented of a new virtual text
attribute 'HiringType' that either says "Employee" or "Hired", depending
on the information you hopefully have somewhere stored which is
accessible through the object's key. 

3. In the object editor use the menu  Goto-->Basic Data, choose tab
"Defaults". Under the edit field "Attribute" select the new 'HiringType'
attribute.

4. Enable system wide delegation from BUS2065 to ZBUS1065

 

Now instead of a general "Employee", which was the text of the object's
type when there's no default maintained, you'll see that this behaviour
has changed now. You'll have to re-start the workplace' transaction and
mayhaps also to use transaction SWU_OBUF to refresh.

To check, if you have implemented this correctly, you could start by
setting the attribute 'HiringType' to a fixed text, e.g. "Hello, World".

 

 

That's what came up to my mind and hopefully you'll can get any further
with this information.

 

Best wishes,

Florin

 

 

 

 

 

 

 

-------- Original-Nachricht --------

> Datum: Mon, 21 Jan 2008 16:44:37 -0500

> Von: "Sue Doughty" <Sue.Doughty at odfl.com>

> An: "SAP Workflow Users\' Group" <sap-wug at mit.edu>

> Betreff: Removing BO attachment from work item

 

> We're on ECC 6.0.

> 

> We have a situation where we have drivers that are employees of our

> company and we have drivers that are Owner Operators (Leased) that are

> contracted to drive for our company.  

> 

> Each type has to go through the "hiring" process.  Applicants are

> created and processed and then turned into "Employees" or "Owner

> Operators".  They are both stored in SAP as HR Master Data and are

> differentiated by EE Subgroup (ex., employee drivers are D1 and Owner

> Operators are Z1).  

> 

> When the "New Hire" work items are sent to the various departments,
the

> business object (BUS1065 - Employee) is attached. I have had to create

> two separate "New Hire" workflows -- one for employees and one for
Owner

> Operators.  The words employee or hire cannot exist in the Owner

> Operator workflow.  It is very important that there be a distinction

> between the two.

> 

> My question:  can the Business Object attachment be removed from a

> workflow?  Since the name of BUS1065 is Employee, that is how it

> displays on the object and attachment side of the work item for both
the

> Employee and the Owner Operator workflows.  If it can be removed, how

> would you do it?

> 

> Regards, 

> Sue T. Doughty 

> SAP Workflow Specialist

> OLD DOMINION FREIGHT LINE, INC.

> 500 Old Dominion Way, Thomasville, NC 27360

> Toll Free :(800)432-6335, ext.5189 

> Phone :(336)822-5189 Fax :(336)822-5149 

> sue.doughty at odfl.com

> 

> 

> ****************************

> CONFIDENTIALITY NOTICE: The information contained in this message may
be

> confidential, privileged, proprietary, or otherwise legally exempt
from

> disclosure. If the reader of this message is not the intended
recipient, or an

> employee or agent responsible for delivering this message to the
intended

> recipient, you are hereby notified that you are not authorized to
read,

> print, retain, copy or disseminate this message, any part of it, or
any

> attachments. If you have received this message in error, please delete
this

> message and any attachments from your system without reading the
content and

> notify the sender immediately of the inadvertent transmission. Thank
you for

> your cooperation.

> 

> _______________________________________________

> 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


**************************** 
CONFIDENTIALITY NOTICE: The information contained in this message may be
confidential, privileged, proprietary, or otherwise legally exempt from
disclosure. If the reader of this message is not the intended recipient,
or an employee or agent responsible for delivering this message to the
intended recipient, you are hereby notified that you are not authorized
to read, print, retain, copy or disseminate this message, any part of
it, or any attachments. If you have received this message in error,
please delete this message and any attachments from your system without
reading the content and notify the sender immediately of the inadvertent
transmission. Thank you for your cooperation. 

 

________________________________

Connect and share in new ways with Windows Live. Get it now!
<http://www.windowslive.com/share.html?ocid=TXT_TAGHM_Wave2_sharelife_01
2008> 



****************************
CONFIDENTIALITY NOTICE: The information contained in this message may be confidential, privileged, proprietary, or otherwise legally exempt from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that you are not authorized to read, print, retain, copy or disseminate this message, any part of it, or any attachments. If you have received this message in error, please delete this message and any attachments from your system without reading the content and notify the sender immediately of the inadvertent transmission. Thank you for your cooperation.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20080122/2f148b85/attachment.htm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 3020 bytes
Desc: image001.jpg
Url : http://mailman.mit.edu/pipermail/sap-wug/attachments/20080122/2f148b85/attachment.jpg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 3028 bytes
Desc: image002.jpg
Url : http://mailman.mit.edu/pipermail/sap-wug/attachments/20080122/2f148b85/attachment-0001.jpg


More information about the SAP-WUG mailing list