Jerry spent a few days at the customer site in Changsha this week, thanking Yi and Cailiang for their hospitality. It was nice to finally have the opportunity to interact offline with some CRM consultants who follow this official account. I was pleased to learn that some of the articles on the official account helped consultants solve practical problems in their work. Thank you for your support, as long as time permits, I will always write this public number.

I wrote this article when I had lunch with CRM consultants and talked about some of SAP’s new cloud products using microservices architecture.

If you want to find the most useful sentence in Jin Yong’s novel to help Jerry improve his programming skills, it is undoubtedly: esaber has no edge, big coincidence does not work.

After Yang Guo fu cut off an arm, the programming language mastered before, oh no, the martial arts mastered before all have no way to display. Later Yang Guo accidentally discovered a programming secret book, on the book: epee without a front, big qiao not to work.


Yang Guo mumble “epee no feng, big qiao does not work” eight characters, the heart seems to have understanding, but think the world of swordsmanship, no matter which which school of change how different, always with light and quick as is still, this handle epee I do not know how to make the law, want to huai Xixian, can not help the magic chi long.

Spring came and autumn came. Yang Guo practiced his sword every day in the sea tide. The sound of the wooden sword became louder and louder, until finally there was a rumbling sound. After several months of sound, the sound of the sword gradually subsided and finally became silent. After several more months of practice, the sound of the sword gradually began to ring again. From then on, the sound gradually changed from light to light, repeated seven times, and finally, when I wanted to be light, I would ring again. By the time I had practiced at this point, I could count that I had been at the seaside for six years.

At this time, Yang Guo was fighting with his wooden sword in the sea tide, and the strong wind on the sword had been rejected by the huge waves. Even though the divine eagle was amazing, it could not stop his three moves and two styles of wooden sword. At this time, the other party realized the mood of the sword demon dugu begging for defeat in his old age: “With this sword skill, who can fight with the world? No wonder dugu senior self-injured lonely, buried sword poor valley.”


What inspiration does Yang Guo’s epee study have for Jerry’s programming?

In today’s IT world, there are new technologies, new terms, and even new programming languages. A program ape, can choose to keep learning, chasing these new things, just like Yang Guo has learned the Toad, the net type, jade female sword, quanzhen sword, dog stick, jade xiao sword, finger magic, etc. Or you can sit back and polish the most basic skills a programmer needs to master.

Yang, who spent six years improving his skills at sea Tide, has come out of retirement with a stunning finish against previous opponents of the same rank. Jerry also fantasized about one day being like Yang Guo and killing bugs in seconds, instead of spending hours and hours on each bug. Jerry is still on his way: Jerry’s ABAP, Java, and JavaScript stew.

Jin Yong’s description of xuantiejian: “It was black and solid, but it was extremely heavy. A sword more than three chi long weighed no more than seventy or eighty jin, several times heavier than the heaviest gold sword in the battle. The blades on both sides are blunt, and the tip is more rounded like a hemisphere. When Yang Guo looked at the stone carving under the sword, he saw two lines of small words: Epee sword without a front, big qiao does not work. Bullying the world until forty.”

The literal meaning of these eight characters: the more stupid and ordinary things seem on the surface, the more likely they are to contain the perfection of ingenuity. Isn’t that a reference to SAP’s legacy products based on Netweaver?

Take S/4HANA, for example, which contains tens of thousands of database tables, and any one of them looks unremarkable on its own. These humble tables, like delicate parts on a German chariot, embody SAP’s 30 years of deep cultivation in the field of enterprise management to the extreme.

Not every swordsman can wield Yang Guo’s iron esaber. Similarly, the application development based on Netweaver also needs some thresholds. SAP’s traditional product was essentially a monolithic system, where the content of the underlying database was exposed via the API and not consumed directly by the UI. There is often another middle layer between the UI and API layers, in other words, the application developer can’t really “focus on writing the application logic itself” and still needs to spend energy mastering technologies that are not very relevant to the business.

For example, CRM application developers need to be familiar with how to format and store data returned by the API into Genil containers. S/4HANA developers implementing application logic in BOPF need to know how to use /BOBF/IF_FRW_READ and /BOBF/IF_FRW_MODIFY. In addition to ABAP Webdynpro, SRM developers must master the use of FPM. But the good news is that if you have a lot of internal skills, you can quickly learn one of them and learn the others.

Gu Long, another master, had a very different set of martial arts from Jin Yong. Open any gu Long works, use the keyword “neigong” search, almost will not get results. In gu Long’s martial arts world, “fast” is king. For example, in xiao Li Flying sword, there is no positive description of Li Xunhuan’s martial arts moves, but a side description to highlight the speed of his flying sword:


Yi cry stare li Xunhuan, ricely smile way: “you still have what to say?”

Li Xunhuan looked at his green hand, slowly: “only one word.”

“What words?” cried I. You say!”

Li Xunhuan sighed and said: “Why do you come to die?”

His hand flapped out!

A flash of knife light, Yicai has been flying out of the side.

There was blood on the snow!

See yi cry figure already far in a few zhang outside, hiss a way: “Li Xunhuan, you remember, I……”

His voice broke.

The wind blows like a knife, and the snow becomes deathly silent.


Many of SAP’s Cloud products, such as SAP Hybris Revenue Cloud, are based on the microservices architecture. Compared with SAP’s traditional Netwever-based products, the development of application logic of these cloud products is characterized by fast development speed. With SpringBoot and CloudFoundry’s COMMAND-LINE tool CLI, developers can really focus on writing microservices application logic and then quickly deploy microservices to the cloud. The UI can consume these microservices with lightweight AJAX calls.

