• 如果您觉得本站非常有看点,那么赶紧使用Ctrl+D 收藏吧

SAP ABAP和Java的动态代理实现

开发技术 开发技术 2周前 (02-18) 9次浏览

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

 

SAP ABAP和Java的动态代理实现

 

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:

 

SAP ABAP和Java的动态代理实现

 

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

 

SAP ABAP和Java的动态代理实现

 

So I begin to debug function module COM_PRCAT_IL_REL_GET_RELTYPES:

 

SAP ABAP和Java的动态代理实现

 

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

 

SAP ABAP和Java的动态代理实现

 

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

 

SAP ABAP和Java的动态代理实现SAP ABAP和Java的动态代理实现

 

It will call its dedicated check function module:

 

SAP ABAP和Java的动态代理实现

 

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,

 

SAP ABAP和Java的动态代理实现

 

The expected relationship PRDLOC is now available for my product.

 

SAP ABAP和Java的动态代理实现

 

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

 

SAP ABAP和Java的动态代理实现

 

要获取更多Jerry的原创文章,请关注公众号”汪子熙”:

SAP ABAP和Java的动态代理实现


程序员灯塔
转载请注明原文链接:SAP ABAP和Java的动态代理实现
喜欢 (0)