Step by Step Guide to Flexible Offline Pricing Based on External ... - SAP · PDF fileStep by...

20
CUSTOMER 2017-04-29 Step by Step Guide to Flexible Offline Pricing Based on External Pricing

Transcript of Step by Step Guide to Flexible Offline Pricing Based on External ... - SAP · PDF fileStep by...

Page 1: Step by Step Guide to Flexible Offline Pricing Based on External ... - SAP · PDF fileStep by Step Guide to Flexible Offline Pricing Based on External Pricing. Content 1 Activation

CUSTOMER

2017-04-29

Step by Step Guide to Flexible Offline Pricing Based on External Pricing

Page 2: Step by Step Guide to Flexible Offline Pricing Based on External ... - SAP · PDF fileStep by Step Guide to Flexible Offline Pricing Based on External Pricing. Content 1 Activation

Content

1 Activation in SAP Hybris Cloud for Customer System. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3

2 Pricing Customization Exchange. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4

3 Price Master Data Exchange. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7

4 Price Master Data Offline Sync . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13

5 Solution Scope . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14

6 Features Specific to Sales Orders. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18

2 C U S T O M E RStep by Step Guide to Flexible Offline Pricing Based on External Pricing

Content

Page 3: Step by Step Guide to Flexible Offline Pricing Based on External ... - SAP · PDF fileStep by Step Guide to Flexible Offline Pricing Based on External Pricing. Content 1 Activation

1 Activation in SAP Hybris Cloud for Customer System

Offline generic pricing activation is done via a business configuration scoping question. In 1705 this is available as a hidden scoping item, so it is important to activate it before you can start using offline generic pricing. Please contact SAP to activate it in your tenant.

Offline price calculation is currently supported only in service ticket and sales order.

NotePrice master data download is restricted by user role. For example, you might assign price master data download to roles you have created for field service technicians. Enable offline pricing for specific user roles by following these steps:

1. Go to Administrator Offline Settings Data Download Rules and select the check box Enable queries with grant.

2. Select Add.3. In the pop up, select the Business Role for which you want to enable price master data download. In the

Workcenter View dropdown, chose Price Master Data and under Query dropdown select Dependent on data downloaded.

4. Finally, select Add to enable price master data download for that role.

Related Information

Pricing Customization Exchange [page 4]Price Master Data Exchange [page 7]Price Master Data Offline Sync [page 13]Solution Scope [page 14]Features Specific to Sales Orders [page 18]

Step by Step Guide to Flexible Offline Pricing Based on External PricingActivation in SAP Hybris Cloud for Customer System C U S T O M E R 3

Page 4: Step by Step Guide to Flexible Offline Pricing Based on External ... - SAP · PDF fileStep by Step Guide to Flexible Offline Pricing Based on External Pricing. Content 1 Activation

2 Pricing Customization Exchange

There are three main steps involved in pricing customization exchange involving customization creation in ERP, customization download from ERP and then uploading the customization to SAP Hybris Cloud for Customer system.

NoteAll the customization activities like field mapping, file upload etc should be performed in the Silverlight UI.

Customization Creation in ERP

Note: If you have already done this step, move to the next step.

First, you need to create Pricing Procedure and related customization in the connected ERP system. To do so, go to ERP System, where SAP Hybris Cloud for Customer is scoped to create the pricing customization. There are 4 main steps to do this.

1. Create Condition Table: To create the condition table, perform the transaction SPRO Sap Reference IMGSales and Distribution Basic Functions Pricing Pricing Control Define Condition Table Create

Condition Table

2. Create Access Sequence: To create access sequence, go to SPRO Sap Reference IMG Sales and Distribution Basic Functions Pricing Pricing control Define Access Sequence Maintain Access sequences

3. Create Condition Type: To create condition type, go to SPRO Sap Reference IMG Sales and Distribution Basic Functions Pricing Pricing control Condition types

4. Create Pricing Procedure: To create condition type, go to SPRO Sap Reference IMG Sales and Distribution Basic Functions Pricing Pricing control Define and assign pricing procedure .

NoteIt is recommended to create a new pricing procedure based on the existing main pricing procedure in the ERP system for Offline calculation in SAP Hybris Cloud for Customer.

Now, we need to download the customized pricing with the help of download tool. This downloaded customized pricing will be uploaded in to SAP Hybris Cloud for Customer System.

4 C U S T O M E RStep by Step Guide to Flexible Offline Pricing Based on External Pricing

Pricing Customization Exchange

