zoukankan      html  css  js  c++  java
  • 使用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:

    Use EDI_GLOBAL_PATH as directly which will be written with generated IDoc.

    The physical path could be found by simply double click:

    Save the port as XIF_FILE.
    (2) Create a new partner profile in tcode WE20:

    Add new outbound parameters:

    For receiver port, maintain XIF_FILE created in previous step.

    (3) Create a new site in tcode SMOEAC:

    Click Site attribute and maintain XIF_SYSTEM and type: LS – logical system.

    XIF_SYSTEM is an entry in tcode SALE:

    Add All Business Partner(MESG) as subscription:

    Save site as JERRY_FILE_SITE.

    (4) Add a new entry below in tcode CRMXIF_C1

    (5) now use tcode BP, search a business partner and make changes on it and save.

    go to tcode SMW01, you should find a generated mBdoc:


    Double confirm that this mBodc is generated by my previous change by checking partner id and guid:

    Now go to tcode BD87, find IDoc with status = 30 – IDoc ready for dispatch

    One IDoc found:

    Click Display IDoc button:

    We can ensure this IDoc is generated by our change in BP tcode via partner_no:

    (6) Click Process button to send it to File receiver:

    Status changes to 03:

    Go to tcode AL11, the generated file is there:

    If you are curious about the file content, you can see a downloaded version here.
    As alternative you can also specify absolute path:

    Other business logic like Product has the same logic:



    Make changes on Web UI:


    The IDoc for product change is generated successfully:

    要获取更多Jerry的原创文章,请关注公众号"汪子熙":

  • 相关阅读:
    JavaScriptCore框架介绍
    可执行程序加载到内存的过程
    阿里云服务器怎么更换系统盘
    什么是A记录  域名
    宝塔服务器管理助手Linux面版-使用教程
    虚拟主机、VPS以及云主机的区别和对比
    怎样选择一个好的虚拟主机
    解Linux SSH命令大全,新手必看SSH命令
    虚拟主机,VPS,云主机之间的区别?
    云服务器和虚拟主机的区别:
  • 原文地址:https://www.cnblogs.com/sap-jerry/p/13607092.html
Copyright © 2011-2022 走看看