电子文档交易市场
安卓APP | ios版本
电子文档交易市场
安卓APP | ios版本

SAP WebClient UI drop down list(下拉列表)的一个故障和解决方法.docx

8页
  • 卖家[上传人]:A***
  • 文档编号:143357033
  • 上传时间:2020-08-28
  • 文档格式:DOCX
  • 文档大小:878.04KB
  • / 8 举报 版权申诉 马上下载
  • 文本预览
  • 下载提示
  • 常见问题
    • 1、SAP WebClient UI drop down list(下拉列表)的一个故障和解决方法Issue descriptionToday I received a ticket with priority very high complaining that the drop down list for Business Role in Work center “Sales Operation” is empty:However, Using my user I could indeed see lots of drop down list entries there:Issue analysisI didnt start debugging immediately but made the following analysis beforehand:(1) I could reproduce this issue in my laptop with my colleagues userBased on this finding I made the following compar

      2、ison between my colleagues user and mine:a. compare the authorization settings:result: The two are exactly the same ( both copied from the same user group and we didnt have authorization to make changes ).Also there is no corresponding entries found in SU53 when I test with my colleagues user.b. compare the user parameter in tcode SU3result: no difference found related to this issuec. compare the business switch settingresult: the same setting for both user(2) compare the final native html sourc

      3、e codeI do believe there must be differences when the page is rendered via different users. So I use the development tool ( click F12 ) in IE, and soon found the difference:This one is the html source code generated by my user and it works perfectly:And this below is the one generated by my colleagues user. The title are completely missing!(3) Use mini-system approach to isolate and locate root causeSince this issue occurs in CRM Organizational Model management and the underlying business model

      4、is huge and complex. In this situation I always prefer to use mini-system approach I described in this blog to try to make the issue also reproducible in the small nutshell. At least I could have the following benefits from the nut shell:a. the nut shell could eliminate all impacts from unrelated components so that I could concentrate on the key part of program which might lead to the issueb. the nut shell makes debugging be more efficient. For example sometimes I have to debug how does webclien

      5、t framework class reacts to my input for my UI component, the method is so generic so that it would be triggered too frequently( like method PROCESS_NAV_QUEUE of class CL_BSP_WD_VIEW_MANAGER, which have helped me to resolve many issues). Using nutshell I do not need to press “deactivate all BPs again and again.I just spent 5 minutes to build a nutshell, which contains a view, a value node and one attribute. The attribute contains GET_V and GET_P method whose source code are copied from standard

      6、Org management UI component.The nutshell in the runtime looks like below. The issue could be reproduced within it by using my colleagues user.(4) Debug the nutshellWhen I debug the GET_V, I soon found the root cause:The following code plan to retrieve profile and description from table crmc_ui_prof_t:profile will act as drop down list key and description as drop down list value:Unfortunately between profile and description column in table crmc_ui_prof_t there is another column LANGUAGE:As a resu

      7、lt the select statement does not work as expected at all. The SELECT xxx INTO CORRESPONDING FIELDS OF TABLE must be used instead.(5) why I could see entries with my own user?First of all, the entries displayed with my own user are not correct at all, they are just the wrong entries populated in internal table LT_ROLES, column PROFILE in screenshot above. In the wrong implementation, only drop down list key is filled with the incorrect entries.For my user, I have enabled that key will also be dis

      8、played in dropdown list, so I could see the incorrect keys in UI. However my colleague didnt enable this so he could only see nothing there, since the drop down list value is not filled due to wrong implementation.(6) Why the native HTML source code is different based on different personalization setting?Why my user could see the not initial title attribute in native html source code but my colleagues user could not?It is related to your personalization settings regarding whether dropdown list k

      9、ey must be displayed or not.Just set a breakpoint on method CL_THTMLB_PERSONALIZATIONGET_DDLB_KEY_MODE, start the nutshell.It stops at the place where the drop down list UI element is to be rendered. The callstack is also very helpful if we would like to study how the UI element defined by SAP tag like chtmlb, thtmlb is finally converted to html source code.This setting is evaluated here and populating drop down list entries accordingly:All the entries to be displayed in drop down list is available in the current callstack:要获取更多Jerry的原创文章,请关注公众号汪子熙:

      《SAP WebClient UI drop down list(下拉列表)的一个故障和解决方法.docx》由会员A***分享,可在线阅读,更多相关《SAP WebClient UI drop down list(下拉列表)的一个故障和解决方法.docx》请在金锄头文库上搜索。

      点击阅读更多内容
    最新标签
    信息化课堂中的合作学习结业作业七年级语文 发车时刻表 长途客运 入党志愿书填写模板精品 庆祝建党101周年多体裁诗歌朗诵素材汇编10篇唯一微庆祝 智能家居系统本科论文 心得感悟 雁楠中学 20230513224122 2022 公安主题党日 部编版四年级第三单元综合性学习课件 机关事务中心2022年全面依法治区工作总结及来年工作安排 入党积极分子自我推荐 世界水日ppt 关于构建更高水平的全民健身公共服务体系的意见 空气单元分析 哈里德课件 2022年乡村振兴驻村工作计划 空气教材分析 五年级下册科学教材分析 退役军人事务局季度工作总结 集装箱房合同 2021年财务报表 2022年继续教育公需课 2022年公需课 2022年日历每月一张 名词性从句在写作中的应用 局域网技术与局域网组建 施工网格 薪资体系 运维实施方案 硫酸安全技术 柔韧训练 既有居住建筑节能改造技术规程 建筑工地疫情防控 大型工程技术风险 磷酸二氢钾 2022年小学三年级语文下册教学总结例文 少儿美术-小花 2022年环保倡议书模板六篇 2022年监理辞职报告精选 2022年畅想未来记叙文精品 企业信息化建设与管理课程实验指导书范本 草房子读后感-第1篇 小数乘整数教学PPT课件人教版五年级数学上册 2022年教师个人工作计划范本-工作计划 国学小名士经典诵读电视大赛观后感诵读经典传承美德 医疗质量管理制度 2 2022年小学体育教师学期工作总结
    关于金锄头网 - 版权申诉 - 免责声明 - 诚邀英才 - 联系我们
    手机版 | 川公网安备 51140202000112号 | 经营许可证(蜀ICP备13022795号)
    ©2008-2016 by Sichuan Goldhoe Inc. All Rights Reserved.