<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
Hi everyone,<BR>
&nbsp;<BR>
a very basic question: <STRONG>"Is it possible to start a HCM process and Form without having to use the portal?"</STRONG><BR>
&nbsp;<BR>
According to the SAP library, you need start any HCM process and Form-process from the portal:<BR>
<A href="http://help.sap.com/saphelp_erp2005/helpdata/en/43/15a08e677b04c2e10000000a11466f/content.htm">http://help.sap.com/saphelp_erp2005/helpdata/en/43/15a08e677b04c2e10000000a11466f/content.htm</A><BR>
&nbsp;<BR>
&nbsp;<BR>
I can see that all HCM processes and Forms are triggered by the class "<!--StartFragment -->
<STYLE type=text/css>
SPAN {
font-family: "Courier New";
font-size: 10pt;
color: #000000;
background: #FFFFFF;
}
</STYLE>
<SPAN>CL_HRASR00_WF_PROCESS_OBJECT" and the event "TRIGGERED".</SPAN><BR>
<SPAN></SPAN>&nbsp;<BR>
<SPAN><STRONG>Raise an event with ABAP class a Program(SE80)</STRONG></SPAN><BR>
<SPAN><STRONG>**********************************************</STRONG></SPAN><BR>
<SPAN>Theoretically it should be possible to raise an ABAP class event by using "Jocelyn`s" method, calling a method.</SPAN><BR>
<SPAN></SPAN>&nbsp;<BR>
<SPAN><!--StartFragment -->
<STYLE type=text/css>
SPAN {
font-family: "Courier New";
font-size: 10pt;
color: #000000;
background: #FFFFFF;
}
.L1S52 {
color: #0000FF;
}
</STYLE>
<SPAN><SPAN class=L1S52>CALL</SPAN>&nbsp;<SPAN class=L1S52>METHOD</SPAN>&nbsp;CL_SWF_EVT_EVENT=&gt;RAISE.</SPAN> </SPAN><BR>
<SPAN></SPAN>&nbsp;<BR>
<SPAN>I seem to get an ABAP dump, "Assertion failed" in the FM HR_ASR_CHECK_EVENT, so this is atm a no go.</SPAN><BR>
<SPAN></SPAN>&nbsp;<BR>
<SPAN><STRONG>"Has anyone managed to start the "CL_HRASR00_WF_PROCESS_OBJECT" event in an ABAP program?"</STRONG></SPAN><BR>
<SPAN><STRONG></STRONG></SPAN>&nbsp;<BR>
<SPAN></SPAN>&nbsp;<BR>
<SPAN><STRONG>Start an event with ABAP class from a Workflow </STRONG></SPAN><BR>
<SPAN><STRONG>**********************************************</STRONG></SPAN><BR>
<SPAN><STRONG>Anyway, if this doesn`t work, is it possible to start the event above from another workflow?</STRONG></SPAN><BR>
<SPAN></SPAN>&nbsp;<BR>
<SPAN>Z_REPORT calls SAP_WAPI_START_WORKFLOW -&gt; Start WF_A </SPAN><BR>
<SPAN></SPAN>&nbsp;<BR>
<SPAN>WF_A contains the step "EVENT CREATE" (and I use the <FONT face=Verdana color=#444444>CL_HRASR00_WF_PROCESS_OBJECT and the event "triggered").</FONT></SPAN><BR>
<SPAN><FONT face=Verdana color=#444444></FONT></SPAN>&nbsp;<BR>
<SPAN><FONT face=Verdana color=#444444><STRONG>Is this possible? In that case, how should the binding be?</STRONG></FONT></SPAN><BR>
<SPAN><FONT face=Verdana color=#444444></FONT></SPAN>&nbsp;<BR>
<SPAN><FONT face=Verdana color=#444444></FONT></SPAN>&nbsp;<BR>
<SPAN><FONT face=Verdana color=#444444>This matter is really urgen, due to a deadline tomorrow.</FONT></SPAN><BR>
<SPAN><FONT face=Verdana color=#444444></FONT></SPAN>&nbsp;<BR>
<SPAN><FONT face=Verdana color=#444444>I would gladly appreciate every input.</FONT></SPAN><BR>
<SPAN><FONT face=Verdana color=#444444></FONT></SPAN>&nbsp;<BR>
<SPAN><FONT face=Verdana color=#444444>Thanks in advance.</FONT></SPAN><BR>
<SPAN><FONT face=Verdana color=#444444></FONT></SPAN>&nbsp;<BR>
<SPAN><FONT face=Verdana color=#444444>Best regards, </FONT></SPAN><BR>
<SPAN><FONT face=Verdana color=#444444></FONT></SPAN>&nbsp;<BR>
<SPAN><FONT face=Verdana color=#444444>Tor</FONT></SPAN><BR><br /><hr />check out the rest of the Windows Live™.
More than mail–Windows Live™ goes way beyond your inbox.
 <a href='http://www.microsoft.com/windows/windowslive/' target='_new'>More than messages</a></body>
</html>