zoukankan      html  css  js  c++  java
  • SAP CRM Interactive Report的调试技巧

    I learned two small trouble shooting tips of CRM Interactive Reporting regarding two issues in Service Order as reporting area.

    (1) Service Order data is not replicated to buffer table.
    The corresponding buffer table for Service Order report area is maintained in table CRMC_Q1O_RES as below:

    The creation of Service Order will generate a BDOC with type BUS_TRANS_MSG. The handler function module name for this BDOC notification is maintained in table SMW3FDBDOC and SMW3FDCUST ( additional call ).


    Among those handlers the FM CRM_CHANGE_HISTORY is responsible to fill the transaction header data of service order to buffer table CRMD_DHR_HSRVORD, which could be found from callstack below:

    (2) Report preview does not work as expected.
    In this case you can set a breakpoint in function module RSOA_DSOURCE_READ_REMOTE_DATA to verify whether:

    • the filter value passed from WebUI is working as expected;
    • the correct destination system is chosen as RFC call.
      For example, if I maintain the following input and click button “go”:

    The breakpoint will be triggered:

    The variable l_t_selections contains the parameter specified in WebUI:

    And check whether RFC RSAD_INFOCUBE_READ_REMOTE_DATA is called against the correct remote destination – you can check the variable s_destination, which is read from configuration table RSLOGSYSDEST.

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

  • 相关阅读:
    C++自定义一个foreach宏,偷偷懒
    线程池介绍与示例
    iOS消息中心与传感
    new 和 malloc 申请内存失败的区别处理
    iOS调试技巧——当程序崩溃的时候怎么办
    随机数原理
    iOS麦克风运用——腾讯微博“吹一吹”
    个人技术博客
    SDN第一次作业
    GitKraken 团队项目使用教程
  • 原文地址:https://www.cnblogs.com/sap-jerry/p/13585933.html
Copyright © 2011-2022 走看看