on 10-01-2008 11:28 AM
Hello,
we are trying to call the bsp page like opportunities details edit in edit mode with a parameter that discriebes the opportunity. AT the moment we can the page but don't know how to tell the system what opportunity should be displayed and in edit mode or not . Any hints ? or documentations ?
thanks
Juergen
Hi, the central class which is used for external navigation to a component, is CL_CRM_UI_EXT_NAV_SERVICE.
In the URL of the Web Client, you can specify 4 different parameters:
1. Object type : crm-object-type
2. Object action: crm-object-action (A for search, B for Display, C for Edit and D for Create) -> see details in "Define Navigation Profile" and in Define generic OP mapping.
3. Object value (optional) : crm-object-value
4. Object key name (optional): crm-object-keyname
If you use option 3 and 4, then you also need to define a mapper class in customizing to create a BOL entity based on the key name and value. See for example class CL_CRM_UIU_BT_OBJ_MAPPER and method IF_CRM_UI_OBJ_MAPPER~GET_ENTITY_FROM_UI_OBJECT. This is done in "Define Object Mapping". Fro example, for BuilHeader BOL object which is linked to Object type BP_ACCOUNT, you could use the class CL_CRM_BUPA_UIU_OBJ_MAPPER as an example.
Example of an URL:
Hope this helps,
Xavier
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
7 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.