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读取默认时区的问题,后来看了openjdk的源码,大致整理一下过程 public class Test { public void test(){ TimeZone.getDe ...
- 系统类 System类
System类代表系统,系统级的很多属性和控制方法都放置在该类的内部.该类位于java.lang包. 由于该类的构造方法是private的,所以无法创建该类的对象,也就是无法实例化该类.其内部的成员变 ...
- [水题日常]UVA11181 条件概率(Probability|Given)
话说好久没写blog了 好好学概率论的第一天,这题一开始完全不会写,列出个条件概率的公式就傻了,后来看着lrj老师的书附带的代码学着写的- 因为我比较弱智 一些比较简单的东西也顺便写具体点或者是按照书 ...
- 【译】理解Rust中的Futures(二)
原文标题:Understanding Futures in Rust -- Part 2 原文链接:https://www.viget.com/articles/understanding-futur ...
- 灯光设置(light)
clc;clear all;close all; %% 台灯的设置figure('color','k')% 底座fill3([0 1 1 0],[0 0 1 1],[0 0 0 0],'b',... ...
- k8s之深入解剖Pod(三)
目录: Pod的调度 Pod的扩容和缩容 Pod的滚动升级 一.Pod的调度 Pod只是容器的载体,通常需要通过RC.Deployment.DaemonSet.Job等对象来完成Pod的调度和自动控制 ...
- 1.k8s概述、安装、名词解释、资源清单
一.k8s概述 1.简介 Kubernetes是一个开源的,用于管理云平台中多个主机上的容器化的应用,Kubernetes的目标是让部署容器化的应用简单并且高效(powerful),Kubernete ...
- sqlserver 汉字转全拼函数
create function fn_Getquanpin (@str varchar(100)) returns varchar(8000) as begin declare @re varchar ...
- Jenkins自动化部署服务器及git 提交及git tag标签版本更新流程,超详细!
工作中部署的项目和服务器较多时就用上了Jenkins进行自动部署 优点 不用在连接单独的服务器进行更新项目,再启动项目服务的操作了 更新部署都是自动的,比较方便.适合大批量的部署 一.git流程部分 ...
- 隐语义模型LFM
隐语义模型是通过隐含特征,联系用户和物品,基于用户的特征对物品进行自动聚类,然后在用户感兴趣的类中选择物品推荐给用户. 对于推荐系统,常用的算法: USER-CF:给用户推荐和他兴趣相似的用户喜欢 ...