SAP HRHAP_BC_HEADER_OTHER Function Module for









HRHAP_BC_HEADER_OTHER is a standard hrhap bc header other 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 bc header other FM, simply by entering the name HRHAP_BC_HEADER_OTHER into the relevant SAP transaction such as SE37 or SE38.

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



Function HRHAP_BC_HEADER_OTHER 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_BC_HEADER_OTHER'"
EXPORTING
PLAN_VERSION = "Plan Version
T_HEADER_OTHERS = "Header - Other
S_HEADER_DATES = "
* ERROR_PROCESS_MODE = ' ' "Single-character flag
TEMPLATE_ID = "Appraisal Template
S_STATUS_NEW = "Appraisal Status New
S_DOC_PROCESSING = "Document: Processing
S_HEADER_DISPLAY = "Header - Display
* S_HEADER_TEXTS = "Header - Texts
T_HEADER_APPRAISER = "Header - Appraiser
T_HEADER_APPRAISEE = "
T_HEADER_PART_APPRAISERS = "

IMPORTING
T_RETURN = "Table Type for Return Parameter
.



IMPORTING Parameters details for HRHAP_BC_HEADER_OTHER

PLAN_VERSION - Plan Version

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

T_HEADER_OTHERS - Header - Other

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

S_HEADER_DATES -

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

ERROR_PROCESS_MODE - Single-character flag

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

TEMPLATE_ID - Appraisal Template

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

S_STATUS_NEW - Appraisal Status New

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

S_DOC_PROCESSING - Document: Processing

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

S_HEADER_DISPLAY - Header - Display

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

S_HEADER_TEXTS - Header - Texts

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

T_HEADER_APPRAISER - Header - Appraiser

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

T_HEADER_APPRAISEE -

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

T_HEADER_PART_APPRAISERS -

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

EXPORTING Parameters details for HRHAP_BC_HEADER_OTHER

T_RETURN - Table Type for Return Parameter

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

Copy and paste ABAP code example for HRHAP_BC_HEADER_OTHER 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_t_return  TYPE HAP_T_MSG, "   
lv_plan_version  TYPE HAP_PLAN_VERSION, "   
lv_t_header_others  TYPE HAP_T_HEADER_OTHERS, "   
lv_s_header_dates  TYPE HAP_S_HEADER_DATES, "   
lv_error_process_mode  TYPE CHAR1, "   ' '
lv_template_id  TYPE HAP_TEMPLATE_ID, "   
lv_s_status_new  TYPE HAP_S_HEADER_STATUS, "   
lv_s_doc_processing  TYPE HAP_S_DOC_PROCESSING, "   
lv_s_header_display  TYPE HAP_S_HEADER_DISPLAY, "   
lv_s_header_texts  TYPE HAP_S_HEADER_TEXTS, "   
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. "   

  CALL FUNCTION 'HRHAP_BC_HEADER_OTHER'  "
    EXPORTING
         PLAN_VERSION = lv_plan_version
         T_HEADER_OTHERS = lv_t_header_others
         S_HEADER_DATES = lv_s_header_dates
         ERROR_PROCESS_MODE = lv_error_process_mode
         TEMPLATE_ID = lv_template_id
         S_STATUS_NEW = lv_s_status_new
         S_DOC_PROCESSING = lv_s_doc_processing
         S_HEADER_DISPLAY = lv_s_header_display
         S_HEADER_TEXTS = lv_s_header_texts
         T_HEADER_APPRAISER = lv_t_header_appraiser
         T_HEADER_APPRAISEE = lv_t_header_appraisee
         T_HEADER_PART_APPRAISERS = lv_t_header_part_appraisers
    IMPORTING
         T_RETURN = lv_t_return
. " HRHAP_BC_HEADER_OTHER




ABAP code using 7.40 inline data declarations to call FM HRHAP_BC_HEADER_OTHER

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_error_process_mode) = ' '.
 
 
 
 
 
 
 
 
 


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!