Registration

Dear SAP Community Member,
In order to fully benefit from what the SAP Community has to offer, please register at:
http://scn.sap.com
Thank you,
The SAP Community team.
Skip to end of metadata
Go to start of metadata

Purpose

This page explains how to launch the Web Client UI with a particular object via a URL directly. For example, it needs to display one particular account in the WebClient UI with the role SALESPRO.

Get the object type

Display an account in the CRM WebUI, click the Edit button in the Account Details assignment block, put the cursor in an editable field, press button F2, then the Technical Data popup appears. Under the Design Layer part, you will see the Object Type.

Define the Generic OP Mapping for the Object Type

Open the navigation bar profile which is assigned to the business role and select "Define Generic Outbound Plug Mappings", add an entry for the particular object type and action. It has to point to a target ID or to a logical link ID.
The path is:  SPRO -> Customer Relationship Management -> UI Framework -> Technical Role Definition -> Define Navigation Bar Profile

Define the Object Type

The object type must be defined in either view BSPDLCVC_OBJ_TYP (Customer) or BSPDLCV_OBJ_TYPE (SAP). The customer's definition has a higher priority than SAP's definition. The object type must be assigned to a BOL object name in this definition.

Define the mapping class for the BOL object name

The BOL object name must be defined in either view CRMV_UI_OBJ_MAP (Customer) or CRMV_UI_OBJ_MAPS (SAP) and must be assigned to a mapping class.

URL Composition

Compose the URL as following: protocol://host:port/sap/bc/bsp/sap/crm_ui_start/default.htm?crm-object-type=xxxx&crm-object-action=B&crm-object-value=xxxx&crm-object-keyname=xxxx

Type the URL http://host:8000/sap/bc/bsp/sap/crm_ui_start/default.htm?crm-object-type=BP_ACCOUNT&crm-object-action=B&crm-object-value=6000001070&crm-object-keyname=PARTNER&saprole=SALESPRO in the browser, then the account 6000001070 overview page is displayed directly.

Direct Access the Search Page

It is possible to launch the search page directly via a URL. With the following URL, the account search screen will be launched directly:

http://host:port/sap/bc/bsp/sap/crm_ui_start/default.htm?crm-object-type=BP_ACCOUNT&crm-object-action=A

It is also possible to launch a saved search via a URL directly. This feature is introduced in SAP Note 2211185 - Direct URL for Saved Search. The URL looks like:

http://host:port/sap/bc/bsp/sap/crm_ui_start/default.htm?saprole=SALESPRO&crm-object-keyname=_WCF_SSLID&crm-object-type=BP_ACCOUNT&crm-object-action=A&crm-object-value=XXX   (XXX is the GUID of the saved search).

If change the "crm-object-action=F" for the saved search URL, it will get the search results directly:

http://host:port/sap/bc/bsp/sap/crm_ui_start/default.htm?saprole=SALESPRO&crm-object-keyname=_WCF_SSLID&crm-object-type=BP_ACCOUNT&crm-object-action=F&crm-object-value=XXX

Related Content

Related Documents

Related SAP Notes/KBAs


__________________________________________________________________________________________________________

Use this structure to help you compose your contributions for WIKI and at the same time will ensure spelling and grammar.

  • No labels