各种语言里获取当前模块的方法:ABAP,ABSL,C,nodejs
ABAPsy-CPROGABSLC__FILE__用以指示本行语句所在源文件的文件名.#include <stdio.h> int main() { printf("%s\n",__FILE__); }vi另存为test.c, gcc编译生成a.out,执行后输出结果为:test.c__LINE__用以指示本行语句在源文件中的位置信息,输出:456nodejsweb
Service Request Account field in CRM and C4C
CRMThe Customer field in Service Request header is bound to Sold to Party:C4CIn C4C, the field is bound to CustomerPartyID:which is then bound to BuyerParty, not Sold to Party in CRM.
ABAP report的递归submit和在虚拟机里再次启动另一个虚拟机
ABAP在一个report里submit自身,会怎么样?(可以通过编译)我在Windows laptop里启动了一个Ubuntu虚拟机,然后试图在该系统里再次启动另一个Linux虚拟机。这次遇到error message:This computer doesn't have VT-X/AMD-v enabled. Enabling it in the BIOS is mandatory。尽
ABAP和Go语言的初始化操作, Kubernetes的Init Container
# ABAPGo作用同上:KubernetesInit Container在所有容器运行之前执行(run-to-completion),常用来初始化配置。YMAL文件里的具体用法:
Account mobile phone in CRM and C4C
CRMbinding path: BP_ADDR/StandardAddress-STRUCT.TELEPHONEMOBC4Cbinding path:/Root/MobilePhoneUI component:BO path: Root-.CurrentDefaultAddressInformation-.Address-.DefaultMobilePhone-~FormattedNumberD
JSP页面和产品明细页面的绑定关系在Hybris WCMS cockpit什么地方能够找到
# 问题productLayout2Page.jsp和product detail page的绑定关系在Hybris WCMS cockpit什么地方能够找到点击了product list里的product image,会跳转到detail page:target jsp的url在这个方法里计算出来:算出来的结果:也就是这个文件:问题productLayout2Page.jsp和product d
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之类的信息: