Rename filename of Data Overview PDF

Hi,
Using E-Recruiting, when the user opens a BSP to see a Data Overview (SmartForm), it opens up Adobe Acrobat to view it.  However, the filename is 'dummy.pdf' when it opens up.  The client would like it to be something else, but I can't find out where the filename gets populated!
I have checked the controller for the BSP, as well as the function module for the SmartForm, but I still can't find out where this name is being populated.  I check this forum often for other problems, and you guys are great!!  Please help!

Joe,
In this sample BSP application SF_WEBFORM_04 I see the following code, which might be of interest, just check out.
Conversion of output format OTF into PDF format
now convert the final document (OTF format) into PDF format
  call function 'CONVERT_OTF'
       exporting
         format                      = 'PDF'
       MAX_LINEWIDTH               = 132
       ARCHIVE_INDEX               = ' '
       COPYNUMBER                  = 0
       importing
         bin_filesize                = l_pdf_len
         bin_file                    = l_pdf_xstring       " binary file
       tables
         otf                         = ls_output_data-otfdata
         lines                       = lt_lines
       exceptions
         err_max_linewidth           = 1
         err_format                  = 2
         err_conv_not_possible       = 3
         err_bad_otf                 = 4
         others                      = 5
  if sy-subrc <> 0.
  error handling
    message id sy-msgid type sy-msgty number sy-msgno
            with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
  endif.

