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

2020-05-07
阅读 4 分钟
2.2k
Use this url for example:https://<host>:44354/sap(bD1lbiZjPTAwMSZkPW1pbg==)/bc/bsp/sap/crm_ui_start/default.htm?crm-object-type=BPFS&crm-object-action=B&crm-object-value=120&crm-object-keyname=PARTNERthe overview page of business partner with id 120 in current application server...

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

2020-05-07
阅读 5 分钟
1.5k
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 the Passcode logon view.

SAP UI5和Vue的双向绑定比较

2020-05-07
阅读 7 分钟
1.9k
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 2013 and at that time, the Two-Way Data binding was already supported by UI5.

SAP UI5和Angular里控制器(Controller)实现逻辑比较

2020-05-07
阅读 6 分钟
1.5k
Let’s first refresh our memory on SAPUI5 controller. I have a simple xml view which only contains a button:

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

2020-05-07
阅读 4 分钟
1.4k
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 topic.

JavaScript ES6 Fetch API时需要注意的一个Cookie问题

2020-05-07
阅读 3 分钟
1.6k
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.

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

2020-05-07
阅读 4 分钟
2.1k
During my holiday I was writing a small tool for fun, which extracts my personal posts from [链接] for further analysis.I am using AJAX in jQuery to perform a synchronous call to fetch html source code of given url specified by argument requestURL.、

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

2020-05-07
阅读 5 分钟
1.3k
Create a new empty tab in your Chrome, and first create a snapshot with empty heap status by click “Take Snapshot” button:

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

2020-05-07
阅读 3 分钟
1.7k
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 provided by JDK.This blog is written based on JDK 1.8.The sample code I am using to simulate a en...

Java注解@Cacheable的工作原理

2020-05-07
阅读 5 分钟
1.7k
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 is maintained in a custom class CacheContext.

使用Java JUnit框架里的@Rule注解的用法举例

2020-05-07
阅读 4 分钟
2.2k
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 for the second set of test data, only one time should be executed.

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

2020-05-07
阅读 2 分钟
1.7k
Suppose I have four test cases in my project, the total methods to be tested: 7

Java JUnit框架里@Category注解的工作原理

2020-05-07
阅读 4 分钟
1.8k
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.

使用SAP CRM mock框架进行单元测试的设计

2020-05-07
阅读 1 分钟
1.6k
跨模态编码器(Cross-Modal Encoder):跨模态编码器的作用是将文本和图像的特征进行对齐。GPT 可以将用户输入的文本描述转换为文本特征表示,然后利用跨模态编码器将这些特征映射到图像特征空间。这种方式确保模型能够理解描述性语言中不同细节是如何与图像特征对应的。

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

2020-05-07
阅读 2 分钟
1.4k
Recently I am planning an internal training regarding Software engineering concept to my colleagues and one topic is “Interface Segregation”.

SAP ABAP Netweaver里的胖接口(fat interface)

2020-05-07
阅读 2 分钟
1.3k
Recently I am planning an internal training regarding Software engineering concept to my colleagues and one topic is “Interface Segregation”.

ABAP模拟Java Spring依赖注入(Dependency injection)的一个尝试

2020-05-07
阅读 7 分钟
1.7k
As Java Spring is already widely used in all other Java development teams in my site, some ABAPers are not well aware of its idea and implementation under the hood. In order for ABAPers to easily understand the mechanism of Java Spring dependency inversion, I wrote a prototype in ABAP after going...

Spring框架里注解@Autowired的工作原理

2020-05-07
阅读 3 分钟
1.3k
Suppose I have a bean named HelloWorld which has a member attribute points to another bean User.

如何把ABAP视图添加到SAPGUI的收藏夹里

2020-05-07
阅读 2 分钟
1.4k
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 below ( the initial screen of SM30 is not expected )

SAP CRM中间件Generic stop set的错误如何解决

2020-05-07
阅读 2 分钟
1.1k
A new material named JERRY2 is newly created in ERP and successfully downloaded to CRM via request download.

通过阶乘的例子,练习在JavaScript, Scala和ABAP里实现尾递归(Tail Recursion)

2020-05-07
阅读 5 分钟
1.8k
Before we start to research tail recursion, let’s first have a look at the normal recursion.

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

