JavaScript ES6 Fetch API时需要注意的一个Cookie问题
When I am doing a test of comparison between Stateful and Stateless BSP application ( mentioned in blog Stateless and Stateful – Different behavior in application side ), I meet with a strange is
SAP UI5和Angular的事件处理机制比较
When I am doing a test of comparison between Stateful and Stateless BSP application ( mentioned in blog Stateless and Stateful – Different behavior in application side ), I meet with a strange is
SAP UI5和Angular里控制器(Controller)实现逻辑比较
Let’s first refresh our memory on SAPUI5 controller. I have a simple xml view which only contains a button:<core:View xmlns:core="sap.ui.core" xmlns:common="sap.ui.commons&
SAP UI5和Vue的双向绑定比较
Recently when I do self study on Vue I find many articles in the internet with full of praise on Vue‘s reactive Two-Way Data binding trait. This fact makes me recall my self-study on UI5 early in
将ABAP透明表的定义(元数据)解析出来导入到剪切板(clipboard)里
Recently I am planning an internal training regarding Software engineering concept to my colleagues and one topic is “Interface Segregation”.The following guideline is quoted from OODesign:“When we de
使用SAP CRM mock框架进行单元测试的设计
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
Java 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
使用Java JUnit框架里的@SuiteClasses注解管理测试用例
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
使用Java 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
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
通过阶乘的例子,练习在JavaScript, Scala和ABAP里实现尾递归(Tail Recursion)
Before we start to research tail recursion, let’s first have a look at the normal recursion.A simple factorial implementation by recursion:function factorial(n){ if(n ===1) 
SAP CRM中间件Generic stop set的错误如何解决
I have Q7Q/504 as ERP system and QDD/504 as CRM system.A new material named JERRY2 is newly created in ERP and successfully downloaded to CRM via request download.However, after that I made changes on
如何把ABAP视图添加到SAPGUI的收藏夹里
Suppose I need to add the maintenance view COMV_PARTNER_FCT to my favorite list. I expect once the entry in the favorite list is double clicked, it will automatically navigate to the view detail like
Spring框架里注解@Autowired的工作原理
Suppose I have a bean named HelloWorld which has a member attribute points to another bean User.With annotation @Autowired, as long as getBean is called in the runtime, the returned HelloWorld instanc
ABAP模拟Java Spring依赖注入(Dependency injection)的一个尝试
Recently I will deliver a session regarding dependency inversion principle to my team.As Java Spring is already widely used in all other Java development teams in my site, some ABAPers are n
SAP ABAP Netweaver里的胖接口(fat interface)
Recently I am planning an internal training regarding Software engineering concept to my colleagues and one topic is “Interface Segregation”.The following guideline is quoted from OODesign:“When we de
ABAP代码静态分析工具SQF - Support Query Framework
如果系统里没有SQF这个tcode,可以参考note 1814328: SQF: Plug-In for Source Code Scans进行安装。ABAP static analysis tool SQF is a static code analysis tool developed in package SUPPORT_QUERY_FRAMEWORK in software compone
SAP ABAP和Java里的弱引用(WeakReference)和软引用(SoftReference)
Jerry前一篇文章 SAP ABAP一组关键字 IS BOUND, IS NOT INITIAL和IS ASSIGNED的用法辨析 介绍了在ABAP里判断引用变量是否包含了一个有效引用的关键字:IS BOUND.本文则从ABAP和Java编程语言里不同的引用类型这个角度来继续引用这个话题的讨论。不知道大家留意过这个ABAP抽象类CL_ABAP_REFERENCE吗?这个抽象类
如何为ABAP类创建隐式增强
Display all possible implicit enhancement options. It is only possible to create implicit enhancement within these options. The available options are normally located in the beginning and ending part
一个快速找到Spring框架是在哪里找到XML配置文件并解析Beans定义的小技巧
We can define bean configuration in xml and then can get instantiated bean instance with help of all kinds of containers for example ClassPathXmlApplicationContext as displayed below:The content of Be