Issue description
When I try to edit Distribution Chain for a given product by clicking edit icon:
文章图片
This is the data I input in Distribution Chain edit page:
【sap|SAP CRM错误消息 Specify at least one number for the business partner】
文章图片
When I click Back button to try to save the change, I meet with error message “Specify at least one number for the business partner”.
I am a little bit confused since in Distribution Chain edit page, there seems not to have any field which can allow me to specify a business partner.
文章图片
How to find the root cause of this error message
Hover the mouse on message area to get technical information. Message type: E, message id: R11, message number: 123.
Now I have to set a break point on a given method which is executed before this error message is raised. I choose to set break point on method CL_BSP_WD_VIEW_MANAGER~PROCESS_NAV_QUEUE. After this break point is triggered, set a dynamic break point via context menu below:
文章图片
After that click F8, then debugger automatically stops at the very line where the specified error message is raised. From the callstack I know that this error occurs when WebUI framework tries to retrieve the data of set type CRMM_PR_SALESA:
文章图片
The root cause of this issue is: Inside settype FM call, the loc_bupa is initial.
文章图片
After I maintain a partner in Delivering Location field, the error is gone.
文章图片
要获取更多Jerry的原创文章,请关注公众号"汪子熙":
文章图片
推荐阅读
- SAP|【测试】工艺路线展开Function
- SAP|【转载】增强中调用BAPI并COMMIT使用
- SAP|SAP 主生产计划(MPS)
- SAP|MPS(主生产计划)
- 03|以客户为中心 解读SSA Global产品战略
- MPS与MRP的区别
- sap|使用事物码SAT检测SAP CRM中间件的传输性能
- sap|如何使用SAP CRM中间件从ERP往CRM下载Service Master
- crm|SAP CL_CRM_BOL_ENTITY单元测试方法
- crm|显示SAP CRM Product hierarchy的一个小工具