一行代码将SAP CDS view数据以ALV的方式输出
由于国情原因,ABAP ALV相关的报表开发在国内众多SAP技术交流群里永远都是一个热门话题。最近Jerry和朋友的技术交流群里,郭爷向大家介绍了ALV Integrated Data Access,能够轻松实现以ALV格式展示CDS view的数据。感谢郭爷的介绍,Jerry因为工作原因不会进行SAP Dynpro的编程,所以也不知道这个ALV IDA的存在。网上搜了一下,发现早在2018年就有
如何通过调试找到自己需要的ABAP增强
Jerry有一个SAP技术交流群,里面有很多顾问朋友们一起交流SAP开发技术。有一个朋友提了这样一个关于增强点出口的问题。其实这类问题可以通过调试的办法自己找到答案。场景一:查找SE18里的classic BAdI在CL_EXITHANDLER的GET_INSTANCE方法里设置断点,然后重新运行程序,如果断点触发,就把变量exit_name的值抄下来:SE18, 粘贴到BAdI Name字段里去
SAP数据库表DDLOG的设计原理
Today when I am reading this SAP help, I find out this sentence:Then I have opened the definition of table DDLOG in the system and found I cannot directly view the content of field NOTEBOOK due to its
微信开发系列之二 - 在微信公众号里开发一个自动应答的图灵机器人
In previous blog Wechat development series 1 – setup your development environment I introduce the necessary step to setup environment for Wechat development.In this blog, let’s try to achiev
SAP ABAP Webdynpro ALV的link to action的实现方法
If you include the standard webdynpro ALV component SALV_WD_TABLE into your own component, you could not directly change the ALV table column as usual. In ABAP Webdynpro an example of link to action e
SAP WebClient UI界面元素ID生成的逻辑分析
If we open a WebClient UI page with Chrome and inspect its UI element via Chrome development tool, we could observe that the id attribute has some prefix for example C#_W#_V#_V#.. where # represents a
微信开发系列之八 - 微信公众号的地图集成
文章系列目录Wechat development series 1 – setup your development environmentWechat development series 2 – development Q&A service using nodejsWechat development series 3 – Trigger C4C Account creation i
SAP OData请求是如何通过OData Plugin路由到OData Offline Data Store的
I am reading Offline OData plugin introduction from SAP Help, There is one sentence “OData requests made against this plugin use the available open offline stores.“, and I am very curious about h
深入了解SAP note的技术细节
Although I have been working on ABAP for several years, I am not well aware of the technical design of SAP note, since most of the time as an application developer, I am responsible for the bug fixing
一个占据SAP BSP应用占据存储空间的小工具
Today one of my colleague asks me whether there is some tool which can allow us to get a draft estimation on the size of a BSP application. As far as I know there is no such tool, so I write one by my
SAP WebClient UI是如何维护表格选中状态的
I have been working as a Fiori application developer in SAP for almost two years, which means now I use Chrome development tool in my daily work for trouble shooting instead of ABAP debugger when I wa
SAP ABAP ADBC和Java JDBC的使用比较
Horst Keller has already introduced ADBC in his blog ABAP Geek 15 – ADBC long times ago. And recently during my self study on PostgreSQL I made some practice to connect PostgreSQL in Java pr
如何使用UI Configuration将WebClient UI的隐藏字段放出来
In Service order detail page some fields are by default hidden in standard UI configuration, for example fields belonging to pricing set ( backend storage table: CRMD_SHIPPING ).Here below is step by
如何使用ABAP open SQL的locator
Recently I learned a new approach to access database table content without having to transport the column data into ABAP program using locator. There is a sample program provided in SAP help.I ma
给SAP WebClient UI的表格行项目增添PDF预览功能
In CRM UI by default the PDF preview is only available in document header level. For example once PDF Fact Sheet is clicked, the PDF is displayed in a popup window.Suppose there are lots of document t
在SAP ABAP里使用注解@Inject模拟Java Spring
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系统里的胖接口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 d
如何使用ABAP代码创建SAP Product Category
In ERP we can create new material type by copying from existing one using tcode OMS2:This new type could be downloaded into CRM system via customizing download. A product category with prefix MAT_ wil
SAP WebClient UI component context node class单元测试方法
Prerequisite for reading this blog: you should be familiar with how to work with ABAP unit test framework. Requirement is to write unit test for this method below:In this blog, I copy the standard cla
SAP Repository Information System查找Message ID的一个小技巧
Normally if we see a message in SAPGUI and we can just double click the message icon to get its technical detail like message id and number displayed.However in some case the icon is not available for