2020-05-07
阅读 2 分钟
1.7k
The OData service url being tested is: /sap/opu/odata/sap/CRM_ODATA/TaskCollection?$filter=isMyTask eq true&$expand=DocumentNotes,DocumentNextUserStatuses,DocumentHistories,DocumentApplicationLogs,Attachments

一个快速找到Spring框架是在哪里找到XML配置文件并解析Beans定义的小技巧

2020-05-07
阅读 3 分钟
1.5k
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:

如何为ABAP类创建隐式增强

2020-05-07
阅读 2 分钟
2k
Display all possible implicit enhancement options. It is only possible to create implicit enhancement within these options. The available options

SAP ABAP和Java里的弱引用(WeakReference)和软引用(SoftReference)

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

ABAP代码静态分析工具SQF - Support Query Framework

2020-05-04
阅读 3 分钟
1.4k
如果系统里没有SQF这个tcode,可以参考note 1814328: SQF: Plug-In for Source Code Scans进行安装。

辟谣 - SAP CRM WebClient UI的性能,一定不如ABAP Webdynpro吗?

2020-05-04
阅读 10 分钟
1.6k
For several CRM projects in China which I am involved, I found the partner have chosen ABAP webdynpro when custom development is necessary. When asked why they do not consider webclient UI as the first choice, they argued that “Webclient ui is slower than ABAP webdynpro.” or “the performance of W...

使用ABAP代码给SAP CRM Business object创建附件Attachment

2020-05-04
阅读 4 分钟
1.9k
For a complete list of all my blogs regarding content management, please see here.

SAP CRM WebClient UI,如何快速定位到抛出错误消息的那一行代码

2020-05-04
阅读 6 分钟
1.7k
As a developer in my daily life I always need to quickly locate the source code where raises a given message in webclient ui.

SAP ABAP一组关键字 IS BOUND, IS NOT INITIAL和IS ASSIGNED的用法辨析

2020-05-04
阅读 5 分钟
2.2k
ABAP里的IS BOUND, IS NOT INITIAL和IS ASSIGNED这组关键字,如果平时不留心,很容易理解地似是而非。今天我们就来说一说它们的区别。

根据ABAP BAdI definition名称找到SPRO里配置路径的办法

2020-05-04
阅读 1 分钟
1k
查询表CUS_IMGACH, ATTRIBUTES字段指定成BAdI definition名称,查询出的记录里,TEXT字段就为SPRO里定义该BAdI的路径。

如何查看类型为LRAW的SAP ABAP数据库表字段的内容

2020-05-04
阅读 2 分钟
1.3k
SAP帮助文档上提到:当一个buffered数据库表被修改时,其buffer也会自动被更新,包括其他应用服务器实例上针对该表的buffer也会以异步的方式自动被更新。

关于SAP ABAP字符变量和字符串变量字符个数的一个知识点,和一个血案

2020-05-02
阅读 4 分钟
1.4k
大家先别急着滑动屏幕,先试着自己计算一下,看和标准答案是否有出入。也许大家觉得这些小的知识点没什么用,但Jerry马上会分享一个我实际处理过的客户incident,正是由于类似这种看似不起眼的小知识点没有留意,最后影响了项目进展。

SAP ABAP SM50的另类用途 - ABAP工作进程对数据库表读取操作的检测

2020-05-02
阅读 4 分钟
1.3k
今天是2020年五一国际劳动节,Jerry祝大家劳动节快乐。 虽然五一国际劳动节来源于一百多年前国外无产阶级的一次大罢工,但由于国情原因,国内很多行业的从业人员,好像天生就是劳碌命。比如程序员行业。 2014年五一劳动节,我在和一个不是总能重现的SAP CRM incident做斗争。详情参考Jerry之前的文章记一次SAP开发工程师...

SAP ABAP关键字语法图和ABAP代码自动生成工具Code Composer

2020-05-02
阅读 6 分钟
1.9k
本文介绍的两个知识点比较零碎,所以我放在同一篇文章里来介绍。 Jerry在做SAP CRM Fiori应用开发时,在学习JavaScript时,读过这本书: 书中使用这种语法图讲解JavaScript的语法: 其实ABAP帮助文档里也存在类似的语法图,只是藏在一个不起眼的角落,不为大家所熟知: 以关键字APPEND为例,查看其语法图: 单击超链接,...