Skip to Content
Add new option to prepare Appraisal Documents in transaction PHAP_PREPAREIntro:

In transaction PHAP_PREPARE we have only three options provide by SAP for preparing Appraisal documents…

image

 I will add a new option over here ….. the option depends on the requirement.

In my case I will Prepare Appraisal Documents with Jobs as an option.

Following are the Main steps:

1.       Implement the Badi

2.       Replace the Existing std program in the method

3.       Copy the Std program and customize it for Job as the selection criteria

 

Step 1. Implement the Badi

1.1   Badis are called differently in EPM. In EPM Filters are assigned to Badi’s implementation and those Filters are assigned the appropriate Applications through OOHAP_BASIC transaction.

1.2   Badi is HRHAP00_DOC_PREPARE

                   1.3   Create a new filter as you will not be able to use the existing filters as  they were already been implemented

image

                 1.4  Give the name of implementation  Z_IMP_DOC_PRE_TEST

 1.5   Go to Attribute create new filter as

image  

1.6   Name the new filter as ZPREPARE_JOB and description as “Prepare Appraisal Docs with Jobs

1.7   Save it.

Step  2. Replace the Existing std program in the method

2.1   Under method PERFORM_PREPARATION copy the code from filter Prepare_2   and paste it here.

2.2   Change the name of the submit program to custom Z program.

image

2.3   Save the Implementation. It will not activate until the custom program is created.

 

Step 3. Copy the Std program and customize it for Job as the selection criteria

  3.1   Copy the std program RHXHAP_APP_DOC_PREPARE_ORG into  ZRHXHAP_APP_DOC_PREPARE_JOB

3.2   Enhance the selection screen to accommodate the Job Functionality.

3.3   In this custom program in turn it is calling another program. Copy that program and create a new z program and change it according to your requirement.

Final Output

image

To report this post you need to login first.

Be the first to leave a comment

You must be Logged on to comment or reply to a post.

Leave a Reply