自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(52)
  • 资源 (7)
  • 论坛 (6)
  • 收藏
  • 关注

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

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

2020-05-11 14:16:17 338

原创 使用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.Are you curious about the “native code” here? At least I am.Today I find that the Profiles tab in Chrome

2020-05-09 13:59:25 243

原创 SAP Fiori里的两种锁机制

Approach 1: ETAG mechanismThis approach is used in SAP CRM Fiori.Suppose user Jerry has opened a given opportunity with ID = 3456 and clicked the Edit button:A read operation is fired and sent to ABAP backend:We can observe in Chrome development tool

2020-05-09 13:51:39 411

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

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

2020-05-09 12:42:20 543

原创 Windows 10下安装Docker Desktop

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

2020-05-09 12:41:00 554

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

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

2020-05-09 11:14:12 384

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

所谓端到端的字段扩展,就是在WebClient UI上增添新的字段,允许客户维护,并保存到数据库里。根据Jerry文章 Jerry的WebClient UI 42篇原创文章合集所以端对端的字段扩展,意味着:(1) 在最底层的数据库表,创建新的扩展字段;(2) 之前对数据库表的CRUD(增删改查)操作调用的API(ABAP function module),也要做相应增强,支持这个新增字段...

2020-05-06 16:59:46 229

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

Direct navigation in CRM WebUIUse this url for example:https://:44354/sap(bD1lbiZjPTAwMSZkPW1pbg==)/bc/bsp/sap/crm_ui_start/default.htm?crm-object-type=BPFS&crm-object-action=B&crm-object-va...

2020-05-06 13:18:40 345

原创 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 real example of how promise is used there.Below is th...

2020-05-06 11:52:24 257

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

2020-05-06 11:27:32 264

原创 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" controllerName="buttont...

2020-05-06 11:04:56 183

原创 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. In this blog I will only focus on event handling ...

2020-05-06 10:50:30 196

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

2020-05-05 22:50:15 175

原创 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 AJAX in jQuery to perform a synchronous call to fetch ...

2020-05-05 15:40:10 648

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

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

2020-05-05 14:28:05 213

原创 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 consumption status, you can use some standard tool ...

2020-05-05 14:13:36 171

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

2020-05-05 13:33:51 703

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

2020-05-05 13:22:19 584

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

Suppose I have four test cases in my project, the total methods to be tested: 7Based on the blog Run only given sets of your unit test via @Category, it is possible to organize test methods within T...

2020-05-05 13:17:22 335

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

2020-05-05 12:59:39 336

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

2020-05-05 12:28:21 243

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

2020-05-05 11:01:30 216

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

2020-05-05 10:52:43 163

原创 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 not well a...

2020-05-05 10:46:00 203

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

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

2020-05-05 09:31:31 193

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

2020-05-04 14:09:43 211

原创 使用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_header, lt_old_object LIKE lt_new_objec...

2020-05-04 13:51:47 307

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

2020-05-04 13:50:18 334

原创 在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 however the correct format could not be viewed in SE...

2020-05-04 13:33:52 472

原创 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, I would also expect that there is also a similar t...

2020-05-04 13:20:15 259

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

2020-05-04 13:11:29 160

原创 通过阶乘的例子,练习在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) { return 1; } ...

2020-05-04 13:06:09 162

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

The OData service url being tested is: /sap/opu/odata/sap/CRM_ODATA/TaskCollection?KaTeX parse error: Expected 'EOF', got '&' at position 24: …sMyTask eq true&̲expand=DocumentNotes,DocumentNex...

2020-05-04 12:50:42 325

原创 使用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 react to those changes.For example I would like to a...

2020-05-04 12:47:11 159

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

Consider the following example:package thread;public class ThreadVerify { public static boolean stop = false; public static void main(String args[]) throws InterruptedException { Thread t...

2020-05-04 12:43:42 250

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

2020-05-04 12:14:09 358

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

Display all possible implicit enhancement options. It is only possible to create implicit enhancement within these options. The available optionsare normally located in the beginning and ending part...

2020-05-04 12:09:56 406

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

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

2020-05-04 10:31:45 1575 1

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

2020-05-03 10:58:06 289

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

Use case of the tipSometimes when you are debugging for a complicated issue, you set several breakpoints in dev system first. For some reasons you need to repeat the debugging steps in test or produc...

2020-05-03 10:41:44 205

适合程序员使用的文件搜索工具,支持各种高级搜索条件

程序员

2021-02-20

在没有任何前端开发经验的基础上, 创建第一个 SAP Fiori Elements 应用 的配套源代码

在没有任何前端开发经验的基础上, 创建第一个 SAP Fiori Elements 应用 文章的配套源代码

2021-04-16

将近2万个汉语四字成语大全,txt格式存储

将近2万个汉语四字成语大全,txt格式存储

2021-04-06

dgreadiness_v3.6.zip

windows10 1909版本,如果想安装VMWare Workstation player 15.5.5,需要使用该powershell脚本,在Administration模式下,禁掉hyper V

2021-02-17

winzip70 (1).exe

winzip的经典版本,适用于windows 98实体操作系统及虚拟机

2021-02-16

自己用Java编写的有道云笔记图片批量下载工具

使用方式:java -jar tool.jar [0,1,2] 0,1,2分别是有道云笔记的编号。0的guid:c91a710af51c1e1b20f5d1da2140a9e4; 1的guid:4cc557ab9b7cbde0515b49a155c5dce3 2的guid:6eaae532daaa678cc610f2a34cbc9119

2020-11-29

《Jerry 2017年的五一小长假:8种经典排序算法的ABAP实现》文章的源代码

《Jerry 2017年的五一小长假:8种经典排序算法的ABAP实现》文章的源代码下载,解压之后手动复制粘贴到ABAP系统的SE24或者SE80事物码里。

2020-11-24

汪子熙的留言板

发表于 2020-01-02 最后回复 2020-03-20

怎样才是理想的程序员

发表于 2015-06-28 最后回复 2019-07-29

SAP的这三款CRM解决方案,您能区分清楚么

发表于 2018-01-08 最后回复 2018-01-09

脑子快”的程序员更优秀吗

发表于 2015-08-09 最后回复 2015-10-27

一个平庸程序员的自白

发表于 2015-08-22 最后回复 2015-08-22

金庸小说里程序猿的练级心法

发表于 2015-06-28 最后回复 2015-08-14

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人 TA的粉丝

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