前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >SAP Connect对inbound邮件接收问题的处理和调试环境搭建

SAP Connect对inbound邮件接收问题的处理和调试环境搭建

作者头像
Jerry Wang
发布2019-05-31 15:23:07
5450
发布2019-05-31 15:23:07
举报

时间 Mittwoch, 11. März 2009 04:44

问题主题 Why IF_INBOUND_EXIT_BCS~PROCESS_INBOUND not called when email is received?

遇到一个奇怪的问题,在ABAP Netweaver系统创建了一个类,实现了SAP Connect的接口IF_INBOUND_EXIT_BCS,

在这里插入图片描述
在这里插入图片描述

在事务码SCOT里进行了必要的配置:

在这里插入图片描述
在这里插入图片描述

在ABAP后台写一个report,给我的邮箱发送一封包含PDF附件的邮件,虽然邮箱成功收到了包含附件的邮件,但是我上述ABAP类的方法没有被执行到。

其实"没有执行到"是我的错觉,下面是SAP connect inbound处理的调试过程:

  1. go to transaction SCOT enter ‘dbg+’ into the transaction field and press enter -> inbound process debugging is started
  2. send the mail (in your case by starting your report)
  3. go to transaction sm50 and search for the waiting process in class CL_SMTP_EXT_SAPCONNECT========CP to debug it (mark it and navigate to administration > program > debugging)
  4. debugger opens and you can set breakpoint in your class, leave the endless loop by setting cursor to line 54 and press Shift+F12, let the debugger run with F8 and you will stop next in you class
  5. debug whatever you want ? 6)!!! After finishing you have to stop inbound process debugging in scot again by entering ‘dbg-’ and pressing enter !!! (this can also already be done when you found your process in step 3)
本文参与 腾讯云自媒体分享计划,分享自作者个人站点/博客。
原始发表:2018年12月21日,如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 作者个人站点/博客 前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体分享计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
目录
  • 时间 Mittwoch, 11. März 2009 04:44
  • 问题主题 Why IF_INBOUND_EXIT_BCS~PROCESS_INBOUND not called when email is received?
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档