JCO RFC destination
一:登陆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 ID: AI_DIRECTORY_<SID>, where <SID>is the SAP system ID of your Integration Server host.
○ LCRSAPRFC
Program ID: LCRSAPRFC_<SID>, where <SID> is the SAP system ID of your Integration Server host.
○ SAPSLDAPI
Program ID: SAPSLDAPI_<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 Server, System Number, Client, 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的更多相关文章
- 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 ...
- 如何实现SAP的RFC函数调用(原创)
连接sap系统需要通过sap javaconnect来连接,对于sapjco.jar系列文件有32位与64位之分[32位用的JAR版本是 2.1.10 (2011-05-10) ,64位用的JAR版本 ...
- SAP RFC 函数来创建 Java呼叫 学习总结 一步一步的插图
前言 该公司很快就接到了一个项目,SAP有接口.让我们做老大SAP.首先SAP联系.但发展从来没有打过.本周集中在这一个研究. 各种碰壁,SAP该系统让我怎么说? 算了.说多了都是泪,以下附上本周学习 ...
- 为什么CRM Opportunity的删除会触发一个通向BW系统的RFC
今天工作时我发现,我在SE38里用函数CRM_ORDER_DELETE删除一个Opportunity,居然弹出下图这个SAP Logon的屏幕,要连接BR1.这是什么鬼?! 查了一下,BR1是BW系统 ...
- ABAP 调用远程rfc
ABAP 调用rfc DESTINATION附加项后面接的是远程目标名称,该目标在事务SM59中设定,其中包含连接和登录远程系统所需的全部参数信息.如果调用的就是本机的RFC目标,则DESTINATI ...
- 跟踪记录ABAP对外部系统的RFC通信
对SAP系统而言,RFC最常见的系统间通信方式,SAP与SAP系统及SAP与非SAP系统之间的连接都可以使用它.它的使用便利,功能强大,在各种接口技术中,往往是最受(ABAP开发者)青睐的选择. 查询 ...
- Java(JCo3)与SAP系统相互调用
声明:原创作品,转载时请注明文章来自SAP师太技术博客( 博/客/园www.cnblogs.com):www.cnblogs.com/jiangzhengjun,并以超链接形式标明文章原始出处,否则将 ...
- ABAP-JCO服务端连接问题
公司网络服务加域,若SAP服务器后端未配置端口号映射,则外部服务器注册JCO服务监听需要调整 # server jco.server.connection_count=5 jco.server.gwh ...
- ABAP开发顾问必备:SAP ABAP开发技术总结
声明:原创作品,转载时请注明文章来自SAP师太技术博客( 博/客/园www.cnblogs.com):www.cnblogs.com/jiangzhengjun,并以超链接形式标明文章原始出处,否则将 ...
随机推荐
- 一次数独生成及解题算法的剖析(Java实现)
数独生成及解题算法剖析(Java实现) 关键词 数独9x9 数独生成算法 数独解题算法 序言 最近业务在巩固Java基础,编写了一个基于JavaFX的数独小游戏(随后放链接).写到核心部分发现平时玩的 ...
- 多年总结IDEA 使用技巧 (建议收藏!)
很长一段时间没有更新了,前段时间转测试了,浪费了一些时间,终于可以写文章了,今天来写一下之前自己开发的一些习惯,因为自己本身自己是一个极简主义所以 开发喜欢这样:. 全屏显示 我们可以使用[Prese ...
- 【Git】命令思维导图
Git命令思维导图
- java基础:switch语句应用,循环的详细介绍以及使用,附练习案列
1. switch语句 1.1 分支语句switch语句 格式 switch (表达式) { case 1: 语句体1; break; case 2: 语句体2; break; ... default ...
- 【vue-1】vue-cli3.0以上的搭建与配置(2.X的版本是不一样的)
为什么要使用 vue-cli Vue CLI 致力于将 Vue 生态中的工具基础标准化.它确保了各种构建工具能够基于智能的默认配置即可平稳衔接,这样你可以专注在撰写应用上,而不必花好几天去纠结配置的问 ...
- Java学习日报7.24
package tem; public class Tem { public static void main(String[] args) { // TODO 自动生成的方法存根 //每隔10摄氏度 ...
- ThreadLocal解决什么问题
原创文章,转载请务必将下面这段话置于文章开头处(保留超链接).本文转发自技术世界,原文链接 http://www.jasongj.com/java/threadlocal/ ThreadLocal解决 ...
- java.util.Collections
p.p1 { margin: 0; font: 11px Monaco } span.s1 { text-decoration: underline } span.s2 { color: rgba(1 ...
- python之logging 模块(下篇)
四.日志处理流程(第二种日志使用方式) 上面简单配置的方法例子中我们了解到了logging.debug().logging.info().logging.warning().logging.error ...
- 2020 年度编程语言排行榜出炉!C 语言称霸,Java 遭遇滑铁卢…….
最近,TIOBE 发布了过去一年的编程语言排行榜: 数据来源TIOBE: https://www.tiobe.com/tiobe-index/ TIOBE介绍: TIOBE编程语言索引是编程语言流行程 ...