Skip to Content

dynamic menu rendering with nwbc for html

Hi altogether,

I have a requirement to hide/show links to WDA-applications in NWBC for HTML, based on one personal information of the logged in user. We are calling the NWBC as cockpit and not throught the standard URL (/sap/bc/nwbc).

I tried the following BAdIs:

  • HRXSS_SERVICE_FILTER: Is called at the moment when I open the WDA-application and that is too late.
  • HRESS_MENU: is only called with a role assignment (based on post BAdI BADI_NWBC_RUNTIME_EXT_ROLE) --> Does not help here, because we don't have the infomation of the role when starting the NWBC as cockpit. I tried it with my own implementation. It only works when calling NWBC the standard way.
  • NWBC_RUNTIME_EXTENSION: Is never called.

Are there any alternatives (besides different roles)? Do I miss something?

Thanks in advance and best regards

Christian

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Dec 04, 2017 at 01:38 PM

    Hi Christian,

    there were some problems with the BAdIs not being called in the past - which should have been resolved by now..

    Can you please check whether SAP note 2481347 resolves your problem?

    Best regards,

    Mona

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Christian,

      thanks for sharing your solution.

      Also, as far as I know, implementing the note resolves the problem altogether, I'd give it a try ;)

      Best regards,
      Mona