一:登陆PI的GUI,进入事物SM59,创建T类型RFC destinations如下:

AI_RUNTIME_JCOSERVER  :used for the mapping runtime, value mapping, and the exchange profile

AI_DIRECTORY_JCOSERVER: used to refresh the runtime cache

LCRSAPRFC : required for the connection to the SLD,used to read the exchange profile

SAPSLDAPI : required for the connection to the SLD , used by the ABAP API

详细的步骤如下:

1. Log on to your Integration Server host.

2. Call transaction SM59.

3. Choose Create.

4. Enter at least the following:

○ RFC destination: AI_RUNTIME_JCOSERVER

○ Connection type: T

○ Description: <your description>

5. Choose ENTER.

6. Choose the Technical settings tab and do the following:

a. Select Registered Server Program.

b. In the Program ID field, enter: AI_RUNTIME_<SID>

<SID> is the SAP system ID of your Integration Server host.

Use uppercase letters only.

c. Enter Gateway host and Gateway service of your Integration Server host.

To find out the required parameters:

...

i. On the Integration Server host, call transaction SMGW.

ii. Choose Goto Parameters  Display (see entries for gateway hostname and gateway service).

7. Choose the Special Options tab and select the Unicode flag in the Character Width in Target System box.

8. Save your settings.

9. Repeat steps 3 to 8 for the remaining destinations:

○ AI_DIRECTORY_JCOSERVER

Program IDAI_DIRECTORY_<SID>, where <SID>is the SAP system ID of your Integration Server host.

○ LCRSAPRFC

Program IDLCRSAPRFC_<SID>, where <SID> is the SAP system ID of your Integration Server host.

○ SAPSLDAPI

Program IDSAPSLDAPI_<SID>, where <SID> is the SAP system ID of your Integration Server host.

10. Leave transaction SM59 open for later tests

二:配置JAVA中的JCO,既注册SM59中的program ID

1、在浏览器的地址栏输入

<host> and <HTTPport> 是Integration Server的主机名和端口号,主机名在gui的右下角,端口号通过事务码SMICM,Goto  Services 中HTTP的端口号

2、选择SAP NetWeaver Administrator->Configuration Management->Connectivity->Jco RFC Provider

在这个页面点击create,enter Gateway Host,Gateway Service,Server Count(值设置为10),next,在Repository configration中

Enter the parameters for the Integration Server host: Application ServerSystem NumberClient, and Language username ,password,

note:可能PI/XI版本的不同,路径也不通 (如:1. On your Integration Server host, start the J2EE Engine Visual Administrator.

2. Choose Cluster ServerServices JCo RFC Provider.)

3 、一直next,最后finish

4. Repeat steps 2to 3 for the remaining destinations:

○ AI_DIRECTORY_JCOSERVER

Corresponding values from transaction SM59

Number of processes: 10

○ LCRSAPRFC

Corresponding values from transaction SM59

Number of processes: 3

○ SAPSLDAPI

Corresponding values from transaction SM59

Number of processes: 10

最后测试

Test the RFC Destinations

After you have maintained all RFC destinations in both the ABAP and Java environments, you can check all the connections above as follows:

1. Call transaction SM59 again.

2. Open your RFC destination.

3. Choose Test Connection.

No errors should be displayed.

