Skip to Content

We recently upgraded our SRM from 5.5 to 7 and with this change we were introduced with the SAP CORBU theme.

Background:

The new SRM 7 is WDA driven with the FPM architecture but the MDM is still a java based application that is hosted in our case on our SAP Portal 7.4,

Altought the portal 7.4 comes with the sap_corbu it is not supported as the main theme , and specific to our case we already had a custom theme to match our corporate design language.

The Problem:

1) How to match the MDM look & feel to SRM.

SRM (SAP_CORBU) :

catalog sap_corbu.png

MDM (SAP Tradeshow Plus):

not designed.png

The Solution:

As a portal developer I’m well familiar with the sap-css url parameter but the problem was how to incorporate this parameter with in the standard Catalog flow,

after a hour of debugging i found this BADI:

BBP_CAT_CALL_ENRICH

This badi is called every time the navigation to MDM occured, i’ve added this code:

under CAT_CALL_ENRICH method

    DATA: ls_post_values LIKE LINE OF ct_post_values,

              lv_portal_url      TYPE string.

     ” You can also reffer your abap stack theme if no portal is present.

     lv_portal_url = ‘http://yourPortalAddress:PORT‘.

     ls_post_values-fieldname = ‘sap-cssurl’.

    CONCATENATE lv_portal_url ‘/com.sap.portal.design.urdesigndata/themes/portal/sap_corbu/r/ls/ls_sf3.css?v=10.30.3.238559.0’ INTO ls_post_values-fieldcont.

    APPEND ls_post_values TO ct_post_values.

END Result:

/wp-content/uploads/2016/04/designed_930161.png

To report this post you need to login first.

1 Comment

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

  1. Thruna Shanmuga

    Udi,

    Thank you so much.

    I followed the instructions which helped to render the MDM catalog page in Corbu theme.

    But it has some other issues like, buttons are aligned in the right side, check boxes in the select column is missing.

    Did you apply any SAP Note to resolve this?

     

    Thanks

    Thruna

    (0) 

Leave a Reply