Call a specific component and object from outside CRM using URL
This Example will specify how to access a Business partner details in CRM web UI from sapgui by passing the URL to FM ‘CALL_BROWSER’.
Specify four url parameters which have to be added to crm_ui_frame.
- URL Parameter for Object Type: crm-object-type
As defined in customizing, step 1 (see below)
- URL Parameter for Object Action: crm-object-action
As defined in customizing step 1 (see below)
- URL Parameter for Object Value (optional): crm-object-value
Actual value of the field it will be searched on (e.g. Business Partner ID 112)
- URL Parameter for Object Key Name(optional.): crm-object-keyname
Name of the attribute the value is used for
If value and keyname are used, there must be a mapper class defined in customizing for that object type. Check customizing in step 2 for the “BOL object name” of the object type Then check view CRMV_UI_OBJ_MAPS (Customizing see step 3) or view CRMV_UI_OBJ_MAP (customer) for that BOL object name and take the class name.
This class must have an implementation of IF_CRM_UI_OBJ_MAPPER~GET_ENTITY_FROM_UI_OBJECT that is able to create a bol entity based on keyname and value
Here a sample URL that will display business partner 112 in CC6/300
You can pass this URL to FM ‘CALL_BROWSER’.
Step 1 : https://weblogs.sdn.sap.com/cs/blank/edit/wlg/ ULR Parameter for Object Type and -Action
(Transaction CRMC_UI_NBLINKS)
great that you Blog about CRM Topics here in SDN. Don't forget to add your Blog to the Forum Topic: ;\ New Weblogs.
Regards
Gregor
Very informative blog. We are trying to expose the CRM 7.0 Appointment Creation component as a standalone component i.e without sidebar navigation as a HTML in Visual Composer. The application is designed to create an appointment in the context of a Visual composer application that displays lead/opportunities and be able to pass parameters such as account and employee responsible to the BSP application. Could you provide some input if this is something that can be done and provide some pointers ? Thanks