Professional Documents
Culture Documents
SAP Hybris 415
SAP Hybris 415
com/
M hybris software
An SAP Company
Introduction
http://erpcertificationmaterials.com/
e
http://erpcertificationmaterials.com/
Working Hours w
9:00 r r Introduction
2. Subscriptions
3. Bundling
4. SBG
5. EMS
12:00 I . 6 -
Telco Accelerator J
Lunch
( !)
13:00 f
1. Installing the Telco Accelerator
2. Extended Tutorials
3. Bundling Customizations
17:00
v _
2
http://erpcertificationmaterials.com/
http://erpcertificationmaterials.com/
Hands-On
The lab work for this class is based on the hybris telco Accelerator
trail:
A self-paced, guided w alk-through with solution
A vailable at wiki:
https://wiki♦hybris.com/display/R5T/hybris%205%20Developer
%20T raining%20T rails%20-%20Telco
http://erpcertificationmaterials.com/
http://erpcertificationmaterials.com/
M hybris software
An SAP Company
Subscriptions &
Entitlements
M hvbris software
An SAP Company
Overview
Data Model
Cart Handling
Business User Interfaces
4 HY415
http://erpcertificationmaterials.com/
© hybris, An SAP Company
0
http://erpcertificationmaterials.com/
o
Buy-once Subscription
Products Product
Price
Pay on
checkout
Buy-once Product
Pay on checkout
© Copyright hybris AG
5 0 .1
.
An entitlement represents
► the ability o f a cu sto m e r to claim a benefit
► a custo m er's access to a service o r resource
either m etered or tim e-lim ited with start and end dates
Entitlements
► m ay be m etered or unm etered
► useful keep a dialogue w ith the cu sto m e r alive
► create contextual upsell opportunities
► increase recurring revenues
► help site collect valua ble cu sto m e r be ha vior data
—► fo r further upsell opportunities
© Copyright hybris AG 2 7
6 HY415
http://erpcertificationmaterials.com/
© hybris, An SAP Company
http://erpcertificationmaterials.com/
Your Account
Basic TV Upgrade O ptions
Blockbuster on demand
$5 OOiblockbuster
| Return To S ubscnptions
© Cof 2 8
Extensions M
Subscriptions
susb scrip tionse rvices - On top o f com m e rcese rvices
- Type definitions
- S ervice im p lem entations
- R eplacem ent o f com m on com m erce logic
sub scrip tionfa cade s - On top o f com m e rcefaca de s
©Copyright hybris AG |
Subscriptions Overview 2-9
M hybris software
An SAP Company
Overview
Data Model
Cart Handling
Business User Interfaces
8 HY415
http://erpcertificationmaterials.com/
© hybris, An SAP Company
http://erpcertificationmaterials.com/
Charge Entries
—► O ne tim e, non-recurring charges (activation fee, setup fee)
—► Flexible, recurring charges:
M onthly co st
U sage charges
1 1
$5 user S25
k k
\ 1
$3 user $45
k
21-25 users $5
k
© Copyright hybris AG 2 13
M hvbris software
An SAP Company
Overview
Data Model
Cart Handling
Business User Interfaces
10 HY415
http://erpcertificationmaterials.com/
© hybris, An SAP Company
http://erpcertificationmaterials.com/
PriceFactory
http://erpcertificationmaterials.com/
0
http://erpcertificationmaterials.com/
Service Implementations M
DefaultCommerceCartService
overwritten by DefaultCommerceCheckoutService
DefaultSubscriptionCommerceCartService overwritten by
DefaultSubscriptionCommerceCheckoutService
M hybris software
An SAP Company
Overview
Data Model
Cart Handling
Business User Interfaces
12 HY415
http://erpcertificationmaterials.com/
© hybris, An SAP Company
0
http://erpcertificationmaterials.com/
Admincockpit - Subscriptions
Subscription Term: All items
#l I M e n u *
m Admin | Validation | Bundling
Subscnpbon Term: A l items
S Step
::: § N Jj
M l Id Name [ e n l ' & T
User Profile
User Pernwsion
V endor
V oucher nvakdation
Warehouse
Q uery Where Part
Widget Parameter
History
Productcockpit - Subscriptions
« 1
A I Menu* w
S hortcuts
AD products
Blacklist (0)
QuckcoDection (0)
Catalog
Q ueries
O &
Last changes
Dupfecated products
History * 9
* undo Redo > 11
no elements H
C a rt LB S u b s c r ip tio n U s e r D e m o - 0 0 0 0 6 0 1 2
Subtotal
Tax:
$369 00
$0 00
$79.00
$0.00
Multicolumn
Delivery Costs
Order Oucount
$0.00
$131.00
$0.00
$194X1
Subscription
Total. $369.00 $79.00
Shopping Cart
1 Customar SabscrtpOoaB
Mmiimi t lu l Data End Data BsnuwtTyp- ■ I K S
1 Year{s) contract ■
12614 12:54 PU
121115 12:54 PU
CancrfaOfc Subscriptions
fool roc n.ri
12514 12:54 PI
Csneered Cole
Admincockpit - Entitlements
#i I Menu»
w A dm in | Validation | Bunding
(3 Discount
i Do m ar '' C 2 E E E 2 9
| €m al Address
: Ema< Message
C B Entitlement
Metered Entitlement
Non-Uetered Entitlement
•]■ Export
Export Data History Entry
Document Template
Fraud Report
••••Symptom
Generic Test Hern
Entry of HUC history
Index Test lem
Synchronization Time Stamp
Transformation configuraton
Vetocty renderer
IB Task
Loggrg
JobSearchRestriction
(3 Keyword
Media Container
Media Context
Media Folder
H isto ry
♦ * Undo Redo *
no elements
3 item* - 0 s* * : i k * < « i n
© Copyright hybris AG 2 23
14 HY415
http://erpcertificationmaterials.com/
© hybris, An SAP Company
http://erpcertificationmaterials.com/
Productcockpit - Entitlements
© Copyright hybris AG 2 24
http://erpcertificationmaterials.com/
http://erpcertificationmaterials.com/
A b o u t th is tra il.
This trail walks you through a hands on example using the T elc o
A c c e le ra to r 5.4.0. It is structured as an extended tutorial which includes
customizations as they might come up in a real life implementation.
Participants are expected to have a good knowledge of the hybris core
platform as well as the hybris Accelerator. We will not go into details
about many topics, for example general build / update or the basics of
WCMS. Some parts of the trail are intended as small exercises.
0 m
http://erpcertificationmaterials.com/
Main Trail
Steps
1. Telco
Accelerator
2. Exploring
the new
features
3. Customizing
bundle rules
4. Guided
Selling
Trail
Required/Helpful Reading
• Learn the basics: Developer Training Trails - Part I - Core
• Learn Commerce / Accelerator: Developer Training Trails - Part II - Commerce
0 m
http://erpcertificationmaterials.com/
Telco Accelerator.
C o nte nts
• Contents
• Required/Helpful Reading
• Download the hybris Commerce Suite
• Install and initialize the Telco Accelerator
• Access the Telco Storefront
• Extension overview
Go to the hybris download page and download the Commerce Suite 5.2.0
If you're in a training class you should use the Commerce Suite zip from the usb stick.
The c is .c lie n t.s u b s c rip tio n .m o c k = fa ls e property decides whether the integrated Subscription Billing Gateway mock
implementation or the .war file mock implementation is used.
• Navigate to the /HYBR/S_HOMEJ/hybris/sampleconf igurations/sbg_properties and copy the files to the ${H Y B R IS
_B//V_D/R//platf orm/tomcat/lib folder.
3. C rea te c o d e b a s e
* run a n t m o d u le g e n
template te lc o a c c e le ra to r
0 m
http://erpcertificationmaterials.com/
config/local. properties
db.url=jdbc:mysql://localhost/telcotrail?useConfigs=maxPerformance&characte
rEncoding=utf8
db.driver=com.mysql.jdbc.Driver
db.username=your_username
db.password=your_password
db.tableprefix=
mysql.optional.tabledefs=CHARSET=utf8 COLLATE=utf8_bin
mysql.tabletype=InnoDB
Please note that theMySQL DB driver is not included in the Telco Accelerator. So you have to download it from the MySQL page
http://dev.mysql.eom/downloads/connector/j/.Unpack the downloaded file and copy the driver lib
mysql-connector-java-X.X.XX-bin.jar into the directory hybris/bin/platform/lib/dbdriver.
6. s ta rt y o u r s e rv e r
7. O n th e in itia lizatio n p ag e a c tiv a te th e im p o rt o f s a m p le d ata fo r s u b s c rip tio n s e rv ic e s and c o n fig u ra b le b u n d le s e rv ic e s (as
s h o w n b elo w ) and in itia lize th e sy s te m
l* i acceieratorcms
J subscriptionservices
J configurablebundleservices
yes M
(71 tolrntrailrnro
In case there is some error (impex, cockpit) due to a missing language (for example HlegalArgumentException: No matching
DataLocale for de ..., you can add the missing language in the administration console like this:
INSERT_UPDATE
Language;isocode[unique=true];fallbackLanguages(isocode)/active
[default=true]
;de;en;;
8. S e t up y o u r (E c lip s e ) w o rk s p a c e
The projects/extensions 'telcotrailcockpits' and 'telcotrailinitialdata' are missing the required source folder 'testsrc' which wasn't created.
Please create a 'testsrc' folder for each manually.
To access the telco storefront you must add a localhost mapping to your computers hosts file. Thehostsfile approach requires this extra setup
step on your computer but importantly it more accurately represents how Storefronts will most likely be organized in terms of domain URLs in a
0 m
http://erpcertificationmaterials.com/
production environment.
You should add the following lines to your file once you have located it. Note that system admin however often restrict access to this file, at least
write access, so you may not have the necessary access rights to edit the file.
127.0.0.1 telco.local
• http://telco.local:9001/telcotrailstorefront
If you're not allowed to change hosts file then follow the recommendation from Site Parameter Approach
A description of the subscription and bundling functionality extensions and the Telco Accelerator template extension can be found here.
This trail step will familiarize you with the data model which comes with the subscriptionservices,
configurablebundleservices and telco extensions. We’ll start with the subscription functionality and
examine some telco sample data. Then you'll create a new BundleTemplate (device, service plan, add
ons). Additionally you'll learn about bundle rules to set up service plan specific device prices or to
disallow some plan device combinations and further features from the new Accelerator.
C o nte nts
• Motivation
• Contents
• Required/Helpful Reading
• Subscription Functionality
• Subscription Data Model
• Subscription Products
• Storefront implementation
• Configurable Bundle Functionality
• Bundling Data Model
• Telco sampledata bundles overview
• The Bundling Perspective in the Product Cockpit
• Create a "Training” bundle
• Template Structure
• Testing the new bundle
• Show the new bundle on the Navigation Bar
• Tailoring the device prices to the service plans
• Disable a Service Plan for a device
• Service Add Ons
• Optional: Cloning and archiving a bundle
• Advanced Search for bundle rules
• Solr post processing
• Product Compatibility
• Validation Framework
• Multicart
0 m
http://erpcertificationmaterials.com/
- 3 ^
N a v ig a tio n
Required/Helpful Reading
• subscriptionservices Extension - Technical Guide
• configurablebundleservices Extension - Technical Guide
• ytelcoacceleratorcore Extension - Technical Guide
Subscription Functionality
Subscription Products
? Unknown Attachment
Meaningful enumeration values for TermOf ServiceFrequency and TermOf ServiceRenewal are defined in subscriptionservices-items.xml:
Also, there are already BillingTime items (subtypes BillingFrequency and BillingEvent) you can use for your own
SubscriptionProducts.
0 m
http://erpcertificationmaterials.com/
telcotrailcore/resources/telcotrailcore/import/productCatalogs/telcoProductCatalog/catalog.i
mpex
INSERT_UPDATE BillingFrequency;code[unique=true];order;cartAware[default=true]
/monthly;5
/quarterly;6
;yearly;7
INSERT_UPDATE BillingEvent;code[unique=true];order;cartAware[default=true]
;paynow;1
;onfirstbill;2
,-oncancellation; 0; false
Open productcockpit go to the Bundling perspective. Open the Smartphone package and select S m a rtp h o n e - S e rv ic e Plan C o m p o n e n t. Check
out some Service Plans (e.g. y Smart 600 12M, y Smart 600 18M, y Smart Unlimited 12M).
Or S m a rtp h o n e - P o p u la r A d d O n s C o m p o n e n t:
To investigate a SubscriptionTerm in detail, open the admincockpit and search for "subscription term":
? Unknown Attachment
Storefront implementation
? Unknown Attachment
3y selecting the smartphone package you'll see for each Terms of Service the defined Service Plans. As we have previously explored the
different y Smart 600 Service Plans you'll find them under the corresponding tabs:
? Unknown Atachment
3y starting with Service Plans: http: Vtelco.local:9001/telcotrailstorefront/bundle/view-plans/SMAR you'll see the same grouping:
? Unknown Atachment
0 m
http://erpcertificationmaterials.com/
? Unknown Attachment
PAY G (P ay as
you go P ackage)
SM AR
(S m artphone
P ackage)
S M A R In te rn e tP a c k IN TE R N E T_P A C K _S M A R T , Pick 0 to 1 S M A R S e rv ic e P la n
IN TE R N E T_P A C K _M A X
S M A R M o b ile T V M O B IL E T V P ick 0 to 1 S M A R S e rv ic e P la n
S TA R (S tarter
P ackage)
S T A R S e rv ic e P la n Y _S TA R TE R _* P ick exactly
1
S T A R P o p u la rA d d O n s P ick 0 to 100 S T A R S e rv ic e P la n
T A B L (Tablet
P ackage)
T A B L S e rv ic e P la n Y _D A TA _* P ick exactly
1
T A B L M o b ile T V M O B IL E T V P ick 0 to 1 T A B L S e rv ic e P la n
0 m
http://erpcertificationmaterials.com/
S O D P (Sim O nly
Data Plan
P ackage)
S O D P S e rv ic e P la n Y D A T A C A S U A L , Y D A T AS M AR T, P ick exactly
Y D A TA M AX, Y D A T A 4 G 1
S O V P (Sim O nly
V oice Plan
P ackage)
S O V P S e rv ic e P la n Y _S TA R TE R _, Y _ S M A R T _ , Y _G O * P ick exactly
1
S O V P In te rn e tP a c k IN T E R N E T P A C K C A S U A L , P ick 0 to 1 S O V P S e rv ic e P la n
IN T E R N E T P A C K S M A R T ,
IN T E R N E T P A C K M A X
C o m p o n e n t ID C o m p o n en t N am e C a ta lo g V e r s io n P a r e n t T e m p la te
then just show the table for te customer to create them himself:
C o m p o n e n t ID C o m p o n en t N am e C a ta lo g V e rs io n P a re n t B u n d le s e le c tio n R e q u ire d
T e m p la te c rite ria C o m p o n e n ts
TE S T_2_S erviceP lan T E S T S ervice Plan sam e as parent TE S T P ick exa ctly N (N = 1 )
C om p one nt tem plate
T E S T_4_S erviceA ddO n T E S T S ervice Addon sam e as parent TE S T P ick N to M (N =?, M =?) T E S T S e rv ic e P la n
C om p one nt tem plate
same for assigning product, just show it once and then show a table with the mappings
and also an example for a price row and then present a table like this:
T E S T S ervice Plan C om ponent Y D A TA 4G Plan rule iP hone 3GS 32G B, iP hone 3G S A ny 15 USD
16GB
T E S T S ervice Addon Internet pack Internet rule Y D A TA 4G , iP hone 3GS 32GB All 1 USD
C om ponent m ax
T E S T S ervice A ddon C om ponent Internet pack max Internet disable rule Y _S M A R T_600_12M All
EX - 10 HY415 http://erpcertificationmaterials.com/
© hybris, An SAP Company
0 m
http://erpcertificationmaterials.com/
If not yet active switch to the "telco Product Catalog Staged (TEL-S)'1.
? Unknown Attachment
The action "Add B u n d le ” is always available. It adds a new bundle template, the catalog version is pre-populated. It is up to the user if a new
child or parent bundle template is created, depending on if the attribute "Parent Template" is populated or not.
If you click on one of the parent templates in the bundle tree view a couple of actions for root templates become available:
1) "Add S ib lin g B u n d le T em plate": Creates a new parent bundle template, the catalog version is pre-populated
2) "Add C h ild B u n d le T e m p la te ”: Creates a new child bundle template, the catalog version and the parent template are pre-populated
3) "Deep C lo n e T h is R o o t B u n d le T e m p la te ”: Creates a deep clone of the current parent template including the child templates, product sets,
bundle rules, etc. The cloned package has the same structure as the original package and can be distinguished by the prefix "CLONE" in front of
its name. You would use this function to create a new package which should be similar to the current one. After cloning you can start modifying
the clone by adding or removing child templates, rules, products etc. A cloned package needs to be approved before it can be used for
purchases.
If you click on one of the child templates in the bundle tree view a couple of actions for child templates become available:
? Unknown Attachment
6) "Add S ib lin g B u n d le T em plate": Creates a new child bundle template, the catalog version and the parent template are pre-populated
7) "Open C o n te x t L is t fo r Price rules": Displays the bundle price rules that are assigned to the child bundle template
8) "Open C o n te x t L is t fo r D is a b le rules": Displays the bundle disable product rules that are assigned to the child bundle template
10) "D elete child te m p la te fro m system ": Completely deletes a child template from all catalog versions. This is only possible if the child template
had never been used in any cart or order. A typical use case for this function is that a new package was cloned from an existing package and
some of the components are not needed in the new package. Or a new child component was added by mistake and needs to be removed again.
A ttrib u te V a lu e
Id TRAIN
Name Training
Version 1.0
Parent Template -
0 m