<div class="gmail_quote"><div link="blue" vlink="purple" lang="EN-US">
<div>
<p class="MsoNormal">Hello,<br></p>
<p class="MsoNormal"><br></p><p class="MsoNormal">Has anyone run into the problem we are having when calling SAP_WAPI_CREATE_EVENT to create the event.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">We are having an issue with a short dump while trying to get the SCCO workflow going when calling
<span><span style="font-size: 10pt;">&#39;SAP_WAPI_CREATE_EVENT&#39; </span>
</span><span><span style="font-size: 10pt; color: windowtext;">from program /CREW/PP000023</span></span>. We are getting a
<b>message type X  PRECOMMIT error</b> with a short dump. I removed the commit parameter from the call and the response from the WAPI is successful but it does not create the event even though it says it did create the event.
</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">So then I put a separate COMMIT WORK AND WAIT in and I still get the same error with a short dump.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"><img src="cid:image001.png@01CBCD17.0383C3E0" width="318" height="157"></p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">I tried putting in the PS PRECOMMIT, even though it did not make sense, to see if the pre commit error would go away and then the call to the PRECOMMIT response was that no PRECOMMIT was issued because nothing was changed.</p>

<p class="MsoNormal"> </p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">This is what I tried for the PRECOMMIT:</p>
<p class="MsoNormal"><span><span style="font-size: 10pt;">CALL FUNCTION </span></span><span><span style="font-size: 10pt;">&#39;BAPI_PS_INITIALIZATION&#39;</span></span><span style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: black; background: none repeat scroll 0% 0% white;">.</span></p>

<p class="MsoNormal"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: black; background: none repeat scroll 0% 0% white;"> </span></p>
<p class="MsoNormal"><span><span style="font-size: 10pt;">CALL FUNCTION </span></span><span><span style="font-size: 10pt;">&#39;SAP_WAPI_CREATE_EVENT&#39;</span></span><span style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: black; background: none repeat scroll 0% 0% white;"></span></p>

<p class="MsoNormal"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: black; background: none repeat scroll 0% 0% white;"> </span></p>
<p class="MsoNormal"><span><span style="font-size: 10pt;">CALL FUNCTION </span></span><span><span style="font-size: 10pt;">&#39;BAPI_PS_PRECOMMIT&#39;</span></span></p>
<p class="MsoNormal"><span><span style="font-size: 10pt;">COMMIT WORK AND </span></span><span style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: black; background: none repeat scroll 0% 0% white;">WAIT.<br>

</span><span><span style="font-size: 10pt;">CALL FUNCTION </span></span><span><span style="font-size: 10pt;">&#39;BUFFER_REFRESH_ALL&#39;</span></span><span style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: black; background: none repeat scroll 0% 0% white;">.<br>

</span><span><span style="font-size: 10pt;">WAIT UP TO </span></span><span><span style="font-size: 10pt;">1 </span></span><span style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: black; background: none repeat scroll 0% 0% white;">SECONDS.</span></p>

<p class="MsoNormal"> </p>
<p class="MsoNormal"><span style="font-size: 8pt; color: rgb(255, 153, 0);">.</span><br></p></div></div></div>Thanks,<br>Brynn Rutherford<br>