ABAP, Maven, CF App和Webpack的build

2020-03-05
阅读 2 分钟
1.3k
ABAP See my wechat article 聊聊C语言和ABAP: [链接] REPOLOAD Maven 命令行mvn clean install后,生成的jar文件默认位于target folder下。 CloudFoundry application 一个yaml文件的例子: 在包含了这个yaml文件的folder里使用cf push,因为里面指定了java_buildpack作为buildpack,应用upload到cloud foundry后,自...

json格式的字符串序列化和反序列化的一些高级用法

2020-03-05
阅读 1 分钟
1.9k
(1) 仅仅将指定属性对应的值序列化成字符串: {代码...} 想参与序列化的参数名通过JSON.stringify方法的第二个参数传入。 上面例子中,只有name字段及对应的值参与了序列化,输出如下: (2) 序列化时,还可以编写函数,实现自定义序列化逻辑: {代码...} 输出: name属性的值通过自定义函数实现,前面加上了前缀。sex属...

SAP ABAP Netweaver容器化, 不可能完成的任务吗?

2020-03-05
阅读 5 分钟
2.1k
Jerry之前的文章 一个13年ABAP老兵的建议:了解这些基础知识,对ABAP开发有百利而无一害, 回顾了ABAP Netweaver服务器主要的组件。本文咱们就来聊聊ABAP Netweaver容器化这个话题。

UI Component in CRM WebUI and Hybris

2020-03-05
阅读 1 分钟
1.1k
A component is an element in a content slot that is used to present content to customers. Components can be navigation bars, banners, site logos, search boxes, mini carts, and so on.

SAP Hybris和ABAP Netweaver里的DAO(Data access object)

2020-03-05
阅读 2 分钟
1.5k
A DAO (Data Access Object) is an interface to the storage back end system. DAOs store and retrieve objects. You use DAOs to save, remove, and find models. DAOs are the place to put SQL or FlexibleSearch statements and nowhere else. This is to ensure further decoupling from the underlying storage ...

使用Java connector消费ABAP系统的函数

2020-03-05
阅读 5 分钟
919
我的ABAP系统有个函数名叫ZDIS_GET_UPSELL_MATERIALS,输入一个customer ID和product ID,会输出为这对客户和product组合维护的一组Upsell product ID和描述信息。

SAP Server Side JavaScript解决方案

2020-03-04
阅读 2 分钟
877
In December 1995, soon after releasing JavaScript for browsers, Netscape introduced an implementation of the language for server-side scripting with Netscape Enterprise Server.Since 1996, the IIS web-server has supported Microsoft's implementation of server-side Javascript -- JScript -- in ASP an...

Java和ABAP里的外部类和内部类

2020-03-04
阅读 1 分钟
977
It is possible to directly access outer class' property in inner class:

Java和ABAP里的外部类和内部类

2020-03-04
阅读 1 分钟
904
It is possible to directly access outer class' property in inner class:

Netweaver的端口号和Spring boot内嵌的Tomcat端口

2020-03-04
阅读 1 分钟
1.8k
Netweaver FM : TH_GET_VIRT_HOST_DATA Spring Boot Spring Boot will launch an embedded Tomcat instance automatically: How to change this default 8080 port or change it by code: or implement WebServerFactoryCustomizer interface: 要获取更多Jerry的原创文章,请关注公众号"汪子熙":

SAP UI5和angular里的常量定义

2020-03-03
阅读 1 分钟
979
以我们以前负责的Opportunity为例,直接创建一个新的js文件,然后用所有字段为大写格式的JSON对象来模拟constant。UI5 framework也是用的这种方式。

SAP UI5和微信小程序框架里的全局变量

2020-03-03
阅读 1 分钟
1.7k
in global variable sap.ui there are many useful utility service available, such as current browser and os information.

SAP CRM Genil Text-for-Key-Codes vs SAP C4C只读字段

