on 07-01-2009 6:13 PM
Hi experts,
I need to call a program (>>> ABAP: Execute program >>> like with TA SA38)
with the SAP .NET Connector remotely. I have one input parameter (the userid)
How does this work within a VS. NET 2005 C# Application? I can only find how to
Read Tables from SAP R/3 using SAP.NET Connector like it is described below:
[http://www.codeproject.com/KB/database/SapDBReader.aspx|http://www.codeproject.com/KB/database/SapDBReader.aspx]
may you please help me with this problem?
Thanks and kind regards,
Peter
great support! Thanks a lot! problem was solved with BAPI inplementation
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey,
you need to write a BAPI (remote enabled function module ) in ABAP that executes the program you want to execute.
Kind Regards
Christof
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Peter,
Be aware of the limitation of the SAP Connector for .NET (NCo) that there is only a version integrated in VS2003, dependent upon .NET 1.1. In fact, the technology is outdated and will not be continued; a better future-proof direction is to apply the webservices approach.
Given that, in your particular situation it can be that NCo is a perfectly viable enough tool, or even the only option (dependent upon your SAP version). There is a documented workaround on [SDN |https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/92333e6b-0b01-0010-9cbf-fecd62d6c895?overridelayout=true]for getting the NCo operational within a VS2005/VS2008 and .NET 2.0-3.5 environment.
There are also more resources on how to use the NCo; for instance [Using the SAP.NET Connector to Connect your .NET Applications to SAP|http://www.codeproject.com/KB/dotnet/SAP_NET_Connector.aspx]. Another good resource is the book Microsoft.NET and SAP by Juergen Daiberl et al.
Regards, William.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.