My Friend,<br>You need to instantiate the BADI-method, just like you do for BOR object, before Testing the method in Badi.<br>And, this error is due to the fact that there is no instance refrence available to workwith, when the code is executed.
<br><br>Regards<br>Praveen<br><br><div><span class="gmail_quote">On 7/2/07, <b class="gmail_sendername">Martin Kaza</b> <<a href="mailto:martinkaza@gmail.com">martinkaza@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>Hi,</div>
<div> </div>
<div>I am developing header level workflow In SRM 5.0. To meet one of the requirements the FM "BBP_CHANGE_DOC_GET_NEW" is called in the "BBP_WFL_SECUR_BADI". This FM is get the changes in the SC when the approver changes cost object, price etc...
</div>
<div> </div>
<div>As soon as the call is made to this FM in the badi, the following error is coming,</div>
<div> </div>
<div><strong>Exception CX_SY_NO_HANDLER triggered.</strong></div>
<div><strong></strong> </div>
<div>Individually i was able to test the FM but not from badi due to the above error. </div>
<div> </div>
<div>Can anyone help me how to handle this exception<strong>.</strong></div>
<div><strong></strong> </div>
<div><strong>Thanks</strong></div><span class="sg">
<div><strong>Martin</strong></div>
</span><br>_______________________________________________<br>SAP-WUG mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:SAP-WUG@mit.edu">SAP-WUG@mit.edu</a><br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://mailman.mit.edu/mailman/listinfo/sap-wug" target="_blank">
http://mailman.mit.edu/mailman/listinfo/sap-wug</a><br><br></blockquote></div><br><br clear="all"><br>-- <br>Have Fun!!<br>Praveen Johri