2020-03-03
阅读 1 分钟
929
CRM C4C 这个Assigned To字段UI上显示的是party name, 然而绑定的字段是party ID。 原因是这个UI字段的presentationMode设为DescriptionOnly。 其实际显示的Description的值绑到了/Root/ProcessorFormattedName ProcessorFormattedName在BO的路径:Root-.ProcessorParty-.AddressSnapshot-.DisplayNameSuitableForLogonL...

SAP BSP, Java Web Project,Android和微信小程序的初始页面设置

2020-03-03
阅读 1 分钟
1.9k
CRM Webclient UI Component controller的context DO_INIT_CONTEXT: 然后是Window controller的DO_INIT_CONTEXT: 最后才是view controller的DO_INIT_CONTEXT: Android 微信小程序 (1) onLoad 生命周期函数--监听页面加载(2) onReady 生命周期函数--监听页面初次渲染完成(3) onShow 生命周期函数--监听页面显示(4) onHide...

Pricing in SAP CRM and Cloud for Customer

2020-03-03
阅读 2 分钟
1.1k
C4C的price分Internal Pricing和External Pricing两种。Internal Pricing涉及到的工作中心:主要有下图中蓝色高亮的Price Lists和Discount Lists两个。

EventBus in SAP UI5 and Kyma

2020-03-03
阅读 1 分钟
1.4k
EventBus是一个小型的subscribe/publish模式实现,位于namespace sap.ui.core下面。subscribe:

ABAP mesh expression, JavaScript and Scala expression

2020-03-03
阅读 2 分钟
1.3k
我在第10行调用了函数f,其中传入的第二个和第三个参数都是一个逗号表达式。函数f的实现,会检查这两个参数的类型,如果是函数,则执行函数调用,再打印其返回值,否则直接打印传入的表达式的值。

如何在CRM和C4C中用代码判断当前是否处于configuration模式

2020-03-03
阅读 1 分钟
810
使用api:sap.client.flex.Personalization.isKeyUser这个api返回的是属性_bIsKeyUser:

ABAP Netweaver, SAP Cloud Platform和Kubernetes的用户区分

2020-03-03
阅读 2 分钟
1.2k
(1) Dialog: Individual, interactive system access.(2) System: Background processing and communication within a system (such as RFC users for ALE, Workflow, TMS, and CUA).(3) Communication:Dialog-free communication for external RFC calls.(4) Service: Dialog user available to a larger, anonymous gr...

SAP CRM呼叫中心polling and C4C notification polling

2020-03-03
阅读 1 分钟
1.2k
CRM CRM interaction center call poll and Hybris backend office pool CRM Interaction center poll design and Hybris backoffice C4C 打开C4C,即使什么都不干,也能观察到Chrome network里这些http请求: 注意请求发起者是NotifierHelper。这些请求用来干什么的?就是定时把C4C后台新产生的notification取出来显示...

cl_crm_bol_entity~reread和$scope.$apply的手动调用

2020-03-03
阅读 1 分钟
969
CL_CRM_BOL_ENTITY~REREAD CHECK line 35, scan lv_do_reread to know the logic of its assignment. reread will not be triggered until this flag is set as true. $scope.$apply in Angular When we should call $scope.$apply manually?看一个实际例子:第14行的div绑定到了angular的模型字段message。该应用启动...

Angular的scope. apply和CRM WebClient UI的modify方法

2020-03-03
阅读 1 分钟
1.4k
在每一次Javascript代码执行序列执行结束后,Angular都去检查绑定的数据是否发生改变,通过调用scope.apply完成。scope. apply最后调用scope.digest()方法去更新bindings或者watchers。看个例子:

SAP Vim和ABAP Editor的个人设置

2020-03-03
阅读 1 分钟
1.3k
Vim vim打开文件后默认不显示行号: 打开文件:~/.vimrc配置文件里加入一行set nu即可。 然后就能显示行号了: ABAP Editor 每个user SE80的配置存在表RSEUMOD里。比如我想参考Wade 的SE80设置,最后一次打开了哪些package,program之类的信息: 要获取更多Jerry的原创文章,请关注公众号"汪子熙":

