Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Open Acrobat Reader with PDF table content

Hi there,

i have an function module which returns a PDF as "binary content", see bolded export parameter..

FUNCTION ptrm_web_form_pdf_get.

*"----------------------------------------------------------------------

*"*"Lokale Schnittstelle:

*"  IMPORTING

*"     VALUE(I_EMPLOYEENUMBER) LIKE  BAPIEMPL-PERNR

*"     VALUE(I_TRIPNUMBER) LIKE  BAPITRIP-TRIPNO

*"     VALUE(I_PERIODNUMBER) LIKE  BAPITRVXXX-PERIOD DEFAULT '000'

*"     VALUE(IV_VERSION_TRIP_COMPONENT) TYPE  PTRV_TRIP_COMPONENT

*"       OPTIONAL

*"     VALUE(IV_VERSION_NUMBER) TYPE  PTRV_VERSION_NUMBER OPTIONAL

*"     VALUE(I_TRIP_COMPONENT) TYPE  PLAN_REQUEST DEFAULT SPACE

*"     VALUE(I_TRIP_DATA_SOURCE) TYPE  PTRV_WEB_SOURCE DEFAULT 'DB'

*"     VALUE(I_DISPLAY_FORM) TYPE  XFELD DEFAULT SPACE

*"     VALUE(I_LANGUAGE) LIKE  BAPITRVXXX-LANGU DEFAULT SY-LANGU

*"  EXPORTING

*"     VALUE(E_PDF_FORM) TYPE  FPCONTENT

*"  TABLES

*"      ET_RETURN TYPE  BAPIRETTAB

*"----------------------------------------------------------------------

Now to my question: is there a function module or method in some class where i can open acrobat reader and display the PDF inside acrobat reader ? (Like opening an PDF in the GOS (generic object services))

br Martin

Former Member
Not what you were looking for? View more on this topic or Ask a question