Problem linking Status Management to Custom Object in EH&S

Keohan, Susan keohan at ll.mit.edu
Thu Sep 13 08:29:56 EDT 2007


Hi Jocelyn,

Yes, I've noticed how ugly the keys for these objects are.  I've no
problem instantiating the business object using the ugly key, and the
key for status management object IAL is the same (RECN + ACTN on table
CCIHT_IAL) but the status management still raises the event with all
zeroes.  

So I am looking into the change docs... problem is no change doc is
written when the status is changed.  

Ah well, back to the drawing board.

Thanks!
Sue

-----Original Message-----
From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf
Of Dart, Jocelyn
Sent: Wednesday, September 12, 2007 8:25 PM
To: SAP Workflow Users' Group
Subject: RE: Problem linking Status Management to Custom Object in EH&S

Hi Sue, 

I've attempted it ... but the problem with EH&S is their key is a
hideous little internal id number - plus the object number is held as a
field on the relevant EH&S table. 

You need to do some conversion between the object number used for status
management on the EH&S table and the key of the relevant EH&S table....
icky!  

I think I ended up using change documents - I still had to do the
conversion but at least they allow for routines to do this in SWED and
SWEC. 

Regards,
Jocelyn Dart
Senior Consultant
SAP Australia Pty Ltd.
Level 1/168 Walker St.
North Sydney 
NSW, 2060
Australia
T   +61 412 390 267
M   + 61 412 390 267
E   jocelyn.dart at sap.com
http://www.sap.com

The information contained in or attached to this electronic transmission
is confidential and may be legally privileged. It is intended only for
the person or entity to which it is addressed. If you are not the
intended recipient, you are hereby notified that any distribution,
copying, review, retransmission, dissemination or other use of this
electronic transmission or the information contained in it is strictly
prohibited. If you have received this electronic transmission in error,
please immediately contact the sender to arrange for the return of the
original documents. 
Electronic transmission cannot be guaranteed to be secure and
accordingly, the sender does not accept liability for any such data
corruption, interception, unauthorized amendment, viruses, delays or the
consequences thereof.
Any views expressed in this electronic transmission are those of the
individual sender, except where the message states otherwise and the
sender is authorized to state them to be the views of SAP AG or any of
its subsidiaries. SAP AG, its subsidiaries, and their directors,
officers and employees make no representation nor accept any liability
for the accuracy or completeness of the views or information contained
herein. Please be aware that the furnishing of any pricing information/
business proposal herein is indicative only, is subject to change and
shall not be construed as an offer or as constituting a binding
agreement on the part of SAP AG or any of its subsidiaries to enter into
any relationship, unless otherwise expressly stated. 


-----Original Message-----
From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf
Of Keohan, Susan
Sent: Thursday, 13 September 2007 5:23 AM
To: SAP-WUG at mit.edu
Subject: FW: Problem linking Status Management to Custom Object in EH&S


Okay, well this was an oldie (but a goodie, since I am encountering this
now)...
A talented person once wrote:

'A temporary and very unofficial workaround if you really need to get on
with things while OSS get back to you: 
Check the contents of the Appropriation Request table - it contains the
two id fields used by the two objects. *IF* they have the same contents,
go to the BSVX input screen, enter IQ0/BUS2204 debug with /h, hit save
and bypass the check - not too hard to debug, it pokes around the object
definitions and data dictionary and compares the data types I think,
just change sy-subrc back to 0. It will save and work as long as both ID
fields contain the same data. Shout if you get stuck, I've done it
before (as if you couldn't tell, but with different objects) and can
find the exact spot again quite quickly if you need.'

So, while I have been able to get the linkage from my object (for
inspections) to the status object IAL, and save it, and the event even
gets triggered, the key value in here is all 0. 

Has anyone successfully (and unhackfully?) raised an event on an EH&S
object via status management ?  if so, can you please share some tips ?


-----Original Message-----
From: SAP Workflow [mailto:Owner-SAP-WUG at MITVMA.MIT.EDU] On Behalf Of
Dart, Jocelyn
Sent: Thursday, July 08, 2004 2:33 AM
To: SAP-WUG at MITVMA.MIT.EDU
Subject: Re: Problem linking Status Management to Custom Object due to
Key Field incompatibility

Hi Partha,
Sorry misunderstood you.  Check your custom object implements interface
IFSTATUS.
If you still have problems run function module
BSVW_OBTYP_BOROT_COMPATIBILITY in test mode
and see what error it is giving you between the status object type and
the business object type.
Jocelyn

-----Original Message-----
From: SAP Workflow [mailto:Owner-SAP-WUG at MITVMA.MIT.EDU] On Behalf Of
Chatterjee, Partha (US - San Ramon)
Sent: Thursday,8 July 2004 10:49 AM
To: SAP-WUG at MITVMA.MIT.EDU
Subject: Re: Problem linking Status Management to Custom Object due to
Key Field incompatibility


Hi Jocelyn,

There is no SAP delivered object in this area.  Hence there is no
delegation possibilities.  IAL is an object type in the status mgmt area
but there is no related business object in SAP.

Best regards,
Partha


>Partha Chatterjee
>Enterprise Applications
>Deloitte Consulting LLP
>
>Tel: +1 650 372 4594
>Fax: +1 925 365 2170
>Mobile: +1 310 701 1119
>pchatterjee at deloitte.com
>www.deloitte.com
>
>

-----Original Message-----
From: SAP Workflow [mailto:Owner-SAP-WUG at MITVMA.MIT.EDU] On Behalf Of
Dart, Jocelyn
Sent: Wednesday, July 07, 2004 5:43 PM
To: SAP-WUG at MITVMA.MIT.EDU
Subject: Re: Problem linking Status Management to Custom Object due to
Key Field incompatibility

Partha,
Is your custom object a ** delegated ** subjobject type of the IAL
object?
Use the standard object type IAL to create your event entries, and
delegation will pick up
your custom events/attributes.
Jocelyn


-----Original Message-----
From: SAP Workflow [mailto:Owner-SAP-WUG at MITVMA.MIT.EDU] On Behalf Of
Chatterjee, Partha (US - San Ramon)
Sent: Thursday,8 July 2004 10:24 AM
To: SAP-WUG at MITVMA.MIT.EDU
Subject: Problem linking Status Management to Custom Object due to Key
Field incompatibility



Hi All,

I am trying to use status management with EH&S to create a custom object
and workflow.  There is an object type delivered by SAP called 'IAL' for
Incident/Accident log.  In table TBO00 this object type has key fields
of CCIHT_IAL-RECN and CCIHT-ACTN.  I created my custom object with the
same key fields.

When I try to link the object type IAL with my custom object that has
the same key fields in Status Management (t-code 'BSVX') I get the error
'Status object and business object type incompatible'.  This is clearly
not true.  Any ideas on how to resolve the problem?  There are 2 related
OSS Notes 86020 and 44544 but they are for much earlier releases than
the version we are on (4.7 Enterprise).

Best regards
Partha Chatterjee



This message (including any attachments) contains confidential
information intended for a specific individual and purpose, and is
protected by law.  If you are not the intended recipient, you should
delete this message.  Any disclosure, copying, or distribution of this
message, or the taking of any action based on it, is strictly
prohibited.




This message (including any attachments) contains confidential
information intended for a specific individual and purpose, and is
protected by law.  If you are not the intended recipient, you should
delete this message.  Any disclosure, copying, or distribution of this
message, or the taking of any action based on it, is strictly
prohibited.



_______________________________________________
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




More information about the SAP-WUG mailing list