Tuesday, March 11, 2014
Use function module HRHAP_TEMPLATE_OF_DOCUMENT_GET to get the Template ID for the given appraisal document Id.
Method 1.
call function 'HRHAP_TEMPLATE_OF_DOCUMENT_GET' exporting plan_version = plvar appraisal_id = ls_appraisal_id-appraisal_id importing template_id = lv_template_id exceptions not_found = 1.
Method 2.
If you have T_BODY_ELEMENTS internal table, first record of the table is Template ID.READ TABLE t_body_elements INTO s_body_elements INDEX 1. IF sy-subrc EQ 0. lv_template_id = s_body_elements-element_id. ENDIF.
Followers
Popular Posts
- ABAP - ALV Report example with steps
- ABAP - Sending email with pdf attachment
- ABAP - Step by step tutorial on Smart Forms - Template Node
- SAP Adobe Form - Steps to create simple ADOBE Form and calling it from ABAP Program
- SAP ABAP - CL_ABAP_CHAR_UTILITIES class usage
- ABAP - Multiple value selection from F4 help for SELECT-OPTIONS
- Execute ABAP Report using SUBMIT statement
- ABAP - Select all or Deselect all in ALV or Check box handling in ALV
- Web Dynpro ABAP ALV - ON_CLICK event
- ABAP - Dynamic WHERE clause
0 comments:
Post a Comment
Your useful comments, suggestions are appreciated.Your comments are moderated.