ABAP和Java的tag(marker) interface
In my previous blog How many fat interfaces are there in SAP system I introduce the concept of “fat interface”. In this blog let’s explore the concept of tag interface. There is definition f
Java的Covariance设计原理和SAP ABAP的模拟实现
I am the trainer of one standard course “Programming Language Concept” within SAP and there is a set of concept Covariance and Contravariance, which has only built-in support by a subset of programmin
如何实现SAP GUI的自定义语法检查(Syntax check)
There are already blogs in SCN which introduce how to implement a custom check in ABAP code inspector or ATC check. For example this blog Code Inspector – How to create a new check from Pete
SAP CRM索引数据库表CRMD_ORDER_INDEX的更新原理
For project reason I need to figure out the logic how fields in index table CRM_ORDER_INDEX are updated. For example, I have an opportunity with ID 21 and closing date 2017.03.25.I get its guid 6C0B84
ABAP,Java和JavaScript的整型数据类型比较
When I first begin to program with ABAP I get confused with different kinds of integer type available for ABAP developers: i, int1, int2, int4, and int8.According to ABAP help, predefined data types c
ABAP,Java和JavaScript的local class
Local class in ABAPSuppose I have a global class with a public method ADD with following signature. I would like to implement with a local class inside this global class.The local class could be creat
ABAP整型类型的几种位操作 - OR, AND, XOR
For training purpose I need to explain to my ABAP team colleagues about how bitwise operation on Integer in Java like below is done.And since the bitwise operation in ABAP can only support data type X
SAP ABAP和Java的动态代理实现
In my blog Implement CGLIB in ABAP I demonstrate how to create dynamical proxy class via CGLIB in Java and ABAP. The generated proxy class is actually a subclass which inherits the base clas
SAP ABAP CGLIB(Code Generation Library)的模拟实现
What is CGLIB?A Byte Code Generation Library which is high level API to generate and transform Java byte code. It is used in various scenarios such as AOP, testing, data access frameworks to gene
如何监听SAP CRM BOR事件
In tcode SWO1 we can find for example business object BUS1178 has defined several events.When you create a new product and save it from WebClient UI, this BOR type will be raised in the following call
如何避免SAP订单保存后生成的中间件CSA inbound queue
By default after a service order is saved, there is a distribution lock set, which prevents you from editing this order in status transferring. Click edit button you will meet with error message below
SAP CRM服务订单的distribution lock和status profile
I would like to share an investigation done today regarding distribution lock in Service Order.My colleague observed that if there is no status profile maintained for Service Order transaction type,on
SAP CRM Application Extension Tool类型为Code List的扩展字段实现原理
When you create extension field via Application Extension Tool, it seems the code list ( or drop down list ) is not supported by this tool. This type does not appear in supported data type list.In fac
SAP CRM Application Extension Tool的Custom Behavior
In this blog Insight into calculated fields created by AETI introduce one approach to define your extension field with your specific logic via calculated field supported in CRM Application Extens
使用Chrome开发者工具分析JavaScript garbage collector(垃圾回收器)
I use the following simple JavaScript code to illustrate:var JerryTestArray = [];(function(){ for( var i = 0; i <&n
Java和ABAP单例(singleton)设计模式的攻与防
Recently I meet with an issue using Spring which finally turns out that my bean is initialized multiple times although it is expected to be a singleton. As a result I look into the possible scenario t
SAP UI5应用的调试标志位的本地存储逻辑 - local storage使用的一个例子
We know that once we enable debug mode via “Ctrl+Alt+Shift+P”, this setting will be persisted: even if you turn off your laptop and launch the application tomorrow, the debug mode will still be there.
使用jstack检测Java应用的死锁(deadlock)状态
We can get the concept of deadlock in wikipedia.The picture below gives a common scenario which leads to deadlock.In this blog, I will share how to detect deadlock situation using JDK standard tool js
使用调试的方式搞清楚SAP UI5应用标题的更改方式
In Fiori launchpad, the page title will display default value “Home”. When I click a given tile to enter an UI5 application, the page title is changed for example from “Home” to “My Tasks”.Today I am
SAP Analytics Path Framework的filter实现原理分析
I am recently doing self study on Analytics Path Framework and as a beginner I have finished some “Hello world” exercise and I have written down my steps to finish those “Hello world” project in these