Skip to Content
0
Former Member
Nov 12, 2007 at 12:17 PM

Problem in SubmittoSAP button

15 Views

Hi All,

I have created an Interactive form in WD Java. I have added a SubmittoSAP button from WebDynpro ActiveX library in the form. Following is the code written in the click event of the button.

xfa.host.messageBox("Before Execution ");

// DO NOT MODIFY THE CODE BEYOND THIS POINT - 705.20051114114126.253659.250577 - SubmitToSAP.xfo

app.eval("event.target.SAPSubmit();");

// END OF DO NOT MODIFY

xfa.host.messageBox("After Execution ");

I have created an Action submit and assigned it to OnSubmit event. And select the display type of the form as ActiveX.

I am running my application on IE 7.0. When I run my application, I am getting first message box, displaying message "Before Execution". But I am not getting second message box and the call to my method is also not made.

Please help me on this.

Thanks and Regards,

Amit