cancel
Showing results for 
Search instead for 
Did you mean: 

CORBU doesn't works with Web Dynpro

mariano_sabiche
Active Participant
0 Kudos

Hello Guru's;

I'm facing a problem with Method cl_wd_utilities=>construct_wd_url.

We are using Netweaver 4.0 with CORBU UI, but when we want to see the same UI on SAP Business Workflow using Method construct_wd_url our UI it's not working with CORBU UI.

  " Completo parametros

  REFRESH lt_parameters.

  macro_fill_parameter 'sap-client'      sy-mandt.

  macro_fill_parameter 'sap-user'        sy-uname.

  macro_fill_parameter 'sap-language'    sy-langu.

  macro_fill_parameter 'APPL_TYPE'       'RPM'.

  macro_fill_parameter 'sap-wd-configId' 'RPM_DECISION_POINTS_DETAILS_CIF'.

  macro_fill_parameter 'PORTFOLIO_GUID'  ls_item-portfolio_guid.

  macro_fill_parameter 'PARENT_TYPE'     'RIH'.

  macro_fill_parameter 'PARENT_GUID'     ls_item-guid.

  macro_fill_parameter 'OBJECT_TYPE'     'EPO'.

  macro_fill_parameter 'OBJECT_GUID'     ls_decision-guid.

  macro_fill_parameter 'APPL_MODE'       '2'.

  macro_fill_parameter 'EDIT_MODE'       '2'.

  macro_fill_parameter 'PORTAL_ROLE'     'RPM_PORT'.

  " Get URL

  CALL METHOD cl_wd_utilities=>construct_wd_url

    EXPORTING

      application_name = 'RPM_DECISION_POINTS_DETAILS'

      in_parameters    = lt_parameters

    IMPORTING

      out_absolute_url = lv_url.

DATA: lo_empty_co TYPE REF TO cl_gui_container.           "#EC NEEDED

  gv_char_url = pv_url.

  IF pv_inline = abap_false.

    TRY.

        CREATE OBJECT go_html_viewer

          EXPORTING

            parent = lo_empty_co.

        CALL METHOD go_html_viewer->('DETACH_URL_IN_BROWSER')

          EXPORTING

            url = gv_char_url.

        cl_gui_cfw=>flush( ).

      CATCH cx_root.

        CALL FUNCTION 'CALL_BROWSER'

          EXPORTING

            url                    = gv_char_url

          EXCEPTIONS

            frontend_not_supported = 1

            frontend_error         = 2

            prog_not_found         = 3

            no_batch               = 4

            unspecified_error      = 5.

        IF sy-subrc NE 0.

          pv_rc  = 4.

          pv_msg = 'Error al llamar HTML browser'(007).

        ENDIF.

    ENDTRY.

  ELSE.

    gv_title = pv_title.

    CALL SCREEN 200.

  ENDIF.

What parameter have to use to see the CORBU UI?

Best regards,

Mariano

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Add the parameter sap-theme=sap_corbu.

Answers (0)