SAP HRHAP_RFC_DOC_ELEMENT_DELETE Function Module for









HRHAP_RFC_DOC_ELEMENT_DELETE is a standard hrhap rfc doc element delete 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 rfc doc element delete FM, simply by entering the name HRHAP_RFC_DOC_ELEMENT_DELETE into the relevant SAP transaction such as SE37 or SE38.

Function Group: HRHAP_IF_RFC
Program Name: SAPLHRHAP_IF_RFC
Main Program: SAPLHRHAP_IF_RFC
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:



Function HRHAP_RFC_DOC_ELEMENT_DELETE 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_RFC_DOC_ELEMENT_DELETE'"
EXPORTING
ROW_IID = "
PLAN_VERSION = "
S_APPRAISAL_ID = "
S_HEADER_DATES = "
S_HEADER_STATUS = "

IMPORTING
S_RETURN = "

CHANGING
S_DOC_PROCESSING = "

TABLES
T_HEADER_APPRAISER = "
T_BODY_CELL_VAL_VALUES = "
T_BODY_CELL_VAL_RANGES = "
T_BODY_CELL_VAL_C_LIKE = "
T_BODY_CELL_VAL_DESCR = "
T_HEADER_APPRAISEE = "
T_HEADER_PART_APPRAISERS = "
T_HEADER_OTHERS = "
T_BODY_ELEMENTS = "
T_BODY_ELEMENT_DESCR = "
T_BODY_ELEMENT_BUTTONS = "
T_BODY_CELLS = "
T_BODY_CELL_NOTES = "
.



IMPORTING Parameters details for HRHAP_RFC_DOC_ELEMENT_DELETE

ROW_IID -

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

PLAN_VERSION -

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

S_APPRAISAL_ID -

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

S_HEADER_DATES -

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

S_HEADER_STATUS -

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

EXPORTING Parameters details for HRHAP_RFC_DOC_ELEMENT_DELETE

S_RETURN -

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

CHANGING Parameters details for HRHAP_RFC_DOC_ELEMENT_DELETE

S_DOC_PROCESSING -

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

TABLES Parameters details for HRHAP_RFC_DOC_ELEMENT_DELETE

T_HEADER_APPRAISER -

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

T_BODY_CELL_VAL_VALUES -

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

T_BODY_CELL_VAL_RANGES -

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

T_BODY_CELL_VAL_C_LIKE -

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

T_BODY_CELL_VAL_DESCR -

Data type: HAP_T_BODY_CELL_VAL_DESCR
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

T_HEADER_OTHERS -

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

T_BODY_ELEMENTS -

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

T_BODY_ELEMENT_DESCR -

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

T_BODY_ELEMENT_BUTTONS -

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

T_BODY_CELLS -

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

T_BODY_CELL_NOTES -

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

Copy and paste ABAP code example for HRHAP_RFC_DOC_ELEMENT_DELETE 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_row_iid  TYPE HAP_ROW_IID, "   
lv_s_return  TYPE BAPIRET2, "   
lv_s_doc_processing  TYPE HAP_S_DOC_PROCESSING, "   
lt_t_header_appraiser  TYPE STANDARD TABLE OF HAP_T_HEADER_APPRAISER, "   
lt_t_body_cell_val_values  TYPE STANDARD TABLE OF HAP_T_BODY_CELL_VAL_VALUES, "   
lt_t_body_cell_val_ranges  TYPE STANDARD TABLE OF HAP_T_BODY_CELL_VAL_RANGES, "   
lt_t_body_cell_val_c_like  TYPE STANDARD TABLE OF HAP_T_BODY_CELL_VAL_C_LIKE, "   
lt_t_body_cell_val_descr  TYPE STANDARD TABLE OF HAP_T_BODY_CELL_VAL_DESCR, "   
lv_plan_version  TYPE HAP_PLAN_VERSION, "   
lt_t_header_appraisee  TYPE STANDARD TABLE OF HAP_T_HEADER_APPRAISEE, "   
lv_s_appraisal_id  TYPE HAP_S_APPRAISAL_ID, "   
lt_t_header_part_appraisers  TYPE STANDARD TABLE OF HAP_T_HEADER_PART_APPRAISERS, "   
lv_s_header_dates  TYPE HAP_S_HEADER_DATES, "   
lt_t_header_others  TYPE STANDARD TABLE OF HAP_T_HEADER_OTHERS, "   
lv_s_header_status  TYPE HAP_S_HEADER_STATUS, "   
lt_t_body_elements  TYPE STANDARD TABLE OF HAP_T_BODY_ELEMENTS, "   
lt_t_body_element_descr  TYPE STANDARD TABLE OF HAP_T_BODY_ELEMENT_DESCR, "   
lt_t_body_element_buttons  TYPE STANDARD TABLE OF HAP_T_BODY_ELEMENT_BUTTONS, "   
lt_t_body_cells  TYPE STANDARD TABLE OF HAP_T_BODY_CELLS, "   
lt_t_body_cell_notes  TYPE STANDARD TABLE OF HAP_T_BODY_CELL_NOTES. "   

  CALL FUNCTION 'HRHAP_RFC_DOC_ELEMENT_DELETE'  "
    EXPORTING
         ROW_IID = lv_row_iid
         PLAN_VERSION = lv_plan_version
         S_APPRAISAL_ID = lv_s_appraisal_id
         S_HEADER_DATES = lv_s_header_dates
         S_HEADER_STATUS = lv_s_header_status
    IMPORTING
         S_RETURN = lv_s_return
    CHANGING
         S_DOC_PROCESSING = lv_s_doc_processing
    TABLES
         T_HEADER_APPRAISER = lt_t_header_appraiser
         T_BODY_CELL_VAL_VALUES = lt_t_body_cell_val_values
         T_BODY_CELL_VAL_RANGES = lt_t_body_cell_val_ranges
         T_BODY_CELL_VAL_C_LIKE = lt_t_body_cell_val_c_like
         T_BODY_CELL_VAL_DESCR = lt_t_body_cell_val_descr
         T_HEADER_APPRAISEE = lt_t_header_appraisee
         T_HEADER_PART_APPRAISERS = lt_t_header_part_appraisers
         T_HEADER_OTHERS = lt_t_header_others
         T_BODY_ELEMENTS = lt_t_body_elements
         T_BODY_ELEMENT_DESCR = lt_t_body_element_descr
         T_BODY_ELEMENT_BUTTONS = lt_t_body_element_buttons
         T_BODY_CELLS = lt_t_body_cells
         T_BODY_CELL_NOTES = lt_t_body_cell_notes
. " HRHAP_RFC_DOC_ELEMENT_DELETE




ABAP code using 7.40 inline data declarations to call FM HRHAP_RFC_DOC_ELEMENT_DELETE

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.

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 


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!