List the customer master data, such as Revenue Cloud is by deploying in revcloud. XXX. Eu10. Revenue. Cloud. SAP on a micro service returns. The microserver is consumed in UI5 code through lightweight AJAX calls.

It’s hard to say which is better based on Netweaver or microservices-based architecture, just as it’s impossible to say which is better based on Jin Yong or Gu Long. As the development and operation platform of SAP traditional application, Netweaver has been proved to be suitable for S/4HANA large-scale complex system development through more than 30 years of baptism. A new generation of Cloud products like SAP Hybris Revenue Cloud, based on microservices architecture, demonstrates SAP’s commitment to keeping up with the industry in the Cloud era.

Now I invite my colleague, Chen Vicky, from the Revenue Cloud development team of SAP Chengdu Research Institute, to briefly introduce some functions of Revenue Cloud that have been released so far.

Vicky joined SAP Chengdu Research Institute after graduation in 2016, a young and beautiful program girl born in the 1990s. I stole a picture from her circle of friends:

Overview of SAP Hybris Revenue Cloud features

Hello, everyone. My name is Chen Wenxin. I am now working in the Revenue Cloud development team of SAP Chengdu Research Institute. I worked in SAP ERP ABAP development during my internship in university. After joining SAP, I worked with Hybris Renenue Cloud for two spring, summer, autumn and winter. Currently working on the technology stack is Java, JavaScript and SAP UI5. As a programmer, the pursuit of quality is the eternal truth. I also need to learn from other senior developers in SAP Chengdu Research Institute from the correctness of the code, scalability and the integrity of the delivery process.

In life, I like reading, listening to music and playing guzheng. One of my favorite books is Romain Rolland’s “John Christopher”, listening to the song to write code, inspiration can be more spurted. It takes ten years to play the piano, but it is still the same when writing code. Only with pursuit and effort will there be better results.

The following is an overview of Revenue Cloud’s published functions. If you know nothing about this Cloud product, I hope you can have some basic understanding after reading this article.

SAP Hybris Revenue Cloud is a new microservices based Cloud solution that enables businesses to quickly deploy efficient sales processes in an agile and scalable environment to take advantage of other SAP on-Premise and Cloud offerings.

SAP Hybris Revenue Cloud consists of three main functions:

  • Subscription order generation

  • Subscription order management

  • Subscription order billing (including usage and one-time fees)

Log in to SAP Hybris Revenue Cloud and enter the main page to see the configuration of business flows and master data:

Imagine this scenario: Enterprise A using Revenue Cloud has A customer, SUNNY, who needs to subscribe to the Email service of Company A to send emails for its own products. The Email service of Company A is A subscription product and charges by use. Therefore, company A’s end-to-end process from customer creation to customer bill generation can be completed through the interface shown in the figure above in SAP Hybris Revenue Cloud.

Business Configuration Basic Configuration related to services

First enter the Business Configuration to configure the basic elements required by the product process and create a market with ID A1:

Create a unit that defines the product price: EA

Use the created unit EA to define a billing element of type based on customer use with ID APICall. And the one-time and monthly fee element ONETIME,RECURRING:

With billing elements defined, you can then configure which price elements you can edit when creating and editing quotations, and which price elements you can edit and hide in the quantity usage charges included in the product.

You can then configure user authorization in The Business Configuration to approve quotes, parameters that trigger the approval process in quotes, delay of billing (the calculated settlement date is delayed by a specified number of days, resulting in a new settlement date), and other business-process-related parameters.

The figure above shows the quotation under US East Market. If the price discount is greater than or equal to 20%, the quotation needs to be approved.

Customers maintains customer master data

After the basic configuration is complete, you can create master data. First, go to the Customers Tile to maintain customer information. You can create individual customers or enterprise customers. Create an enterprise customer, maintain the customer’s address, contact information, and specify the Market A1-US East created earlier:

Products Maintains master data of Products

After the customer is created, the product information is maintained, which can be a subscription product or a composite product. Create a subscription product Mail_service as shown in the figure, specify Market to US East, and create the corresponding price information RatePlans. The billing date for the specified product is on the monthly subscription date for a one-time fee of $988 and a monthly fee of $50. The product also includes 1000 APICall sessions and is charged $20 for each additional 100 sessions.

Quotes Create Quotes

Once the master data has been created, you can create a Mail_Service quotation for SUNNY in the US East Market and give 25% off the one-time cost of the product, specify the expiration date of the quotation and the start date of the subscription for the product.

Click Release to Release the quotation. Since the maximum discount of US East Market was set as 20% in Business Configuration before, the quotation needs to be approved. Click “Send for Approval” to Send the quotation sheet for Approval.

Employees in the Approval List created for US East Market in Business Configuration can then agree or reject orders awaiting approval.

After the quotation is approved, it can be sent to the customer, and after the customer accepts the quotation, it can be transferred to Order to generate subscription orders:

Orders Views the order processing status

You can then go to the Orders Tile to check the status of the order and see if the corresponding Subscription was generated. You can see the Subscription creation completed.

Subscriptions view subscription orders

View generated orders in the Subscriptions Tile:

Billing Data Views Billing Data

When creating the quotation, by setting the subscription start date in the past, you can then see that the generated bill includes both one-time and monthly charges:

Usage Data Maintains customer Usage Data

The Usage Data of the customer for this product can be maintained in the Usage Data. If the customer SUNNY uses APICall 1200 times, the maintenance Usage Data is as follows:

Looking at the billing data again, you can see that new billing items are generated. Product Mail_service defines 1000 times including APICall and charges $20 for each additional 100 times. Customer usage is 1200 times and charges $40:

Thus, a complete process is completed from quotation to bill generation based on product usage.

For more of Jerry’s original technical articles, please follow the public account “Wang Zixi” or scan the following QR code: