`
shz2008bj
  • 浏览: 491533 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

如何排查mapping报错。

 
阅读更多
   XI/PI在开发过程中最容易也是出错最多的地位就是mapping.错误大多数是结构不正确与数据不符合要求等。今天找到了一篇文章讲的就是怎么对报错mapping进行测试。

转自:http://sap-xi.com/sap-xi-tutorial-test-mapping.html


Author : Himesh Rashi
This tutorial shows a very simple path on how to test them with two scenarios:
a) if you're not using BPM
b) if you're using BPM

When you send the data to XI you might see that your mapping program doesn't always work the way
you'd like it to work. Very often it's because either your Data Type or your inbound message
does not have a correct format. Your mapping program works when you test it from the Test Tab
(inside Integration Repository) but you wonder why is shows mapping errors when you send a real message.
The best (and only?) way to resolve such errors is to use the REAL inbound message.

Testing mapping programs without BPM.

Step 1
- go to TCODE - SXMB_MONI
- choose you message
- choose the payload of the inbound message





Step 2
- copy the source XML of your message





Step 3
- paste the source of your message into your mapping program





Now you can be sure that you test a correct message.
Testing mapping programs with the use of BPM.
Step 1
- open the Technical workflow log of your BPM
- choose Show container option (from your mapping step)
- choose your inbound message








Step 2
- open your message and now follow the same steps as for testing without BPM



With these few steps you can be sure that the message you test has a correct format - exactly the one that was sent to your adapter, so you can debug it easily inside your mapping program.
  • 大小: 13.7 KB
  • 大小: 32.7 KB
  • 大小: 20.4 KB
  • 大小: 51.5 KB
  • 大小: 18 KB
  • 大小: 44.8 KB
分享到:
评论

相关推荐

    jeesite上传到服务器无法访问

    然后,逐步排查上述提到的各个层面,如服务器配置、代码逻辑、网络状况等。同时,可以参考Jeesite的官方文档、社区论坛或者相关博客(如博文链接:https://ctrlc.iteye.com/blog/2173521)获取解决方案。通过这样的...

    tomcat报错:Wrapper cannot find servlet class ...问题解决

    在使用Apache Tomcat服务器进行Web应用开发和部署的过程中,可能会...通过细致的排查和尝试,大多数情况下都能够找到问题的症结并成功解决。希望本文提供的信息对遇到此类问题的开发者有所帮助,祝你的开发工作顺利!

    Informatica PowerCenter教程.pdf

    关于Workflow的问题,可能涉及到 Workflow 设计时的逻辑错误、资源未正确配置、错误处理不当等,开发者需要根据具体报错信息进行排查。Workflow执行报错可能是由于多种原因导致的,如源与目标数据的不匹配、执行序列...

    英伟达nx开发板搭载ego环境

    VINS-fusion-GPU是一种基于视觉和惯性传感器数据融合的SLAM (Simultaneous Localization and Mapping) 算法,在英伟达NX开发板上部署该算法时,可能会遇到以下问题: 1. **GCC编译错误**:在编译VINS-fusion-GPU的...

    my_springboot_01.rar

    11. **错误排查**:针对"暂时跑不起来"的问题,可能涉及到的排查方向有:启动配置错误、依赖冲突、数据库连接问题、Elasticsearch服务未正常运行、代码逻辑错误等。 在修复问题的过程中,需要查看日志,理解报错...

    详解Tomcat出现404的解决方法

    如果你对以上内容仍有疑问,可以查阅相关教程或文章,如“vue-cli history模式实现tomcat部署报404的解决方式”、“解决idea导入ssm项目启动tomcat报错404的问题”等,以获取更详细的解决方案。

    《SLAM十四讲》中Sophus库的编译问题

    《SLAM十四讲》是高翔博士撰写的一本关于Simultaneous Localization And Mapping(SLAM)的权威著作,其中第四章涉及到对Sophus库的使用。Sophus是一个专门为机器人定位和映射领域设计的C++库,它提供了对SE(2)、SE...

Global site tag (gtag.js) - Google Analytics