Purpose Embed a PDF into the SAP GUI window via a pushbutton |
Solution
if V[va01.showPDF]Pushbutton (toolbar) "@5E@Hide Instructions" process="display_pdf.txt" using showPDF = "" Control (0,67) (32,160) progID="file://va01.instructions.pdf" name="mypdf" else Pushbutton (toolbar) "@5E@Instructions" process="display_pdf.txt"using showPDF = "X" endif InputScript "display_pdf.txt" // X= Show PDF, else hide it Return
Remarks You may specify an absolute path for the PDF, a web URL, a file from
SAP Web or Mime Repository, or a relative path which then refers to the
script directory. |
Components |