Generic Object Services user exit or BAdI (46C)

Dart, Jocelyn jocelyn.dart at sap.com
Mon Apr 10 19:34:19 EDT 2006


Hi Kjetil, 

What release are you in???

As of 6.40, the new extended notifications of email (SWNCONFIG, SWNADMIN) + SWFVISU 
would give you the ability you are looking for - i.e. the ability to send a mail 
externally with a viable link that can display a workflow object sensibly e.g. via a web app. 


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 Kjetil Kilhavn
Sent: Saturday, 08 April 2006 12:09 AM
To: SAP Workflow Users' Group
Subject: RE: Generic Object Services user exit or BAdI (46C)

The problem is not sending, that works fine. The problem is that if I send an object (e.g. a travel document, a quality notification) the attacment in the e-mail client is not a SAP Shortcut which enables me to log on to the system. Instead I get a minimum of information in an HTML attachment.

When I send travel documents to myself I get something along the lines of this:
- - - - - HTML display of attachment - - - - -
If you are not automatically redirected, click the following link: 
If the link does not refer to a valid server, log on to the SAP system and check the following object: 
System:  P07  
Client:  560  
BOR Object Type  BUS2089  
BOR Object Key  006667850015358547  
- - - - - HTML display of attachment - - - - -
-- 
Kjetil Kilhavn, Statoil ØFT KTJ BAS DEV SAP
 

> -----Original Message-----
> From: sap-wug-bounces at mit.edu 
> [mailto:sap-wug-bounces at mit.edu] On Behalf Of nathanfox at swissinfo.org
> Sent: 7. april 2006 15:00
> To: SAP Workflow Users' Group
> Subject: RE: Generic Object Services user exit or BAdI (46C)
> 
> The "Send Object" service should work even to an e-mail 
> address outside SAP as long as an ITS server is installed.  
> Check out the SAP Note 530932.  I got this to work at a 
> client on a 6.20 system.
> Good Luck
> Nate
> 
> >-- Original Message --
> >Subject: Generic Object Services user exit or BAdI (46C)
> >Date: Fri, 7 Apr 2006 12:15:12 +0200
> >From: "Kjetil Kilhavn" <KJETILK at statoil.com>
> >To: "SAP Workflow User's Group" <sap-wug at mit.edu>
> >Reply-To: "SAP Workflow Users' Group" <sap-wug at mit.edu>
> >
> >
> >This is somewhat off topic, but Generic Object Services is quite 
> >closely related to BOR which it seems usually is the domain 
> of workflow 
> >developers, so I'll give it a shot. Besides, it's Friday so 
> you need a 
> >mind-boggler
> for
> >the afternoon (well, in Australia the working day is over by now).
> > 
> >We have several productive systems in our landscape, but only one of 
> >them has automatic forwarding set up for all users. Even 
> with automatic 
> >forwarding the problem at hand wouldn't be solved.
> > 
> >After creating a quality notification with tasks, our users 
> like to use
> the
> >"Send object with note" function of GOS. The problem with 
> this is that 
> >the objects can only be viewed in SAP. So if the user specifies an 
> >external
> e-mail
> >address or we set up automatic forwarding the message will have an 
> >attachment that doesn't make any sense in the e-mail client.
> > 
> >One possible solution is to catch the action and instead 
> send a message
> with
> >a SAP Shortcut where the command is a transaction taking object type 
> >and ID to execute the Display method. I was wondering if anyone has 
> >tried this or something similar. If there are user exits in the 
> >sendmail functionality those can probably also be used.
> > 
> >I debugged the GOS a little to see if there is a user exit 
> or BAdI that
> could
> >come handy for this purpose, but I had no such luck. What I found is 
> >that class CL_SO_SRV_SEND_OBJECT takes care of the sending 
> with the EXECUTE method.
> >The class has an event MESSAGE_SENT which it seems is not used, but 
> >after sending the message the event SERVICE_SUCCEEDED is 
> published. Two 
> >event
> handlers
> >(ON_SERVICE_SUCCEED) handle this, one in 
> CL_GOS_SRV_VIEW_DOCS and one 
> >in CL_SO_SRV_SENDHIST.
> > 
> >It seems modification is the solution if we are going to try 
> this stunt.
> >--
> >Kjetil Kilhavn, Statoil ØFT KTJ BAS DEV SAP
> >
> >
> >-------------------------------------------------------------------
> >The information contained in this message may be CONFIDENTIAL and is 
> >intended for the addressee only. Any unauthorised use, 
> dissemination of
> the
> >information or copying of this message is prohibited. If you are not 
> >the addressee, please notify the sender immediately by return e-mail 
> >and delete this message.
> >Thank you.
> >_______________________________________________
> >SAP-WUG mailing list
> >SAP-WUG at mit.edu
> >http://mailman.mit.edu/mailman/listinfo/sap-wug
> 
> 
> ______________________________________________________________
> _________
> Your Site for Swiss Maps: http://www.swissinfo-geo.org/
> 
> 
> 
> 
> 
> _______________________________________________
> SAP-WUG mailing list
> SAP-WUG at mit.edu
> http://mailman.mit.edu/mailman/listinfo/sap-wug
> 


-------------------------------------------------------------------
The information contained in this message may be CONFIDENTIAL and is
intended for the addressee only. Any unauthorised use, dissemination of the
information or copying of this message is prohibited. If you are not the
addressee, please notify the sender immediately by return e-mail and delete
this message.
Thank you.

_______________________________________________
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