SAP ABAP和Java的动态代理实现 SAPC4CCloudCDS viewCloudFoundry
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的原创文章,请关注公众号"汪子熙":
推荐阅读
-
Java框架之spring(二)静态和动态代理、AOP及AOP的实现方式
-
SAP ABAP和Java的动态代理实现 SAPC4CCloudCDS viewCloudFoundry
-
Java中静态代理和动态代理的四种实现方法介绍
-
Java中静态代理和动态代理的四种实现方法介绍
-
Java代理设计模式(Proxy)的四种具体实现:静态代理和动态代理 Java设计模式DesignPattern代理模式proxy模式
-
Java两种动态代理 jdk和cglib生成的代理类型以及如何实现的
-
Java两种动态代理 jdk和cglib生成的代理类型以及如何实现的
-
JAVA动态代理和CGLIB模式的实现方法介绍(代码示例)
-
JAVA动态代理和CGLIB模式的实现方法介绍(代码示例)