Hap_document

Hi guys,
Can some1 tell me in the BSP application hap_document from where does the information for appraisals come in ? as in which table or class..

Hi
Please check the following link
[Hap_document1|BSP HAP_DOCUMENT validate appraisal info]
[Hap_document2|Re: Appraisal document status change]
Hope this link helps you
Regards,
Rajani

Similar Messages

  • HAP_DOCUMENT Appraisal. How to autofill cells?

    Hi to every one!
    First of all I want to thanks to everyone who have been helping me. I've done several of questions about the HAP_DOCUMENT BSP application and I always have an answer that solved my problem or leads me to solve it by my one. So Thank you very very much to all of you.
    Now.
    What I'm trying to do is to autofill some cells of my template after I press on button I've create and I'm showing at the "In Process" status.
    I complete by hand a couple of cells and I need to show some data in another cell calculated from the one complete by hand before.
    I'm using a copy of the HRHAP00_VAL_DET_007 implementation to autocomplete some cells in a custom column when I change my status from "In Preparation" to "In Planning" (when the In Planning template shows up I get some values from a table depending on the appraise ID) and its works ok. But it seems that this implementation does not work when I'm "In Process" to complete my cells of another custom column that are only shown in this status.
    Does anyone know how can I do this?.
    Thank you very much again for all your help.
    Nico.-

    Hi,
    Yes. I think you are very close to the solution.
    Just ensure that the import parameter T_BODY_CELLS-NO_VALUE is not marked for that cell. If so the cell would not accept any default values.
    May be this can be checked in debugging.
    Otherwise i think it should be working fine.
    Regards,
    Subbu

  • Error in opening PDF generated through HAP_DOCUMENT(ESS/MSS)

    Hi Experts,
    User is getting an error while opening the PDF generated through "Print" functionality of appraisal document(HAP_Document).
    There is a problem i'am facing in this BSP's,when i click on PRINT after creating Appraisal,it will ask me to either open or save in pdf.
    But when i open or save it and open it is giving me this message in Adobe
    "Acrobat could not open u2018webforms.pdfu2019 because it is either not a supported file type or because the file has been corrupted (for example, it was sent as an email attachment and wasnu2019t correctly decoded).
    To create an Adobe PDF document, go to the source application. Then print the document to Adobe PDF."
    Any body please guide me with a solution.
    With Regards,
    Surender Dahiya

    Hello Surender,
    there may have been connection problems to your content repository when you tried to view this file. I would also recommend that you apply the latest version of the Acrobat Reader. I would recommend that you run a
    trace on the RFC destination to your archive and see what errors are reported when this error occurs again.
    Best Regards,
    Deepak..

  • HAP_DOCUMENT Structure

    Hi,
    anyone who can refer to a good documentation on the HAP_DOCUMENT bsp application? (I've searched in vain!)
    I'm looking for a sound description of the application structure (Controllers, Views, Pages with flow logic, page fragments). For instance, what happends the first time a user calls the application - where is the entry and so?
    ... are anyone out there who can answer that question - if yes, please don't hesitate to post your answer!
    Thanks in advance.
    Elvez

    After some debugging I found the structure of the HAP_DOCUMENT bsp application, which helped me find an appropriate way for modifying the application.
    (Start by copying the HAP_DOCUMENT application)
    If you want to change the entire page go to the <b>Views</b> folder and modify <b>layout_alternative.htm</b>. In <b>layout_alternative.htm</b> you find two includes <b>document_header.htm</b> and <b>document_buttons.htm</b>, a long with a call to the <b>body.do</b> controller. Taking a look at the HAP_DOCUMENT application it is quite obvious what these section of <b>layout_alternative.htm</b> represent.

  • BSP HAP_DOCUMENT in 6.0 not returning body of Appraisal document.

    We have just upgraded to SAP 6.0. We had previously copied SAP BSP "HAP_DOCUMENT" to ZHR_HAP_DOC and made some minor changes. We have two custom Apprasial templates that we use. With this upgrade, The BSP is working for one template but only display header data for the other one. It seems like it is not executing the Body.htm view for this template. All of this same functionality works fine with SAP 5.0. It is after the upgrade we are having this issue.
    I have tried everything I could and no sure where to go from here. Any help is appreciated.
    THANKS.

    Hi,
    Do you check in debugging whether the body.htm is not getting excuted? if not pls do check it and can u tell me what are you using is it a page with flowlogic or with MVC concept.
    Cheers,
    bhavana

  • Source of URL parameters when launching the hap_document

    Hi,
    I have been working on the 'Status Overview' iView in the Employee Performance Management module. The source of the table in the iView is the MSS_HAP_STATUS data view in OADP. I have been able to edit and shuffle the columns through the 'define columns' options in the OADP data provider. Some of the columns are shown as links since they are associated with Service Keys which map back to Resources in the homepage framework. The resource 'MSS_MBO_DOCUMENT' is associated with the some of the columns of the Status Overview page. When I click on the link it launches the HAP_Document BSP application with some dynamic URL parameters like
    Application=HAP_DOCUMENT
    PageId=document_portal.htm
    DynamicParameter=NEW_APPRAISER_ID......
    I have been trying to debug the proxy class CL_HRWPC_SER_MBO_PARAMS associated with the service MSS_MBO_DOCUMENT to look for the dynamic URL parameters but didnt find them all in there. I did find some of them but not in the form of the parameter string it generates in the URL.
    Please let me know if I am looking in the right direction. Any help would be really appreciated.
    Regards,
    Prathamesh

    Hi,
    Check SAP note 1505832.
    Thanks
    Sunny

  • HAP_Document BSP Application "Enter Objective Here "

    HI All BSP Expert and PMS Expert.
    BSP Standard application "HAP_DOCUMENT" Copy as a Z application. In Standard application "Enter Objective Here" Coming As Label but In Z Application i had changed as Input Field , That Input Field Values it  Does not save to R/3 System.
    So , Please it is urgent , Suggest me How to save that value to R/3 System.
    IF you have any document Related To this Query Please Mail  Me.
    id : pappu21198mehta @ gmail.com
    Thanks & Regard.
    Pappu Mehta.

    No need to email you the document related to this query. You can find it right [here|http://wiki.sdn.sap.com/wiki/display/HOME/Rules%20of%20Engagement?bc=true].
    Cheers
    Graham Robbo

  • Change the PDF form In HAP_DOCUMENT

    Hi Experts,
    1)I have a requirement wherein i need to change the pdf form that is generated when we click on download button in hap_document bsp application. I need to use the custom PDF form in place of the actual PDF form. How can i acheive this?
    2) In the layout, i want to replace some part of the screen with an interactive adobe form how to acieve this?
    Thanks and Regards,
      Madhu.

    This should not be handled by ABAP. If they were able to change it in the sales documents, they should be able to cancel the invoice in VF11 and create another one. That's the best practice.

  • Error in BSP HAP_DOCUMENT

    Hello All,
    I have to disply the data of appraisal as appraisee on ess .For this i useed page documents_recieved of bsp HAP_DOCUMENT and attached it to Iview on the ESS portal .but once i am clicking on the ivew i am getting following error :
    The following error text was processed in the system:
    BSP Exception: the Application Name BSP-Application in URL /sap/bc/bsp/sap/BSP-Application/BSP-Page?sap-syscmd=nocookie&sap-client=600&sap-language=EN&style_sheet=http%3A%2F%2Fsap-portal%3A50000%2Firj%2Fportalapps%2Fcom.sap.portal.design.portaldesigndata%2Fthemes%2Fportal%2Fth_ThomasCook%2Fcontrols%2Fcontrols_ie6 is invalid.
    Kindly help me to resolve this ,
    Regards,

    I dont think that is possible.
    ESS is based on netweaver platform, and we can show a BSP page in that.
    But the structure of HAP document is completely different where in there are many documents and also there is a controller which also plays a crutial role.
    Regards.

  • Need to warn user of session timeout in BSP app hap_document......

    Hi,
    We're using the hap_document app to allow employees to change appraisal documents in ESS and for managers to create them thru MSS....
    When employees have their documents open for more than 1 hour, the next time they click on save, it takes them to the session timeout (ICM, version 6040, module icxxthr_mt.c)....
    Is there a way to add a timer to the document.htm or body.htm pages in the application to start a timer, reset it each time user clicks on save, and warn him with a popup when we're within 5 minutes to a timeout...
    I've read messages on the BSP thread that say...
    "Document.htm is split in two frames. One hidden to enable session handling, the second one visible which contains the document.
    So the document.htm is not refreshed, the second frame is refreshed. I tried your approach as well and was not able to tie the script to the second frame.
    Regards and Groetjes,
    Maurice"
    I've also read Thomas's stateful/stateless timeout parameters article...
    Can anyone help me with where I would put the timer javascript code (if not in document.htm or body.htm) and which timeout parameter to check...
    Thanks for all your help,
    Venkatesh

    Look at the sample code..Will solve your problem..
    <%@page language="abap" %>
    <%@extension name="htmlb" prefix="htmlb" %>
    <script type="text/javascript">
    function remind() {
    var msg = "Your Session will be timed out in 10 Secs";
    alert(msg);
    </script>
    <htmlb:content design="design2003" >
      <%
      data: v_rem type string.
      DATA: port TYPE STRING.
      port = request->get_header_field( if_http_header_fields_sap=>server_port ).
      DATA: services TYPE TABLE OF ICM_SINFO.
      CALL FUNCTION 'ICM_GET_INFO' TABLES SERVLIST = services.
      FIELD-SYMBOLS: <service> TYPE ICM_SINFO.
      DATA: wait TYPE STRING.
      READ TABLE services ASSIGNING <service> WITH KEY service = port.
      wait = <service>-KEEPALIVE - 10.
      CONDENSE wait.
      concatenate `'remind(`  wait `)',2000` into v_rem.
      %>
      <htmlb:page onLoad = "setTimeout(<%= v_rem %>)"
                  title  = " " >
        <htmlb:form>
          <htmlb:textView text   = "Hello World!"
                          design = "EMPHASIZED" />
          <htmlb:button text    = "Press Me"
                        onClick = "myClickHandler" />
        </htmlb:form>
      </htmlb:page>
    </htmlb:content>
    <i>* Reward each useful answer</i>
    Raja T

  • Hap_document modification

    Hello All,
    I have to do some modifications in Hap document .My question is shall i make change /modifications
    in standard only or copy it to Z and make changes to Hap document.What is more advicable.
    Also where i can find the complete functionallity of hap document ie which steps to follow for the appraisel in hap document.
    also what is the link between PHAP_ADMIN and the BSP hap_document
    Points assured .
    Thanks and Regards,

    Hi Friend,
    Taking z copy of the original application is more advicable and acceptable than that of doing changes in the original application.More than that making changes in original application has more restrictions.
    Searching the forum will fetch some information about the appliaction.
    [LINK1|Re: HAP_DOCUMENT Structure;
    [LINK2|http://help.sap.com/erp2005_ehp_03/helpdata/en/48/29ef4ec5df2143a9630ee6d1f4539f/content.htm]
    [LINK3|http://www.sapprogrammer.com/bsp_seek.html]
    With Regards,
    SHARMILA BRINDHA.M
    Edited by: SHARMILA BRINDHA on Mar 23, 2009 6:14 AM

  • Hap_document to zhap_document in MSS scenario

    Hi all,
    I need to do some changes on hap_document BSPs, and for that I'd copied to zhap_document.
    Now I'm trying to use that BSP application on MSS scenario 'Maintain Performance Documents', but when i click on the links of the table it opens me always the hap_document:
    http://«host»/irj/portal?NavigationTarget=ROLES%3A%2F%2Fportal_content%2Fcom.sap.pct%2Fline_manager%2Fcom.sap.pct.erp.mss.bp_folder%2Fcom.sap.pct.erp.mss.pages%2Fcom.sap.pct.erp.mss.hcm%2Fcom.sap.pct.erp.mss.performance_document&Application=HAP_DOCUMENT&PageId=document_portal.htm&DynamicParameter=NEW_APPRAISER_ID%3D00000044%26PLAN_VERSION%3D01%26NEW_APPRAISER_TYPE%3DP%26sap-epcm-guid%3D32EE25CDE90D6FBF28573779085B645AF3E9A7335D778FC2E088939C75DF63F0%26ADD_ON_APPLICATION%3DPA%26MODE%3DN%26NEW_APPRAISEE_TYPE%3DP%26NEW_APPRAISEE_ID%3D00000047%26NEW_TEMPLATE_ID%3D50001329&CurrentWindowId=WID1201512375041&NavMode=3
    I already changed the bsp name on this iview:
    portal_content/com.sap.pct/line_manager/com.sap.pct.erp.mss.bp_folder/com.sap.pct.erp.mss.pages/com.sap.pct.erp.mss.hcm/com.sap.pct.erp.mss.performance_document
    But link always come with &Application=HAP_DOCUMENT& and opens me the wrong BSP.
    Is it possible to change that?
    Thanks in advanced,
    Luis Cruz

    Hi Luís Cruz,
    You need to make the changes in two places one is the application  
    BSP Application: application name (in this case ZHAP_DOCUMENT) and
    Start Page: start page of the application.
    Try creating a new iView and from the template select BSP iView and try doing it.
    Hope this helps.
    Cheers-
    Pramod

  • HAP_DOCUMENT in new window

    Hi Everyone,
    we're currently using ess/mss together with the BSP application HAP_DOCUMENT. We have a requirement from the users where they want the window that displays the document to be a separate window. The BSP application is integrated into the portal. Does anyone know whether this is achievable through config or do we need to change standard/implement something bespoke?
    Cheers,
    Dion

    Hello,
    Please check the properties in the iview "Launch in new window"
    You will need to create an iview of BSP type and open this iview in a new window with this property seted.
    Following are some interesting links.
    http://help.sap.com/saphelp_nw70/helpdata/EN/30/1b62799d786445a72ad85acb4fd55b/frameset.htm
    http://help.sap.com/saphelp_nw70/helpdata/EN/46/89d94ce8a64b2be10000000a155369/frameset.htm
    http://help.sap.com/saphelp_nw70/helpdata/EN/cb/f8751d8c6b254dac189f4029c76112/frameset.htm
    Regards,
    Ricardo

  • HAP_DOCUMENT in ERP2004 and ERP2005.

    Hi
    We are in the process of upgrading our ERP package from ERP2004 to ERP2005. The BSP Application, HAP_DOCUMENT in ERP2005 has got many new "pages with flow logic" like
             1. document_upload.htm
             2. document_upload_inside.htm
             3. document_download.htm
             4. document_create_status_note.htm
             5. document_display_status_note.htm
    Can anyone tell me why these pages are used? Is this upgraded HAP_DOCUMENT better than the old one? Any information that you could provide will help me out in deciding whether the hap_document upgrade is necessary or not.
    Regards,
    Aruna Nivetha.R

    All those pages are enhancements to the OSA functionality.. you can  upload an old Appraisal document or download the current document..maintain comments for status chage etc..There is a PDF document in the service market place that details what is new in ERP2005,, try there  ie
    service.sap.com, alias: /erp-hcm
    Talent Management Performance Management
      FAQ
      Media Center
    ~Suresh

  • HAP_DOCUMENT BSP redirect using the BADI HRHAP00_BSP_TMPL

    Hi all,
    Below is my issue:
    Last year, We have modified the BSP HAP_DOCUMENT by copying it to Y_HAP_DOCUMENT. Now we had to make further changes to the BSP which had to be template specific.
    So we used the BADI HRHAP00_BSP_TMPL to redirect the document to a new BSP Y_HAP_DOCUMENT_V1.
    The iviews are pointing to the BSP Y_HAP_DOCUMENT, but when the BADI is hit its getting redirected to the V1 BSP.
    But the issue is that whenever the redirect BSP is used, the error messages are getting killed.
    Please let me know if anyone had a similar issue and if they were able to solve the issue.
    Thanks,
    Manasa
    I am using the

    Hi Luk!
    Sorry that i got back to you this late. Have you solved the issue?
    whenever we redirect using the badi for hap_document the control starts from layout_alternative.htm  view instead of the layout_sap_standard.htm. So if you copy paste the code from the sap standard view you will be able to redirect it.
    Hope this helps. Plesae reward hlpfull answers.
    Thanks,
    manasa

  • HAP_DOCUMENT Migration

    Hi,
    I was wondering whether or not there are any BAPIs for migrating HAP_DOCUMENT data from one system to another?
    Is there any best way to migration live HAP_DOCUMENT data between system?
    Are there any "DON'Ts" that I should consider?
    Thanks.
    /Elvez

    No answers. SAP consulting developed a custom migration program for this.

Maybe you are looking for