cancel
Showing results for 
Search instead for 
Did you mean: 

Display Xstring as PDF without open/save-Popup

01-26-2022 11:35 AM
JanaSharb Explorer
1713 views 4 comments
0 Likes
SAP Managed Tags
Subscribe

Hello Experts,

I am trying to open the PDF without the pop-up which asking to open or save the file.

What I have done:

 
call Screen 100.
MODULE status_0100 OUTPUT.
lo_html->load_data(
    exporting
      type         = `application`
      subtype      = `pdf`
    IMPORTING
      assigned_url         = lv_url
    CHANGING
      data_table           = lt_data
    EXCEPTIONS
      dp_invalid_parameter = 1
      dp_error_general     = 2
      cntl_error           = 3
      OTHERS               = 4 ).
  lo_html->show_url( url = lv_url  in_place = 'X' ).
ENDMODULE.

Is there any other way to achieve this ?

your help will be appreciated,

0 Likes

Accepted Solutions (0)

Answers (0)