Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Error While Calling BAPI Throgh .NET

Former Member
0 Likes
655

Dear All,

   I had created one ZBAPI in which i called standard F.M 'ISU_CREATE_ORDER'.While executing in SAP Enviorment BAPI is working fine but while calling in .NET it raise exception.I debug it and found this exception is come due to SAP_GUI is not available while calling through .NET.Please suggest best possible solution.

4 REPLIES 4
Read only

jitendra_it
Active Contributor
0 Likes
609

Hi Manish,

Below thread may help you.

http://scn.sap.com/thread/7290

Read only

0 Likes
609

Dear Jitendra,

   Thanks for your quick reply,but i had already go through this thread.My problem is how to call SAPGUI through .NET and what is its procedure.

Read only

madhu_vadlamani
Active Contributor
0 Likes
609

Hi Manish,

What is the message.

Regards,

Madhu.

Read only

Former Member
0 Likes
609

Dear Madhu

   Exception is come throgh F.M 'TREEV_CREATE_COLUMN_TREE' which is calling under 'ISU_CREATE_ORDER'.But i debug it and found that in class 'CL_GUI_OBJECT' contain method 'CLASS_INIT' in which F.M 'GUI_IS_AVAILABLE'  this condition is failed whicle calling through .NET but it is working fine when this bapi is execute in SAP enviorment.