Skip to Content
0
Former Member
Apr 19, 2010 at 12:02 PM

display SMART form as PDF in WD ABAP

31 Views

Hi ,

To display smart form as PDF , I am following the SDN article :

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f0de1eb8-0b98-2910-7996-8a3c2fcf6785?quicklink=index&overridelayout=true

In my component , I have created the view VIEW_PDF, for this . I have created Adobe interactive UI element, and bind the property source to the attribute (XSTRING) where I will get PDF (after OTF conversion).

First of all I am using the FM SSF_FUNCTION_MODULE_NAME and usingf the import parameter fm_name .

Then using this FM

CALL FUNCTION lv_fm_name
  EXPORTING

   OUTPUT_OPTIONS             = lwa_output_options
    GW_VENREQDAT               = lwa_venreqdat
    GW_REQHEADER               = lwa_venreqhdr
 IMPORTING

   JOB_OUTPUT_INFO            = lv_ssf_output.

from smart form ZVM_SFM_SUMMARY,I want to get the data in OTF format using the importing parameter JOB_OUTPUT_INFO of the above FM.

But I am not able to retrieve the data .Please direct me , where am I missing?

For converting it to PDF , I am using the FM CONVERT_OTF .

regards,

amit