使用SAP XIF Adapter发送IDoc数据

简介: 使用SAP XIF Adapter发送IDoc数据

In this blog, I will use File as external receiver.


Scenario overview

I make some changes on business partner / product master data in CRM.


The data in the mBDoc will be converted in XIF adapter into an IDoc which then is sent to File as external receivers.


(1) Create a new port in tcode WE21:


image.png


Use EDI_GLOBAL_PATH as directly which will be written with generated IDoc.image.pngThe physical path could be found by simply double click:image.pngSave the port as XIF_FILE.

(2) Create a new partner profile in tcode WE20:image.pngAdd new outbound parameters:image.pngFor receiver port, maintain XIF_FILE created in previous step.image.png(3) Create a new site in tcode SMOEAC:image.pngClick Site attribute and maintain XIF_SYSTEM and type: LS – logical system.image.pngXIF_SYSTEM is an entry in tcode SALE:

image.pngAdd All Business Partner(MESG) as subscription:image.pngSave site as JERRY_FILE_SITE.

(4) Add a new entry below in tcode CRMXIF_C1image.png(5) now use tcode BP, search a business partner and make changes on it and save.image.pnggo to tcode SMW01, you should find a generated mBdoc:

image.pngDouble confirm that this mBodc is generated by my previous change by checking partner id and guid:image.pngNow go to tcode BD87, find IDoc with status = 30 – IDoc ready for dispatch

image.pngOne IDoc found:

image.pngClick Display IDoc button:image.pngWe can ensure this IDoc is generated by our change in BP tcode via partner_no:image.png6) Click Process button to send it to File receiver:image.pngStatus changes to 03:image.pngGo to tcode AL11, the generated file is there:image.pngIf you are curious about the file content, you can see a downloaded version here.

As alternative you can also specify absolute path:image.pngOther business logic like Product has the same logic:

image.pngimage.pngimage.pngMake changes on Web UI:image.pngThe IDoc for product change is generated successfully:image.png

相关文章
使用 SAP UI5 Event Bus 机制,修复 SAP UI5 分页显示数据的一个 bug 试读版
使用 SAP UI5 Event Bus 机制,修复 SAP UI5 分页显示数据的一个 bug 试读版
|
5月前
|
数据采集 供应链 数据管理
关于评估 SAP 主数据的数据初始化对 SAP 系统影响范围的方法论
关于评估 SAP 主数据的数据初始化对 SAP 系统影响范围的方法论
|
5月前
|
存储 安全 数据管理
SAP 产品 data archive 数据归档的重要性
SAP 产品 data archive 数据归档的重要性
|
5月前
|
存储 供应链 安全
SAP S4HANA 数据归档的实施方法
SAP S4HANA 数据归档的实施方法
|
5月前
|
监控 测试技术
SAP 电商云修改 Product Catalog Staged 版本数据后,同步到 online 版本的 UI 操作
SAP 电商云修改 Product Catalog Staged 版本数据后,同步到 online 版本的 UI 操作
|
5月前
SAP CLIENT 数据配置文件的导出/导入
SAP CLIENT 数据配置文件的导出/导入
104 1
|
5月前
|
存储 安全 数据管理
SAP S4HANA 数据归档流程详解
SAP S4HANA 数据归档流程详解
|
5月前
|
存储 数据采集 监控
如何在 SAP S4HANA 中使用 Data Volume Management 工具来确定哪些数据需要归档
如何在 SAP S4HANA 中使用 Data Volume Management 工具来确定哪些数据需要归档
|
11月前
|
开发者
SAP UI5 控件双向数据绑定后显示数据出问题,可以调试这个方法
SAP UI5 控件双向数据绑定后显示数据出问题,可以调试这个方法
|
12月前
|
存储 XML 编解码
使用 ABAP 函数读取 SAP CRM Survey 数据并解析
使用 ABAP 函数读取 SAP CRM Survey 数据并解析

热门文章

最新文章

下一篇
无影云桌面