SAP connector problem????help !!!!

问题描述

代码如下privatevoidPage_Load(objectsender,System.EventArgse){//在此处放置用户代码以初始化页面//Binddatabackthis.destination1.Username="zbecky";this.destination1.Password="stephanie";//addthis.destination1.AppServerHost="10.152.2.26";this.destination1.SystemNumber=00;this.destination1.Client=120;this.destination1.Language="en";}#regionWeb窗体设计器生成的代码overrideprotectedvoidOnInit(EventArgse){////CODEGEN:该调用是ASP.NETWeb窗体设计器所必需的。//InitializeComponent();base.OnInit(e);}///<summary>///设计器支持所需的方法-不要使用代码编辑器修改///此方法的内容。///</summary>privatevoidInitializeComponent(){this.components=newSystem.ComponentModel.Container();this.destination1=newSAP.Connector.Destination(this.components);this.Button1.Click+=newSystem.EventHandler(this.Button1_Click);this.Load+=newSystem.EventHandler(this.Page_Load);}#endregionprivatevoidButton1_Click(objectsender,System.EventArgse){SAPProxy1proxy=newSAPProxy1();proxy.Connection=newSAP.Connector.SAPConnection(this.destination1);//KNA1是表的数据结构类KNA1objkna=newKNA1();//textbox1为传入参数,后者为传出参数proxy.Z_Get_Customer(this.TextBox1.Text.Trim(),outobjkna);//显示名称字段this.Label2.Text=objkna.Name1;}为题是返回的objkna老师没有数据??????急,求助

解决方案

解决方案二:
SAP还没接触过
解决方案三:
关注一下,顶
解决方案四:
proxy先OPEN

时间: 2024-08-30 14:23:14

SAP connector problem????help !!!!的相关文章

.NET 2005 WEB程序怎么样直接获取SAP 的RFC函数,急!!!!

问题描述 如题,最好有实例!! 解决方案 解决方案二:PrivateSubCommand1_Click() '定义R/3用户名和密码变量(用户名应由SAP管理员开运行函数的权限) DimlognameAsString*22,passwordAsString*22 Calllogonr3(logname,password)'调用SAP登录界面程序 IflogflagThen'调用生产.开发系统开关 StatusBar1.Visible=True StatusBar1.SimpleText="正在登

Mule ESB 3.3与CloudHub

MuleSoft最近发布了企业服务总线(ESB)产品Mule ESB 3.3.在新版本中,除了应用程序集成之外,Mule ESB还拥有了数据集成功能:从而为开发者提供了一个面向本地或云端应用的集成解决方案. Mule ESB 3.3提供了集成本地应用.SaaS和定制软件的套件:这些功能都可以在新的Mule Studio中找到.Mule ESB 3.3有两个分支:企业版和开源社区版.Mule ESB 3.3企业版包含了一系列相关组件,比如DataMapper, CloudHub和Cloud Con

SAP.Middleware.Connector.RfcInvalidStateException?

问题描述 SAP.Middleware.Connector.RfcInvalidStateException? 程序大多数时候都好使,但是每天都会有几次出现这种问题,是怎么回事? SAP.Middleware.Connector.RfcInvalidStateException: cannot unregister the given destination configuration at SAP.Middleware.Connector.RfcDestinationManager.Unreg

求救,,,sap .net connector 3.0连接问题.

问题描述 各位,救我吧..我现在写了一个NCO3.0的程序,是用C#的程序连接SAP中的function.去读取数据.现在的问题是...在我的编写的电脑上OK的.拿来到其他电脑就不行.我程序拿到其他电脑上是直接COPY的RELEASE文件夹里面的程序.没有安装.里面调用了.NCO3.0的两个DLL文件.客户端为WINDOWSXPSP3安装了SAP7.2GUI安装了.NET4.0的运行环境.电脑为管理员权限.我编写的电脑为.WINDOWS7...不过.我用WINDOWS7写的程序其他部分能用.就是

SAP HANA Cloud Connector图文全攻略

SAP HANA Cloud Connector图文全攻略 http://mp.weixin.qq.com/s?__biz=MjM5OTI2MjgyMA==&mid=2651785635&idx=1&sn=fad0d4dddd6034ce67c80d741bb4ee2a&chksm=bcc586a88bb20fbe2badc43d8b6d805274d8bacef695c7d27581cf83574690cc954276c36625&mpshare=1&sc

《SAP CRM管理与实施指南》一一2.1 SAP CRM基础数据管理

2.1 SAP CRM基础数据管理 本节介绍SAP CRM的基础数据,包括业务合作伙伴.产品.组织结构.服务对象及知识库等.合作伙伴.产品.组织结构可以用于营销.销售及服务管理等模块中:对象.安装点.质保.计数器及知识库一般用于服务管理流程中.定价数据也是重要的基础数据,在2.2.3节中与定价的条件技术一起介绍.2.1.1 SAP CRM业务合作伙伴管理 和企业的业务相关的任何单位.人员均统称为业务合作伙伴(Business Partner),比如正式的有交易往来的正式客户(也常称为交易客户),

struts-Struts Problem Report

问题描述 Struts Problem Report org.hibernate.TypeMismatchException: Provided id of the wrong type for class ahpu.ssh.city.model.Province. Expected: class java.lang.Byte got class java.lang.Integer org.hibernate.event.def.DefaultLoadEventListener.onLoad(D

求助各位大神,C#与SAP对接问题!

问题描述 通过NCO调用RFC接口时,报错,麻烦各位能帮忙看看是哪里的问题吗?谢谢了!异常信息:SAP.Middleware.Connector.RfcCommunicationException:LOCATIONCPIC(TCP/IP)onlocalhostwithUnicodeERRORinternalerrorTIMEThuFeb0403:06:482016RELEASE720COMPONENTNI(networkinterface)VERSION40RC-1MODULEnixxi.cpp

C#调用SAP RFC如何向RFC的一个表参数传值

问题描述 如题,必须是C#,因为整个项目使用C#完成的,SAP的RFC非常复杂,要传很多参数...,下边是部分代码SAPLogonCtrl.SAPLogonControlClasssapLogon=newSAPLogonCtrl.SAPLogonControlClass();//sapLogon.ApplicationServer="GERPLO.SEC.SAMSUNG.NET";sapLogon.MessageServer="GERPLO.SEC.SAMSUNG.NET&q