Link to Content's target Space :
SAP CRM WEB UI version 6.0 or more
This paper tells that a url can be sent in an email, to the users and when the user clicks the email, the concerned document is opened in WEB ui.
I have shown the case of a Business activity.
Company: IBM Pvt Ltd
Created on: 3.12.2010
I have 6 years of experience in SAP CRM. My key areas are BSP, Web ui and CRM technical.
Table of Contents
Before doing this development, we need a couple of things.
First of all we need to maintain the following entry in the generic Op mapping for our navigation profile.
If this entry already exists for the navigation profile, then there is no need to maintain it again.
Secondly we need the guid of the document which we are going to show in web ui.
We can get the guid from the table crmd_orderadm_h. I have taken the transaction type as '0010'
Before writing the code we need to build the url.
This url is shown below.http://xxxxxxxxxx.xx.xxx.com:8002/sap/bc/bsp/sap/crm_ui_start/default.htm?sap-client=800&sap-language=EN&sap-domainRelax=min&crm-object-type=BT126_APPT&crm-object-action=B&crm-object-value=4CF536DA49750074E1008000097E28D5 .
The first part of the url (shown below), we can get from the (browser) login screen of web ui.
In the second part, we will cover the query string parameters.
sap-client = 800. In my case the client is 800. Please provide your client.
sap-laguage=EN. Please provide your login language.
crm-object-type=BT126_APPT . This is the object type from generic op mapping.
crm-object-action=B . value B is for display.
crm-object-value. In this parameter we are passing the guid of the document.
Once our url is ready, we can write a simple code for sending the email. I have hardcoded the url in my code.
Once you execute the report you can see the email in SOST.
Once you copy the url and paste it in browser, it will ask redirect you to the web ui login screen.
On entering the username and password, it will directly take you the activity display screen.
Shown below is the code written for sending the email.