Skip to Content
avatar image
Former Member

PHAP_PREPARE & PHAP_CREATE

Hi,

Please let me know why tcode PHAP_PREPARE & PHAP_CREATE are useful? I mean, how is it used in Appraisals.What is the role of each tcode and how important it is to maintain them.


Thanks.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

6 Answers

  • Best Answer
    avatar image
    Former Member
    Sep 05, 2014 at 11:02 AM

    Hi,

    Thanks a lot for the quick response.I am trying to understand the process of Performance management.

    We use Tcode PHAP_CATALOG to create a appraisal template, and assign Appraiser and appraisee in PHAP_CREATE?

    Bcz PHAP_CATALOG is also used to create appraisal template.Pls guide

    Thanks

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      PHAP_CREATE is to RELEASE THE TEMPLATE for the specific Appraiser and Appraisee in the certain time period and for already created appraisal template (creation through PHAP_CATALOG)

      if you want to release the template for no. of appraisee's at a time you can use PHAP_PREPARE (all the selected appraisee's are report to same appraisal only).

  • Sep 05, 2014 at 11:14 AM

    Hi Nisha,

    You can gather additional knowledge from the below document.

    http://scn.sap.com/docs/DOC-52956

    Please endorse if helpful.

    Regards

    Sounak

    Add comment
    10|10000 characters needed characters exceeded

  • Sep 05, 2014 at 10:28 AM

    PHAP_CREATE is to create new template for a person.

    During SAP HCM performance management implementation, one report is developed to prepare appraisal documents according to customer requirements with defaulted objectives and header data. Because SAP provided 3 standard options do not suit the customer requirement and client also ask for pre-populated objectives and header data.

    Provided 3 standard programs, we get after running the PHAP_PREPARE are-

    • Prepare Appraisal Docs with Wizard
    • Prepare Appraisal Docs with Organizational Units
    • Prepare Appraisal Docs with Restricted Templates (Appraiser, Appraisee)

    Now, SAP has already provided the option to include customer program in this list. For that purpose BADI, HRHAP00_DOC_PREPARE (Appraisal Document - Prepare Appraisal Documents) can be used. And this BADI is filter-dependent.

    3 interface methods are given in this BADI. And these are-

    • REGISTRATION(Register Reporting Function)

                       This method determines the implementation for which the add-on application is valid, such as:                  - Personnel appraisal only (such as preparation using organizational unit)                 -         Training appraisal only (for SAP Learning Solution only) Also we can do filter dependent checking and register the function here.

    • GET_INFORMATION(Get Information About Reporting Function)

                     This method determines the documentation object that contains information about the reporting function

    • PERFORM_PREPARATION(Execute Reporting)

                     This method starts the function as soon as it has been selected by the user. The function could be a customer-specific report, function module, or a wizard.

    SAP has already implemented, 3 implementations and these could be used as sample coding.


    One custom appraisal preparation program YHR_APPRAISAL_PREP is developed and the selection screen is –


    Now implementing BADI to integrate program YHR_APPRAISAL_PREP with PHAP_PREPARE.

    1. Create implementation from SE19 with implementation name YHRHAP0_DOC_PREPARE4 (Prepare Appraisal Docs : ABC Agro) and filter YPREPAR_4.

         2. Now implement two methods with the following code.

    Method REGISTRATION

    method IF_EX_HRHAP00_DOC_PREPARE~REGISTRATION.
      register = 'X'.
    endmethod.

    Method PERFORM_PREPARATION

    method IF_EX_HRHAP00_DOC_PREPARE~PERFORM_PREPARATION.
      SUBMIT YHR_APPRAISAL_PREP  VIA SELECTION-SCREEN
                                 AND RETURN .
    endmethod.

    Now activate all the methods and implementation.

          3. Check from PHAP_PREPARE. Custom program is attached here.

    Click on ‘Prepare Appraisal Docs : ABC Agro’, custom program will start.


    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 05, 2014 at 10:25 AM

    Hi Nisha,

    PHAP_CREATE  is to create new template


    PHAP_PREPARE is for selecting the Appraisal Template and Appraiser and Appraise (at a time N no. of )


    for example:

    after creation and release status for the template, we need to release the template for the specified time with appraiser and appraise by t-code: APPCREATE. here in this we can release only one at a time. if you go with PHAP_PREPARE we can select N no. of Appraiser / Appraisee's.


    Read the document while doing the wizard PHAP_PREPARE you will understand.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 05, 2014 at 10:28 AM

    check this link for T-codes we use in the Appraisal.

    SAP appraisal tcodes (Transaction Codes)

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 05, 2014 at 11:50 AM

    I am thankful to each one of you for making me understand the doubts i had.

    Regards

    Add comment
    10|10000 characters needed characters exceeded