Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

WDDISABLEUSERPERSONALIZATION not working with popup window

We have an application where we call standard SAP application 'HAP_MAIN_DOCUMENT' from our custom code.

We do not want our users to do any personalization therefore we are adding 'WDDISABLEUSERPERSONALIZATION' to our URL.

This was working earlier however it stopped working after last round of support packs.

Any ideas how can we resolve this issue?

Thanks in advance.

Nimesh

.
.
.
  CLEAR ls_parameters.
  ls_parameters-name = 'MODE'.
  ls_parameters-value = 'X'.
  APPEND ls_parameters TO lt_parameters.

  CLEAR ls_parameters.
  ls_parameters-name = 'WDCONFIGURATIONID'.
  ls_parameters-value = 'HAP_AC_MAIN_DOC'.
  APPEND ls_parameters TO lt_parameters.

  CLEAR ls_parameters.
  ls_parameters-name = 'WDDISABLEUSERPERSONALIZATION'.
  ls_parameters-value = 'X'.
  APPEND ls_parameters TO lt_parameters.
.
.
.

* Generate the URL to be called.
  CALL METHOD cl_wd_utilities=>construct_wd_url
    EXPORTING
      application_name = 'HAP_MAIN_DOCUMENT'
      in_parameters    = lt_parameters
    IMPORTING
      out_local_url    = l_url.

  lo_window = client_component->create_external_window( url = l_url
                                                        modal = abap_false
                                                        has_menubar = abap_false
                                                        is_resizable = abap_true
                                                        has_scrollbars = abap_true
                                                        has_statusbar = abap_false
                                                        has_toolbar = abap_false
                                                        has_location = abap_false ).
  lo_window->open( ).

Former Member
Not what you were looking for? View more on this topic or Ask a question