BSP Performance Appraisal Form PDF Generation

Hi all,
             I need to find out how the standard SAP Performance Appraisal template generates the PDF format of this BSP page. Does anyone have any idea how and where this generation of this PDF file is done?

Hi Geva,
please remember that I am by no means certain that this is how the Performance Appraisal form you mention works. This is just an example of how I have dome this in the past.
Think of BSP as a delivery mechanism for SmartForm output. SmartForm output can be in different formats including HTML and PDF.
Once you have executed the SmartForm and have the output in the correct format you then just need to populate the HTTP response object. Something like this example for PDF.
* Conversion of output format OTF into PDF format
CALL FUNCTION 'CONVERT_OTF'
     EXPORTING
          format = 'PDF'
     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
ENDIF.
* Fill HTTP response
response->set_header_field( name = 'content-type' value = 'application/pdf' ).
* some Browsers have caching problems when loading PDF format
response->set_header_field( name = 'cache-control' value = 'max-age=0' ).
* display PDF format in Browser
l_pdf_len = XSTRLEN( l_pdf_xstring ).
response->set_data( data = l_pdf_xstring length = l_pdf_len ).
navigation->response_complete( ).
Cheers
Graham

Similar Messages

  • XFA Customized Shell PDF Generation and Use

    Hello,
    I am using Adobe LiveCycle ES3, Version 10.0.2 on Windows 7 to create our performance appraisal forms so they can expand as needed. The form information is:
    Adobe XML Forms Architecture (XFA)
    <config xmlns="http://www.xfa.org/schema/xci/3.0/">
    <xfa:datasets xmlns:xfa="http://www.xfa.org/schema/xfa-data/1.0/">
    The forms work great and expand as needed, however, when opened in web browser PDF viewers, I would like to use a customized Shell PDF instead of the following:
    Is it possible to edit this Shell PDF that is displayed to give specific instructions or is it possible to to add in a custom static PDF file in its place?
    Thank you so much for any assistance.

    I have written some C# code using iText to do this. I'll see if I can't clean it up and post it.

  • Interactive Adobe form for performance appraisal

    Hi Experts,
    Is it possible to create Interactive Adobe Form for Performance appraisal? I understand that the appraisal template varies company to company.Does it affect the Form? Can we update the infotype 0025 ( Appraisals where appraisee /Appraisals where appraiser tab) ? Please advice on this.

    Hi,
    We had the same question sometime back. This is what we found
    1. Users will not finish Performance Apprisal document in one session, they will complete partially and then comback another day to complete it.
    2. IT25 is not like normal infotype, it might be challenging to update it with BAPI/RFCs.
    These two issues stopped us from doing Adobe interactive forms (PCR like) for Performance apprisal.
    Srini

  • Heavy performance issues using Adobe Interactive Form PDFs generated by SAP BPM

    Dear experts,
    we use Adobe Interactive Form PDFs (generated with LiveCycle Designer) as Human Tasks within SAP BPM processes. The PDFs are generated and transmitted correctly, but when they are opened at the receivers PC, Windows freezes for 2-3 minutes, then the PDF opens and can be filled out and sent back. The next PDFs can be opened much faster, but when the PC is restarted, we get the same problem again. We use Adobe Reader XI (11.0.2) on our clients; is their any know performance issue?
    Please note, that we have this problem with EVERY Adobe Interactive Form PDF... I created a simple PDF containing just a field and the client PC still freezes. So it can't be in the form or the scripting. Normal static PDFs can be opend without any problems.
    Best regards,
    David

    They haven't really announced it, because there is no product to announce. Rather the opposite.
    There are no conversion tools, so far as I know.
    XFA forms are a non-starter if you want portability.
    AcroForms are a nightmare in themselves, because the functionality is limited in Adobe Reader and varies between absent and weird in other products. No idea about Blackberry support.
    You will not find a simple recommendation. Rather, you need to use Acroforms and carefully test everything (EVERYTHING: no assumptions) on every platform you intend to support.
    Yes, rather unsatisfactory, but until Adobe realise that the future is platform equivalence or irrelevance, this is where we are.

  • Performance Appraisal - Tabs versus one long form and column headers

    Hello
    Does SAP allow the ability to display the appraisal form in various tabs like one tab each for "Competency", one for "Goals", etc. OR does it all have to be on one long form? If it has to be a one form,
    - How can we freeze the column headers so that they are always available on the screen as the manager scrolls down on the form?
    - Some columns are applicable to only one section of the form. Can we display the column headers per section of the form instead of at the very top?
    Please advice. Many thanks in advance,

    Hi,
    Yes you are right.
    The main page for the MSS BSP is documents_todo.htm. Based on the event given to this html page, the BSP will call other html pages. To get the info which page will be called, double click on the BSP application and goto the navigation tab.
    Here you will find the "start page" "navigation request" and "target page".
    For the main screen i.e Appraisal edit screen, the html page name is "document.htm". Also further this page calls the page fragments.
    Like "document_header.htm" for header data.
    and "document_body.htm" for the appraisal body - think in this page u need to do your coding. like bring the tab function and scrolling stuff.
    Hope this helps you.
    Regards,
    Subbu.

  • Spell Checker in MSS Performance Appraisal

    Hello
    Is there any functionality to spell check an EE's performance appraisal in MSS? The idea is to check for spellings in the notes section of objectives etc as the employee enters the information OR when the form is saved. If there is such a possibility, could you shed some light on how to go about implementing the same?
    Many thanks in adavce,

    Look at the below link:
    Re: Spell check text input in BSP
    It will solve your problem.
    <b>*Reward each useful answer</b>
    Raja T

  • Performance appraisal in ESS

    Hi,
    we are using ecc5.0 and we have requiement from client on performance appraisal.
    In ess employee should be able to fill the self appraisal and submit to manager.The manager should be able to open performance review form and fill the form and send both the self appraisal form and performanace appraisal form to hr after signing.
    Is there any standard functionality in ecc5.0?
    Thanks in advance,
    Usha

    What you are looking for can be done with standard with all the below activities.
    1. Configure appraisal templates using PHAP_CATALOG_PA.
    2. Create BSP iView for appraisal templates for employees, managers and others in portal using BSP application 'HAP_DOCUMENT-documents_received_open2.htm' (appraisal for employees) and 'HAP_DOCUMENT-documents_todo.htm' for managers and others.
    Also, refer to SAP help on how to configure Appraisal templates. let me know if you need any further details.

  • Adding a box in Portal for Performance appraisal template

    Dear Experts,
    We have already released a performance appraisal template and its in production use for a while now.
    Now, client wants to add 1 box titled 'Managers comment'. Since its already released template I cant make changes in it and add a criteria in the form of 'Managers Comment'. What is the solution? Is there a way by which we can make this box appear in portal through coding? This change is required in a template which is in use. We cant create a new template.
    I know there is a note to make changes to released appraisal template but as its risky I dont want to use it.
    Please advise.

    you cant make changes to released template, if you do also, new changes wont be shown
    Please refer the note 888650
    and do the steps as indicated in order to cancel already released one

  • PDF Generation has problems

    Hi there,
    Our company uses Colffusion to make PDFs for our client.
    Recently, the PDF generation is incredible instable, causing
    corrupt PDF files or performance issues.
    I found out, that the problem lies within the including some
    picture. This slows down almost everything or sometimes the
    generation does not happen at all.
    Is there a solution for this? Is there a hot fix for that?
    Thanks for your reply

    Try <cfreport> instead of <cfdocument> which give
    better results for these type of pdf conversion and image
    issues...

  • PDF generation in VC

    Hi everybody,
    I need to develop a wizard-like application which ends generating a pdf non-interactive form (i.e. list of class students).
    I would like to use as less coding as possible, so I'm using Visual Composer for the selection steps.
    However the last step should provide the pdf generation and I actually don't know how to integrate these two technologies.
    I know that WDP java provides Adobe Forms natively, but WDP integration with VC is somewhat hard and uncertain, as other sdn posts show, especially when flex is used.
    Can anyone provide help, experiences or example with regard to pdf generation with Visual Composer?
    Thanks
    Point will be awarded
    Vincenzo

    HI
    Used the Web Design API to export to PDF..
    1 Double click on the Output Table
    and choose “Edit” on the toolbar
    2 Specify this button as “Export to
    PDF”, System Action=Hyperlink,
    and then click Formula.
    3 Add the below code in the formula.
    "pcd!3aportal_content!2fcom.sap.pct!2fplatform_a
    dd_ons!2fcom.sap.ip.bi!2fiViews!2fcom.sap.ip.bi.b
    ex?QUERY=" & STORE@REPTNAME &
    "&BI_COMMAND_1-
    BI_COMMAND_TYPE=EXPORT&BI_COMMAND
    1-EXPORTFORMAT=PDF&BI_COMMAND_1-
    SHOW_EXPORT_DIALOG=X&BI_COMMAND_1-
    null="
    NOTE: This URL is for the Web
    Analyzer PCD Location if Visual
    Composer is on the same server as
    BI-JAVA. If it is not, see the section
    on Mapping External BI locations.
    NOTE: This will export the default
    view of the data service to a PDF
    File. It will not keep filters or
    navigation states.
    Hope I answer your query
    Swapnil

  • Appraisal form doesn't open in new window

    Hi Guru's,
    We are using the BSP application HAP_Document. For the employee we use the "page with flow logic" (SE80) documents_receives_open2.html. This gives an overview of open appraisals.
    Our problem is, that when an employee clicks on the link to an appraisal form, that the form opens in the same frame. It should open in a new window.
    Hope you can tell me how we can adjust this.
    Thanks!
    Marco

    Hope you've set the option 'Open In New Window' in BSP iView properties.
    Also check that  In homepage config. for resource which calls this application.For url for pcd page
    Replace roles with exroles for e.g. exroles://portal......
    This two suggestions solve you issue,
    Regards

  • Performance Appraisal: Automatic updation in case of Manager's Transfer

    Dear All,
    In performance appraisal Manager(n) is Appraiser and Manager's Manager(n1)  is included as further participant so that he can view appraisals of all employees who indirectly report to him. Now whenever this higher Manager (n1) is transferred new manager coming in can not view appraisals of his new department automatically. To enable this we update this further participant list manually of all old appraisal forms of his employees. Is there a way to do this automatically as such cases are quite a few and doing this manually is very time consuming.
    Thank You.

    i havent seen any automatic update
    in general if an employee changes the manager, the old manager
    should be replaced in the document as well by the new manager to get
    access to the entire document.
    I would suggets to replace the appraiser in the documnet e.g. by
    transaction PHAP_ADMIN so that the new manager sees the entire
    document.
    scenarios could be
    solved using BAdI HRHAP00_ACC_HEADER. It'll enable you to change the
    appraiser of the created appraisal documents when manager has been
    changed.

  • Predefined performance appraisal-ess

    Dear Gurus,
    I would like to know about the configuration part for predefined performance appraisal for EE
    so that,the EE can use it in the NWBC portal
    where and how to define the predefined appraisal in backend?
    Need help on this!

    Hi Archana,
    It should be explicitly hidden for Portal through a BADI HRHAP00_COL_ACCESS  which has to be called in the BSP  HAP_documnet only then it will be hidden.
    CODE inside the BADI
    if status_overview = 'In_process  '.
    if the logon person person is  Appraisee
       if  column to be displayed is Part appraiser comments column
                   hide column
       endif.
    endif.
    Edited by: abhishek nms on Dec 12, 2009 8:29 PM

  • BI 7.0 Web PDF Generation

    Hi folks,
    I do have a severe problem with PDF generation and it looks like a common issue.
    I integrated Button to convert my Management Webreport to PDF, no big issue so far.
    But the generated PDF is not bevaing like expected. We do have a BI report that contains 3 charts horizontally alligned by a table to fit the screen and 1 table below
    those charts.
    This report fits perfectly on one page landscape.
    When generating PDF locally (PDF generator installed on client PC) Internetexplorer ==>PDF works as expected.
    When using the Button in Webtemplate to use the BI functionality to export to PDF the PDF is a mess.
    All template items are displayed in sequence taht means instead of 3 horizontal charts I see 3 charts and 1 table underneath each other.
    It looks like the old fashioned 3.x print function.
    My question:
    Is there a way to influence the PDF generation. Maybe a class ( like former 3.x  Table Interface) to modify to render the PDF like the template appearance?
    We cannot install PDF clients locally nor can we ship management those reports coming from BI. Report designer is no alternative because of missing functionality.
    TIA
    Joerg

    Thanks so far,
    currently when using the container item and referring by command wizard ( export to PDF) the system is not generating any item.
    Error Message 'file has no page and can't be opened...' occurs.
    I think this is a really urgent Development issue because I think printing via PDF is getting more and more important since not everyone is using IE7 ( which is not fully supported by SAP either) to scale pages for printing.
    Best regards
    Joerg

  • Copying Appraisal Form data from Old to New..

    Hi,
    My client has been using an Appraisal template since last year and all the users keyed in their data already.Then they wanted some minor changes in the existing Appraisal form.We have created a New Template.
    Now my Client wants to Copy all the old forms data to New Form.They are not interested to ask the users again to Key in all the data.Then want to copy the old form data to new.Is it possible to copy the Old Form data into NewForm ?
    Is there any std way to download & the upload the records?
    I tried to Record(SHDB) the App_create Trnx,But it's not recording the Textarea Subscreens.
    Im using SAP4.7 and HR Extension 2.00 and using HAP_DOCUMENT BSP Application in my Portal.
    Rgds,
    Jothi.P

    my complaining has nothing to do with you disturbing. I think its the heat in India, still not used to it
    In later releases it will be the same. Our design is just this way. You can't copy appraisals, and you can't change released templates. Those are conciously made design decisions which I still stand to.
    From a business point of view it just needs a different approach. Your current situation is not an exception. Here is how I have seen other multinational companies with a global roll-out handle it.
    They setup the appraisal process for a year, say for 2005. They start gathering the suggestions/complaints from employees/management and start discussing internally on the possible changes in the process. Then they implement a new template and make this available for the new round in 2006. The old template they put in "in history".
    So, they stick to the process they have initiated and start with an approved template with the new round. This then does not disrupt the current process, avoids "bad" quick fixes and gives HR the time to test the new process.
    For now, try to create the "copy" report but I would also inform the client that the above process would be the better one on the long run.
    Also from an employee and manager point of view it makes more sense as the process they started doesn't change without them knowing what or why.
    Regards and Groetjes,
    Maurice

Maybe you are looking for