天天看点

SAP接口集成-PO/PI-SLD配置前言一、SLD-system landscape directory 系统框架目录、系统格局目录二、ESR/IR -integration repository 集成存储场所/仓库三、ID-integration directory 集成目录(路径)(PO新版叫做IB-integration builder集成开发工具)总结

SAP接口集成-PO/PI-SLD配置

  • 前言
  • 一、SLD-system landscape directory 系统框架目录、系统格局目录
  • 二、ESR/IR -integration repository 集成存储场所/仓库
    • 1.导入软件版本software component version- SWC
    • 2.新建namespace:必须含有http,建议http://Chimelong.com/项目名
    • 3.创建DataType:
    • 4.创建MessageType:
      • 4.1右击新建MT
      • 4.2创建element后保存和激活
      • 4.3新建external definition后uploading the WSDL
    • 5.创建message Interface:
      • 5.1 inbound和outbound:
      • 5.2同步和异步
    • 6.创建Message Mapping:
    • 7.创建Operation Mapping(Interface mapping)
  • 三、ID-integration directory 集成目录(路径)(PO新版叫做IB-integration builder集成开发工具)
    • 1.配置场景:configuration scenario
    • 2.添加业务系统 business system
    • 3.新建业务服务business service(PO业务组件business component)
  • 总结

前言

PO/PI是S4常用的集成接口管理工具,这里把项目培训和开发整理出来的资料分享下,这一篇是SLD/ESR配置

一、SLD-system landscape directory 系统框架目录、系统格局目录

事务码SXMB_IFR:http://10.191.66.32:50000/dir/start/index.jsp

帮助:《PO SLD配置步骤sap官网-rxu笔记2020-3-3V0.docx》

1.产品新建:SLD-产品

2.建立软件组件:software component SWC(就是ESB下面导入的SWC)

3.建立技术系统:

4.新建业务系统:

二、ESR/IR -integration repository 集成存储场所/仓库

1.导入软件版本software component version- SWC

主页-ESR开发工具-tools-transfer from SLD;新版本PI直接右击新建,然后选择SWC VERSION

SAP接口集成-PO/PI-SLD配置前言一、SLD-system landscape directory 系统框架目录、系统格局目录二、ESR/IR -integration repository 集成存储场所/仓库三、ID-integration directory 集成目录(路径)(PO新版叫做IB-integration builder集成开发工具)总结

例如:

SAP接口集成-PO/PI-SLD配置前言一、SLD-system landscape directory 系统框架目录、系统格局目录二、ESR/IR -integration repository 集成存储场所/仓库三、ID-integration directory 集成目录(路径)(PO新版叫做IB-integration builder集成开发工具)总结

2.新建namespace:必须含有http,建议http://Chimelong.com/项目名

3.创建DataType:

4.创建MessageType:

4.1右击新建MT

4.2创建element后保存和激活

4.3新建external definition后uploading the WSDL

SAP接口集成-PO/PI-SLD配置前言一、SLD-system landscape directory 系统框架目录、系统格局目录二、ESR/IR -integration repository 集成存储场所/仓库三、ID-integration directory 集成目录(路径)(PO新版叫做IB-integration builder集成开发工具)总结

5.创建message Interface:

SAP接口集成-PO/PI-SLD配置前言一、SLD-system landscape directory 系统框架目录、系统格局目录二、ESR/IR -integration repository 集成存储场所/仓库三、ID-integration directory 集成目录(路径)(PO新版叫做IB-integration builder集成开发工具)总结

如SAP调用富基接口写入商品库存:

SAP——outbound接口发送物料库存request字段到PO——PO通过inbound interface对应的channel(富基URL)发送到富基——富基响应后同时通过反馈信息到PO。

client调用PI时,PI是outbound, PI调用BAPI, 核心是inbound

5.1 inbound和outbound:

outbound接口——接收sender的MT消息,request输送出去;request 离开、发出