Page 5: Step by Step Guide to Flexible Offline Pricing Based on External ... - SAP · PDF fileStep by Step Guide to Flexible Offline Pricing Based on External Pricing. Content 1 Activation

Customization download from ERP

NoteYou need to make sure that your SAP Hybris Cloud for Customer ERP add-on (CODERINT) should be in CODERINT 6.0 SP26 level or above.

Follow the steps below for downloading the customization from ERP:

1. Go to transaction se38 in the ERP system. Execute the report program RCOD_PRC_CUST_EXTRACT_TO_EXCEL to download the pricing procedure and related customization.

2. Enter the Pricing Procedure created earlier and click Extract. All the pricing customization is downloaded in excel.

3. Save the downloaded excel to the local system.

Upload the customization to SAP Hybris Cloud for Customer system

Now upload this pricing customization in SAP Hybris Cloud for Customer system, where offline pricing using external pricing is scoped. There are three main steps for it.

1. Create Field Mapping: Map the fields used in the condition table in ERP in pricing customization to the fields available in SAP Hybris Cloud for Customer.Follow the steps below to create field mapping-1. In Business Configuration work center go to fine-tuning activity Offline Pricing Using External Pricing.2. Select the Business Configuration view Pricing Field Mapping.3. Maintain the field mapping in the resulting view.

2. Upload Pricing Procedure and related customization to SAP Hybris Cloud for Customer using the customization excel downloaded from ERP system

NoteUpload process happens in the background and might take some time to complete. The status of upload can be checked under Application log button.

Follow the steps below to upload pricing procedure and related customization into SAP Hybris Cloud for Customer:1. In Business Configuration work center go to fine-tuningOffline Pricing Using External Pricing.2. Select the Business Configuration view Offline Pricing Strategy.3. Choose the external system type as ERP and browse for the customization excel saved to local machine

in step 2.

NoteCondition type, Access sequence, Pricing condition table, pricing table mapping is automatically populated if everything is set properly.

3. Pricing Procedure Determination for Offline price calculation.

Step by Step Guide to Flexible Offline Pricing Based on External PricingPricing Customization Exchange C U S T O M E R 5

Page 6: Step by Step Guide to Flexible Offline Pricing Based on External ... - SAP · PDF fileStep by Step Guide to Flexible Offline Pricing Based on External Pricing. Content 1 Activation

You can maintain your pricing procedure determination rule for the combination of Sales area and Document processing type.

Related Information

Activation in SAP Hybris Cloud for Customer System [page 3]Price Master Data Exchange [page 7]Price Master Data Offline Sync [page 13]Solution Scope [page 14]Features Specific to Sales Orders [page 18]

6 C U S T O M E RStep by Step Guide to Flexible Offline Pricing Based on External Pricing

Pricing Customization Exchange

Page 7: Step by Step Guide to Flexible Offline Pricing Based on External ... - SAP · PDF fileStep by Step Guide to Flexible Offline Pricing Based on External Pricing. Content 1 Activation

3 Price Master Data Exchange

The pricing exchange involves synchronizing pricing master data between SAP ERP and SAP Hybris Cloud for Customer.

There are 6 main steps to price master data exchange process:

Maintain the relevant ID and code list mapping in SAP Hybris Cloud for Customer

1. The ID mappings for the relevant Products, customers, Sales Organization, etc., need to be performed in the SAP Hybris Cloud for Customer system.

2. Secondly relevant code list mapping also needs to be done for codes like Distribution Channel, country, etc.3. Maintain the code list mapping for Scale Axis Step Interval Boundary Type Code as follows:

Step by Step Guide to Flexible Offline Pricing Based on External PricingPrice Master Data Exchange C U S T O M E R 7

Page 8: Step by Step Guide to Flexible Offline Pricing Based on External ... - SAP · PDF fileStep by Step Guide to Flexible Offline Pricing Based on External Pricing. Content 1 Activation

4. Maintain the code list mapping for Scale Axis Base Code as follows:

Switch the Process Integration mapping to Java Mapping

NotePrice condition replication is already configured with following PI mapping:

How to switch to new Price Condition Replication PI mapping

Steps:

1. Go to PI Integration Builder or Navigate to following URL directly https://Host:Port/dir/start/directory.jnlp2. Navigate to Interface Determination Folder

8 C U S T O M E RStep by Step Guide to Flexible Offline Pricing Based on External Pricing

Price Master Data Exchange

