`
JerryWang_SAP
  • 浏览: 964937 次
  • 性别: Icon_minigender_1
  • 来自: 成都
文章分类
社区版块
存档分类
最新评论
文章列表
For more detail about how product determination works in one order scenario, please refer to this blog: Product Alternative ID used in Opportunity Line item product determination. As it is not possible to only create the test class for a given function module via ABAP unit test framework, but the t ...
I have created the following download request in tcode R3AR2 to try to download a BOM from ERP:     When I perform request download, I meet with the following error message:     I go to tcode R3AC1 to check the parent tab of adapter object BOM_ERP. To my surprise, there is no parent inform ...
When I am creating unit test for one of my Java project A, I try to have a look at the source code of this annotation:     Once I press Ctrl and click, I see this message below. The “Attach Source” button is not there.     However I tried another project B in my laptop, it works:     ...
Suppose you have a large number of unit test cases and you don’t want them to be executed all at the same time during Maven build. You can simply achieve it via annotation @Category. (1) Create empty class FastTests and SlowTests. (2) In your test case class, categorize your test method using @Cate ...
Suppose you have a large number of unit test cases and you don’t want them to be executed all at the same time during Maven build. You can simply achieve it via annotation @Category. (1) Create empty class FastTests and SlowTests. (2) In your test case class, categorize your test method using @Cate ...
Suppose I have four test cases in my project, the total methods to be tested:     Based on the blog Run only given sets of your unit test via @Category, it is possible to organize test methods within THE SAME CLASS to different categories via @Category, that is, the granularity to control which ...
Suppose you need to repeatedly execute some test method in your unit test case, for example, you would like to test getPrice based on the first set of test data 5 times in test method test1() while for the second set of test data, only one time should be executed. The below class RepeatDemoOne is a ...
(1) download and install NodeJS in your local laptop:https://nodejs.org/en/download/ Type node -v to ensure it works correctly:     (2) install and configure Grunt. Grunt is a JavaScript task runner which can finish repetitive task for you. In this tutorial, I use it to launch local NodeJS serv ...
In the blog Step by step to run your Fiori application locally on NodeJS the steps to run your Fiori application locally by using NodeJS as server are introduced. In that solution, the Fiori application is launched in a standalone mode where sap.ushell.Container is not available. Additionally there ...
Recently I am doing an S4 project and I have to figure out how extension fields created by S4 extension tool is rendered in Fiori UI. It turns out that when end users add extension field in S4 Fiori UI, the UI itself is not changed at all.     Instead the detail information regarding this exten ...
In this blog, I will use File as external receiver. Scenario overview I make some changes on business partner / product master data in CRM. The data in the mBDoc will be converted in XIF adapter into an IDoc which then is sent to File as external receivers. (1) Create a new port in tcode WE21: ...
In order to avoid unnecessary query on database it is a common pattern to define a cache in application layer to cache the query result from database. See one example below. Here the application cache is maintained in a custom class CacheContext. public class AccountService1 { private final ...
In this blog Why Adapt UI button is visible in some system but missing in some other system I have explained my analysis about one issue that I would like to use Adapt UI button to extend some standard Fiori UI, and this button is available in some system,     But missing in another system. My ...
I have created one extension field on Business context “Product Master General” in tile “Custom Field and Logic” and publish it:     After that when I try to add it to Basic Data block of Product Master application, I could not find it in Available Fields list. As a result, I cannot add it to s ...
Suppose you have a running Java process and you would like to inspect its running status, for example how many object instance are created or memory consumption status, you can use some standard tool provided by JDK. This blog is written based on JDK 1.8. The sample code I am using to simulate a en ...
Global site tag (gtag.js) - Google Analytics