+ All Categories
Home > Documents > Crm Sales Enhacement

Crm Sales Enhacement

Date post: 02-Jun-2018
Category:
Upload: mkumarshahi
View: 223 times
Download: 0 times
Share this document with a friend

of 58

Transcript
  • 8/10/2019 Crm Sales Enhacement

    1/58

    India SAP CoE, Slide 1

    CR2001Mobile ApplicationEnhancementsv1.0

  • 8/10/2019 Crm Sales Enhacement

    2/58

    India SAP CoE, Slide 2

    Mobile Application Enhancements

    1 PrepareMe

    2 TellMe

    3 ShowMe

    4 LetMe

    5 HelpMe

  • 8/10/2019 Crm Sales Enhacement

    3/58

    India SAP CoE, Slide 3

    Mobile Application Enhancements

    1 PrepareMe

    2 TellMe

    3 ShowMe

    4 LetMe

    5 HelpMe

  • 8/10/2019 Crm Sales Enhacement

    4/58

    India SAP CoE, Slide 4

    PrepareMe

    Purpose Use

    Challenges

  • 8/10/2019 Crm Sales Enhacement

    5/58

    India SAP CoE, Slide 5

    Purpose

    SAP CRM Mobile Application Studio: MAS allows to customize the Mobile Applications

    This is an object-oriented, visual development tool

  • 8/10/2019 Crm Sales Enhacement

    6/58

    India SAP CoE, Slide 6

    SAP CRM Mobile Application Studio:Enhance User Interface Layer

    Enhance Business Logic Layer

    Enhance Mobile Applications

    Create new Application

    Use

  • 8/10/2019 Crm Sales Enhacement

    7/58

    India SAP CoE, Slide 7

    Challenges

    Complex Architecture.Deploying Changes to multiple Mobile Clients

  • 8/10/2019 Crm Sales Enhacement

    8/58India SAP CoE, Slide 8

    Mobile Application Enhancements

    1 PrepareMe

    2 TellMe

    3 ShowMe

    4 LetMe

    5 HelpMe

  • 8/10/2019 Crm Sales Enhacement

    9/58India SAP CoE, Slide 9

    TellMe

    MAS Framework User Interface (UI) Layer

    Business Object (BO) Layer

    UI and BO In Mobile Application

    MAS Features

  • 8/10/2019 Crm Sales Enhacement

    10/58India SAP CoE, Slide 10

    MAS FrameworkMobile Application Studio

    Mobile Client User

    User Interface Layer

    Business Logic Layer

    Business Document Layer

    UDB

  • 8/10/2019 Crm Sales Enhacement

    11/58India SAP CoE, Slide 11

    User Interface (UI) LayerThe UI provides a link between the user and the MCA.

    The User Interface Layer has following Components:

    Application

    Business Component

    Tile Sets

    Tiles

    Application

    Business

    Components

    Tile Sets

    Tiles

    1 n

    1n

    1n

    E.g. Mobile Sales

    E.g. Business Partners

    E.g. Details

  • 8/10/2019 Crm Sales Enhacement

    12/58India SAP CoE, Slide 12

    User Interface (UI) Layer Purpose

    User Interface Layer comprises of the UI Component of Mobile Application.Business Logic is separately modeled for Mobile Application

    Process Flow You model User Interface to present different sets of information (business data)

    on the mobile client application. For example, you model a tile to provide a search criteria for business partners,

    and a second tile to display the results of the search.

    Business Partner

    Search Tile

    Business Partner

    List Tile

  • 8/10/2019 Crm Sales Enhacement

    13/58India SAP CoE, Slide 13

    Business Object (BO) LayerThe Business Framework is at the heart of the 3 tier MCA.

    The BO is linked to UI using Anchors.

    The BO provides a link between the UI and the BDOC Layer.

    The BO Layer has following Components:

    Business Objects

    Business Query Combo Engine

    Business Rules

  • 8/10/2019 Crm Sales Enhacement

    14/58India SAP CoE, Slide 14

    Business Logic (BO) Layer Purpose

    Business Logic Layer comprises of the Business Logic of the Mobile Applications

    Process Flow You model BO Layer Interface to embed complex business logic and present

    different sets of information (business data) on the mobile client application.

    First you model a Business Query to fetch data

    Secondly you model a Business Object to collect the data returned by query.

    You can also model Relationships between different Business Objects.

  • 8/10/2019 Crm Sales Enhacement

    15/58India SAP CoE, Slide 15

    UI and BO In Mobile Application

    Business

    Component

    Tile Set

    Tile

    Data Fetched

    by BO Layer

    Application

  • 8/10/2019 Crm Sales Enhacement

    16/58India SAP CoE, Slide 16

    MAS Features

    Allows to set properties

    of UI and BO Objects

    Allows to browse through

    UI and BO Layer Objects

    Lists the changes done

    to UI or BO Layer.

  • 8/10/2019 Crm Sales Enhacement

    17/58India SAP CoE, Slide 17

    MAS Features

    Allows to browsethrough BDOCS

    Add your custom

    choice list in the

    newly created BO

    Downloads theBDOCS from CRM

    Middleware Server.

  • 8/10/2019 Crm Sales Enhacement

    18/58India SAP CoE, Slide 18

    Mobile Application Enhancements

    1 PrepareMe

    2 TellMe

    3 ShowMe

    4 LetMe

    5 HelpMe

  • 8/10/2019 Crm Sales Enhacement

    19/58India SAP CoE, Slide 19

    ShowMe User Interface Customization

    Business Logic Layer Customization

  • 8/10/2019 Crm Sales Enhacement

    20/58India SAP CoE, Slide 20

    User Interface Customization Example:

    To create a new business component having the functionality to search for

    business partners.

    Steps required to achieve the same: Log on to MAS and create your own change list.

    Creating a new search tile to search a business partner.

    Creating a new detail tile which will display the business partners.

    Creating a new tileset consisting of related tiles (search and detail tile for

    business partner)

    Creating a new Business Component consisting of the new tile set

    created.

    Adding the new business component created to the existing Mobile

    application.

  • 8/10/2019 Crm Sales Enhacement

    21/58India SAP CoE, Slide 21

    User Interface Customization Model a Search Tile

    Procedure In the Solution Explorer, expand the Tilesnode, click the Detail node with the secondary

    mouse button, and choose New.

    TheAdd Objectdialog box appears.

    Select the Search template, add a name for the tile, and then choose Open.

    Select the search tile,

    give a name and clickopenRight click on Search

    Group and Select

    New

  • 8/10/2019 Crm Sales Enhacement

    22/58India SAP CoE, Slide 22

    User Interface Customization Model a Search Tile

    Procedure (contd..) The name must be namespace compliant.

    In the Properties panel in the Caption field, type Business Partner.

    Drag the BP search fields from the query BSCAPGEN and drop it on the Tile.

    Search and Clear

    buttons are added

    by default.

    Save your changes.

    Drag and drop thesearch fields on the

    Tile.

  • 8/10/2019 Crm Sales Enhacement

    23/58India SAP CoE, Slide 23

    User Interface Customization

    Model a List Tile:

    Procedure: Create a list tile in the same way as we did for the search tile. This tile would display the

    business partners obtained from the search query from the above tile.

    Select the Business Partner information required to be displayed on the list tile. The

    Business Object to be used is BOCAPGEN.

    Business Partner

    Fields

    Drag and drop the BO

    fields on the Tile.

  • 8/10/2019 Crm Sales Enhacement

    24/58India SAP CoE, Slide 24

    User Interface Customization Model a Tile Set

    Procedure: In the Solution Explorer, click the Tile Sets node with the secondary mouse button, and

    choose New.

    The Add Object dialog box appears.

    Select the Standardtemplate, in the Name field, enter a name for the tile set that is

    namespace compliant, and choose Open.

    Select Standard Tile set.

    Right Click on Standard Tile

    Set group and select New.

  • 8/10/2019 Crm Sales Enhacement

    25/58India SAP CoE, Slide 25

    User Interface Customization Model a Tile Set

    Procedure (contd...): In the Solution Explorer, locate the Y_BPSEARCH tile, drag the tile and drop it on the tile

    set in the Tile Designer window.

    Locate the tile

    Y_BPSearch and add it

    to the tile set

  • 8/10/2019 Crm Sales Enhacement

    26/58India SAP CoE, Slide 26

    User Interface Customization Model a Tile Set

    Procedure (contd...): Similarly add the list tile Y_BPLIST to the tile set.

    In the Tile Set Designer window, click the secondary mouse button and choose View

    Designer.

    This is what the tile set

    looks like after adding

    all the required tiles

  • 8/10/2019 Crm Sales Enhacement

    27/58

    India SAP CoE, Slide 27

    User Interface Customization Model a Tile Set

    Procedure (contd...): In the Tile Set Designer window, click the secondary mouse button and choose ViewAnchors.

    The Anchor Designer window appears.

    Add the Data Sources BSCAPGEN and BOCAPGEN to the tile set.

    Add BSCAPGEN to tile

    set

    Add BOCAPGEN to tile

    set

  • 8/10/2019 Crm Sales Enhacement

    28/58

    India SAP CoE, Slide 28

    User Interface Customization

    The Business Query and Business

    Object of the tileset are mapped to the

    respective tiles in the Anchor Designer.

    Model a Tile Set

    Procedure (contd...): Do the Anchor Mapping in the Anchor Designer..

  • 8/10/2019 Crm Sales Enhacement

    29/58

    India SAP CoE, Slide 29

    User Interface Customization Model a Business Component

    Procedure: In the Solution Explorer, click the Business Components node with the secondary mouse

    button and choose New.

    The Add Object dialog box appears.

    Select the Business

    component.

    Right click on Business

    Components and Select

    New.

  • 8/10/2019 Crm Sales Enhacement

    30/58

    India SAP CoE, Slide 30

    User Interface Customization Model a Business Component

    Procedure (contd): Enter a name for the business component and choose Open.

    Right Click on the Business Component Designer and select Add Existing Tile Set.

    Choose from the list of tile set, the one which you created for business partner ,

    Y_BPTileset.

    Select the tile set and add

    it to the Business

    Component

    Right Click on the Business

    Component and Select Add

    Existing Tile set

  • 8/10/2019 Crm Sales Enhacement

    31/58

    India SAP CoE, Slide 31

    User Interface Customization Model a Business Component

    Procedure (contd): In the Business Component Designer window, click the secondary mouse button andchoose View Anchors.

    The Anchor Designer window appears displaying the business component in the topportion with the assigned tile sets and their anchors in the lower portion.

    Now add the data sources BSCAPGEN and BOCAPGEN to your business componentand do the anchor mapping with the respective tile sets.

    Mapping at the

    component layer and

    the tile set layer.

    Choose View Anchors

    to do Anchor

    Modeling.

  • 8/10/2019 Crm Sales Enhacement

    32/58

    India SAP CoE, Slide 32

    User Interface Customization Model a Business Component

    Procedure (contd): Before proceeding further, the data sources in the tiles, tile sets and the business

    component should have correct relavant properties to ensure the correct data flow.

    Data Source properties at the tile level.

    Set the Properties of

    the Business Object

    Set the Properties

    of the Business

    Query

  • 8/10/2019 Crm Sales Enhacement

    33/58

    India SAP CoE, Slide 33

    User Interface Customization Model a Business Component

    Procedure (contd): Properties of Data Sources at the Tile set level

    Set the Properties of

    the Business Object

    Set the Properties

    of the Business

    Query

  • 8/10/2019 Crm Sales Enhacement

    34/58

    India SAP CoE, Slide 34

    User Interface Customization Model a Business Component

    Procedure (contd): Properties of Data Sources at the business component level.

    Set Supply type as query

    result because result of the

    query will be fetched atthe component level

    Properties here would be

    same as that at the tile

    and tile set level since it

    is a business query

  • 8/10/2019 Crm Sales Enhacement

    35/58

    India SAP CoE, Slide 35

    User Interface Customization Generate and Build the Mobile Application

    This will allow you to view your customization on the mobile client

    Choose Generate

    Changes. The generation

    should give ZERO errors

    and warnings

    Choose Build Solution.

    The Build should give 3

    Succeeded and 0 Failed

    message.

  • 8/10/2019 Crm Sales Enhacement

    36/58

    India SAP CoE, Slide 36

    User Interface Customization Log on to Mobile Sales and See your Changes.

    New Business

    Component Added on

    the clientBusiness

    Partner - New

    The Business Partner

    Search Tile

    The Business

    Partner List Tile

  • 8/10/2019 Crm Sales Enhacement

    37/58

    India SAP CoE, Slide 37

    User Interface Customization Search Result on the Mobile Sales Client

    Search Result

    displayed on the list

    tile

    Click on Search to

    Search for all

    Partners

  • 8/10/2019 Crm Sales Enhacement

    38/58

    India SAP CoE, Slide 38

    Business Logic Layer Business Object

    Model a Business Object

    Business Query

    Model a Business Query

    Business Rule

    Model a Business Rule

    Combo Engine.

    Model a Combo Engine

  • 8/10/2019 Crm Sales Enhacement

    39/58

    India SAP CoE, Slide 39

    Business Object

    Enter the name of

    the Business Object

    Right Click on Business

    Objects and select New

    New BO created by

    name

    Z_BOEMPLOYEE

    Model a Business Object

    Procedure: Right Click in Solution Explorer on the Business Objects under Business Library.

  • 8/10/2019 Crm Sales Enhacement

    40/58

    India SAP CoE, Slide 40

    Add Properties to BO

    Properties hold value

    at runtime

    Model a Business Object

    Procedure (contd): Set the BDOC and create properties of the Business Objects

    Set the Read and

    Write BDOC

  • 8/10/2019 Crm Sales Enhacement

    41/58

    India SAP CoE, Slide 41

    Relationships

    Right click and

    create new

    relationship

    Model a Business Object

    Procedure (contd): Set the Relationships of the Business Object

  • 8/10/2019 Crm Sales Enhacement

    42/58

    India SAP CoE, Slide 42

    Relationships Model a Business Object

    Procedure (contd): Set the Relationships of the Business Object

  • 8/10/2019 Crm Sales Enhacement

    43/58

    India SAP CoE, Slide 43

    Methods

    Right click and

    click new

    Add a name for the

    method

    Write the code

    for the method

    Model a Business Object

    Procedure (contd): Create Methods on the Business Object

  • 8/10/2019 Crm Sales Enhacement

    44/58

    India SAP CoE, Slide 44

    Events

    Right Click on the

    event handler and add

    code

    Add the code for event

    handler

    Model a Business Object

    Procedure (contd): Create Events on the Business Object

  • 8/10/2019 Crm Sales Enhacement

    45/58

    India SAP CoE, Slide 45

    Business Query

    Right click onbusiness query

    and select new

    Right click on

    Business query

    and select new

    Model a Business Query

    Procedure Right click on Business Query in Solution Exploerer and create a simple Business

    Query

  • 8/10/2019 Crm Sales Enhacement

    46/58

    India SAP CoE, Slide 46

    Business Query Model a Business Query

    Procedure (Contd) Enter the BDoc Name and Segment which will provide the required data to your

    query

    Enter the BDoc

    name and

    Segment Name

    relevant to your

    data fields

  • 8/10/2019 Crm Sales Enhacement

    47/58

    India SAP CoE, Slide 47

    Business Rule

    Right click

    on Business

    rule andclick new

    Right click on

    Business Rule and

    click new

    Add your

    function code

    Model a Business Rule

    Procedure Create a Business Rule from Solution

    Explorer of the type Object Rule and

    add your code therein.

  • 8/10/2019 Crm Sales Enhacement

    48/58

    India SAP CoE, Slide 48

    Using Business Rules

    Right click on the

    business object

    property and click

    View associated

    Rules

    Associate the

    property rule to

    Z_Email

    Model a Business Rule Procedure (Contd)

    Assign the required propery to the newly created business rule and

    check for the same in your business object

  • 8/10/2019 Crm Sales Enhacement

    49/58

    India SAP CoE, Slide 49

    Combo Engine

    Right click on

    Combo Engine

    and click new

    Select the

    Simple type of

    Combo Engine

    Model a Combo Engine

    Procedure Create a new Combo engine from the Solution Explorer and let it be of the type Simple.

  • 8/10/2019 Crm Sales Enhacement

    50/58

    India SAP CoE, Slide 50

    Hierarchical Choice List Model a Combo Engine

    Procedure (Contd) For Hierarchical Choice List, select the appropriate filter parameters for your

    hierarchy.

  • 8/10/2019 Crm Sales Enhacement

    51/58

    India SAP CoE, Slide 51

    Choice List in MSY You can modify the Choice Lists on the client using the Mobile

    System Maintanance tool

  • 8/10/2019 Crm Sales Enhacement

    52/58

    India SAP CoE, Slide 52

    Regular Choice List For Regular Choice List, specify the appropriate filter

    parameters, same as the one in Hierarchial.

  • 8/10/2019 Crm Sales Enhacement

    53/58

    India SAP CoE, Slide 53

    Associating Choice List to BO

    Add your

    custom choice

    list in the

    newly created

    BO

    Model Business Object

    Procedure (Contd) Add your custom Choice List in the newly created Business Object so as to use it for

    filtering purpose

  • 8/10/2019 Crm Sales Enhacement

    54/58

    India SAP CoE, Slide 54

    Releasing The Change List

    Create

    Transport

    Order on CRM

    to link this

    Change List

    Click on

    Release to

    Transport the

    Changes

    Enter the

    Transport

    Order Name

    Right Click on

    the Change Listand Select

    Release

  • 8/10/2019 Crm Sales Enhacement

    55/58

    India SAP CoE, Slide 55

    Mobile Application Enhancements

    1 PrepareMe

    2 TellMe

    3 ShowMe

    4 LetMe

    5 HelpMe

  • 8/10/2019 Crm Sales Enhacement

    56/58

    India SAP CoE, Slide 56

    LetMe Create a new Business Component similar to

    Activity Business Component with Search and

    Details Tile Sets

    Create a new Business Object and BusinessQuery

  • 8/10/2019 Crm Sales Enhacement

    57/58

    India SAP CoE, Slide 57

    Mobile Application Enhancements

    1 PrepareMe

    2 TellMe

    3 ShowMe

    4 LetMe

    5 HelpMe

  • 8/10/2019 Crm Sales Enhacement

    58/58


Recommended