Similar Messages

  • Rename Files with Data From PDF

    I have a sound effects library that I ripped from CDs and they are all named non meaningfully. ie. Track 1, Track 2 etc. The library comes with a PDF which lists all the track names and file descriptions for each sound. I would like to rename all the tracks to the track name according to the PDF and add comments to the files using the descriptions from the PDF. Any suggestions on how to do this with automator or any other program? I have never used automator...

    Were these originally from commercial sound effects CDs, or homemade ones? If commercial, can you re-burn them to CDs, or maybe use a CD-RW? Then see if iTunes can pull the track names off of the internet?
    I have been absolutely astounded at what iTunes has been able to find for track names.

  • E-Recruiting 3.0 - Problem with emailing Candidate's Data Overview as .pdf

    Hello,
    Not sure if I'm posting this to the correct forum, so please let me know if you suggest somewhere else to post.
    I'm trying to make available the data overview for applicants to hiring managers by emailing the Data Overview .pdf to them.  This is done while logged into the system via the web, and having the data overview open.  One of the options is to email a copy of the .pdf, which is what I am choosing to do.
    The email recipient can open up the .pdf file, but if there is an attachment to the overview (like a resume), the url link is incorrect, and the attached document cannot be retrieved.  When I hover over the url, it starts out with "file:///sap....", when it should start out with "https://jobs.mphi.org/sap...."
    When we originally testing this out months ago it did work.  Not sure what has changed in the meantime causing this to no longer work.  I'm hoping that someone else might have experienced the same or similar issue and would be able to assist me.
    Thank you,
    Leeanna

    Well,
    this is not a WebDynpro topic. The issue you have is quite clear.
    The links within the PDF have a relative link. Because of this, you can only click on the links within the PDF while having it open in the web browser.
    The only possibility to make the links available offline, is to modify. In this case you need to change the link generation to absolute links.
    But besides that, sending data overview by mail is quite unsafe and a big security risk for handling of applicant privacy.
    Regards

  • How to display the data in PDF format : problem is splitting into 2 lines

    Hi ,
    I developed one report which downloads the data into PDF format and saved in C drive but my problem is
    in my program : Line size of the report is 255 in PDF it is splitting into 2 lines. it has to show in a single line. how to do it. how to reduce the width of the output? i am sending my code below. anybody can suggest me how to do it. if possible please send me the code.
    my code:
    report zmaheedhar.
    maheedhar-start
    TABLES : vbak.
    parameters : p_vbeln type vbak-vbeln.
    data : begin of itab occurs 0,
            vbeln type vbak-vbeln,
            ERDAT type vbak-erdat,
            ERZET type vbak-erzet,
            ERNAM type vbak-ernam,
            ANGDT type vbak-angdt,
            BNDDT type vbak-bnddt,
            AUDAT type vbak-audat,
            VBTYP type vbak-vbtyp,
            TRVOG type vbak-trvog,
            AUART type vbak-auart,
            AUGRU type vbak-augru,
            GWLDT type vbak-gwldt,
            SUBMI type vbak-submi,
            LIFSK type vbak-lifsk,
            FAKSK type vbak-faksk,
            NETWR type vbak-netwr,
            WAERK type vbak-waerk,
            VKORG type vbak-vkorg,
           end of itab.
    maheedhar-end
    DATA: pripar TYPE pri_params,
          arcpar TYPE arc_params,
          lay TYPE pri_params-paart,
          lines TYPE pri_params-linct,
          rows TYPE pri_params-linsz.
    DATA: val(1), val1(1).
    *---> Local Printer Name defined in SAP, Change NHREMOTE to your local printer
    DATA: dest TYPE pri_params-pdest VALUE 'ZNUL'.
    DATA: name TYPE pri_params-plist VALUE 'Testing'.
    DATA: i_pdf TYPE STANDARD TABLE OF tline.
    DATA: spono TYPE tsp01-rqident.
    maheedhar-start
    top-of-page.
    write: 'Sales Document' , 'C Date', 'Entry time', 'Created By','Quotation date',
           'Date','Document Date','SD document category','Transaction group','Sales Document Type',
           'Order reason'.
    start-OF-SELECTION.
          select vbeln  ERDAT ERZET ERNAM ANGDT BNDDT AUDAT
                  VBTYP  TRVOG AUART AUGRU GWLDT SUBMI LIFSK
                  FAKSK  NETWR WAERK VKORG from vbak
            into table itab
            where vbeln = p_vbeln.
    maheedhar-end
    --- Retreive local printer details
    CALL FUNCTION 'GET_PRINT_PARAMETERS'
      EXPORTING
        destination            = dest
        no_dialog              = 'X'
        immediately            = ' '
      IMPORTING
        out_archive_parameters = arcpar
        out_parameters         = pripar
        valid                  = val
        valid_for_spool_creation = val1
      EXCEPTIONS
        archive_info_not_found = 1
        invalid_print_params   = 2
        invalid_archive_params = 3
        OTHERS                 = 4.
    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.
    *-- Set Spool printer details w.r.t local printer
    pripar-prdsn = 'DSN'.
    CALL FUNCTION 'GET_PRINT_PARAMETERS'
      EXPORTING
        in_archive_parameters    = arcpar
        in_parameters            = pripar
        no_dialog                = 'X'
        list_name                = name
      IMPORTING
        out_archive_parameters   = arcpar
        out_parameters           = pripar
        valid                    = val
        valid_for_spool_creation = val1
      EXCEPTIONS
        archive_info_not_found   = 1
        invalid_print_params     = 2
        invalid_archive_params   = 3
        OTHERS                   = 4.
    IF sy-subrc EQ 0.
    ---> Triggers the spool creation in the sense all the write statements from hereon will be written to spool instead of screen
      NEW-PAGE PRINT ON
      NEW-SECTION
      PARAMETERS pripar
      ARCHIVE PARAMETERS arcpar
      NO DIALOG.
    ELSE.
      WRITE:/ 'Unable to create spool'.
    ENDIF.
    *--- Output statements
    *WRITE:/ 'First Line', 'mahee','lklk','kikik','lokiuj','fffff','kijuyh','fgfgfgfg','gtgtgtgtgtgtgtgtggggggggggggggggggggggggggggggg'.
    *WRITE:/ 'Second Line'.
    LOOP at itab.
    write: itab-vbeln,
            itab-ERDAT,
            itab-ERZET,
            itab-ERNAM,
            itab-ANGDT,
            itab-BNDDT,
            itab-AUDAT,
            itab-VBTYP.
    ENDLOOP.
    "---> Close spool
    NEW-PAGE PRINT OFF.
    spono = sy-spono.
    Convert ABAP Spool to PDF
    CALL FUNCTION 'CONVERT_ABAPSPOOLJOB_2_PDF'
      EXPORTING
        src_spoolid                    = spono
        no_dialog                      = 'X'
    TABLES
       pdf                            = i_pdf
    EXCEPTIONS
       err_no_abap_spooljob           = 1
       err_no_spooljob                = 2
       err_no_permission              = 3
       err_conv_not_possible          = 4
       err_bad_destdevice             = 5
       user_cancelled                 = 6
       err_spoolerror                 = 7
       err_temseerror                 = 8
       err_btcjob_open_failed         = 9
       err_btcjob_submit_failed       = 10
       err_btcjob_close_failed        = 11
       OTHERS                         = 12.
    Download PDF contents to presentation server
    CALL FUNCTION 'GUI_DOWNLOAD'
      EXPORTING
        filename                        = 'c:\test.pdf'
        filetype                        = 'BIN'
      TABLES
        data_tab                        = i_pdf
    EXCEPTIONS
       file_write_error                = 1
       no_batch                        = 2
       gui_refuse_filetransfer         = 3
       invalid_type                    = 4
       no_authority                    = 5
       unknown_error                   = 6
       header_not_allowed              = 7
       separator_not_allowed           = 8
       filesize_not_allowed            = 9
       header_too_long                 = 10
       dp_error_create                 = 11
       dp_error_send                   = 12
       dp_error_write                  = 13
       unknown_dp_error                = 14
       access_denied                   = 15
       dp_out_of_memory                = 16
       disk_full                       = 17
       dp_timeout                      = 18
       file_not_found                  = 19
       dataprovider_exception          = 20
       control_flush_error             = 21
       OTHERS                          = 22.
    thanks,
    maheedhar

    hi tripat,
    actual problem is what u said it is decreased the wiidht of the output.
    now the output is:
    Sales Document C Date Entry time Created By Quotation date Date Document Date
    SD document category Transaction group Sales Document Type Order reason
    62741 07/29/1996 11:54:38 DARLENE 00/00/0000 00/00/0000 07/29/1996 C
    actual output is:
    output should come in a single line. it is splitting into 2 lines.
    thanks,
    maheedhar

  • Dynamically change of filename and save as pdf on LINUX

    Hello,
    currently we're facing the following problems:
    We have to create a report that will have to run several times. It should be avoided that the rdf has to be called more than one time.
    After the run, the report should create a pdf which has to be saved in a directory on LINUX with a distinct filename e.g. rep_nnnnnn_hhmiss.pdf.
    How can we implement that?
    Best regards
    Markus

    Hi,
    You can use Advanced Distribution to save the output file using a name based on a report variable.
    It's fairly involved so you may need to look up Creating Advanced Distributions in the Oracle documentation.
    But essentially you need to create a distribution XML file that looks something like this:
    <?xml version="1.0" ?>
    <!DOCTYPE destination SYSTEM "file:$ORACLE_HOME/reports/dtd/distribution.dtd">
    <destinations>
    <foreach>
    <file id="DEST1" name="\temp\&amp;&lt;rpt_name&gt;.pdf" format="pdf" instance="this">
    <include src="report"/>
    </file>
    </foreach>
    </destinations>
    rpt_name will be a field of the same name in the report. Set this field in the main query in the data model, perhaps using a sequence and sysdate in your case. You will also need to set the Repeat On property on the Main Section in Paper Layout to the name of the group that this field is in.
    Then you just need to add the following parameters to the URL you use to call the report:
    DISTRIBUTE=yes&DESTINATION=$ORACLE_HOME/reports/distribution/filename.xml
    With Destination being the name and location of the distribution XML file.
    The reports server then uses the XML file to control the output of the report.
    Cheers,
    Toby.

  • How to preserve original filename in Automator 'render pdf as images'?

    Using Automator's 'render pdf as images' will result in output of files in random names
    What are the correct workflow if the desired output files would be the original filename? Ex: manual.pdf ---> manual.jpg, manual.pdf ---> 0001bU.jpg
    PS: I have tried 'Rename Finder Items--->Make sequential' but it still doesnt produce the desired output, it only makes manual.pdf ---> 0001bU-01.jpg

    You convert the CMYK document to RGB using standard color management. The rest is beside the point. We know nothing about your experience in 3D nor your actual artwork, settings, system and so on. Just slapping on a texture on a 3D model doesn't make it look "real" or even photo-realistic. You have to understand lighting, shading and how to prepare textures properly, stuff for which you can find any number of tutorials on the web (though not specifically for PS 3D).
    Mylenium

  • How to display the data in PDF format

    hi all,
    i will give input in my selection screen and i will execute my report then it has to display data in PDF file in some directory (like c or d directory). i refered existingthreads . most of then saying using spool req we can download pdf file i.e. not my requirement. my requirement is when i click on execute button it has to display the data in pdf file with headings.
    Anybody can send me the sample code please.
    thanks,
    maheedhar

    Hi Easwar,
    i am sending my code. in this one records is splitting into 2 records.
    report zmaheedhar.
    maheedhar-start
    TABLES : vbak.
    parameters : p_vbeln type vbak-vbeln.
    data : begin of itab occurs 0,
            vbeln type vbak-vbeln,
            ERDAT type vbak-erdat,
            ERZET type vbak-erzet,
            ERNAM type vbak-ernam,
            ANGDT type vbak-angdt,
            BNDDT type vbak-bnddt,
            AUDAT type vbak-audat,
            VBTYP type vbak-vbtyp,
            TRVOG type vbak-trvog,
            AUART type vbak-auart,
            AUGRU type vbak-augru,
            GWLDT type vbak-gwldt,
            SUBMI type vbak-submi,
            LIFSK type vbak-lifsk,
            FAKSK type vbak-faksk,
            NETWR type vbak-netwr,
            WAERK type vbak-waerk,
            VKORG type vbak-vkorg,
           end of itab.
    maheedhar-end
    DATA: pripar TYPE pri_params,
          arcpar TYPE arc_params,
          lay TYPE pri_params-paart,
          lines TYPE pri_params-linct,
          rows TYPE pri_params-linsz.
    DATA: val(1), val1(1).
    *---> Local Printer Name defined in SAP, Change NHREMOTE to your local printer
    DATA: dest TYPE pri_params-pdest VALUE 'ZNUL'.
    DATA: name TYPE pri_params-plist VALUE 'Testing'.
    DATA: i_pdf TYPE STANDARD TABLE OF tline.
    DATA: spono TYPE tsp01-rqident.
    maheedhar-start
    top-of-page.
    write: 'Sales Document' , 'C Date', 'Entry time', 'Created By','Quotation date',
           'Date','Document Date','SD document category','Transaction group','Sales Document Type',
           'Order reason'.
    start-OF-SELECTION.
          select vbeln  ERDAT ERZET ERNAM ANGDT BNDDT AUDAT
                  VBTYP  TRVOG AUART AUGRU GWLDT SUBMI LIFSK
                  FAKSK  NETWR WAERK VKORG from vbak
            into table itab
            where vbeln = p_vbeln.
    maheedhar-end
    --- Retreive local printer details
    CALL FUNCTION 'GET_PRINT_PARAMETERS'
      EXPORTING
        destination            = dest
        no_dialog              = 'X'
        immediately            = ' '
      IMPORTING
        out_archive_parameters = arcpar
        out_parameters         = pripar
        valid                  = val
        valid_for_spool_creation = val1
      EXCEPTIONS
        archive_info_not_found = 1
        invalid_print_params   = 2
        invalid_archive_params = 3
        OTHERS                 = 4.
    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.
    *-- Set Spool printer details w.r.t local printer
    pripar-prdsn = 'DSN'.
    CALL FUNCTION 'GET_PRINT_PARAMETERS'
      EXPORTING
        in_archive_parameters    = arcpar
        in_parameters            = pripar
        no_dialog                = 'X'
        list_name                = name
      IMPORTING
        out_archive_parameters   = arcpar
        out_parameters           = pripar
        valid                    = val
        valid_for_spool_creation = val1
      EXCEPTIONS
        archive_info_not_found   = 1
        invalid_print_params     = 2
        invalid_archive_params   = 3
        OTHERS                   = 4.
    IF sy-subrc EQ 0.
    ---> Triggers the spool creation in the sense all the write statements from hereon will be written to spool instead of screen
      NEW-PAGE PRINT ON
      NEW-SECTION
      PARAMETERS pripar
      ARCHIVE PARAMETERS arcpar
      NO DIALOG.
    ELSE.
      WRITE:/ 'Unable to create spool'.
    ENDIF.
    *--- Output statements
    *WRITE:/ 'First Line', 'mahee','lklk','kikik','lokiuj','fffff','kijuyh','fgfgfgfg','gtgtgtgtgtgtgtgtggggggggggggggggggggggggggggggg'.
    *WRITE:/ 'Second Line'.
    LOOP at itab.
    write: itab-vbeln,
            itab-ERDAT,
            itab-ERZET,
            itab-ERNAM,
            itab-ANGDT,
            itab-BNDDT,
            itab-AUDAT,
            itab-VBTYP.
    ENDLOOP.
    "---> Close spool
    NEW-PAGE PRINT OFF.
    spono = sy-spono.
    Convert ABAP Spool to PDF
    CALL FUNCTION 'CONVERT_ABAPSPOOLJOB_2_PDF'
      EXPORTING
        src_spoolid                    = spono
        no_dialog                      = 'X'
    TABLES
       pdf                            = i_pdf
    EXCEPTIONS
       err_no_abap_spooljob           = 1
       err_no_spooljob                = 2
       err_no_permission              = 3
       err_conv_not_possible          = 4
       err_bad_destdevice             = 5
       user_cancelled                 = 6
       err_spoolerror                 = 7
       err_temseerror                 = 8
       err_btcjob_open_failed         = 9
       err_btcjob_submit_failed       = 10
       err_btcjob_close_failed        = 11
       OTHERS                         = 12.
    Download PDF contents to presentation server
    CALL FUNCTION 'GUI_DOWNLOAD'
      EXPORTING
        filename                        = 'c:\test.pdf'
        filetype                        = 'BIN'
      TABLES
        data_tab                        = i_pdf
    EXCEPTIONS
       file_write_error                = 1
       no_batch                        = 2
       gui_refuse_filetransfer         = 3
       invalid_type                    = 4
       no_authority                    = 5
       unknown_error                   = 6
       header_not_allowed              = 7
       separator_not_allowed           = 8
       filesize_not_allowed            = 9
       header_too_long                 = 10
       dp_error_create                 = 11
       dp_error_send                   = 12
       dp_error_write                  = 13
       unknown_dp_error                = 14
       access_denied                   = 15
       dp_out_of_memory                = 16
       disk_full                       = 17
       dp_timeout                      = 18
       file_not_found                  = 19
       dataprovider_exception          = 20
       control_flush_error             = 21
       OTHERS                          = 22.
    thanks,
    maheedhar

  • ESS - Application Career & Job*** Data Overview

    Dear experts-
    I have a doubt with the service Data Overview , that show a form PDF, however not information of Telephone and  address of the employee.
    My question is:
    1. What is the name of form used for this and where is configured?
    2. I am checking the data of the employee in the infotype 0006 and the information of the Business partner for this employee and have the information.
    Thanks
    Regard

    In the role off Employee Self-Service-->Career & Job-->e-Recruiting applications -->
    ·  Data Overview
    Employees can use the data overview to display an overview of the data that they have stored in their profile
    rcfLogAppl=DATAOVERVIEW_CAND
    hrrcf_start_int/application.do
    E-Recruiting Applications - Business Package for Employee Self-Service 1.41 - SAP Library
    Regards.
    Juan

  • Data overview - SAP E-recruiting

    Hi experts,
    I  observed that the data overview is working if we use PDF in the personal settings. However it doesnot work .
    Regards,
    Bharat

    Hello Bharat,
    some questions:
    - with which dataoverview do you have this problem
    - on which particular place / step of the application are you opening the dataoverview
    - which ui technology do you use there (BSP or WebDynpro)
    - is the dateroverview showing up as html or is there a general error with the dataoverview
    If you could supply this information we surely can give hints what to do.
    Best Regards
    Roman Weise

  • Job Posting Data Overview Form

    Hi All,
    In my job posting process there data overview tab where we see a PDF form coming up with all the data of Job posting.
    I had to made changes to my standard smartform  by copying it(HRRCF_DATA_SUMMARY_POSTING) into custom (Z) smartform " ZHRRCF_DATA_SUMMARY_POSTING".
    Now i want to call my Z i.e., customize smartform in place of standard smartform.
    Can you please where i need to make necessary changes to meet this requirement.
    Regards,
    Nikita

    Hi ,
    After Making an following entry in the table T77RCF_UI_PARAM, Z  form is getting call in runtime.
    BSP application          parameter type                 Parameter
    hrrcf_req_dovr        SF_VIEW_POST                ZHRRCF_DATA_SUMMARY_POSTING
    but there is exception "CX_FP_API_REPOSITOR " in between where it checking the entry in the table FPCONTEXT in which its checking for the lnterface mean my Z form name , last date and last time.
    And similar information from the table FPINTERFACE.
    In both the table my Z form entry is missing.
    But in this table there is no entry for my z forms and sysubrc gets 4 and exception is caught.
    below is the code similar is for the FPINTERFACE.
    SELECT SINGLE interface_type lastdate lasttime INTO (e_interface_type, e_lastdate, e_lasttime) FROM fpcontext
        WHERE name = i_name AND state = i_state.
      IF sy-subrc <> 0.
        RAISE EXCEPTION TYPE cx_fp_api_repository
          EXPORTING
            textid = cx_fp_api_repository=>object_not_existing
            name   = i_name.
      ENDIF.
    please Suggest how to handle this.
    regards,
    nikita

  • Macro to create Excel data to PDF file.

    hi i have data in my spread sheet, assume Sheet1. I want user to view/save the data in PDF file automaticallu upon clicking command button. Viewing/saving any onething will work for me. Need complete steps please.
    Thanks,
    Robo.

    Hans -
    You're answers on this topic have been very helpful, thank you. I have one question.
    I'm using the below code which is perfect for me, but I want to add one thing. I want to be able to select the previous sheet so that it is printed as well. I want the previous sheet to be the first page that gets printed in the PDF, so the current sheet
    (The sheet with the "Print PDF" button) gets printed as the second sheet.
    Your help in solving this would be appreciated it.
    Sub SavePDF()
    Dim strFileName As String
    strFileName = Application.GetSaveAsFilename( _
    InitialFileName:="\\server\share\folder\", _
    FileFilter:="PDF Files (*.pdf),*.pdf", _
    Title:="Save As PDF")
    If strFileName <> "False" Then
    ActiveSheet.ExportAsFixedFormat Type:=xlTypePDF, _
    Filename:=strFileName, _
    OpenAfterPublish:=False
    End If
    End Sub

  • No Data in PDF file in FTP server

    Hi All,
    I am trying to place a PDF file in FTP server.
    Used
    CONVERT_OTFSPOOLJOB_2_PDF to convert spool to PDF
    SCMS_TEXT_TO_XSTRING
    FTP_R3_TO_SERVER to transfer data to FTP.
    I am able to see PDF file in FTP and no of pages matches with that of R/3 but there is no data in PDF file.

    To get pdf file , you need to set the itcpo-tdgetotf = 'X' and need to pass in the exporting parameter (options in open_form  function module ).Then in close_form function module take all the data of otfdata table into an internal table . Then use SX_OBJECT_CONVERT_OTF_PDF function module to convert it to pdf.
    I will show with an  example.
    tables itcpo.
    DATA: ch_otf  TYPE  STANDARD  TABLE OF  itcoo.
    DATA: w_otf TYPE itcoo.
    DATA: w_pdf TYPE solisti1. "For PDF
    DATA: i_content_txt TYPE soli_tab.   
    DATA: temp1 TYPE sx_format VALUE 'OTF',
            temp2 TYPE sx_format VALUE 'PDF'.
      DATA: c_printer TYPE sx_devtype VALUE 'PRINTER'.
      DATA: w_transfer_bin TYPE sx_boolean. "Content
      DATA: i_content_bin TYPE solix_tab, "Content
            wa_content_bin TYPE solix,
            i_objhead TYPE soli_tab.
    itcpo-tdnoprint  = 'X'.
      itcpo-tdpreview = 'X'.
      itcpo-tdgetotf = 'X'.
    These three parameters need to be passed along with other required parameters
      CALL FUNCTION 'OPEN_FORM'
           EXPORTING form = xformular
                     language = ekko-spras
                     OPTIONS = itcpo
                     archive_index  = toa_dara
                     archive_params = arc_params
                     device = xdevice
                     dialog = xdialog
                     mail_sender        = sender
                     mail_recipient     = recipient
           EXCEPTIONS canceled = 01.
      CALL FUNCTION 'CLOSE_FORM'
        IMPORTING
          RESULT  = RESULT
        tables
          otfdata = ch_otf.
    LOOP AT ch_otf INTO w_otf.
        CONCATENATE w_otf-tdprintcom w_otf-tdprintpar
        INTO w_pdf.
        APPEND w_pdf TO i_content_txt.
      ENDLOOP.
    converting otf file to pdf file
      CALL FUNCTION 'SX_OBJECT_CONVERT_OTF_PDF'
        EXPORTING
          format_src      = temp1        "'OTF'
          format_dst      = temp2        "'PDF'
          devtype         = c_printer
        CHANGING
          transfer_bin    = w_transfer_bin
          content_txt     = i_content_txt
          content_bin     = i_content_bin
          objhead         = i_objhead
          len             = v_len_in
        EXCEPTIONS
          err_conv_failed = 1
          OTHERS          = 2.
    Then open dataset and transfer to ftp of the content of table content_bin(i_content_bin) as shown in above example.
    I think this will be helpful for you

  • Help with exporting data from pdf form

    I have about 100 pdf forms that I created in adobe forms central and distributed as a pdf form (rather than on the web). I am trying to export the data into a spreadsheet but when I export it, the fields are all jumbled in the csv file, as in they are not in the same order. I need to export the data all together so I'm going to the forms menu and selecting "manage form data" and then selecting "merge data files into spreadsheet". I tried exporting a single file but that gave me something really weird.
    Please help, I have a deadline next week to analyze this data and can't make sense of it once it is exported to a spreadsheet.

    Would you please share your form with me and send me one of your pdf forms and some of the csv files?
    You can share your form by doing the following:
    1. Click on the “Share” icon on the bottom left corner.
    2. Click on “Add Collaborator” on the popup menu.
    3. Enter [email protected] under “People to share with”.
    4. Set subject to "Export data from pdf form"
    5. Click the “Share” button on the bottom right of the dialog.
    Thanks
    Ken

  • Sending Data to PDF Forms from ABAP Program.

    Hi Experts,
    I left ABAP Programing for a while around 1+ years Due to some personal problems
    Now I have struck up with new issue. Its ADOBE PDF forms.
    I am Entirely new to this topic & knows about Nothing.
    My requirement is to display a report in PDF form. Its totally Independent form from NACE.
    I have written a Driver program & retrieved all the DATA into a Final internal table.
    Now All that I need is to display the same Internal Table data into PDF form output.
    Can anyone help me how to send this data(47 records in Internal table with 8 fields in Internal table) to PDF.
    Please help me out Experts with any suggestions.
    Thanks & Regards,
    Dileep .C

    Hi,
    if u pass your internal table to smartform we can achieve . because we can convert smartform output into pdf easily.
    Regards,
    karthikeyan k s,
    Edited by: karthikeyanks on Nov 19, 2010 12:58 PM

  • Write filename somewhere in a PDF when exporting from InDesign?

    Is there a way, when exporting a PDF from InDesign, to somewhere/somehow auto-embed the filename into the resulting PDF? Doesn't need to be "visible" in the job, but needs to be accessible somehow. I'm working with a very difficult client who changes PDF names and then, months later, sends the PDF back with revisions and I have no idea which file the original PDF was created from. I know I can manually enter this information, but I'm looking for a more automated way to do this?
    Regards,
    Kristin.

    Put this script into a folder "Startup Scripts" inside your scripts folder. It auto-updates the document metadata every time you save a document. This automatically is saved in an exported PDF.
    //InxAfterSafe.jsx
    //An InDesign CS3 JavaScript
    #targetengine "session"
    //Creates a simple event listener.
    main();
    function main()
    var myEventListener1 = app.addEventListener("afterSave", setMetadata, false);
    var myEventListener2 = app.addEventListener("afterSaveAs", setMetadata, false);
    function setMetadata()
    var myFileName = app.activeDocument.name.replace(/\.indd$/i, "");
    app.activeDocument.metadataPreferences.documentTitle = myFileName;
    app.activeDocument.metadataPreferences.copyrightNotice = myFileName;
    app.activeDocument.metadataPreferences.jobName = myFileName;

Maybe you are looking for

  • My iPad 2 will no longer connect to wi fi network

    I've tried turning off router, "forget network", hard reset. My daughter's ipad2 is unable to join our home network yet my iPad works fine and my iMac connects fine. Other daughter's iPad mini works fine. Problem is isolated to this one device. Any s

  • Save selected node in Tree control

    I'm making this flex form for my school to add a new student to the DB. When the admin clicks on a button it will open a Tree control that displays the available courses and sections in the following heirarchy: Year>Semester>Course Name>Sections Now

  • System preferences locks up

    Changing desktop pictures locks system preferences.

  • Where are my emails stored

    In Thunderbird, I want to archive all my old emails in a form that I can read them again if necessary by moving them to a NAS drive. I know they are on my computer somewhere because I can read them even when my computer is disconnected from the inter

  • DDC_GetNumDataValues in DIAdem Connectivity Library

    Hi, I want to import a TDMS file (attached) into MATLAB using the sample script "ReadFile.m" by NI. The number of values in the channels are more than 1000. Nevertheless, I get the output only for first 1000 values. I looked into the script and found