Page 9: Step by Step Guide to Flexible Offline Pricing Based on External ... - SAP · PDF fileStep by Step Guide to Flexible Offline Pricing Based on External Pricing. Content 1 Activation

3. Open COND_A.COND_A04 interface determination for source ERP system.

4. Click on edit button to change existing PI mapping to following operation mapping:ERP_COD_FlexibleSalesPriceSpecificationReplicateMassRequest

5. Click Save and Reactivate.

Automatic delta download of price conditions

Delta load is initiated via report RBDMIDOC run with selection as COND_A. If you use the standard connectivity settings report then this is scheduled automatically for you provided you select price condition replication in scoping screen of the report.

Else you can create a variant for input as COND_A and schedule the report RBDMIDOC to run with this variant for the desired interval

Step by Step Guide to Flexible Offline Pricing Based on External PricingPrice Master Data Exchange C U S T O M E R 9

Page 10: Step by Step Guide to Flexible Offline Pricing Based on External ... - SAP · PDF fileStep by Step Guide to Flexible Offline Pricing Based on External Pricing. Content 1 Activation

Standard Connectivity Report: RCOD_CREATE_CONNECTIVITY_SIMPL.

NoteClick on info button for complete documentation of this report.

Maintain the relevant ID and code list mapping in SAP Hybris Cloud for Customer system

1. . The ID mappings for the relevant Products, customers, Sales Organization, etc., need to be performed in the SAP Hybris Cloud for Customer system.

2. Secondly relevant code list mapping also needs to be done for codes like Distribution Channel, country, etc.3. Maintain the code list mapping for Scale Axis Step Interval Boundary Type Code as follows:

10 C U S T O M E RStep by Step Guide to Flexible Offline Pricing Based on External Pricing

Price Master Data Exchange

Page 11: Step by Step Guide to Flexible Offline Pricing Based on External ... - SAP · PDF fileStep by Step Guide to Flexible Offline Pricing Based on External Pricing. Content 1 Activation

4. Maintain the code list mapping for Scale Axis Base Code as follows:

Download master data to SAP Hybris Cloud for Customer

Now execute the report RCOD_CONDITIONS_EXTRACT to create Idocs in ERP system and send them across to SAP Hybris Cloud for Customer system via process integration.

Executing report RCOD_CONDITIONS_EXTRACT provides details such as, valid from, valid to and logical system, table created in first step and logical system, where data need to be sent.

Uncheck the test mode and click Execute, then the IDOCS will be created and will be sent to SAP Hybris Cloud for Customer System.

Check the downloaded master data in SAP Hybris Cloud for Customer

Once the masterdata is downloaded it can be checked in SAP Hybris Cloud for Customer system.

Follow the steps below to check the downloaded master data in SAP Hybris Cloud for Customer:

1. Logon to SAP Hybris Cloud for Customer system and go to the Products work center view.

2. Go to Products Prices , choose the Condition Type from the drop down to view the downloaded master data.

Related Information

Activation in SAP Hybris Cloud for Customer System [page 3]

Step by Step Guide to Flexible Offline Pricing Based on External PricingPrice Master Data Exchange C U S T O M E R 11

Page 12: Step by Step Guide to Flexible Offline Pricing Based on External ... - SAP · PDF fileStep by Step Guide to Flexible Offline Pricing Based on External Pricing. Content 1 Activation

Pricing Customization Exchange [page 4]Price Master Data Offline Sync [page 13]Solution Scope [page 14]Features Specific to Sales Orders [page 18]

12 C U S T O M E RStep by Step Guide to Flexible Offline Pricing Based on External Pricing

Price Master Data Exchange

Page 13: Step by Step Guide to Flexible Offline Pricing Based on External ... - SAP · PDF fileStep by Step Guide to Flexible Offline Pricing Based on External Pricing. Content 1 Activation

4 Price Master Data Offline Sync

In 1705, context based pricing master data offline download is supported only in service, sales order and sales quote. You can maintain the offline pricing procedure determination rules via Business Configuration fine tuning activity .

Based on this appropriate procedure will be determined for calculation within offline runtime. Scope of the price master data for download is also decided based on this setting from the sales organization perspective.

Related Information

Activation in SAP Hybris Cloud for Customer System [page 3]Pricing Customization Exchange [page 4]Price Master Data Exchange [page 7]Solution Scope [page 14]Features Specific to Sales Orders [page 18]

Step by Step Guide to Flexible Offline Pricing Based on External PricingPrice Master Data Offline Sync C U S T O M E R 13

