Skip to Content
0
Former Member
Jun 09, 2010 at 08:06 AM

Create url for displaying PDF using 'WDY_CONSTRUCT_URL'

249 Views

From my webdynpro i want to display a pdf file, in de FM a url is constructed, does anybody know where i can change the fact a url is http or https.

CALL FUNCTION 'WDY_CONSTRUCT_URL'

EXPORTING

application = 'ZHF_PDF'

PARAMETERS = lt_params

IMPORTING

out_url = lv_url

EXCEPTIONS

invalid_application = 1

OTHERS = 2.

IF sy-subrc <> 0.

  • MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO

  • WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.

ENDIF.