inbound接口——继续接收sender的MT消息,request传递给receiver;

5.2同步和异步

同步:需返回后继续进行 synchronous

异步:不需要receiver返回继续执行 asynchronous

6.创建Message Mapping:

主要是outbound接口发出信息之间mapping;inbound返回信息mapping

SAP接口集成-PO/PI-SLD配置前言一、SLD-system landscape directory 系统框架目录、系统格局目录二、ESR/IR -integration repository 集成存储场所/仓库三、ID-integration directory 集成目录(路径)(PO新版叫做IB-integration builder集成开发工具)总结

7.创建Operation Mapping(Interface mapping)

SAP接口集成-PO/PI-SLD配置前言一、SLD-system landscape directory 系统框架目录、系统格局目录二、ESR/IR -integration repository 集成存储场所/仓库三、ID-integration directory 集成目录(路径)(PO新版叫做IB-integration builder集成开发工具)总结
SAP接口集成-PO/PI-SLD配置前言一、SLD-system landscape directory 系统框架目录、系统格局目录二、ESR/IR -integration repository 集成存储场所/仓库三、ID-integration directory 集成目录(路径)(PO新版叫做IB-integration builder集成开发工具)总结

配置后全部激活,在abap sapGUI的sproxy能看到同步的内容

三、ID-integration directory 集成目录(路径)(PO新版叫做IB-integration builder集成开发工具)

SAP接口集成-PO/PI-SLD配置前言一、SLD-system landscape directory 系统框架目录、系统格局目录二、ESR/IR -integration repository 集成存储场所/仓库三、ID-integration directory 集成目录(路径)(PO新版叫做IB-integration builder集成开发工具)总结

1.配置场景:configuration scenario

新建场景后,后面业务系统、业务组件、通讯通道、集成配置都在该场景基础上添加进来

SAP接口集成-PO/PI-SLD配置前言一、SLD-system landscape directory 系统框架目录、系统格局目录二、ESR/IR -integration repository 集成存储场所/仓库三、ID-integration directory 集成目录(路径)(PO新版叫做IB-integration builder集成开发工具)总结

2.添加业务系统 business system

右击assign business system,业务系统一般是SAP系统

SAP接口集成-PO/PI-SLD配置前言一、SLD-system landscape directory 系统框架目录、系统格局目录二、ESR/IR -integration repository 集成存储场所/仓库三、ID-integration directory 集成目录(路径)(PO新版叫做IB-integration builder集成开发工具)总结

3.新建业务服务business service(PO业务组件business component)

SAP接口集成-PO/PI-SLD配置前言一、SLD-system landscape directory 系统框架目录、系统格局目录二、ESR/IR -integration repository 集成存储场所/仓库三、ID-integration directory 集成目录(路径)(PO新版叫做IB-integration builder集成开发工具)总结
SAP接口集成-PO/PI-SLD配置前言一、SLD-system landscape directory 系统框架目录、系统格局目录二、ESR/IR -integration repository 集成存储场所/仓库三、ID-integration directory 集成目录(路径)(PO新版叫做IB-integration builder集成开发工具)总结
SAP接口集成-PO/PI-SLD配置前言一、SLD-system landscape directory 系统框架目录、系统格局目录二、ESR/IR -integration repository 集成存储场所/仓库三、ID-integration directory 集成目录(路径)(PO新版叫做IB-integration builder集成开发工具)总结

chanel可以在下一步建立后添加

3.新建communication channel

3.1 sender -outbound interface

soap测试,可以通过POST和get工具直接访问PO channel网址:

http://host:j2eeport/XISOAPAdepter/MessageServlet?channel=::

如果没有PARTY则直接=::

3.2 receiver-inbound interface

REST:严格的有身份验证的接口:

URL和参数:

http://ip:8380/JService/JService?apiid={apiid}&client={client}&compression={compression}&exeinfo={exeinfo}&para={parameter}&sign={sign}&timestamp={timestamp}