Page 14: Step by Step Guide to Flexible Offline Pricing Based on External ... - SAP · PDF fileStep by Step Guide to Flexible Offline Pricing Based on External Pricing. Content 1 Activation

5 Solution Scope

This section talks about the known feature restrictions and limitations in 1705 release.

Feature Restrictions

There are feature restrictions from the pricing customization objects. Basically these feature restrictions can be looked at as certain features/attributes of condition technique objects (Condition Type, Access Sequence and Pricing procedure) which are not supported in SAP Hybris Cloud for Customer.

Within this there are again two categories of limitations:

1. Feature restrictions with which the customization cannot uploaded in the SAP Hybris Cloud for Customer system, the upload tool will reject the upload with error messages. This means that the SAP Hybris Cloud for Customer system will not be able to store the unsupported customization.

2. Feature restrictions with which the customization can still be uploaded to the SAP Hybris Cloud for Customer system, the upload tool will accept the upload with warnings. This means that the SAP Hybris Cloud for Customer system will be able to store the unsupported customization but the offline pricing engine will not make use of it.

So, based on these categories here’s the list of feature restrictions:

Table 1:

Condition Type

Attribute/Feature Supported Error Warning

Condition Class B (Price)

A( Discount or Surcharge)

Discount and surcharge

P (compare price protection) A (discount or surcharge),

C (expense reimbursement),

D (Taxes),

E (Extra Pay),

F (Fees or differential),

G (Tax classification),

H (determining sales deal),

Q (Totals record for fees),

W (Wage withholding tax)

14 C U S T O M E RStep by Step Guide to Flexible Offline Pricing Based on External Pricing

Solution Scope

Page 15: Step by Step Guide to Flexible Offline Pricing Based on External ... - SAP · PDF fileStep by Step Guide to Flexible Offline Pricing Based on External Pricing. Content 1 Activation

Condition Type

Attribute/Feature Supported Error Warning

Condition Category i (ship & debt1),

j (ship & debt 2),

l (TPILV),

m (SSR discount),

n(Profit center internal price),

o(AFS season determination),

p(SSR partner commission),

&(AFS value-added services)

Other Domain Values

Structure Condition A (condition to be dupli­cated),

B (cumulation condition)

Calculation Type A( Percentage)

B(Fixed Amount)

C(Quantity)

Percentage and Fixed Amount (Only in sales order)

J (Per mile),

K (Per mile in thousands),

T (multi-dimensional),

W (Percentage with 6 deci­mals)

Other Domain Values

Scale Type A(base scale),

B (to-scale),

' ' (can be maintained in con­dition record)

C (not used) Other Domain Values

Scale Basis C (quantity scale) Other domain values B (net value)

D (gross weight scale),

E (net weight scale),

F (volume scale)

Group Condition Supported in sales, but not supported in service.

TRUE

Table 2:

Access Sequence

Attribute/Feature Supported Error Warning

Requirement Formula Any value

Step by Step Guide to Flexible Offline Pricing Based on External PricingSolution Scope C U S T O M E R 15

Page 16: Step by Step Guide to Flexible Offline Pricing Based on External ... - SAP · PDF fileStep by Step Guide to Flexible Offline Pricing Based on External Pricing. Content 1 Activation

Access Sequence

Attribute/Feature Supported Error Warning

Access Type ' ' (field in fixed key part ) A (field in free key part) Other Domain Values

Number of fields in access <=5 >5

Table 3:

Pricing Procedure

Attribute/Feature Supported Error Warning

Requirement Formula Any value

Value Formula Any value

Base Formula Any value

Limitations

Feature List

● Group condition processing

NoteOnly supported in sales order and quote.

● Currency conversion● Quantity conversion

NoteOnly supported in sales order and quote.

● Exclusion processing● User exits● Data field in condition table● Structure conditions● Copy process● Hierarchical access● Tax calculation

UI Limitations● Price component level break down is available in sales but not available in service.

16 C U S T O M E RStep by Step Guide to Flexible Offline Pricing Based on External Pricing

Solution Scope

Page 17: Step by Step Guide to Flexible Offline Pricing Based on External ... - SAP · PDF fileStep by Step Guide to Flexible Offline Pricing Based on External Pricing. Content 1 Activation

Related Information

Activation in SAP Hybris Cloud for Customer System [page 3]Pricing Customization Exchange [page 4]Price Master Data Exchange [page 7]Price Master Data Offline Sync [page 13]Features Specific to Sales Orders [page 18]

