How to test function module CRM_TERRMAN_BUILD_TERRATTRIB_B
-
set breakpoint in FM CRM_TERRMAN_BUILD_TERRATTRIB_B.
-
log on system with business role TPM_PRO, search out one Territory:
[外链图片转存失败(img-Xf75BBdE-1563588462844)(https://user-images.githubusercontent.com/5669954/32686145-b9925a38-c6da-11e7-9332-91ce22153ef2.png)]
Click Edit List:
There will be a new Inactive rule generated. Use
Choose Country as rule condition:
[外链图片转存失败(img-voFZS6fD-1563588462846)(https://user-images.githubusercontent.com/5669954/32686139-b84fd60a-c6da-11e7-91a2-934d5cabb2f5.png)]
select one country for example China:
[外链图片转存失败(img-ylznCWJg-1563588462846)(https://user-images.githubusercontent.com/5669954/32686140-b8870940-c6da-11e7-9266-80522439faea.png)]
maintain a rule description and click Release button:
The status is changed now to Active:
[外链图片转存失败(img-sMBqxF2q-1563588462847)(https://user-images.githubusercontent.com/5669954/32686142-b8ecdcfc-c6da-11e7-952f-63d8b6d21a52.png)]
- Click save button, then breakpoint will be triggered. Change lv_bw_update to X in debugger, then F8:
Ensure the importing parameter it_terr_guid and it_link are not empty and after function module is executed, there should be no error message in changing parameter ct_errors.
[外链图片转存失败(img-9dVtjaP3-1563588462848)(https://user-images.githubusercontent.com/5669954/32686144-b958ea14-c6da-11e7-8e63-3756230cf6c6.png)]
相关文章
- [Unit Testing for Zombie] Using Shoulda to clean up the code
- SAP CRM WebClient UI - Why use component usage to itself
- How to download material division to CRM
- How to download sales BOM from ERP to CRM
- How to create and consume web service in CRM
- CRM 里面table download to excel的实现
- How to download ABAP development Tool from Fiori Launchpad
- Step by step to do initial download in CRM system
- how to pass message from ERP to CRM technically
- How to render S4 Code List extension field into CRM WebUI product search view
- libxml2.so: undefined reference to `gzopen64'
- failed to create symbolic link ‘/usr/bin/mysql’: File exists
- 已解决 Failed to build opencv-python-headless
- 已解决SQL_ERROR_INFO: “You have an error in your SQL syntax; check the manual that corresponds to your
- leetcode 108. Convert Sorted Array to Binary Search Tree