LSO event creation when creating a course booking (Kjetil Kilhavn)

Kjetil Kilhavn kjetil.kilhavn at bluec.no
Fri Jan 14 08:45:07 EST 2011


 Onsdag 12. januar 2011 12.30.53 skrev Mike Pokraka :
> Hi Kjetil,
> 
> I can agree with the sentiment already expressed: the standard LSO is a
> bit restrictive. If you want to do anything it doesn't cater for you're
> better off building it yourself. Be aware that the SWEHR* FMs may behave
> differently according to scenario e.g. planned vs confirmed courses.
> 
> Mikko's idea of creating a custom OO layer would be my choice -
> unfortunately when I was at an LSO project I didn't have that luxury and
> had to battle with those ghastly LSO BOR objects. How those got past SAP's
> QA is beyond me, I thought we banished GET_SOMEDATA *methods* from BOR
> back in the stone-age.
Luckily the solution proved to be very simple (see previous post)!
For my current requirement I don't need any actions taking place for anything 
but course bookings at planned courses (AFAIK...) - so at the moment I'm happy 
with the SWEHR3 customizing option.

I don't think the customer will approve of a big project for this, as the 
purpose is to trigger an update to another IT system whenever something 
happens that influences a person's future availability (for work).

> 
> Cheers,
> Mike
> 
> On Tue, January 11, 2011 8:44 pm, mikkomr at gmail.com wrote:
> > Hi Kjetil,
> > We've had two workflow projects around course and event management in
> > 2007 and 2008, both of them involved the course booking / attendance
> > approval process.
> > 
> > The latter one was using LSO (SAP ERP 6.0), in which the standard bsp app
> > raises the BO LSO_PARTIC event according to the wf config settings
> > maintained as per your findings.
> > 
> > The project in 2007 (SAP ERP 5.0) was however more similar to your case
> > since it didn't involve LSO (standard TEM only).  Our scope was to web
> > enable the course booking functionality and to couple it with travel
> > requests to create training trip requests :) I remember that during the
> > solution build we very closely examined various alternatives but couldn't
> > make the system raise any events (e.g. bapi_book_attendance or similar
> > didn't raise a thing) upon attendance creation.
> > 
> > What we did is that we went the abap oo wf way to have some fun at the
> > same time (abap oo wf wasn't that new to us back then) :) So we created a
> > custom booking request/class which included custom abap oo event raise
> > logic upon attendance creation.
> > 
> > We didn't check for user exits since there were bapi's available for our
> > wdj app. But maybe there are some available you could use to go with the
> > custom event raise logic? And if not, I guess enhancements are the only
> > option...
> > 
> > Hope this helps,
> > Mikko
> > 
> > Mikko Mäki-Rahkola
> > Managing Director
> > Nobultec Ltd
> > Tekniikantie 12
> > 02150 Espoo
> > Finland
> > +358 50 558 7834
> > mikko.maki-rahkola at nobultec.com
> > www.nobultec.com -Work redistributed
> > fi.linkedin.com/in/mikkomakirahkola -Follow me on LinkedIn
> > twitter.com/mikkomr -Follow me on Twitter
> > twitter.com/nobultec -Follow Nobultec on Twitter
> > 
> > ----- Reply message -----
> > From: sap-wug-request at mit.edu
> > To: <sap-wug at mit.edu>
> > Subject: SAP-WUG Digest, Vol 74, Issue 10
> > Date: Tue, Jan 11, 2011 19:18
> > 
> > 
> > Send SAP-WUG mailing list submissions to
> > 
> > 	sap-wug at mit.edu
> > 
> > To subscribe or unsubscribe via the World Wide Web, visit
> > 
> > 	http://mailman.mit.edu/mailman/listinfo/sap-wug
> > 
> > or, via email, send a message with subject or body 'help' to
> > 
> > 	sap-wug-request at mit.edu
> > 
> > You can reach the person managing the list at
> > 
> > 	sap-wug-owner at mit.edu
> > 
> > When replying, please edit your Subject line so it is more specific
> > than "Re: Contents of SAP-WUG digest..."
> > 
> > Today's Topics:
> >    1. LSO event creation when creating a course booking (Kjetil Kilhavn)
> > 
> > ----------------------------------------------------------------------
> > 
> > Message: 1
> > Date: Tue, 11 Jan 2011 15:03:18 +0100
> > From: Kjetil Kilhavn <kjetil.kilhavn at bluec.no>
> > Subject: LSO event creation when creating a course booking
> > To: SAP Workflow User Group <sap-wug at mit.edu>
> > Message-ID: <201101111503.19260.kjetil.kilhavn at bluec.no>
> > Content-Type: Text/Plain;  charset="utf-8"
> > 
> > The LSO (Learning Solution) has many good features, but I have run into
> > an annoying problem.
> > 
> > When a booking is created in the SAP GUI using transaction LSO_PSV1
> > (Dynamic
> > Participation Menu) no event is created to which I can respond. I have
> > customized the workflow settings (table LSOWF_CUSTOMIZE). However, it
> > seems
> > this only works for booking "requests" created in the portal application.
> > Here
> > they are currently not using the portal for booking courses, and the
> > current
> > plan is to use it only for electronic courses (e-learning, web based
> > training), not for classrom-based training.
> > Entries in LSOWF_CUSTOMIZE have been created for each delivery type, for
> > booking and cancellarions, for event type P with WF_ACTION = "E" so the
> > event
> > should always be created
> > 
> > In desperation I also tried to add entries in transaction SWEHR3 for
> > object
> > type E, infotype 1001 and relationship A 025, just in case the "old"
> > events
> > where generated. No such luck!
> > 
> > Does anyone have experience with creating events in LSO for course
> > bookings?
> > 
> > 
> > [ This question has also been posted on SAP Developer Network in the ERP
> > ] [ HCM forum: http://forums.sdn.sap.com/thread.jspa?threadID=1867960   
> >   ] --
> > Kjetil Kilhavn (+47 40220607)
> > Blue Consulting AS (http://www.bluec.no)
> > 
> > 
> > ------------------------------
> > 
> > _______________________________________________
> > SAP-WUG mailing list
> > SAP-WUG at mit.edu
> > http://mailman.mit.edu/mailman/listinfo/sap-wug
> > 
> > 
> > End of SAP-WUG Digest, Vol 74, Issue 10
> > ***************************************
> > _______________________________________________
> > 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

-- 
Kjetil Kilhavn (+47 40220607)
Blue Consulting AS (http://www.bluec.no)




More information about the SAP-WUG mailing list