SAP CRM Product hierarchy,Category和Application三个问题
All of these three questions are raised regarding the customizing below via tcode COMM_PRAPPLCAT:Question1: Product search supports “search by category id”.However, we can assign different categories
使用javap分析Java字节码的一个例子
I have the following source code in Java:class Outer { Nested nested; Nested getNested() { &nb
JUnit 注解@Rule的工作原理
Suppose you need to repeatedly execute some test method in your unit test case, for example, you would like to test getPrice based on the first set of test data 5 times in test method test1() while fo
JUnit 注解@SuiteClasses的工作原理
Suppose I have four test cases in my project, the total methods to be tested:Based on the blog Run only given sets of your unit test via @Category, it is possible to organize test methods within
JUnit 注解@Category的工作原理
Suppose you have a large number of unit test cases and you don’t want them to be executed all at the same time during Maven build. You can simply achieve it via annotation @Category.(1) Create empty c
JUnit 注解@RunWith的工作原理
In order to introduce the usage of this annotation in JUnit, I use an example to demonstrate.I have a very simple price calculator:public class PriceCalculator { &nbs
Eclipse里如果看不到Attach Source按钮应该怎么办
When I am creating unit test for one of my Java project A, I try to have a look at the source code of this annotation:Once I press Ctrl and click, I see this message below. The “Attach Source” button
使用SAP CRM中间件从ERP下载BOM的一些常见问题
I have created the following download request in tcode R3AR2 to try to download a BOM from ERP:When I perform request download, I meet with the following error message:I go to tcode R3AC1 to check the
SAP 函数CRM_ORDERADM_I_PROD_DETERM_OW的单元测试方法
For more detail about how product determination works in one order scenario, please refer to this blog: Product Alternative ID used in Opportunity Line item product determination.As it is not pos
SAP CRM Opportunity行项目Alternative ID的填充逻辑
RequirementWhen you maintain Opportunity line item and try to maintain a product, you can enter the alternative ID of a given product instead of the product ID. It is expected that the corresponding p
使用SAP CRM Mock framework进行单元测试
There is an interface IF_CRM_PRODUCT_PROXY in CRM which declares almost all function modules from function group COM_PRODUCT_API for product master access.This interface is implemented by three classe
ABAP Debugging Script(调试器脚本)使用的一些实际例子
例子1:Use ABAP debugger script to view BOL entity content in an efficient wayIn CRM, if we could like to review a BOL entity content in debugger, for example consider the following sample code which fet
SAP ABAP字符和字符串变量隐式转换的一些规则
One new colleague in my team asked me that some code does not work as he expected. The confuse could be summarized into following source code:DATA: lv_i TYPE int4 VALUE
SAP CDS view自学教程之十:SAP CDS view扩展性(Extensibility)实现原理
目录Part1 – how to test odata service generated by CDS viewPart2 – what objects are automatically generate after you activate one CDS viewPart3 – how is view source in Eclipse converted t
SAP cross distribution chain status在Fiori应用中的draft handling
The explanation why draft handling is necessary in Fiori application could be found from Fiori Design Guideline.In this blog, I will use the update of field “cross distribution chain status” in S
使用JDK工具jmap和jhat监控Java进程
Suppose you have a running Java process and you would like to inspect its running status, for example how many object instance are created or memory consumption status, you can use some standard tool
在S/4HANA扩展字段的Available Fields列表里,看不到自己创建的扩展字段该怎么办
I have created one extension field on Business context “Product Master General” in tile “Custom Field and Logic” and publish it:After that when I try to add it to Basic Data block of Product Master ap
SAP Fiori Launchpad页面在服务器端的配置背后的实现原理
In this blog Why Adapt UI button is visible in some system but missing in some other system I have explained my analysis about one issue that I would like to use Adapt UI button to extend so
Java注解@Cacheable的工作原理
In order to avoid unnecessary query on database it is a common pattern to define a cache in application layer to cache the query result from database. See one example below. Here the application cache
使用SAP XIF Adapter发送IDoc数据
In this blog, I will use File as external receiver.Scenario overviewI make some changes on business partner / product master data in CRM.The data in the mBDoc will be converted in XIF adapter into an