JCO RFC destination的更多相关文章

  1. RFC destination fails with error Incomplete Logon Data after system copy

    1. 问题现象 1.1在system copy后,提示RFC报错Unable to configure STMS 2.  重要的参考文件: 2.1RFC passwords not available ...

  2. 如何实现SAP的RFC函数调用(原创)

    连接sap系统需要通过sap javaconnect来连接,对于sapjco.jar系列文件有32位与64位之分[32位用的JAR版本是 2.1.10 (2011-05-10) ,64位用的JAR版本 ...

  3. SAP RFC 函数来创建 Java呼叫 学习总结 一步一步的插图

    前言 该公司很快就接到了一个项目,SAP有接口.让我们做老大SAP.首先SAP联系.但发展从来没有打过.本周集中在这一个研究. 各种碰壁,SAP该系统让我怎么说? 算了.说多了都是泪,以下附上本周学习 ...

  4. 为什么CRM Opportunity的删除会触发一个通向BW系统的RFC

    今天工作时我发现,我在SE38里用函数CRM_ORDER_DELETE删除一个Opportunity,居然弹出下图这个SAP Logon的屏幕,要连接BR1.这是什么鬼?! 查了一下,BR1是BW系统 ...

  5. ABAP 调用远程rfc

    ABAP 调用rfc DESTINATION附加项后面接的是远程目标名称,该目标在事务SM59中设定,其中包含连接和登录远程系统所需的全部参数信息.如果调用的就是本机的RFC目标,则DESTINATI ...

  6. 跟踪记录ABAP对外部系统的RFC通信

    对SAP系统而言,RFC最常见的系统间通信方式,SAP与SAP系统及SAP与非SAP系统之间的连接都可以使用它.它的使用便利,功能强大,在各种接口技术中,往往是最受(ABAP开发者)青睐的选择. 查询 ...

  7. Java(JCo3)与SAP系统相互调用

    声明:原创作品,转载时请注明文章来自SAP师太技术博客( 博/客/园www.cnblogs.com):www.cnblogs.com/jiangzhengjun,并以超链接形式标明文章原始出处,否则将 ...

  8. ABAP-JCO服务端连接问题

    公司网络服务加域,若SAP服务器后端未配置端口号映射,则外部服务器注册JCO服务监听需要调整 # server jco.server.connection_count=5 jco.server.gwh ...

  9. ABAP开发顾问必备:SAP ABAP开发技术总结

    声明:原创作品,转载时请注明文章来自SAP师太技术博客( 博/客/园www.cnblogs.com):www.cnblogs.com/jiangzhengjun,并以超链接形式标明文章原始出处,否则将 ...

随机推荐

  1. [游记]FCS&FJOI2018滚粗记

    省冬连着省选,嗯这篇博客是省冬前就开的 省选是在情人节前一天- day0 中午早早的来了这边(找了个酒店到房间发现非常粉w 下午一个人去附中报到,然而-没有人带队签安全责任书好像不行-签到失败QAQ ...

  2. MAC 安装Python3.7

    查看下python版本 macosdeMacBook:Versions macos$ cd /System/Library/Frameworks/Python.framework/Versions/ ...

  3. 一步步分析:C语言如何面向对象编程

    这是道哥的第009篇原创 一.前言 在嵌入式开发中,C/C++语言是使用最普及的,在C++11版本之前,它们的语法是比较相似的,只不过C++提供了面向对象的编程方式. 虽然C++语言是从C语言发展而来 ...

  4. 服务器挂掉导致需要对k8s新增节点

    [导读]今日是周六,本想午休起来之后写篇有关kubernetes service的文章,没想到两台虚拟机接连挂掉,所以又重新创建了两台虚拟机.新建时又一直黑屏,所以只能克隆. 由于虚拟机是新建的,所以 ...

  5. java中对list集合中的数据按照某一个属性进行分组

    import java.util.ArrayList; import java.util.HashMap; import java.util.HashSet; import java.util.Ite ...

  6. 本地缓存性能之王Caffeine

    前言 随着互联网的高速发展,市面上也出现了越来越多的网站和app.我们判断一个软件是否好用,用户体验就是一个重要的衡量标准.比如说我们经常用的微信,打开一个页面要十几秒,发个语音要几分钟对方才能收到. ...

  7. C# 打开Excel文件

    方法一:(调用Excel的COM组件)       在项目中打开Add Reference对话框,选择COM栏,之后在COM列表中找到"Microsoft Excel 11.0 Object ...

  8. go语言的下载、安装、配置

    一.下载 Go 语言支持以下系统: Linux FreeBSD Mac OS X(也称为 Darwin) Windows 安装包下载地址为:https://golang.org/dl/. 如果打不开可 ...

  9. Sql语句模糊查询字符串的两种写法

    Sql语句模糊查询有两种写法,一种是在jdbcTemplate的查询方法参数里拼接字符串%,一种是在Sql语句里拼接%字符串. public class IsNameDaoImpl implement ...

  10. CentOS7搭建svn部署项目

    一.安装SVN[root@client ~]# yum install -y subversion查看安装了哪些文件[root@client ~]# rpm -ql subversion/etc/su ...