Skip to Content
Nov 12, 2009 at 07:29 PM

Smartform - PDF


I tried the following,

How to display a smarform in PDF via Webdynpro

and it is complaining about syntax.

type element_zinput is unknown.

Appreciate your help.

METHOD displaypdf .

  DATA : l_x(1) VALUE 'X'.
  DATA: lv_text               TYPE char3,
        lv_syucomm            TYPE char1,
        ls_pdf                TYPE xstring,
        lv_fm_name            TYPE rs38l_fnam,
        lv_control_parameters TYPE ssfctrlop,
        lv_output_options     TYPE ssfcompop,
        lv_ssf_output         TYPE ssfcrescl,
        lt_otfdata            TYPE TABLE OF itcoo.

  node_input1 TYPE REF TO if_wd_context_node,
  elem_input1 TYPE REF TO if_wd_context_element,
  stru_input1 TYPE ig_componentcontroller=>element_zinput.