Save HRFORMS data to PDF

Guru's,
I created a payslip via HRFORMS and it works just fine.
But know, the second step is, is that I need to start HRFORMS from another program and save the result of HRFORMS directly in a PDF-file.
I know how to do this for SMARTFORMS, but for HRFORMS I don't know how to start... (you've the problem that you need to have the object HRDATA filled in)
Anybody an idea?
greetings
Tom

altouth this question is rather old you can do that by using something like this:
CALL FUNCTION 'HRFORMS_CALL_INIT'
       EXPORTING
         hrform_name = ld_hrform
         begin_date  = ld_begda
         end_date    = ld_endda
       IMPORTING
         form_object = lo_hrform
       EXCEPTIONS
         form_error  = 1
         OTHERS      = 2.
CALL FUNCTION 'HRFORMS_CALL_PERNR'
       EXPORTING
         form_object        = lo_hrform
         pernr              = ld_pernr
         result_list        = lt_result_list[]
         molga              = ld_molga
         rgdir              = lt_rgdir
       EXCEPTIONS
         form_error         = 1
         payroll_read_error = 2
         reject             = 3
         no_form            = 4
         OTHERS             = 5.
CALL FUNCTION 'HRFORMS_CALL_PDF'
   EXPORTING
     form_object = lo_hrform
     "form_object_list = form_object_list
   IMPORTING
     pdf_xstring      = ls_pdf
   EXCEPTIONS
     form_error       = 1
     OTHERS           = 2.
CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
     EXPORTING
       buffer        = ls_pdf
     IMPORTING
       output_length = bin_size
     TABLES
       binary_tab    = pdf_data.

