SAP HRHAP_DOCUMENT_CHECK_CHANGED Function Module for









HRHAP_DOCUMENT_CHECK_CHANGED is a standard hrhap document check changed SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.


See here to view full function module documentation and code listing for hrhap document check changed FM, simply by entering the name HRHAP_DOCUMENT_CHECK_CHANGED into the relevant SAP transaction such as SE37 or SE38.

Function Group: HRHAP_IF_DOCUMENT
Program Name: SAPLHRHAP_IF_DOCUMENT
Main Program: SAPLHRHAP_IF_DOCUMENT
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function HRHAP_DOCUMENT_CHECK_CHANGED pattern details

In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.
CALL FUNCTION 'HRHAP_DOCUMENT_CHECK_CHANGED'"
EXPORTING
PLAN_VERSION = "Plan Version
S_HEADER_STATUS = "Header - Status
T_BODY_COLUMNS = "Body - Columns
T_BODY_ELEMENTS = "Body - Elements
T_BODY_CELLS = "Body - Cells
T_BODY_CELL_NOTES = "Body - Cell Notes
* DETAILED_CHANGES = ' ' "
* T_STATUS_NOTES = "
* IGNORE_COLUMN_NUMBER = "
S_APPRAISAL_ID = "Appraisal ID
S_DOC_PROCESSING = "Document: Processing
T_HEADER_APPRAISER = "Header - Appraiser
T_HEADER_APPRAISEE = "Header - Appraisee
T_HEADER_PART_APPRAISERS = "Header - Part Appraisers
T_HEADER_OTHERS = "Header - Others
S_HEADER_TEXTS = "Header - Texts
S_HEADER_DATES = "Header - Dates

IMPORTING
S_MODIFY = "DB Changes
S_MODIFY_DETAIL = "DB Changes - Detailed
L_MODIFY_STATUS_NOTE = "
S_RETURN = "Application Log: Message Data
.



IMPORTING Parameters details for HRHAP_DOCUMENT_CHECK_CHANGED

PLAN_VERSION - Plan Version

Data type: HAP_PLAN_VERSION
Optional: No
Call by Reference: No ( called with pass by value option)

S_HEADER_STATUS - Header - Status

Data type: HAP_S_HEADER_STATUS
Optional: No
Call by Reference: Yes

T_BODY_COLUMNS - Body - Columns

Data type: HAP_T_BODY_COLUMNS
Optional: No
Call by Reference: Yes

T_BODY_ELEMENTS - Body - Elements

Data type: HAP_T_BODY_ELEMENTS
Optional: No
Call by Reference: Yes

T_BODY_CELLS - Body - Cells

Data type: HAP_T_BODY_CELLS
Optional: No
Call by Reference: Yes

T_BODY_CELL_NOTES - Body - Cell Notes

Data type: HAP_T_BODY_CELL_NOTES
Optional: No
Call by Reference: Yes

DETAILED_CHANGES -

Data type: CHAR1
Default: ' '
Optional: Yes
Call by Reference: Yes

T_STATUS_NOTES -

Data type: HAP_T_STATUS_NOTE
Optional: Yes
Call by Reference: Yes

IGNORE_COLUMN_NUMBER -

Data type: I
Optional: Yes
Call by Reference: Yes

S_APPRAISAL_ID - Appraisal ID

Data type: HAP_S_APPRAISAL_ID
Optional: No
Call by Reference: No ( called with pass by value option)

S_DOC_PROCESSING - Document: Processing

Data type: HAP_S_DOC_PROCESSING
Optional: No
Call by Reference: Yes

T_HEADER_APPRAISER - Header - Appraiser

Data type: HAP_T_HEADER_APPRAISER
Optional: No
Call by Reference: Yes

T_HEADER_APPRAISEE - Header - Appraisee

Data type: HAP_T_HEADER_APPRAISEE
Optional: No
Call by Reference: Yes

T_HEADER_PART_APPRAISERS - Header - Part Appraisers

Data type: HAP_T_HEADER_PART_APPRAISERS
Optional: No
Call by Reference: Yes

T_HEADER_OTHERS - Header - Others

Data type: HAP_T_HEADER_OTHERS
Optional: No
Call by Reference: Yes

S_HEADER_TEXTS - Header - Texts

Data type: HAP_S_HEADER_TEXTS
Optional: No
Call by Reference: Yes

S_HEADER_DATES - Header - Dates

