Skip to Content

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 

http://uscicc6.wdf.sap.corp:50010/sap/crm_logon/default.htm?sap-client=300&sap-syscmd=nocookie&crm-object-type=BP_ACCOUNT&crm-object-action=B&crm-object-value=112&crm-object-keyname=PARTNER

 

 

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)

image

image

Step 2 :  BOL object name of the object type

  image

image 

Step 3 : https://weblogs.sdn.sap.com/cs/blank/edit/wlg/   BOL object name and take the class name

image

To report this post you need to login first.

3 Comments

You must be Logged on to comment or reply to a post.

  1. Pam Crissman
    I tried to follow your instructions as I have a need to integrate a CRM view from the portal.  I’m not having much luck, and noticed my IMG entries look a bit different than your screenshots.  Are your instructions relevant for CRM 2007?
    (0) 
  2. RADHAKRISHNA PAI
    Hi Poonam,
    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
    (0) 

Leave a Reply