Pricing in SAP CRM and Cloud for Customer
SAP Cloud for Customer(本文以下简称C4C)作为SAP新一代的CRM云产品,其Price功能实现虽不如以前的SAP ERP那么复杂,但是也能满足企业运作中各种Price需求。C4C的price分为内部计费和外部计费两种,即Internal Pricing和External Pricing。Internal Pricing涉及到的工作中心:主要有下图中蓝色高亮的Price Li
SAP BSP, Java Web Project,Android和微信小程序的初始页面设置
CRM Webclient UIComponent controller的context DO_INIT_CONTEXT:然后是Window controller的DO_INIT_CONTEXT:最后才是view controller的DO_INIT_CONTEXT:Android微信小程序onLoad 生命周期函数--监听页面加载onReady 生命周期函数--监听页面初次渲染完成onShow
SAP CRM Genil Text-for-Key-Codes vs SAP C4C只读字段
CRMC4C这个Assigned To字段UI上显示的是party name, 然而绑定的字段是party ID。原因是这个UI字段的presentationMode设为DescriptionOnly。其实际显示的Description的值绑到了/Root/ProcessorFormattedNameProcessorFormattedName在BO的路径:Root-.ProcessorParty
SAP UI5和微信小程序框架里的全局变量
SAP UI5in global variable sap.ui there are many useful utility service available, such as current browser and os information.and use sap.ui.getCore().byId, we can get any UI5 control instance by its i
SAP UI5和angular里的常量定义
SAP UI5以我们以前负责的Opportunity为例,直接创建一个新的js文件,然后用所有字段为大写格式的JSON对象来模拟constant。UI5 framework也是用的这种方式。Angular用constant方法注入:app.constant('MONGOLAB_CONFIG', { baseUrl: '/databases/',
Netweaver的端口号和Spring boot内嵌的Tomcat端口
NetweaverFM : TH_GET_VIRT_HOST_DATASpring BootSpring Boot will launch an embedded Tomcat instance automatically:How to change this default 8080 portor change it by code:or implement WebServerFactoryCu
Java和ABAP里的外部类和内部类
JavaOuter class name + .this + outer class member name / method nameABAPIt is possible to directly access outer class' property in inner class:Output:
SAP Server Side JavaScript解决方案
服务器端的JavaScript, 看下wikipedia的介绍:https://en.wikipedia.org/wiki/JavaScript#Server-side_JavaScriptServer-side JavaScript> In December 1995, soon after releasing JavaScript for browsers, Netscape intro
使用Java connector消费ABAP系统的函数
我的ABAP系统有个函数名叫ZDIS_GET_UPSELL_MATERIALS,输入一个customer ID和product ID,会输出为这对客户和product组合维护的一组Upsell product ID和描述信息。测试如下:下面是使用Java消费该函数的代码:package jco; import java.io.File; import java
SAP Hybris和ABAP Netweaver里的DAO(Data access object)
DAO在Hybris里的定义: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
UI Component in CRM WebUI and Hybris
HybrisA 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.CRM WebClien
SAP ABAP Netweaver容器化, 不可能完成的任务吗?
Jerry之前的文章 一个13年ABAP老兵的建议:了解这些基础知识,对ABAP开发有百利而无一害, 回顾了ABAP Netweaver服务器主要的组件。本文咱们就来聊聊ABAP Netweaver容器化这个话题。Jerry假定阅读本文的朋友,都听说过虚拟机和容器的概念, 并且对虚拟机和容器的区别有所了解。容器与虚拟机的出发点很类似:对应用程序及其依赖进行隔离,生成一套能够随处运行的自容纳单元;二
SAP UI5 Repository and MongoDB Repository
UI5 Repository从本地通过Eclipse team provider上传到ABAP gateway system的UI5应用,都会自动生成一个UI5RepositoryPathMapping.xml文件,里面记录的是debug version的脚本文件名称和路径的映射关系。manipulation utility:/UI5/CL_UI5_REP_PATH_MAPPERMongoDB r
SAP Vim和ABAP Editor的个人设置
Vimvim打开文件后默认不显示行号:打开文件:~/.vimrc配置文件里加入一行set nu即可。然后就能显示行号了:ABAP Editor每个user SE80的配置存在表RSEUMOD里。比如我想参考Wade 的SE80设置,最后一次打开了哪些package,program之类的信息:
Angular的scope. apply和CRM WebClient UI的modify方法
标题的两个方法作用相同。Angular在每一次Javascript代码执行序列执行结束后,Angular都去检查绑定的数据是否发生改变,通过调用scope.apply完成。scope. apply最后调用scope.digest()方法去更新bindings或者watchers。看个例子:关于scope.apply的工作细节,see my blog Compare Data Bindin
When should reread of cl_crm_bol_entity and $scope.$apply be called manually
CRMCRM interaction center call poll and Hybris backend office poolCRM Interaction center poll design and Hybris backofficeC4C打开C4C,即使什么都不干,也能观察到Chrome network里这些http请求:注意请求发起者是NotifierHelper。这些请求用来干什么
SAP CRM呼叫中心polling and C4C notification polling
CRMCRM interaction center call poll and Hybris backend office poolCRM Interaction center poll design and Hybris backofficeC4C打开C4C,即使什么都不干,也能观察到Chrome network里这些http请求:注意请求发起者是NotifierHelper。这些请求用来干什么
如何在CRM和C4C中用代码判断当前是否处于configuration模式
CRMCL_CHTMLB_CONFIG_UTILITY=>IS_CONFIG_MODE_ENABLED返回值为boolean:C4C使用api:sap.client.flex.Personalization.isKeyUser这个api返回的是属性_bIsKeyUser:该属性在菜单Adapt->Enter Master Layout时被置为true:这个KeyUser模式的值会导致发
ABAP mesh表达式, JavaScript和Scala的 expression
ABAP Mesh expressionJavaScript我在第10行调用了函数f,其中传入的第二个和第三个参数都是一个逗号表达式。函数f的实现,会检查这两个参数的类型,如果是函数,则执行函数调用,再打印其返回值,否则直接打印传入的表达式的值。执行上面这段代码,打印输出如下:我们可以看出,虽然传入的第一个参数为true,导致函数f内部只会打印第二个参数y代表的表达式的值,5,但是第三个参数代表的
EventBus in SAP UI5 and Kyma
SAP UI5EventBus是一个小型的subscribe/publish模式实现,位于namespace sap.ui.core下面。subscribe:publish:消息订阅:消息发布:KymaKyma Event Bus receives Events from external solutions and triggers the business logic created with