在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
使用事物码SAT检测SAP CRM中间件的传输性能
(1) Create service master in ERP using tcode AC01:Once saved, the service master header data will be saved to table below:(2) Create a download request in CRM via tcode R3AR2 with below settings:Perfo
显示SAP CRM Product hierarchy的一个小工具
Recently I start to study SD and I found the product hierarchy in transaction code V/76 could not be viewed in tree style and it is not so convenient to check:So I wrote a simple report to retrieve hi
如何使用SAP CRM中间件从ERP往CRM下载Service Master
(1) Create service master in ERP using tcode AC01:Once saved, the service master header data will be saved to table below:(2) Create a download request in CRM via tcode R3AR2 with below settings:Perfo
SAP CL_CRM_BOL_ENTITY单元测试方法
In SAP standard development it is very important to use unit test to cover those changes on legacy code to try to avoid side effect. As type reference CL_CRM_BOL_ENTITY is widely used in UI component
SAP CRM错误消息 Specify at least one number for the business partner
SAP CRM错误消息 Specify at least one number for the business partnerIssue descriptionWhen I try to edit Distribution Chain for a given product by clicking edit icon:This is the data I input in Distributio
Java注解@Autowired的工作原理
Suppose I have a bean named HelloWorld which has a member attribute points to another bean User.With annotation @Autowired, as long as getBean is called in the runtime, the returned HelloWorld instanc
两种使用代码获得SAP CRM product sales status的办法
Requirement: I would like to get Product sales status id via ABAP code. The test product id: 1467In TJ02T, we know the status id is: I1050Approach1: use function module CRM_STATUS_READ.METHOD rea
SAP CRM Product Sales status在中间件中的处理逻辑
Example: I have a material in ERP maintained with status: 10According to SAP help:If a material has technical defects or is to be discontinued, you can block the material. If you set a block, ord
如何用SAP CRM中间件从ERP下载material division到CRM
In ERP, I have created one material with division = 01:In CRM, activate division handling in this customizing:And also create one customizing entry for Division 01 in CRM:Now download material into CR
SAP CRM中间件Material Sales Organization和distribution channel的映射逻辑
For example, I have created a material with the following sales organization and distribution channel id in ERP:In tcode SMW01, I observed the following sales organization and distribution channel map
SAP CRM 中间件Request download里,遇到/SAPPSPRO/S_MAT_ENHANC_COMM 错误的解决办法
SAP CRM 中间件Request download里,遇到/SAPPSPRO/S_MAT_ENHANC_COMM 错误的解决办法When I perform product request download, I found that the bapistructures sent from ERP only contains one entry with tabname = /SAPPSPR
SAP 数据库表CRMD_ORDERADM_I字段OBJECT_TYPE的计算逻辑
In order to resolve one issue I need to figure out the logic how field OBJECT_TYPE is populated in table CRMD_ORDERADM_I. For example, I have the following opportunity line item:In table this field is
无法添加某个relationship给SAP CRM Product category的一个可能原因
For example, I would like to test relationship type STRSET and then I plan to add it to product category 00001.However, in available drop down list, I could not see relationship type STRSET. Why?When
如何找到ABAP里被动态调用的update function module
In this SCN discussion, Find a Function Module in Update Task dynamically called, a question is asked. For example, if the update function module CRM_PRODUCT_I_UPDATE_DU is called statically as:
ABAP数据库表的元数据
For project reason I need to fill some excel.The content of each column comes from content in SE11:In order to avoid such boring task, I write a small ABAP class to automate it.This class will first r