自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

原创 Windows环境下,如何在Docker里运行SAP UI5应用

本文面向的读者是对Docker技术有一些基本概念,但因为没有测试环境,所以没有动手操作过的朋友们。 最近Jerry因为要做一个新的SAP云产品开发,得搭各种开发环境,其中之一就是Docker. Jerry之前的文章曾经简单介绍过Docker: 站在巨人肩膀上的牛顿:Kubernetes和SAP ...

2020-05-11 14:16:17 310 0

原创 使用Chrome开发者工具研究JavaScript里函数的原生实现

As the size of my blog Chrome Development Tool tips used in my daily work turns to be larger I create a separate post to record down this small tip. ...

2020-05-09 13:59:25 212 0

原创 SAP Fiori里的两种锁机制

Approach 1: ETAG mechanism This approach is used in SAP CRM Fiori. Suppose user Jerry has opened a given opportunity with ID = 3456 and clicked the E...

2020-05-09 13:51:39 337 0

原创 SAP ABAP编辑器里的Code Completion(代码自动完成)的等待时间设置

SAP ABAP编辑器里的Code Completion(代码自动完成)的等待时间设置:如果嫌默认的一秒等待时间太长,可以点图1右下角的图标,打开设置对话框,把1秒改成0.1秒即可。如果想研究ABAP代码自动完成的实现,可以在图3所示的CL_ABAP_PARSER里设断点调试。 ...

2020-05-09 12:42:20 363 0

原创 Windows 10下安装Docker Desktop

安装连接:https://hub.docker.com/editions/community/docker-ce-desktop-windows/ 需要提前打开Hyper - V 安装后重启: 在任务栏里看见Docker的icon: 命令行docker version,看到如下输出:...

2020-05-09 12:41:00 402 0

原创 SAP Fiori Launchpad Tile,UI5应用,和PFCG Role的对应关系
原力计划

问题:已经看到了SAP Fiori Launchpad上的某个tile,如何反推后台需要配置哪个PFCG Role才能看到该tile? 这个问题是今天一个朋友在微信上问我的。因为我最近忙着学习一个新的SAP产品,所以这个问题也没有时间展开来写,本文就只做概要介绍。 下图是一个Gateway系统上打...

2020-05-09 11:14:12 328 0

原创 SAP CRM WebClient UI端到端的字段扩展

所谓端到端的字段扩展,就是在WebClient UI上增添新的字段,允许客户维护,并保存到数据库里。 根据Jerry文章 Jerry的WebClient UI 42篇原创文章合集 所以端对端的字段扩展,意味着: (1) 在最底层的数据库表,创建新的扩展字段; (2) 之前对数据库表的CRUD(增...

2020-05-06 16:59:46 193 0

原创 SAP CRM WebUI, CRM Fiori和C4C里的Direct Navigation

Direct navigation in CRM WebUI Use this url for example: https://:44354/sap(bD1lbiZjPTAwMSZkPW1pbg==)/bc/bsp/sap/crm_ui_start/default.htm?crm-object-...

2020-05-06 13:18:40 323 0

原创 SAP Cloud for Customer里一个Promise的实际应用场合

There are lots of tutorials about promise in the internet. Recently I am studying the frontend code of SAP Cloud for Customer and I come across a rea...

2020-05-06 11:52:24 234 0

原创 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...

2020-05-06 11:27:32 209 0

原创 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.cor...

2020-05-06 11:04:56 155 0

原创 SAP UI5和Angular的事件处理机制比较

Recently I am studying Angular in my spare time. And I would like to write down here what I have learned about Angular, comparing its design with UI5...

2020-05-06 10:50:30 174 0

原创 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 i...

2020-05-05 22:50:15 147 0

原创 Chrome开发者工具里的一个隐藏技能:chrome://net-internals

During my holiday I was writing a small tool for fun, which extracts my personal posts from http://www.baidu.com for further analysis. I am using AJA...

2020-05-05 15:40:10 373 0

原创 使用Chrome开发者工具研究JavaScript的垃圾回收机制

I use the following simple JavaScript code to illustrate: var JerryTestArray = []; (function(){ for( var i = 0; i < 100; i++){ JerryTes...

2020-05-05 14:28:05 181 0

原创 Java JDK目录下的jmap和jhat工具的使用方式

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 ...

2020-05-05 14:13:36 150 0

原创 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...

2020-05-05 13:33:51 473 0

原创 使用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 o...

2020-05-05 13:22:19 339 0

原创 使用Java JUnit框架里的@SuiteClasses注解管理测试用例

Suppose I have four test cases in my project, the total methods to be tested: 7 Based on the blog Run only given sets of your unit test via @Categor...

2020-05-05 13:17:22 279 0

原创 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 ach...

2020-05-05 12:59:39 283 0

原创 使用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 a...

2020-05-05 12:28:21 197 0

原创 将ABAP透明表的定义(元数据)解析出来导入到剪切板(clipboard)里

Recently I am planning an internal training regarding Software engineering concept to my colleagues and one topic is “Interface Segregation”. The fol...

2020-05-05 11:01:30 184 0

原创 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 fol...

2020-05-05 10:52:43 132 0

原创 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 develo...

2020-05-05 10:46:00 182 0

原创 SAP ABAP和Java里的弱引用(WeakReference)和软引用(SoftReference)
原力计划

Jerry前一篇文章 SAP ABAP一组关键字 IS BOUND, IS NOT INITIAL和IS ASSIGNED的用法辨析 介绍了在ABAP里判断引用变量是否包含了一个有效引用的关键字:IS BOUND. 本文则从ABAP和Java编程语言里不同的引用类型这个角度来继续引用这个话题的讨论...

2020-05-05 09:31:31 168 0

原创 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 c...

2020-05-04 14:09:43 183 0

原创 使用ABAP代码创建SAP Netweaver透明表(transparent table)

Report source code could be found below: REPORT ztable. PARAMETERS: tabname TYPE char32 OBLIGATORY. DATA: lt_new_object TYPE comt_gox_def_he...

2020-05-04 13:51:47 279 0

原创 如何把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 w...

2020-05-04 13:50:18 184 0

原创 在SAPGUI的SE16事务码里直接查看类型为RAWSTRING的数据库表字段内容

Sometimes you would like to view the content of field with RAWSTRING type for a table: The raw string represents the configuration with XML format h...

2020-05-04 13:33:52 389 0

原创 SAP BSP(Business Server Page)的源代码搜索工具

The source code scan report RS_ABAP_SOURCE_SCAN ( or transaction code CODE_SCANNER ) is a good tool for ABAPers. In my Webclient UI development life,...

2020-05-04 13:20:15 217 0

原创 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 re...

2020-05-04 13:11:29 129 0

原创 通过阶乘的例子,练习在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...

2020-05-04 13:06:09 133 0

原创 SAP OData服务性能测量的几种工具和手段

The OData service url being tested is: /sap/opu/odata/sap/CRM_ODATA/TaskCollection?KaTeX parse error: Expected 'EOF', got '&'...

2020-05-04 12:50:42 252 0

原创 使用Fiddle对浏览器从服务器端接收到的SAP UI5库文件源代码进行修改

Sometimes for trouble shooting or research purpose, you would like to make small changes on framework js file, and test how your application would re...

2020-05-04 12:47:11 143 0

原创 Java里使用volatile进行线程同步的一个例子

Consider the following example: package thread; public class ThreadVerify { public static boolean stop = false; public static void main(String a...

2020-05-04 12:43:42 204 0

原创 一个快速找到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 ClassPathXmlAppl...

2020-05-04 12:14:09 248 0

原创 如何为ABAP类创建隐式增强

Display all possible implicit enhancement options. It is only possible to create implicit enhancement within these options. The available options are...

2020-05-04 12:09:56 294 0

原创 SAP ABAP一组关键字 IS BOUND, IS NOT INITIAL和IS ASSIGNED的用法辨析
原力计划

ABAP里的IS BOUND, IS NOT INITIAL和IS ASSIGNED这组关键字,如果平时不留心,很容易理解地似是而非。今天我们就来说一说它们的区别。 先把SAP帮助文档抄过来: IS BOUND It checks whether a reference variable cont...

2020-05-04 10:31:45 900 0

原创 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...

2020-05-03 10:58:06 239 0

原创 如何能够快速获得一个用户在SAP ABAPNetweaver系统上设置的所有断点

Use case of the tip Sometimes when you are debugging for a complicated issue, you set several breakpoints in dev system first. For some reasons you n...

2020-05-03 10:41:44 174 0

提示
确定要删除当前文章?
取消 删除