Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to analyze the price structure discount in SAP CRM and Hybris Commerce

2025-01-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/01 Report--

This article will explain in detail how to analyze the price structure discounts in SAP CRM and Hybris Commerce. The content of the article is of high quality, so the editor shares it for you as a reference. I hope you will have some understanding of the relevant knowledge after reading this article.

Recently, Jerry has done a prototype project related to price discounts to record what has been learned for future reference.

In this prototype project, we developed a mobile application using React-Native, where users can browse the products in SAP Hybris Commerce on their mobile phone and place an order. Suppose that after the purchase of Jerry is successful, share a QR code containing your own personal information in your moments. After Jerry's friends scan the QR code and place an order for the same product in Hybris Commerce, Jerry will receive a coupon.

This scene is actually similar to Luckin Coffee's promotion model, and we also hope that through this prototype project, we can prove that SAP products can also run these Internet-style marketing scenarios, which are very popular in China.

Cold winter night, a lonely lamp, accompanied by the goddess, programmers quietly writing code, this is the ordinary life of programmers.

Pricing (pricing) has never been a simple topic in any SAP product, whether it is the customer's ever-changing use of pricing strategy in actual business processing, or the complexity of the pricing engine itself in SAP products, it is beyond the imagination of many practitioners.

A colleague whom Jerry knows who works in SAP headquarters in Germany has been working on Pricing implementation in SAP ERP since he graduated from university. He has been working on Pricing for more than 20 years, from ERP Pricing to the current S/4HANA Pricing, and will continue to do so. If nothing happens, I estimate that he will retire at SAP when he does Pricing. From this colleague, Jerry is easy to think of such key words as "made in Germany", "craftsmanship" and "Excelsior".

As the saying goes, "no comparison, no harm". Compared with these Pricing experts, Jerry's mastery of Pricing in ABAP-based SAP products only stays in knowing where to set a breakpoint to start debugging after something goes wrong. This time in SAP Hybris Commerce to use its Pricing function, the process is also a variety of ups and downs, fortunately, Kevin,Jonathan and Kate students for their great help, here to express our gratitude.

What on earth is Pricing? When a new business document (sales order, service order, quotation) is created, we expect the system to automatically calculate the correct price information for a particular customer based on the existing configuration, including total price (Gross Price), discount (Discount), extra charge (Surcharge), etc.

Take SAP CRM Pricing based on ABAP technology stack as an example. "existing configuration", called condition record in CRM, is actually the entry of various configuration tables related to Pricing. During the implementation of the project, the consultant maintains different condition record according to the actual pricing scenario of an enterprise. At run time, the pricing engine processes these records according to different priorities, similar to CASE in the ABAP programming language. WHEN XXX. WHEN YYY. WHEN OTHERS. This kind of processing thought.

As shown in the figure above, a logical concept called Pricing Procedure is introduced in SAP CRM, which is used as the input of the pricing engine to uniformly associate pricing-related information such as condition record.

A Pricing Procedure can be uniquely identified through the five parameters of sales organization, distribution channel, department, Document Pricing Procedure and Customer Pricing Procedure:

The configuration page above is actually the five input parameters of the Pricing Procedure determination function, and the output is the matching Pricing procedure:

Let's take a look at Hybris Commerce's Pricing design. It is introduced on the SAP official website as follows:

Thus it can be seen that the working principle of the Pricing engine of Hybris Commerce is similar to that of SAP CRM, that is, the PriceRow that satisfies various conditions (that is, the condition record of SAP CRM) is configured in the system in advance, and then at run time, the matching PriceRow is found according to the actual content of the order field.

The workflow flow chart of the Pricing engine given on SAP's official website:

Finally, it introduces several common methods of maintaining price discounts in Hybris Commerce used by Jerry in this prototype project.

Price discount group

In our prototype project, a series of tasks are designed for users. When the user completes these tasks, our React-Native application will call Hybris Commerce API and assign the user to a specific user discount group in Hybris, within which users can enjoy a certain shopping discount for a specific period of time.

Create a discount group in BackofficeCustomer Discount Groups:

Maintain a 20% discount record in the Discount menu:

Create a new PriceRow to associate the above Customer Discount Group with the 20% discount record:

Finally, create a user Group,id as ambassador_discount, and all users in this group can enjoy a 20% discount.

Assign the previously created Customer Discount Group to this User group:

When the user completes the task, call the Commerce API shown below and assign it to the discount group:

For goods with an original price of 130.65 yuan, a 20% discount will save 26.13 yuan. When placing the order, it was observed that 26.13 yuan was saved, indicating that the 20% discount was in effect.

two。 Use Hybris Commerce's Promotion Rule to achieve price discount

Create a new Promotion Rule (promotion rule):

The condition of Promotion is set to trigger this promotion rule only when a customer buys a digital camera in Hybris Mall:

Add another trigger rule, which is logically an AND relationship with the above rule, that is, two rules are satisfied at the same time to enjoy a discount.

The type of this rule is Qualifying coupons, which means that the user must hold a coupon with id as jerrycoupon.

If both rules are met, maintain the discount information in the Actions area: enjoy a 10% discount

Similarly, when a user interacts with his or her friend in our React-Native app and completes the task we specified, the React-Native app calls Hybris Commerce's Coupon API to assign the jerrycoupon coupon to the user.

In this way, the user can see the coupon he won after completing the task in the My Coupons interface:

When I finally placed the order, I bought this 3607 yuan digital camera, which saved 10%, or 360.7 yuan.

Of course, the method of realizing price discount in Hybris Commerce is not limited to the two methods introduced in this article. To achieve the discount effect, in addition to Price Row, we can also use a more direct DiscountRow to associate the product with the Discount record.

Finally, the discount effect can also be achieved:

On how to analyze the price structure discount in SAP CRM and Hybris Commerce to share here, I hope the above content can be of some help to you, can learn more knowledge. If you think the article is good, you can share it for more people to see.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report