zoukankan      html  css  js  c++  java
  • SAP CRM服务订单页面显示组织结构管理区域的实现逻辑

    标题:Why I could not see Organizational management assignment block in Service Order Overview Page

    For example I can see this assignment block for Sales order:

    However in service order overview page, this assignment block is missing:

    I checked the configuration in UI component BT116H_SRVO and this assignment block is already there:

    Unfortunately it still does not appear in the Available Assignment Blocks list when personalization button is clicked. So this view must be filtered out in the runtime based on some rules.

    Then I am doing check in component BSP_DLC_PERS where the assignment block personalization is implemented, and trying to find some logic written in its controller class.

    And I found a promising method: PREPARE_OUTPUT_4_OVW.
    In this method UI framework call Service Order overview page controller’s DETACH_STATIC_OVW_VIEWS to get the filtered out view in the runtime.

    Now it turns out very clearly that the filtering logic is done in method DETACH_STATIC_OVW_VIEWS of Service Order controller, and here it is:

    The criteria whether a given assignment block must be displayed in one order overview is controlled by the corresponding flag populated in function module CRM_INTLAY_DEACT_PTRD.

    For the service order I am using for test, since there is no organization profile assigned to the transaction type, so the organizational management assignment block is decided to be hidden in overview page accordingly.

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

  • 相关阅读:
    smart code
    上传图片格式简单校验和回显
    【Spring框架】<mvc:default-servlet-handler/>的作用
    (转) SpringMVC学习笔记-
    MybatisX idea 快速开发插件
    mybatis-generator数据库注释实体类生成以及generatorConfig文件配置
    mysql类型为varchar double类型字符串求和多出多个小数
    <c:set> 标签
    MySQL Navicat Premium 保存sql语句
    springboot项目对接支付宝支付
  • 原文地址:https://www.cnblogs.com/sap-jerry/p/13548910.html
Copyright © 2011-2022 走看看