Data type: HAP_S_HEADER_DATES
Optional: No
Call by Reference: Yes

EXPORTING Parameters details for HRHAP_DOCUMENT_CHECK_CHANGED

S_MODIFY - DB Changes

Data type: HAP_S_DB_CHANGED
Optional: No
Call by Reference: Yes

S_MODIFY_DETAIL - DB Changes - Detailed

Data type: HAP_S_DB_CHANGED_DETAIL
Optional: No
Call by Reference: Yes

L_MODIFY_STATUS_NOTE -

Data type: CHAR1
Optional: No
Call by Reference: Yes

S_RETURN - Application Log: Message Data

Data type: BAL_S_MSG
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for HRHAP_DOCUMENT_CHECK_CHANGED Function Module

The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the newer method of declaring data variables on the fly. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8), which i why i have stuck to the origianl for this example.

DATA:
lv_s_modify  TYPE HAP_S_DB_CHANGED, "   
lv_plan_version  TYPE HAP_PLAN_VERSION, "   
lv_s_header_status  TYPE HAP_S_HEADER_STATUS, "   
lv_t_body_columns  TYPE HAP_T_BODY_COLUMNS, "   
lv_t_body_elements  TYPE HAP_T_BODY_ELEMENTS, "   
lv_t_body_cells  TYPE HAP_T_BODY_CELLS, "   
lv_t_body_cell_notes  TYPE HAP_T_BODY_CELL_NOTES, "   
lv_detailed_changes  TYPE CHAR1, "   ' '
lv_t_status_notes  TYPE HAP_T_STATUS_NOTE, "   
lv_ignore_column_number  TYPE I, "   
lv_s_appraisal_id  TYPE HAP_S_APPRAISAL_ID, "   
lv_s_modify_detail  TYPE HAP_S_DB_CHANGED_DETAIL, "   
lv_s_doc_processing  TYPE HAP_S_DOC_PROCESSING, "   
lv_l_modify_status_note  TYPE CHAR1, "   
lv_s_return  TYPE BAL_S_MSG, "   
lv_t_header_appraiser  TYPE HAP_T_HEADER_APPRAISER, "   
lv_t_header_appraisee  TYPE HAP_T_HEADER_APPRAISEE, "   
lv_t_header_part_appraisers  TYPE HAP_T_HEADER_PART_APPRAISERS, "   
lv_t_header_others  TYPE HAP_T_HEADER_OTHERS, "   
lv_s_header_texts  TYPE HAP_S_HEADER_TEXTS, "   
lv_s_header_dates  TYPE HAP_S_HEADER_DATES. "   

  CALL FUNCTION 'HRHAP_DOCUMENT_CHECK_CHANGED'  "
    EXPORTING
         PLAN_VERSION = lv_plan_version
         S_HEADER_STATUS = lv_s_header_status
         T_BODY_COLUMNS = lv_t_body_columns
         T_BODY_ELEMENTS = lv_t_body_elements
         T_BODY_CELLS = lv_t_body_cells
         T_BODY_CELL_NOTES = lv_t_body_cell_notes
         DETAILED_CHANGES = lv_detailed_changes
         T_STATUS_NOTES = lv_t_status_notes
         IGNORE_COLUMN_NUMBER = lv_ignore_column_number
         S_APPRAISAL_ID = lv_s_appraisal_id
         S_DOC_PROCESSING = lv_s_doc_processing
         T_HEADER_APPRAISER = lv_t_header_appraiser
         T_HEADER_APPRAISEE = lv_t_header_appraisee
         T_HEADER_PART_APPRAISERS = lv_t_header_part_appraisers
         T_HEADER_OTHERS = lv_t_header_others
         S_HEADER_TEXTS = lv_s_header_texts
         S_HEADER_DATES = lv_s_header_dates
    IMPORTING
         S_MODIFY = lv_s_modify
         S_MODIFY_DETAIL = lv_s_modify_detail
         L_MODIFY_STATUS_NOTE = lv_l_modify_status_note
         S_RETURN = lv_s_return
. " HRHAP_DOCUMENT_CHECK_CHANGED




ABAP code using 7.40 inline data declarations to call FM HRHAP_DOCUMENT_CHECK_CHANGED

The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.

 
 
 
 
 
 
 
DATA(ld_detailed_changes) = ' '.
 
 
 
 
 
 
 
 
 
 
 
 
 
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!