on 02-05-2013 3:55 AM
Hi Chris,
You can modify the method GET_PROFILE_DESCRIPTIONS of class CL_CRM_UI_PROFILE_DETERM , you should write the code in enhancement spot for the method after the standard code runs.
Regards,
Ravi Vyas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
We do not (yet) use the SAP Organization Model.
Would have been great to see a neat solution for this.
My solution which I withdrawn again in the meanwhile was:
1. I copied CRM_UI_START to ZCRM_UI_START and was able to edit the selectBusinessRole.htm
2. Then i redirected SICF CRM_UI_START to link
http://host.etc.../sap/bc/bsp/sap/zcrm_ui_start/
The problem then was, that those colleagues who added the standard-link to their favorites already would have bypassed the redirection which is only working if you jump via tcode crm_ui into the web ui.
So - as mentioned - I had to withdrawn my changes again.
I could modify the whole standard-class just because of that .htm but I want to avoid that for this minor benefit just for optical reasons.
Update:
I edited the standard now since it is the easiest way which shouldn't be a big deal in that place (no function involved there).
I changed in selectBusinessRole.htm
text="<%= <profile_nested>-profile_name %> - <%= <profile_nested>-profile_descr %>" />
into
text="<%= <profile_nested>-profile_descr %>" />
and because I still wanted to see the technical name if needed I changed
<thtmlb:textView tooltip="<%= profile_detail %>" text="<%= <profile_nested>-profile_descr %>" />
into
<thtmlb:textView tooltip="<%= <profile_nested>-profile_name %>" text="<%= <profile_nested>-profile_descr %>" />
whereby you see it in the tooltip now.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Chris,
What you are looking for can be achieved by config as well if you assign the Business Role to the position where user is assigned in Organizational Model.
Rgds,
Shobhit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello, Chris.
If it's still relevant. The page you're referencing to is in BSP Application CRM_UI_START page fragment selectBusinessRole.htm.
There is a code which composes links:
if <profile_nested>-profile_source eq cl_crm_ui_profile_determ=>profile_source_param.
concatenate <profile_nested>-profile_name '-' <profile_nested>-profile_descr
into profile_detail separated by space.
This page fragment is embedded in page default.htm of the same BSP Application:
<%-- selection of business role --%>
<% if profile_determination->has_multiple_profiles( ) EQ abap_true. %>
<div id="crmUIHostBusinessRoles" class="crmUIHostBusinessRoles">
<thtmlb:box name="uif">
<% IF cl_wcf_switch_check=>is_wcf_ehp1_switch_active( ) EQ abap_false. %>
<div class="th-uif-sap-logo"></div>
<% ELSEIF lv_filename IS NOT INITIAL. %>
<img class="th-uif-custom-logo" src="<%= lv_filename %>" alt="" />
<% ELSE. %>
<div class="th-uif-sapnew-logo" ></div>
<% ENDIF. %>
<%@ include file = "selectBusinessRole.htm" %>
</thtmlb:box>
</div>
So you should modify the page fragment or the page itself. I think the only way will be a modification here.
Hope this will help you.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
8 | |
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.