zl程序教程

您现在的位置是:首页 >  其它

当前栏目

How to test function module CRM_TERRMAN_BUILD_TERRATTRIB_B

to CRM How Function module build test
2023-09-14 09:03:04 时间
  1. set breakpoint in FM CRM_TERRMAN_BUILD_TERRATTRIB_B.

  2. 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:

clipboard2

There will be a new Inactive rule generated. Use

clipboard3

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:

clipboard6

The status is changed now to Active:

[外链图片转存失败(img-sMBqxF2q-1563588462847)(https://user-images.githubusercontent.com/5669954/32686142-b8ecdcfc-c6da-11e7-952f-63d8b6d21a52.png)]

  1. Click save button, then breakpoint will be triggered. Change lv_bw_update to X in debugger, then F8:

clipboard8

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)]