<div class="gmail_quote">
<div>Hi,</div>
<div> </div>
<div>I have developed a custom workflow since there is no standard one for solution manager document approval using digital signature. I am able to raise the event SolManDoc.Signature_process_start however the workflow is not getting instantiated properly. Workflow is getting triggered correctly but no content in the container. If I run the workflow as a standalone by passing both physical and logical file attributes the approval process works just fine and I am able to perform digital signature approval process.</div>
<div> </div>
<div>Looks like the way the event is being raised seems to be the issue. SAP raises the event in a FM that is called in an update task mode and without an explicit commit in the code. I executed the FM separately and passed both the keys it created the container with keys and it raised the event but WF container is empty. Do you think different LUWs causing the issue? </div>
<div> </div>
<div> The code is very simple and straight forward. See below</div>
<div> </div>
<div><font size="1">
<p>INCLUDE <cntn01>.</p>
<p>INCLUDE <swfcntn01>.</p>
<p>DATA:</p>
<p>bor_obj TYPE swc_object,</p>
<p>BEGIN OF KEY,</p>
<p>PHYSICALDOCUMENT LIKE SA01PHIO-PHIO_ID,</p>
<p>LOGICALDOCUMENT LIKE IWB0LOIO-LOIO_ID,</p>
<p>END OF KEY.</p>
<p> </p>
<p>key-physicaldocument = PHIO.</p>
<p>key-logicaldocument = LOIO.</p>
<p>swc_create_object bor_obj 'SOLMANDOC' KEY.</p>
<p>swc_container container.</p>
<p>swc_create_container container.</p><font size="1">
<p>swc_raise_event bor_obj 'SIGNATURE_PROCESS_START' container.</p>
<p></p></font></font> I do not have developer key to copy the FM and remove the update task mode to test the workflow.
<p>I searched the OSS notes but I could not find anything relevant to my issue.</p>
<p>Environment Details:</p>
<p>SAP_BASIS 700 0015 SAPKB70015 SAP Basis Component<br>SAP_ABA 700 0015 SAPKA70015 Cross-Application Component<br>PI_BASIS 2006_1_700 0005 SAPKIPYM05 Basis Plug-In (PI_BASIS) 2006_1_700<br>
ST-PI 2005_1_700 0006 SAPKITLQI6 SAP Solution Tools Plug-In<br>SAP_BW 700 0017 SAPKW70017 SAP NetWeaver BI 7.0<br>SAP_AP 700 0011 SAPKNA7011 SAP Application Platform<br>BBPCRM 500 0011 SAPKU50011 BBPCRM<br>CPRXRPM 400 0011 SAPK-40011INCPRXRPM SAP xRPM/cProjects/cFolders 4.00 (ABAP)</p>
<p> </p>
<p> </p>
<p>Any help is highly appreciated.</p>
<p> </p>
<p>Thanks</p>
<p>Raju Omkaram</p></div><font color="#888888">
<div> </div>
<div> </div></font></div><br>