Fillable PDF from Smartforms

Has anyone converted a Smartform to a PDF document with certain fields that are fillable by the user before he prints out the form?  We are on version 4.6C of SAP.
I do not mean that after he fills them they are communicated back to SAP.  I am just speaking of letting the user key data into certain fields before printing.
Thanks
Janice Ishee

Hi Janice
Vani's correct. Smart Forms doesn't let you add information to the form once it's output. The complete form is passed to the spool.
To use truly interactive forms, play around with Web AS 6.40 and the integrated Adobe technology. You can find a lot of background information here in SDN: https://www.sdn.sap.com/sdn/developerareas/was.sdn?page=AdobeForms.htm.
Regards,
Markus
Markus Meisl
SAP NetWeaver Product Management

Similar Messages

  • Email PDF from SmartForms but it is editable

    In SD, we are emailing the invoice in PDF from SmartForm. The problem we are facing is that PDF is editable and we would like to protect PDF from editting for security reason. is it possible to control attribute of PDF file from SAP at the point of sending?
    Thanks in advane,
    Masa

    hi
    good
    you can protect the pdf file using the authorization object, go through this link i hope this ll help you to solve your problem.
    http://www.jhu.edu/hopkinsone/Secure_Private/Library/Blueprint/CrossFunc_Section6.pdf
    thanks
    mrutyun^

  • How to create a fillable PDF from InDesign?

    Hi everybody!
    Hope there's no thread about that... by the way. I have to create a fillable PDF from a InDesign file.
    I try to explain: with ID I'd create a file with text form, tables, images with text forms on them etc.... Now I have to export that in PDF and I want to transform the forms (sorry for the bad english, I'm italian) in fillable ones in PDF. How can I do it?
    Thanks to everyone!
    Dario

    Export the ID file as an Interactive PDF.
    Open the PDF form in Acrobat XI  and then:
    File > Save As Other > Reader Extended PDF > Enable More Tools (includes for fill-in & save). . . Your users will be able to fill in the form and save it (assuming they have the later versions of Acrobat Reader).
    Make sure you keep a copy of your original PDF with a different file name as once you've created a Reader Enabled PDF Form you can't change it.
    Derek

  • Random characters added in Excel export from Adobe Tracker (via fillable PDF from FormsCentral)

    Exported fillable PDF from FormsCentral and distributed it via Adobe Pro X.  Received two responses and from the Tracker, we exported to Excel.  In the Excel columns, there are seemingly random characters and the word "edit" which are not in our question.  For example, "_10_8_House_rep_edit;_6S7OYQDcL9nQcNR6j761WQ
    Thanks!

    1. To edit the PDF follow these steps : http://forums.adobe.com/docs/DOC-3661
    2. The fillers don't need to have a subscription (paid or free) to fill up the form. They can fill out the PDF and save it to their machine and then submit. Only the author of the form needs to have a paid FormsCentral subscription to collect data via PDF forms.

  • Loading fillable PDF from IE endless loop

    Hello,
         I am having an issue. I am trying to load a fillable PDF from Internet Explorer but every time I hit the load button my computer goes into and endless loop with downloading into a temp folder then back to IE and then again to downloading to the temp folder. This is not with just 1 file but multiple.

    Sorry, I don't understand what you mean by "load button"; do you mean Save?

  • How to automatically create fillable PDFs from XML

    We are looking for a way to create fillable PDFs that users can enter data into and save (so the PDF needs Reader Rights applied) and we want to be able to automatically create these PDFs from XML files. We are able to do what we want in a manual fashion using Acrobat Pro v8 but we need a way to automate this due to the volume of XML files that we will need to convert.
    Is there any way that this can be scripted from a command line interface with Acrobat.. like:
    Acrobat.exe –input FileName.xml –output FileName.pdf –applyReaderRights true
    If there is no command line options for this is there any way that this could be coded using .NET or any other programming language?

    You cannot automate applying usage rights with Acrobat. For that you'd need to use Adobe's LiveCycle Reader Extensions.
    How exactly are you currently converting XML into fillable forms? Are you using an XDP to somehow convert to an XFA-based PDF?

  • Sharing a "Flattened" copy of a fillable PDF from a mobile device - Reader App

    Ever since the latest iOS update, our fillable reader extended PDF's are not working properly in the Reader App. I created fillable forms and save as a "reader extended" file. When we open the file on the Reader App, we can fill in the form and sign, but when we go to email the form it attaches the blank form to an email. It does not offer the "Share Original" or "Flatten copy" option before going into the email. We use this feature for mobile devices to sign contracts on site vs. going on a laptop. If I open a normal PDF file, a non fillable form, I can email the original or flattended copy from the reader app but this is not needed on a normal PDF. How can I share the flattened copy of a fillable form from the reader app on the iPhone/iPAD? Is this issue going to be resolved or are there settings I need to change in the PDF file before saving it for reader extended?

    Thank you for reporting the issues with Reader Extended PDFs.
      "when we go to email the form it attaches the blank form to an email. It does not offer the "Share Original" or "Flatten copy" option before going into the email."
    As you mentioned, Reader for iOS version 11.2 does not offer the E-mail Document dialog with the two options for Reader Extended PDFs.  We will investigate if this is a new defect that was accidentally introduced in Reader 11.2.
    Regarding the other issue, please note that a PDF form that is sent as "Original" does not become a blank form.
    The problem is that many non-Adobe PDF viewers, such as Apple Mail (the default email app on iOS) preview feature, Apple iBooks, Apple Preview for Mac OS X (desktop), do not render form fields or comments correctly.
    A workaround is to make sure to open an "Original" (non-flatten) PDF document in Adobe Reader.  For example, an email recipient (who views your "Original" PDF form in Apple Mail on iOS) can long press (press and hold) the preview of the PDF form and select Open in Adobe Reader.
    We will get back to you on the issue with the E-mail Document dialog soon.

  • Fillable PDF from RTF template

    Morning all..
    So, I have created a report layout using a RTF file. Then in Application Express, Under Shared Components -> Report Layouts / Queries I have created a report that is filling the RTF file just fine and outputting to PDF. My question would be, once it creates the PDF, Is their a way to have fields in the PDF that the end user can fill in?
    Resonse for this would be for Digital Signatures and other generic fields that are not stored in the database. I know I can creat a form to fill in most of it, but it would be very helpful to be able to fill in the pdf and save after it is generated from the report queries.

    It can be done via a 3rd party product, either using Adobe's pdf product (not reader but the builder utility) or from the list provided by this Google link:
    http://www.google.com/search?client=firefox-a&rls=org.mozilla%3Aen-US%3Aofficial&channel=s&hl=en&q=fillable+pdf&btnG=Google+Search
    It would be external to your application though..
    Thank you,
    Tony Miller
    Webster, TX

  • Error while sending by email a PDF from SMARTFORM

    Hi all.
    Wer'e upgrading to EP4 and I can send smartform PDF by email but get an error message while trying to open it.
    *FORM convert_otf_2_pdf.
      call function 'CONVERT_OTF_2_PDF'
        importing
          bin_filesize           = lv_len_in  
        tables
          otf                    = gs_return-otfdata[]
          doctab_archive         = it_docs[]
          lines                  = lt_tline[]
        exceptions
          err_conv_not_possible  = 1
          err_otf_mc_noendmarker = 2
          others                 = 3.
      if sy-subrc ne 0.
         MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      endif.
    *then to send it as Email attachemnt we need to format the PDF data
      call function 'SX_TABLE_LINE_WIDTH_CHANGE'
        exporting
          line_width_dst              = '255'
        tables
          content_in                  = lt_tline
          content_out                 = lt_objbin
        exceptions
          err_line_width_src_too_long = 1
          err_line_width_dst_too_long = 2
          err_conv_failed             = 3
          others                      = 4.
      clear ls_solisti.
      ls_solisti = 'Payment Notification'.
      append ls_solisti to lt_objtxt.
    DESCRIBE TABLE lt_objtxt LINES lv_lines.
    READ TABLE lt_objtxt INDEX lv_lines.
      ls_doc_chg-obj_name = 'Payment Notification'.
      ls_doc_chg-expiry_dat = sy-datum + 10.
      ls_doc_chg-obj_descr =  'Payment Notification'.
      ls_doc_chg-sensitivty = 'F'.
      ls_doc_chg-doc_size = 255.
      ls_objpack-head_start = 1.
      ls_objpack-head_num = 0.
      ls_objpack-body_start = 1.
      ls_objpack-body_num = 1. "lv_lines.
      ls_objpack-doc_type = 'RAW'.
      append ls_objpack to lt_objpack.
    (pdf-Attachment)
      ls_objpack-transf_bin = 'X'.
      ls_objpack-head_start = 1.
      ls_objpack-head_num = 0.
      ls_objpack-body_start = 1.
      describe table lt_objbin lines lv_lines.
      "READ TABLE lt_objbin INDEX lv_lines.
      ls_objpack-doc_size = lv_lines * 255 .
      ls_objpack-body_num = lv_lines.
      ls_objpack-doc_type = 'PDF'.
      ls_objpack-obj_name = 'NOTIF'.
      ls_objpack-obj_descr = 'Payment Notif.'.
      append ls_objpack to lt_objpack.
      clear lt_dli[].
      lv_name = p_list.
      call function 'SO_DLI_READ_API1'
        exporting
          dli_name                   = lv_name
          dli_id                     = '000000000001'
          shared_dli                 = 'X'
        tables
          dli_entries                = lt_dli
        exceptions
          dli_not_exist              = 1
          operation_no_authorization = 2
          parameter_error            = 3
          x_error                    = 4
          others                     = 5.
      if sy-subrc eq 0 and
        lt_dli[] is not initial.
    clear ls_reclist.
        ls_reclist-receiver = p_list.
        ls_reclist-rec_type = 'C'.
        append ls_reclist to lt_reclist.
      endif.
      call function 'SO_NEW_DOCUMENT_ATT_SEND_API1'
        exporting
          document_data              = ls_doc_chg
          put_in_outbox              = ''
        tables
          packing_list               = lt_objpack
          object_header              = ls_objhead
          contents_bin               = lt_objbin
          contents_txt               = lt_objtxt
          receivers                  = lt_reclist
        exceptions
          too_many_receivers         = 1
          document_not_sent          = 2
          document_type_not_exist    = 3
          operation_no_authorization = 4
          parameter_error            = 5
          x_error                    = 6
          enqueue_error              = 7
          others                     = 8.
    What's wrong ??
    Thanks all,
    Rebeka

    Hello,
    Try below code
    LOOP AT gt_check_data INTO gw_inc_payment.
              CLEAR wa_pa0105.
              READ TABLE gt_pa0105 INTO wa_pa0105
                                   WITH KEY pernr = gw_inc_payment-pernr.
              IF sy-subrc = 0.      ELSE.             CONDENSE  wa_pa0105-usrid_long NO-GAPS.
                TRANSLATE wa_pa0105-usrid_long TO LOWER CASE.
              ENDIF.
              CALL FUNCTION 'ZHR_ITA_MAIL_PDF'
                EXPORTING
                  im_incentive       = gw_ita_inc
                  im_flag            = 'X'
                IMPORTING
                  ls_job_output_info = ls_op_info
                EXCEPTIONS
                  cntl_error_ctrl    = 1
                  cntl_error_cont    = 2
                  cntl_error_load    = 3
                  cntl_error_show    = 4
                  OTHERS             = 5.
              IF sy-subrc <> 0.
                MESSAGE text-024 TYPE 'E'.
              ELSE.
                CLEAR gt_tline[].
                CALL FUNCTION 'CONVERT_OTF'
                  EXPORTING
                    format                = 'PDF'
                  IMPORTING
                    bin_filesize          = g_pdfsize
                  TABLES
                    otf                   = ls_op_info-otfdata
                    lines                 = gt_tline
                  EXCEPTIONS
                    err_max_linewidth     = 1
                    err_format            = 2
                    err_conv_not_possible = 3
                    err_bad_otf           = 4
                    OTHERS                = 5.
                IF sy-subrc <> 0.
                  IF gt_tline IS INITIAL.
                    MESSAGE text-023 TYPE 'E'.
                  ENDIF.
                ELSE.
          Data handling with required length
                  LOOP AT gt_tline INTO gw_tline.
                    lv_pos = 255 - lv_len.
                    IF lv_pos > 134.                          "length of pdf_table
                      lv_pos = 134.
                    ENDIF.
                    gw_objbin+lv_len = gw_tline(lv_pos).
                    lv_len = lv_len + lv_pos.
                    IF lv_len = 255.                          "length of out (contents_bin)
                      APPEND gw_objbin TO gt_objbin.
                      CLEAR: gw_objbin, lv_len.
                      IF lv_pos < 134.
                        gw_objbin = gw_tline+lv_pos.
                        lv_len = 134 - lv_pos.
                      ENDIF.
                    ENDIF.
                  ENDLOOP.
                  IF lv_len > 0.
                    APPEND gw_objbin TO gt_objbin.
                  ENDIF.
                  CLEAR gw_objbin.
            Mail process with the PDF attachment
                  PERFORM mail_process_attach USING wa_pa0105-usrid_long.
                ENDIF.
              ENDIF.
            ENDLOOP.
    FORM mail_process_attach USING lv_receive TYPE comm_id_long.
    **//--- For Sending eMail
      DATA :  it_packing_list TYPE TABLE OF  sopcklsti1,
              wa_packing_list TYPE sopcklsti1,
              it_receivers    TYPE TABLE OF somlreci1,
              wa_receivers    TYPE somlreci1,
              it_message      TYPE  TABLE OF solisti1,
              wa_message      TYPE  solisti1,
              it_line         TYPE STANDARD TABLE OF tline,
              wa_line         TYPE tline,
              it_attachment   TYPE TABLE OF solisti1,
              wa_attachment   TYPE solisti1,
              wa_doc_data     TYPE sodocchgi1,
              lv_cnt          TYPE  i,
              lv_tablines     TYPE i,
              lv_subject      TYPE so_obj_des,
              lv_incref       TYPE string.
    *--Populating Mail Recepients
      wa_receivers-rec_type   = 'U'.
      wa_receivers-com_type   = 'INT'.
      wa_receivers-notif_del  = 'X'.
      wa_receivers-notif_ndel = 'X'.
      wa_receivers-express    = 'X'.
    assgining a receiver's mail id
      wa_receivers-receiver   = lv_receive.
      APPEND wa_receivers TO it_receivers.
      CLEAR wa_receivers.
    *--Populating the body
      CALL FUNCTION 'READ_TEXT'
        EXPORTING
          client                  = sy-mandt
          id                      = 'ST'
          language                = sy-langu
          name                    = gc_so10_name
          object                  = 'TEXT'
        TABLES
          lines                   = it_line
        EXCEPTIONS
          id                      = 1
          language                = 2
          name                    = 3
          not_found               = 4
          object                  = 5
          reference_check         = 6
          wrong_access_to_archive = 7
          OTHERS                  = 8.
      IF sy-subrc = 0.
        LOOP AT it_line INTO wa_line.
          wa_message-line = wa_line-tdline.
          APPEND wa_message TO it_message.
          CLEAR : wa_line, wa_message.
        ENDLOOP.
      ENDIF.
    *//---  Populate the subject/generic message attributes
      wa_doc_data-obj_langu  = sy-langu.
      READ TABLE it_attachment INTO wa_attachment INDEX lv_cnt.
      wa_doc_data-doc_size   = ( lv_cnt - 1 ) * 255 + STRLEN( wa_attachment ).
      wa_doc_data-obj_name   = 'SAPRPT'.
    *//--- Subject Begin
      CLEAR : lv_subject.
      lv_subject = gw_inc_payment-pernr.
      SHIFT  lv_subject LEFT DELETING LEADING '0'.
      CONCATENATE text-009 '(' lv_subject ')'
                  INTO  wa_doc_data-obj_descr
                  SEPARATED BY space.
    *//--- Subject End
      wa_doc_data-sensitivty = 'F'.
    *--Describe the body of the message
      CLEAR : wa_packing_list, it_packing_list[].
      wa_packing_list-transf_bin  = space.
      wa_packing_list-head_start  = 1.
      wa_packing_list-head_num    = 0.
      wa_packing_list-body_start  = 1.
      DESCRIBE TABLE it_message LINES wa_packing_list-body_num.
      wa_packing_list-doc_type    = 'RAW'.
      APPEND wa_packing_list TO it_packing_list.
    Filling the attachment table
      DESCRIBE TABLE gt_objbin LINES lv_tablines.
      wa_packing_list-transf_bin  = 'X'.
      wa_packing_list-head_start  = 1.
      wa_packing_list-head_num    = 0.
      wa_packing_list-body_start  = 1.
      wa_packing_list-body_num    = lv_tablines.
      wa_packing_list-doc_type    = 'PDF'.
      wa_packing_list-obj_name    = 'ATTACHMENT'(a01).
    *//--- Attachment File Name - Begin
      CLEAR : lv_subject.
      lv_subject = gw_inc_payment-pernr.
      lv_incref  = gw_inc_payment-incref.
      SHIFT lv_subject LEFT DELETING LEADING '0'.
      SHIFT lv_incref  LEFT DELETING LEADING '0'.
      CONCATENATE text-011
                  lv_subject
                  gw_inc_payment-itafy
                  lv_incref
                  INTO wa_packing_list-obj_descr
                  SEPARATED BY '_'.
    *//--- Attachment File Name - End
      wa_packing_list-doc_size    = lv_tablines * 255.
      APPEND wa_packing_list TO it_packing_list.
      CLEAR wa_packing_list.
    calling the function module to send the mail
      CALL FUNCTION 'SO_DOCUMENT_SEND_API1'
        EXPORTING
          document_data              = wa_doc_data
          put_in_outbox              = 'X'
          sender_address             = gc_sender
          sender_address_type        = 'INT'
          commit_work                = 'X'
        TABLES
          packing_list               = it_packing_list
          contents_bin               = gt_objbin[]
          contents_txt               = it_message
          receivers                  = it_receivers
        EXCEPTIONS
          too_many_receivers         = 1
          document_not_sent          = 2
          document_type_not_exist    = 3
          operation_no_authorization = 4
          parameter_error            = 5
          x_error                    = 6
          enqueue_error              = 7
          OTHERS                     = 8.
      IF sy-subrc <> 0.
        gw_inc_payment-zmail       = '0'.
        gw_inc_payment-mail_status = text-022.
        gw_ita_inc-zmail           = '0'.
        MODIFY  gt_inc_payment  FROM gw_inc_payment
        TRANSPORTING zmail  WHERE incref = gw_inc_payment-incref
                              AND pernr = gw_inc_payment-pernr.
        MODIFY zhr_ita_inc_payk FROM gw_ita_inc.
        MESSAGE text-013 TYPE 'E'.
        CLEAR gw_ita_inc.
      ELSE.
        gw_inc_payment-zmail       = '1'.
        gw_inc_payment-mail_status = text-021.
        gw_ita_inc-zmail           = '1'.
        MODIFY  gt_inc_payment FROM gw_inc_payment
                               TRANSPORTING zmail mail_status
                               WHERE incref = gw_inc_payment-incref AND
                                     pernr = gw_inc_payment-pernr.
        IF sy-subrc = 0.
          MODIFY zhr_ita_inc_payk FROM gw_ita_inc.
          IF sy-subrc = 0.
            MESSAGE text-012 TYPE 'S'.
          ENDIF.
        ENDIF.
        CLEAR gw_ita_inc.
      ENDIF.
      CLEAR : it_packing_list,
              gt_objbin[],
              it_message[],
              it_receivers[],
              wa_doc_data.
    ENDFORM.                    " MAIL_PROCESS_ATTACH
    regards

  • Generate a PDF from SmartForm with the CRM_PDF_PRINT ICF Service

    Has anyone used the ICF Service /sap/crm/crm_pdf_print to convert a SmartForm into a Adobe Acrobat PDF file dynamically in the CRM web client? 
    Weu2019re using CRM 5.2 with the Web-client UI and want to generate a Print Preview of an existing SmartForm . 
    From what I can tell, there doesnu2019t appear to be any other way to set up previewing a SmartForm from the Web-client by configuration ( using the Action Framework ) in our version of CRM (OSS Note 1323062 only applies to CRM 6.0 & 7.0)
    Thanks.

    Moved to Acrobat forum.

  • Print (modified) pdf from smartforms

    Hi all,
    I am totally stuck.
    I have a smartform which creates an OTF. The OTF is slightly adjusted and converted to pdf. No problem there.
    But now I want to send the modified PDF to a printer. All in the same smartform.
    (With smartform I actually mean the print program calling the smartform).
    I was actually looking for a simple statement but I am not able to find one.
    Can anyone help me out?
    Karin

    Hi Karin,
    here is my sample report. Of course you have to delete some, because you might not have a Form called z_testfh
    I cannot remember, but I copied parts of it, so if there is one out there, feel free to add a comment. I do not want the flowers of others in my hand
    Hope you get your issue solved.
    *& Report  ZFH_OTF_TO_PDF_TO_SPOOL
    REPORT  zfh_otf_to_pdf_to_spool.
    *& Declarations
    DATA : w_options LIKE itcpo ,
    it_otfdata TYPE STANDARD TABLE OF itcoo ,
    it_tlines TYPE STANDARD TABLE OF tline ,
    bin_filesize TYPE i ,
    bin_file TYPE xstring ,
    printer LIKE tsp01-rqdest VALUE '0079',
    append TYPE c VALUE 'X',
    doctype TYPE adsdoctype VALUE 'ADSP' ,
    adstype TYPE string,
    l_strlen TYPE i,
    l_strlen1 TYPE i,
    nopdf TYPE c,  "Testweise auf X
    globaldir(100),
    pathname(256),
    myfile TYPE string,
    handle LIKE sy-tabix,
    spoolid LIKE tsp01-rqident,
    partname TYPE adspart,
    filename TYPE file_name,
    pages TYPE i,
    size TYPE i.
    DATA: BEGIN OF datatab OCCURS 100,
    line(80) TYPE x,
    END OF datatab.
    PARAMETERS: pa_dest TYPE tsp01-rqdest DEFAULT '0210'.
    PARAMETERS: pa_dest2 TYPE tsp01-rqdest.
    PARAMETERS: pa_schr TYPE xfeld.
    PARAMETERS: pa_suff TYPE xfeld.
    *& Start of selection
    START-OF-SELECTION.
      w_options-tddest = pa_dest.
      printer = pa_dest2.
      w_options-tdgetotf = 'X'.
    *w_options-tddest = '0079'.
    *--Call the Script
      CALL FUNCTION 'OPEN_FORM'
        EXPORTING
          device  = 'PRINTER'
          dialog  = ' '
          form    = 'Z_TESTFH'                        "'ZFH_BARCODE_OTF'
          language = sy-langu
          OPTIONS = w_options.
    *CALL FUNCTION 'OPEN_FORM'
    *  EXPORTING
    *    form = 'ZFH_BARCODE_OTF'.
    IF pa_schr = 'X'.
      CALL FUNCTION 'WRITE_FORM'
        EXPORTING
          element = 'SCHRIFT'.
    ELSE.
      CALL FUNCTION 'WRITE_FORM'
        EXPORTING
          element = 'DUMMY'.
    ENDIF.
    **call function 'WRITE_FORM'
    **exporting
    *** element = '520'
    **function = 'SET'
    **type = 'BODY'
    **window = 'MAIN'.
    DATA: ITCPP type ITCPP.
      CALL FUNCTION 'CLOSE_FORM'
        IMPORTING
          result = ITCPP
        TABLES
          otfdata = it_otfdata.
    *--Convert from OTF to PDF format
    * bin_file needs to be XSTRING format.
      CALL FUNCTION 'CONVERT_OTF'
        EXPORTING
          format      = 'PDF'
          max_linewidth = 255
        IMPORTING
          bin_filesize = bin_filesize
          bin_file    = bin_file
        TABLES
          otf          = it_otfdata
          lines        = it_tlines.
    DATA: ls_tsp01 type tsp01.
    IF pa_suff is initial.
    ls_tsp01-RQ0NAME = 'NAME'.
    ls_tsp01-RQ1NAME = 'SUFFIX1'.
    ls_tsp01-RQ2NAME = 'SUFFIX2'.
    *ls_tsp01-COPIES
    *ls_tsp01-PRIO
    *ls_tsp01-IMMEDIATE_PRINT
    *ls_tsp01-AUTO_DELETE
    ls_tsp01-RQTITLE = 'Titleline'.
    CONCATENATE ls_tsp01-RQTITLE ' Zeit:' sy-uzeit into ls_tsp01-RQTITLE.
    *ls_tsp01-RECEIVER
    *ls_tsp01-DIVISION
    ELSE.
    ls_tsp01-RQ0NAME = 'PBFORM'.
    ls_tsp01-RQ1NAME = '0454'.
    ls_tsp01-RQ2NAME = '2410'.
    ls_tsp01-RQRECEIVER = 'FIS-HENNINGE'.
    ls_tsp01-RQPRIO = '5'.
    *ls_tsp01-RQFINAL = 'C'.
    ls_tsp01-RQTITLE = 'Anlage zu Beleg: 300006040'.
    ENDIF.
      CALL FUNCTION 'ADS_SR_OPEN'
        EXPORTING
          dest            = printer
          append          = append
          doctype        = doctype
          name            = ls_tsp01-RQ0NAME
          suffix1        = ls_tsp01-RQ1NAME
          suffix2        = ls_tsp01-RQ2NAME
          titleline      = ls_tsp01-RQTITLE
        IMPORTING
          handle          = handle
          spoolid        = spoolid
          partname        = partname
        EXCEPTIONS
          device_missing  = 1
          no_such_device  = 2
          operation_failed = 3
          wrong_doctype  = 4
          OTHERS          = 5.
    * l_strlen = STRLEN( bin_file ).
    * l_strlen1 = STRLEN( bin_file ).
      l_strlen = bin_filesize .
      l_strlen1 = bin_filesize .
      DO.
        IF l_strlen GT 80.
          MOVE bin_file+0(80) TO datatab-line.
          APPEND datatab.
          l_strlen = l_strlen - 80.
          bin_file = bin_file+80.
        ELSE.
          MOVE bin_file+0(l_strlen) TO datatab-line.
          APPEND datatab.
          EXIT.
        ENDIF.
      ENDDO.
    * Filename from partname
      CONCATENATE partname '.pdf' INTO filename.
    * Get path of global directory
      CALL 'C_SAPGPARAM'
      ID 'NAME' FIELD 'DIR_GLOBAL'
      ID 'VALUE' FIELD globaldir.
    * Create fully qualified path
      CONCATENATE globaldir '/' filename INTO pathname.
      myfile = pathname.
      OPEN DATASET myfile FOR OUTPUT IN BINARY MODE.
      IF sy-subrc = 0.
        LOOP AT datatab.
          TRANSFER datatab TO myfile.
        ENDLOOP.
        CLOSE DATASET myfile.
      ENDIF.
      size = l_strlen1.
      pages = itcpp-TDPAGES.
      CALL FUNCTION 'ADS_SR_CONFIRM'
        EXPORTING
          handle          = handle
          partname        = partname
          size            = size
          pages          = pages
          no_pdf          = nopdf
        EXCEPTIONS
          handle_not_valid = 1
          operation_failed = 2
          OTHERS          = 3.
      CALL FUNCTION 'ADS_SR_CLOSE'
        EXPORTING
          handle          = handle
        EXCEPTIONS
          handle_not_valid = 1
          operation_failed = 2
          OTHERS          = 3.
    END-OF-SELECTION.

  • Generate PDF from SmartForm Style Problem

    Hi everyone,
    I am a starter at ABAP.I made document with SmartForms.There is a 3 pages.According to Table Information SmartForms tables can be changed. I coded a how to transfer informations to pdf. My problem is  the field values included 'ğ,ş,i' letter.But this letters doesn't shown in pdf.This letters show like a 'X' .  How can solve this problem ?

    Hello,
    Firstly you need to check if the correct fonts used in the form.
    You can check the SAP note:
    776507 SAPscript/SmartForms: Which fonts for which languages?
    Also check if you are using the correct device type for the PDF output, if your system is a unicode system you can use
    device type SWINCF or PDFUC as per SAP notes: 812821 and 999712.
    Regards,
    David

  • Pull database information into fillable PDF

    Hello,
    I've created a fillable PDF from a printed short bill of lading. All fields work wonderfully, but I would like to be able to have the PDF generate a unique bill of lading number each time the file is opened. I'm assuming I would need to pull this information from a database?
    Any help you can provide would be appreciated.

    Figured it out:
    function date() {
    var fld = this.getField("BOL");
    fld.value = util.printd("yymmddHHMM",new Date());
    date();
    This generated the date code of 1009212003. The BOL will always be unique and is almost impossible to duplicate until the year 3010.
    Thanks for your help and nudge in the right direction, Try!

  • Uploading fillable PDF form to the web

    I have created a fillable PDF form in Acrobat 9, which opens fine as a fillable PDF from my desktop.  I also uploaded it to our website but when i open it up from the web; it is no longer fillable.  Can you tell me how to fix this?
    Thanks
    Melissa

    That really depends on how a user (client) machine is set up, as opposed to something you can do on the web server. For example, the user can configure Acrobat/Reader so that it does not open in their browser, but rather directly in Acrobat/Reader. Or they can set things up so that PDFs are always downloaded and not automatically opened in Acrobat/Reader. You could provide instructions for downloading the PDF on the page that has the link to your form.

  • I am unable to copy fillable fields from a pdf form into Microsoft Word or notepad....Help! thank you!

    I am unable to copy fillable fields from a pdf form I created in Adobe X Pro into a Microsoft Word or Notepad document. Please help! Thank you!!

    I have created a fillable form. Part of the information from that form needs to be copied and sent to another department at work. Once i complete the fillable form (e.g. select options from a drop down, enter test in test boxes that are on the form) when i copy that section, i only get the non-fillable information pasted into word or notepad, the drop down selections and fillable text do not copy.

Maybe you are looking for