Where do SAP CRM HANA Live Querys come from

2020-03-03
阅读 1 分钟
1.1k
Where do these entries come from?Via debugging it is found that the C table crmc_ana_od_srv is used to store the entry.

ABAP webdynpro的view navigation和WebUI的view navigation

2020-03-03
阅读 2 分钟
845
而ABAP webdynpro的技术很多地方实现都和WebUI非常类似.下图是ABAP webdynpro的navigate方法,实际操作是delegate到view的view manager:

UI5 control inheritance implementation question

2020-03-03
阅读 2 分钟
820
问题1:为什么new 一个JerryButton时,line 35会触发?var oJerryButton = new JerryButton({ application: oApplication } );

BSP tag in CRM and JSP tag in Hybris

2020-03-03
阅读 1 分钟
1.1k
都是Server page,所以原理也一样。 CRM [外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-sJwzZYao-1582979707216)([链接]] Hybris 凡是这种tagdir =相对路径的tag都是Hybris标准开发自己做的tag,目的和BSP一样:重用。 在project folder里顺着tagdir里的路径能找到对应的.tag实现: [外链图片...

SAP Cloud for Customer的产品主数据通过PI同步到CRM

2020-03-03
阅读 2 分钟
1.2k
SAP Cloud for Customer里没有办法新建product: Product detail page也无法编辑: 在C4C的business scoping里enable和ERP的integration: 在C4C里新建一个communication system: technical information维护成ERP系统的信息: ERP系统,tcode SRTIDOC注册IDOC inbound service: SPRO,自动生成和C4C的integration sett...

SAP Hybris platform和Netweaver的缓存(Cache)设计机制

2020-03-03
阅读 3 分钟
1.5k
(1 )The Hybris Cache is a part of the Hybris persistence layer.(2) It improves the performance of a single server node by reducing the amount of database queries.(3) It transparently stores search results, item attributes, and item instances in memory.

关于SAP CRM中间件系统搭建中遇到的一些问题

2020-03-03
阅读 1 分钟
821
之前我遇到一个问题,从ERP QV5到CRM X3D的response没有回来,原因是因为在ERP端的CRMRFAPCR表里面,没有到X3D的配置,新增一条配置信息:

escape in ABAP and JavaScript

2020-03-03
阅读 3 分钟
1k
ABAP IF_HTTP_UTILITY~ESCAPE_URL JavaScript 开源的sanitizer库,Google搞的。 [链接]sanitizer.escape('your dirty string');用于C4C: 在Java里使用这个JS library: {代码...} Maven dependency: {代码...} 要获取更多Jerry的原创文章,请关注公众号"汪子熙":

Hybris DDIC type and its counterpart model class

2020-03-03
阅读 2 分钟
938
在ABAP里,我们在SE11里面创建data type或者transparent table, 然后在ABAP代码里可以直接消费这些DDIC object.而Hybris是基于Java的,大家知道在Java里除了primitive type如int, boolean这些一样,万物皆对象. 数据类型是一个Java Class,而这些数据类型具体的item(transaction data)就是Java Class的一个个实例:every ...

SAP Digital Asset Management by OpenText for CRM

2020-03-03
阅读 2 分钟
1.3k
Open Text Digital Asset Management Connector for SAP CRM: manage business data with rich media content

SAP Hybris和Netweaver的租户隔离(Tenant isolation)机制设计

2020-03-03
阅读 2 分钟
935
ABAP里的tenant isolation是通过DB table的client ID来区分的.Hybris也有multi tenant的concept:

在SAP ABAP和Hybris Commerce里启动后台作业

2020-03-03
阅读 2 分钟
1.1k
ABAP 使用事务码SM36或者SE80里的右键菜单: Hybris 所有的cron job handler class必须声明AbstractJobPerformable为父类并重载perform方法。 在方法末尾必须返回执行结果是成果还是失败。然后在Spring配置文件里注入这个bean: Bean的id为oldPaymentSubscriptionResultRemovalJob: 执行这段代码: 完了就能在servicelaye...