Similar Messages

  • Add hidden data to pdf

    HI
    I need to save some data to pdf document but i want these data be hidden and with preview the document nothing show
    but plugin can read these data
    how can i insert data?
    to where?
    do i have any limitation to add data for example size or ...
    I read 32000 but in sdk I don't know use which function or layer
    thanks for your attention

    I just find this
    http://partners.adobe.com/public/developer/indesign/register/prefix_reg.do
    is this correct ?

  • 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

  • Users unable to save data in .pdf

    Greetings,
    I created a rather simple form in LiveCycle Designer 8.2.  However, when users open the form in Acrobat Reader 9.0+ they are informed that they cannot save the data in the file and that it must be printed out.  I've looked through Ted Padova/Angie Okamoto's PDF Forms using LiveCycle Bible and have found nothing that can remotely explain this.  Perhaps I have missed a step, an option or saved it correctly.  Can anyone out there give me a hint, an explaination, or a fix for this problem?
    Thanks!

    Hi,
    The issue is that the form will have certain restrictions when opened in Reader. For example, users cannot save the data that they have entered into the form.
    There is a step you can take, which is to "Reader Enable" the form before you send it out. There are two approaches:
    You can Reader Enable the form using Acrobat Standard v9 and above or Acrobat Pro v8.
    You can use the full server product LC Reader Extensions ES2 to apply the Reader rights. 
    The features that are available to the user will depend on which was you apply the Reader rights.
    For example:
    In your situation, you are at Option 2: form is not Reader Enabled and the user opens the form in Reader.
    In order to enable the user to be able to save the data in the form, you need to get to Option 3 (enabling the form using Acrobat) OR Option 4 (enabling the form using LC Reader Extensions).
    There is more information here: http://assure.ly/etkFNU.
    Please note that there are licensing restrictions in Reader Enabling a form in Acrobat. Also you need to Reader Enable the form before you send it out to the users.
    Hope that helps,
    Niall

  • How do I set up a .pdf form to save filled data without having to print the form?

    How do I set up a .pdf form to save filled data without having to print the form?  I have provided my clients a lifecycle .pdf form they can use to record data for unique client meetings.  They want the ability to save their completed data whenever they use the form under a unique file name.  I've told them the only way I know how to do this is to print the completed form as a .pdf document and then save it. 
    Is their a way to save the data to a unique file name without printing the filled form?
    Is there a way to reset the form with blank fields after saving? or to add a clear fields button?
    Thanks.

    If you reader extend  a pdf using livecycle reader extensions then you can save the filled in data - this is true if you are using Adobe reader to view the PDF's. If you open it in Acrobat then the functionality is already there.

  • How do I save IRS pdf forms so that I can fill in and save the data

    when I downlaod a US government IRS form I am unable to fill in the form, save the data and print, I have tried saving as a pdf from the print menu and using the tools menu none of which works

    I know there is an app called PDFPen that is supposed to fill in PDF forms.  PDFPen is available in the App Store, but it is not free.
    I have no financial interest in PDFPen.  I also don't know if there is some cheaper way to fill in the forms.

  • Save a data as a PDF in forms in Acrobat

    Hi All,
    I am trying to create a form to be filled out.
    but instead of it being emailed, I just want the recipent to complete it and save it as a PDF.
    Can this be done preferrably by Acrobat Reader and if not Acrobat.
    I have tried it many times and it gives me a submit button to send electronically and when I click "Save a copy" it tells me that the data entered will not be saved.
    Thanking you in advance.
    Dean

    After enabling the form the filled form can be saved with Adobe Reader, not Acrobat Reader.

  • Save word doc as pdf options

    Hi!
    I'm saving a large word document (over 100 pages) as a PDF, using Word 2007 and Acrobat 9 Pro. Then, I am using Acrobat to do the final-stage accessibility edits.
    There are a number of ways to save the file as a PDF, and I'm curious about what the differences are.
    1. I can save the word doc using the "Acrobat" ribbon- the button "Create PDF" and also play around with "Preferences" when doing so.
    2. I can go to the 'pizza box' and "Save As" and then hit "Adobe PDF."
         (I'm pretty sure this is the same thing as 1)
         When I do 1 or 2, the conversion takes a LONG time and usually freezes my computer. So I've been doing the following:
    3. "Save as" and then "PDF or XPS"- the button with the little document wearing a belt around its waist? Funny button.
         Doing this converts my file to a PDF a lot quicker than 1 or 2. From what I can tell, it does a fine job- carries over alt text, tags, etc.
         3a. Also- there's an option when I save this way to make the PDF "ISO 19005-1 compliant (PDF/A)" Does this mean anything?
    Questions:
    - what is the difference between these saving options? And why is 3 so much faster?!
    - which option is best creating accessible PDFs from Word documents (or are they all the same)?
    Thanks!

    Hi,
    For #1 –
    This uses Adobe PDFMaker.
    If "Enable Accessibility and Reflow with tagged Adobe PDF" is selected you'll create a Tagged output PDF from the Word file. How well-formed it is depends on how diligently built-in headings and styles were used.
    For #2 –
    'pizza box' > "Save As" > "Adobe PDF" passes the Word file through Adobe Printer to Distiller to PDF.
    No Tagged output PDF that way as the file is not being processed by Adobe PDFMaker which provides the tag management.
    For #3 –
    'pizza box' > "Save As" (mouse hover, no click) > PDF or XPS (click)
    In the 'Publish as PDF or XPS' dialog, click on the "Options..." button.
    In the Options dialog, select "Document structure tags for accessibilty"
    (don't forget to provide the Word file with meta data in its Document Properties and to select "Document Properties" in the Options dialog).
    Give your output PDF Bookmarks by selecting the "Create bookmarks using" choice.
    Click OK.
    Back in the  'Publish as PDF or XPS' dialog, confirm that "Standard (publishing online and printing)" is selected (the default).
    If you want to view the PDF upon creation, select "Open file after publishing".
    Click the Publish button.
    Output PDF will be tagged.
    Process has improved since its initial release.
    On the whole, I still prefer to use PDFMaker; but, the Office 2007 routine is a viable alternative.
    An end-user "win" due to Adobe's work with ISO to create the ISO Standard for PDF.
    #1 & #3 process time is a function of what you authored – short-simple, long-complex, adherence to a well-formed template and built-in headings/styles, willy-nilly, etc.
    You would have to run a statistically valid sample of the same Word files through each to see which has a run-time you like AND provides a structure tree that requires minimal post-processing.
    Although less post-processing may not be a 'good thing' if the few activities you have to do are gnarly.
    For #3a –
    PDF "ISO 19005-1 compliant (PDF/A)"
    The ISO Standard for long term archival grade electronic files (PDF, of course <g>).
    Asking the question indicates that you are most likely not in need of providing the content in Word to PDF/A.
    Questions
    – 'speed' of output that needs more post-processing with Acrobat Pro may not be a good thing.
    –  which is 'better' for tagged output PDF...
    That depends.
    I prefer Adobe PDFMaker's output of <Table>, <Note>, its dealings with headings, its ability to appropriately nest elements, etc.
    I'd do two or three of the same Word files each way.
    Then post-process to assure the PDF structure tree is compliant with the requirements of ISO 32000-1.
    If your PDF is ISO 32000-1"good" it is solid for accessibility/Section 508.
    For each, walk the tree with 'Highlight' selected.
    If checking with AT, use the most recent release. Old stuff (any of it from any software house) is not going to be able to properly "QC" something processed to current standards.
    After this, throw the chicken bones to decide.
    fwiw, I've found FrameMaker / Acrobat Pro to be a better tool set for tagged output of PDF and requisite post-processing.
    Be well...

  • Acrobat prof 7 save form data

    is there any option in Acrobat prof 7 that enable the save the form data in PDF.

    is there any option in Acrobat prof 7 that enable the save the form data in PDF.
    All versions of Acrobat can save form data.

  • Save each page as PDF naming mod

    I had an issue I needed help with a while back, now I need to mod the script.
    Here's the original post
    Peter Kahrel, ""Save each page as PDF" naming mod?" #1, 16 Jan 2008 8:00 am
    I have a 456 page document that was made from a data merge. It has a background image, a foreground image and a job number/description.
    I need to save each page out as a jpg and name the file with the contents of the "jobnumber" text box. Previously Peter Kahrel helped me out tremendously with a little function that looked at the job number (which was always PNXX-xxxx) and swapped it out with the real job number.
    Now the contents of the jobnumber field isn't structured, i.e., "AvocadoSwirl_V", or "BurntSienna_G".
    Is there a way to set a script label for the "jobnumber" text box and just name the output file whatever is in there?
    Here is the existing script:
    var destinationFolder = Folder.selectDialog ("Choose a Folder");
    var myPDFExportPreset = app.pdfExportPresets.item("WebVidOverlay");
    doc = app.activeDocument;
    doc.sections.everyItem().includeSectionPrefix = false;
    app.findTextPreferences = null;
    app.findTextPreferences.findWhat = 'pnxx^9^9^9^9';
    found = doc.findText();
    for (i = 0; i < found.length; i++ )
    f = File (destinationFolder + "/" + found[i].contents + '.pdf');
    app.pdfExportPreferences.pageRange = found[i].parentTextFrames[0].parent.name;
    doc.exportFile (ExportFormat.pdfType, f, false, myPDFExportPreset);
    As always, Thanks a million,
    Randy

    >Does that sound do-able?
    Most things are doable, provided that your information is precise: first you say that pages may or may not have a text frame labelled "jobnumber" and that that frame may or may not have text in it (your post can be read like that anyway). Now you say that every page has a text frame labelled "jobnumber" and that that frame can be filled with either of three text strings. Or maybe all three strings? You say
    >then I should be able save each file with the names "Avocado.jpg", "Burnt Sienna.jpg" and "pnga-0431.jpg" respectively.
    Or do you mean "save each file with the names "Avocado.jpg", "Burnt Sienna.jpg" _OR_ "pnga-0431.jpg" respectively."? The way you phrased it, it looks as if you want to save three files from a page. But your example shows that you meant "or", not "and".
    But anyway, the last two lines of your example appear to make clear what you want. The attached script exports each page of the active document to JPG, using the contents of the text frame labelled "jobnumber" on that page. The script assumes that each page has such a text frame and that there is something in it, and that whatever is in it provides a legal file name. It doesn't do any error checking/catching at all.
    Peter
    app.jpegExportPreferences.resolution = 300;
    app.jpegExportPreferences.jpegExportRange = ExportRangeOrAllPages.exportRange;
    app.activeDocument.sections.everyItem().includeSectionPrefix = false;
    path = app.activeDocument.filePath + '/';
    p = app.activeDocument.pages.everyItem().getElements();
    for (i = 0; i < p.length; i++)
      jpg_name = p[i].textFrames.item ('jobnumber').contents + '.jpg';
      app.jpegExportPreferences.pageString = p[i].name;
      app.activeDocument.exportFile (ExportFormat.jpg, File (path + jpg_name));

  • Clear the table data in PDF form

    Hi all,
    I am workin gon WD ABAP, where i  have a Interactive UI elelemt, and i am calling a PDF in to it.
    The PDF has a table, of which i am able to display , read  and save the data to Database.
    But after clicking on the save button , i want the table data to be cleared, which is not happening.
    I tried with binding with an empty internal table, but that gives an error "SOM Expression....."..!!
    Can any one let me know how to clear the PDF table data after clicking on some button.?
    All replies will be appreciated...

    Hi Runal,
    I am not sure about PDF as never worked on it but we can clear the table on view by simply invalidating the node by which you have binded your table. try to invalidate if it helps...
    this is the code to invalidate....
    lo_nd_nodename->invalidate( ).
    regards
    Pranav

  • How to retrieve the multiple rows data on PDF form in a web service method using WSDL DataConnection

    How to retrieve the multiple rows data on PDF form in a web service method using WSDL DataConnection.
    I have a multiple rows on PDF form. All rows have 4 textfields. I want to submit the multiple rows data to a method defiened in webservice.
    Unable to retrieve the data in multiple rows within webservice method.

    Hi Paul,
    I'm now able to save the retrieved xml in a hidden text field and create dynamic table, and I'm able to fill this table from the XML, but the problem is that I could not find the correct way to loop on the xml, what I'm trying to say, the table will have number of rows with the data of the first row only, so can you tell me the right way to loop on the xml!
    this is my code
    TextField1.rawValue=xmlData.document.rawValue;
    xfa.datasets.data.loadXML(TextField1.rawValue, true, false);
    for(var i=0; i<count; i++)
    xfa.form.resolveNode("form1.P1.Table1.Row1["+i+"].Num").rawValue = xfa.datasets.data.record.num.value;
    xfa.form.resolveNode("form1.P1.Table1.Row1["+i+"].Name").rawValue = xfa.datasets.data.record.name.value;
    Table1.Row1.instanceManager.addInstance(true);
    Thanks
    Hussam

  • How to disable Save & Print functionality in PDF form?

    Hi,
    This is the requrement, client need to disable Save & Print functionality in PDF form. (They not allow employee save & print the hrforms payslip)
    May I know how to do it. Thank you.
    What is the parameter value in structure SFPOUTPUTPARAMS  that I need to set in order to  disable Save & Print functionality ?
    call function 'FP_JOB_OPEN'
        changing
          ie_outputparams = SFPOUTPUTPARAMS
        exceptions
          others          = 1.

    Hi Nayan,
    I'm the person who did the WD as well, using IFrame to contain the PDF binary. WD site didn't contro the binary source.
    I pre-define the 'FP_JOB_OPEN' before calling the PDF generation.
    Optional: Set output parameters
      gs_outputparams-nodialog  = ''.
      gs_outputparams-preview   = ''.
      gs_outputparams-getpdf    = 'X'.
      gs_outputparams-nopreview = 'X'.
      gs_outputparams-noprint   = 'X'.
      gs_outputparams-noarchive = 'X'.
      gs_outputparams-nopributt = 'X'.
      gs_outputparams-arcmode = '1'.
      gs_outputparams-noarchive = 'X'.
    Open print job
      CALL FUNCTION 'FP_JOB_OPEN'
        CHANGING
          ie_outputparams = gs_outputparams
        EXCEPTIONS
          OTHERS          = 1.
    Regards,
    Eric

  • Linking data across PDF's in a portfolio

    Morning All,
    I am looking for a way to be able to copy data input into a form in one PDF in my portfolio and have it appear in mutliple other forms sharing the same fields.
    For example I have a portfolio full of forms to be filled by our clients, many with name address etc on them. I would like to set up a master data input pdf in the portfolio to capture the name and address fields to save users have to duplicate the entry on each form.
    Is this possible, If so how would I go aobut doing this, prefereably as simply as possible!
    Regards.

    It's possible, but not really simple. For some links to more info, see: http://forums.adobe.com/thread/769055

  • Saving data into PDF

    I am new bee, I appreciate if some one can guide me how to
    save data from grid to PDF using FLEX.
    Thanks.

    Hi Sasha,
    Using Acrobat, you can create forms that are called AcroForms. The forms created in LC Designer are called XFA (XML Forms Architecture) and are more data centric. While both will open in Acrobat, they are completely different animals.
    The issue with users not being able to save the data with Reader is that the form is not Reader Enabled. You can Reader Enable a form using one of two methods:
    Reader Enable the form using Acrobat Professional (V8 or below) or Acrobat Standard (V9 or above). Note there are licensing restrictions.
    Reader Enable the form using the full server product Adobe LiveCycle Reader Extensions ES2.5. This involves additional licensing fees.
    Have a look here: http://assure.ly/etkFNU, at the features that are available depending on whether the user has Acrobat or Reader; if the form is Reader Enabled; and how the form was Reader Enabled.
    The issue of Reader Enabling would also apply to AcroForms.
    I don't think that you need to dive into LC Designer just yet, as forms created in LC Designer face the same issues about Reader Enabling as forms developed in Acrobat.
    If your usage complies with the EULA, then you could Reader Enable your form in Acrobat.
    Hope that helps,
    Niall

Maybe you are looking for

  • RE: Legacy Integration with PI/Open

    Greg - We are currently working on wrappering the APIs for UniVerse (aka Pick on UNIX). We received some help from the guys at RTD in Denver. We tested out a C program that uses the Universe APIs and it works fine. We will be building the Forte piece

  • How do I decrease the file size of my After Effects video without losing the quality?

    I made a video that was 7 minutes and 11 seconds long for my brothers wedding. The quality is really good but the file size is 1.52 GB and I would rather have that be in the megabytes so that I can send it to family members. It does not have to be so

  • Error while Exporting dump using Expdp

    Hi Guru's When i started to export schema by giving the following command staging/********@XXXXX schemas=abcdirectory=DUMPDIR dumpfile=tnfhc_291210.dmp logfile=exp_tnfhc_291210.log schema is not exported successfully. it started to give the following

  • HDMI/MACBOOK PRO TO TV

    I have a new macbook with an HDMI port but when i plug it in, the movie shows on the tv, but there is no sound. If i take that same HDMI cable and plug it into the XBOX, there is sound, so its not a cable fault. Am i supposed to change any settings o

  • A simple theme for a 8800

    Hope I can get some advise OK so it seems you cannot set the 8800 to have no theme What will solve my problem would be a simple plain or uncluttered theme which makes reading Text and e-mail easier Can anyone direct me to location to download a plain