码迷,mamicode.com
首页 > 其他好文 > 详细

SAP CRM Location Assignment的实现原理

时间:2020-09-04 17:15:33      阅读:42      评论:0      收藏:0      [点我收藏+]

标签:csdn   func   process   实现原理   signed   register   types   code   red   

I have assigned relationship PRDLOCS to product category MAT_HAWA in CRM:

技术图片

And I create a product based on category MAT_HAWA. To my surprise, I could not see Location assignment block as expected.
I use the following test code in my utility class to list what exactly relationships assigned to my product:

技术图片

In the list result, PRDLOC is NOT there ( only PRDLOI ).

技术图片

So I begin to debug function module COM_PRCAT_IL_REL_GET_RELTYPES:

技术图片

I could see PRDLOC is selected successfully from database table, so it must be filtered out somewhere else.

技术图片

Soon I found there is a special check routine for PRDLOC:

技术图片
技术图片

It will call its dedicated check function module:

技术图片

This check function module will check whether MARC and MARC_KEY is registered for adapter object MATERIAL in tcode R3AC1.
After I add these two missing entries,

技术图片

The expected relationship PRDLOC is now available for my product.

技术图片

And finally I could see the Location assignment block in Overview page.

技术图片

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

SAP CRM Location Assignment的实现原理

标签:csdn   func   process   实现原理   signed   register   types   code   red   

原文地址:https://www.cnblogs.com/sap-jerry/p/13568463.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!