Step by Step Guide to Flexible Offline Pricing Based on External PricingSolution Scope C U S T O M E R 17

Page 18: Step by Step Guide to Flexible Offline Pricing Based on External ... - SAP · PDF fileStep by Step Guide to Flexible Offline Pricing Based on External Pricing. Content 1 Activation

6 Features Specific to Sales Orders

Specific feature availability for sales orders in the new offline pricing calculation.

Apart from the standard features as part of new offline price calculation, following new features are available for sales orders:

● View price breakdown for sales orders in offline using new pricing engine● Apart from the standard fields supported in the pricing engine, new fields are supported for sales orders in

this release. These are:● ○ Country-of-Sold-To

○ Order Type○ Customer Group of Sold-To○ Item Category - each item○ Incoterms○ Ship-to-Party○ Payer○ Document Currency○ Manual Discount %○ Manual Discount Absolute

NoteThe new offline pricing, if enabled for sales orders, replaces the regular offline pricing feature (already available in SAP Hybris Cloud for Customer) that you may have implemented.

NoteFor manual discounts, continue to use configurable price elements (CPE) - PPE1 and PPE2.

Related Information

Activation in SAP Hybris Cloud for Customer System [page 3]Pricing Customization Exchange [page 4]Price Master Data Exchange [page 7]Price Master Data Offline Sync [page 13]Solution Scope [page 14]

18 C U S T O M E RStep by Step Guide to Flexible Offline Pricing Based on External Pricing

Features Specific to Sales Orders

Page 19: Step by Step Guide to Flexible Offline Pricing Based on External ... - SAP · PDF fileStep by Step Guide to Flexible Offline Pricing Based on External Pricing. Content 1 Activation

Important Disclaimers and Legal Information

Coding SamplesAny software coding and/or code lines / strings ("Code") included in this documentation are only examples and are not intended to be used in a productive system environment. The Code is only intended to better explain and visualize the syntax and phrasing rules of certain coding. SAP does not warrant the correctness and completeness of the Code given herein, and SAP shall not be liable for errors or damages caused by the usage of the Code, unless damages were caused by SAP intentionally or by SAP's gross negligence.

AccessibilityThe information contained in the SAP documentation represents SAP's current view of accessibility criteria as of the date of publication; it is in no way intended to be a binding guideline on how to ensure accessibility of software products. SAP in particular disclaims any liability in relation to this document. This disclaimer, however, does not apply in cases of willful misconduct or gross negligence of SAP. Furthermore, this document does not result in any direct or indirect contractual obligations of SAP.

Gender-Neutral LanguageAs far as possible, SAP documentation is gender neutral. Depending on the context, the reader is addressed directly with "you", or a gender-neutral noun (such as "sales person" or "working days") is used. If when referring to members of both sexes, however, the third-person singular cannot be avoided or a gender-neutral noun does not exist, SAP reserves the right to use the masculine form of the noun and pronoun. This is to ensure that the documentation remains comprehensible.

Internet HyperlinksThe SAP documentation may contain hyperlinks to the Internet. These hyperlinks are intended to serve as a hint about where to find related information. SAP does not warrant the availability and correctness of this related information or the ability of this information to serve a particular purpose. SAP shall not be liable for any damages caused by the use of related information unless damages have been caused by SAP's gross negligence or willful misconduct. All links are categorized for transparency (see: http://help.sap.com/disclaimer).

Step by Step Guide to Flexible Offline Pricing Based on External PricingImportant Disclaimers and Legal Information C U S T O M E R 19

Page 20: Step by Step Guide to Flexible Offline Pricing Based on External ... - SAP · PDF fileStep by Step Guide to Flexible Offline Pricing Based on External Pricing. Content 1 Activation

go.sap.com/registration/contact.html

© 2017 SAP SE or an SAP affiliate company. All rights reserved.No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of SAP SE or an SAP affiliate company. The information contained herein may be changed without prior notice.Some software products marketed by SAP SE and its distributors contain proprietary software components of other software vendors. National product specifications may vary.These materials are provided by SAP SE or an SAP affiliate company for informational purposes only, without representation or warranty of any kind, and SAP or its affiliated companies shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP or SAP affiliate company products and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty.SAP and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP SE (or an SAP affiliate company) in Germany and other countries. All other product and service names mentioned are the trademarks of their respective companies.Please see http://www.sap.com/corporate-en/legal/copyright/index.epx for additional trademark information and notices.