06-28-2016 1:41 PM
hi there,
i have a Z-program which displays an ALV (OO) grid. then i have a button to display an PDF in an internet explorer window for each row in ALV.
this is working perfect in "normal" SAP GUI: i select an row, push the button "Anzeigen/Drucken PDF" ("display PDF" in english language) and seperate window is opened and displaying the PDF:
now i need to implement this report in nwbc via SAP GUI HTML. when starting this report it looks like this: i have the alv grid displayed:
BUT: when i push the "Anzeigen/Drucken PDF" i get the following: the PDF is displayed in seperate browser window correct ! BUT the ALV grid disappears and there is only a white page displayed. i have no idea why this happens in sap gui html.
here is part of the coding which opens the window for displaying the PDF. i have played around with the html controller and the container. But everythime it is working for "normal" SAP GUI, but NOT in SAP GUI HTML.
any ideas ?
br Martin
06-29-2016 8:00 AM
Hi,
maybe this OSS Note can help you:
314568 - SAP GUI for HTML functionality / Limitations / Sp. Behaviour
This thread seems interesting too:
Preview of PDF not displayed in SAP GUI but in ... | SCN
Best regards,
Pablo
06-29-2016 8:30 AM
Hi Pablo,
thank you. i already know this note for years as i do many things with sap gui html. i see NO restriction or limitation in this note which has to do with my issue.
about the other thread: this is something complete different and also has nothing to do with my problem
br martin
06-29-2016 9:04 AM
Hi,
have you tried using a statement like?:
CALL METHOD cl_gui_cfw=>flush
EXCEPTIONS
OTHERS = 1.
or maybe something like this wiki:
Best regards,
Pablo