SAP接口集成-PO/PI-SLD配置前言一、SLD-system landscape directory 系统框架目录、系统格局目录二、ESR/IR -integration repository 集成存储场所/仓库三、ID-integration directory 集成目录(路径)(PO新版叫做IB-integration builder集成开发工具)总结

适配器类型主要有:

SAP接口集成-PO/PI-SLD配置前言一、SLD-system landscape directory 系统框架目录、系统格局目录二、ESR/IR -integration repository 集成存储场所/仓库三、ID-integration directory 集成目录(路径)(PO新版叫做IB-integration builder集成开发工具)总结

5.创建receiver determination (PO receiver rule)接收端规则(非必要)

6.创建 interface determination(非必要)

7.创建Receiver Argument(非必要)

8.创建Sender Argument

9. integrated configuration:集成配置

创建这一步之前,前面务必激活,激活后在business system中看看sender和receiver是否在改system如client300中,存在则可以,不存在则检查激活状态,刷新和同步,有时候也可以直接拖拉进去,注意拖拉提示删除不要把源文件删除

SAP接口集成-PO/PI-SLD配置前言一、SLD-system landscape directory 系统框架目录、系统格局目录二、ESR/IR -integration repository 集成存储场所/仓库三、ID-integration directory 集成目录(路径)(PO新版叫做IB-integration builder集成开发工具)总结

如果发现inbound和outbound为空,说明上面创建CC的时候没有选择在改business componet创建导致,重新打开business componet然后在他上面建立CC,就可以

SAP接口集成-PO/PI-SLD配置前言一、SLD-system landscape directory 系统框架目录、系统格局目录二、ESR/IR -integration repository 集成存储场所/仓库三、ID-integration directory 集成目录(路径)(PO新版叫做IB-integration builder集成开发工具)总结
SAP接口集成-PO/PI-SLD配置前言一、SLD-system landscape directory 系统框架目录、系统格局目录二、ESR/IR -integration repository 集成存储场所/仓库三、ID-integration directory 集成目录(路径)(PO新版叫做IB-integration builder集成开发工具)总结

选择sender

SAP接口集成-PO/PI-SLD配置前言一、SLD-system landscape directory 系统框架目录、系统格局目录二、ESR/IR -integration repository 集成存储场所/仓库三、ID-integration directory 集成目录(路径)(PO新版叫做IB-integration builder集成开发工具)总结

选择sender和receiver对应的交换系统

SAP接口集成-PO/PI-SLD配置前言一、SLD-system landscape directory 系统框架目录、系统格局目录二、ESR/IR -integration repository 集成存储场所/仓库三、ID-integration directory 集成目录(路径)(PO新版叫做IB-integration builder集成开发工具)总结

选择receiver的OM

SAP接口集成-PO/PI-SLD配置前言一、SLD-system landscape directory 系统框架目录、系统格局目录二、ESR/IR -integration repository 集成存储场所/仓库三、ID-integration directory 集成目录(路径)(PO新版叫做IB-integration builder集成开发工具)总结

选择receiver:

SAP接口集成-PO/PI-SLD配置前言一、SLD-system landscape directory 系统框架目录、系统格局目录二、ESR/IR -integration repository 集成存储场所/仓库三、ID-integration directory 集成目录(路径)(PO新版叫做IB-integration builder集成开发工具)总结

最后激活所有内容,激活configuration scenario。可以在SAP的sproxy找到同步完的接口

SAP接口集成-PO/PI-SLD配置前言一、SLD-system landscape directory 系统框架目录、系统格局目录二、ESR/IR -integration repository 集成存储场所/仓库三、ID-integration directory 集成目录(路径)(PO新版叫做IB-integration builder集成开发工具)总结

总结

今天介绍了SLD和ESR的配置,先到这里,后面介绍下SPROXY代理编写