Start a "HCM process and Form" without using the portal
Tor Magne R
fallenblake at hotmail.com
Thu Jul 16 04:08:00 EDT 2009
Hi everyone,
a very basic question: "Is it possible to start a HCM process and Form without having to use the portal?"
According to the SAP library, you need start any HCM process and Form-process from the portal:
http://help.sap.com/saphelp_erp2005/helpdata/en/43/15a08e677b04c2e10000000a11466f/content.htm
I can see that all HCM processes and Forms are triggered by the class "
CL_HRASR00_WF_PROCESS_OBJECT" and the event "TRIGGERED".
Raise an event with ABAP class a Program(SE80)
**********************************************
Theoretically it should be possible to raise an ABAP class event by using "Jocelyn`s" method, calling a method.
CALL METHOD CL_SWF_EVT_EVENT=>RAISE.
I seem to get an ABAP dump, "Assertion failed" in the FM HR_ASR_CHECK_EVENT, so this is atm a no go.
"Has anyone managed to start the "CL_HRASR00_WF_PROCESS_OBJECT" event in an ABAP program?"
Start an event with ABAP class from a Workflow
**********************************************
Anyway, if this doesn`t work, is it possible to start the event above from another workflow?
Z_REPORT calls SAP_WAPI_START_WORKFLOW -> Start WF_A
WF_A contains the step "EVENT CREATE" (and I use the CL_HRASR00_WF_PROCESS_OBJECT and the event "triggered").
Is this possible? In that case, how should the binding be?
This matter is really urgen, due to a deadline tomorrow.
I would gladly appreciate every input.
Thanks in advance.
Best regards,
Tor
_________________________________________________________________
More than messages–check out the rest of the Windows Live™.
http://www.microsoft.com/windows/windowslive/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20090716/ece58ba8/attachment.htm
More information about the SAP-WUG
mailing list