一:登陆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. Kafka客户端编程入门介绍

    1.maven依赖 <dependency> <groupId>org.apache.kafka</groupId> <artifactId>kafka ...

  2. el-collapse header修改

    先看一下修改后的效果 修改前el-collapse效果 对比一下 原版el-collapse的icon在右边,而我们UI设计是在最左边,而且右边还要加上此el-collapse-item的长度. 实现 ...

  3. Android基础工具移植说明

    早前开展的计划因各种杂事而泡汤,而当遇到了具体任务后,在压力下花了两个多周的业余时间把这件事完成了. 这就是我的引以为傲的Mercury-Project,它的核心目标是移植一些Android底层轮子到 ...

  4. devops持续集成

    目录 Devops 版本控制系统 Git安装 Git使用 git四种状态 git基础命令 git分支 git合并冲突 git标签 git命令总结 Github使用 创建仓库 HTTP协议 SSH协议 ...

  5. 入门oj 5499: 讲话模式

    Description 每个人说话都有口头禅,现给出一个字符串,请求出其中出现次数最多的单词(不区分大小写). Input 输入一行,长度小于等于1048576的字符串输入至少包含一个字母或数字 Ou ...

  6. JAVA编程环境与基本数据类型

    <JAVA编程环境与基本数据类型> 随笔目录 # <JAVA编程环境与基本数据类型> 随笔目录 - Java小实例 java的编程环境 java数据类型 Java小实例 jav ...

  7. 风炫安全web安全学习第三十二节课 Python代码执行以及代码防御措施

    风炫安全web安全学习第三十二节课 Python代码执行以及代码防御措施 Python 语言可能发生的命令执行漏洞 内置危险函数 eval和exec函数 eval eval是一个python内置函数, ...

  8. Sentry(v20.12.1) K8S 云原生架构探索,玩转前/后端监控与事件日志大数据分析,高性能+高可用+可扩展+可伸缩集群部署

    Sentry 算是目前开源界集错误监控,日志打点上报,事件数据实时分析最好用的软件了,没有之一.将它部署到 Kubernetes,再搭配它本身自带的利用 Clickhouse (大数据实时分析引擎)构 ...

  9. 发现一个怪象windows 7系统上老是丢包windows 10网络正常

    不知何故障,同一个局域网,windows 10系统上不丢包,windows 7系统老是丢包,不知是不是这二个系统的差区别,还是大家都有这样的情况. 相互PC之间ping也又不丢包,只有windos 7 ...

  10. 利用github给国外文件下载加速

    前言 作为一名程序员,经常需要下载一些编程相关的环境,而国内的网络环境大家都知道,有的文件用浏览器是下载不动的,于是我有了利用github下载文件的想法. 我的demo项目地址:https://git ...