SAP Reports / Programs | Payroll | Kingdom of Saudi Arabia | Kingdom of Saudi Arabia Public Sector(PY-SA-PS) SAP PY

HSAPPAG0_F01 SAP ABAP INCLUDE - Include HSAPPAG0_F01







HSAPPAG0_F01 is a standard ABAP INCLUDE available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.

If you would like to execute this report or see the full code listing simply enter HSAPPAG0_F01 into the relevant SAP transactions such as SE38 or SE80


ABAP code to call this SAP report using the submit statement

This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.






SUBMIT HSAPPAG0_F01. "Basic submit
SUBMIT HSAPPAG0_F01 AND RETURN. "Return to original report after report execution complete
SUBMIT HSAPPAG0_F01 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Include HSAPPAG0_F01


INCLUDES used within this REPORT HSAPPAG0_F01

No INCLUDES are used within this REPORT code!


TABLES used within REPORT and the associated SELECT statement:





No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

DYNP_VALUES_READ CALL FUNCTION 'DYNP_VALUES_READ' EXPORTING dyname = lv_dyname dynumb = lv_dynumb TABLES dynpfields = lt_dynpfields.

F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING retfield = 'FOLNAME' value_org = 'S' " structure TABLES value_tab = gt_f4_help_for_form_name[] return_tab = lt_ret EXCEPTIONS parameter_error = 1 no_values_found = 2 OTHERS = 3.

DYNP_VALUES_UPDATE CALL FUNCTION 'DYNP_VALUES_UPDATE' EXPORTING dyname = lv_dyname dynumb = lv_dynumb TABLES dynpfields = lt_dynpfields.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_structure_name = 'PME_LOG_SEL' CHANGING ct_fieldcat = lt_fieldcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.

HR_PAL_CREATE_NODE_CATEG CALL FUNCTION 'HR_PAL_CREATE_NODE_CATEG' EXPORTING i_categ_id = gc_cate_sel it_fieldcat = lt_fieldcat is_layout = lv_alv_layout i_save = 'A' i_rowmark = 'X' EXCEPTIONS program_error = 1 OTHERS = 2.

HR_PAL_NODE_ADD CALL FUNCTION 'HR_PAL_NODE_ADD' EXPORTING i_relatkey = iv_fathernode i_node_txt = iv_node_text i_categ_id = iv_categ i_icon = icon_list IMPORTING e_node_key = cv_node EXCEPTIONS program_error = 1 OTHERS = 2.

HR_PAL_NODE_ADD CALL FUNCTION 'HR_PAL_NODE_ADD' EXPORTING i_relatkey = iv_fathernode i_node_txt = iv_node_text i_categ_id = iv_categ i_icon = lv_icon IMPORTING e_node_key = cv_node EXCEPTIONS program_error = 1 OTHERS = 2.

HR_PAL_NODE_ADD_ROW CALL FUNCTION 'HR_PAL_NODE_ADD_ROW' EXPORTING i_node_key = lv_node i_row_data = is_record_data EXCEPTIONS program_error = 1 OTHERS = 2.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_structure_name = 'PSAP_HSAPPAG0_ALV' CHANGING ct_fieldcat = lt_fieldcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.

HR_PAL_CREATE_NODE_CATEG CALL FUNCTION 'HR_PAL_CREATE_NODE_CATEG' EXPORTING i_categ_id = gc_cate_alv it_fieldcat = lt_fieldcat is_pushbuttons = ls_but is_layout = lv_alv_layout i_save = 'A' i_rowmark = 'X' EXCEPTIONS program_error = 1 OTHERS = 2.

HR_PAL_LOG_DISPLAY CALL FUNCTION 'HR_PAL_LOG_DISPLAY' EXPORTING i_s_display_profile = ls_display_profile EXCEPTIONS program_error = 1 no_logs = 2 OTHERS = 3.

H99B_OPEN_LFORM_JOB CALL FUNCTION 'H99B_OPEN_LFORM_JOB' EXPORTING i_molga = hr99b_form_sel-molga i_fogroup = hr99b_form_sel-fogroup i_folname = hr99b_form_sel-folname "i_fotype = 'PDF' options = l_options "pdfparams = l_pdfparams EXCEPTIONS OTHERS = 99.

H99B_OUTPUT_LFORM CALL FUNCTION 'H99B_OUTPUT_LFORM' EXPORTING i_molga = gc_molga i_fogroup = hr99b_form_sel-fogroup i_folname = hr99b_form_sel-folname i_fovariant = hr99b_form_sel-fovariant i_data_struc = gs_pdf_data EXCEPTIONS OTHERS = 99.

H99B_CLOSE_LFORM_JOB CALL FUNCTION 'H99B_CLOSE_LFORM_JOB' EXCEPTIONS OTHERS = 99.

HR_PAL_LOG_REFRESH CALL FUNCTION 'HR_PAL_LOG_REFRESH' EXCEPTIONS program_error = 1 OTHERS = 2.

HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING pernr = ls_alv_data-pernr infty = '3311' begda = ls_alv_data-begda endda = ls_alv_data-endda TABLES infty_tab = lt_p3311 EXCEPTIONS infty_not_found = 1 OTHERS = 2.

BAPI_EMPLOYEE_ENQUEUE CALL FUNCTION 'BAPI_EMPLOYEE_ENQUEUE' EXPORTING number = ls_p3311-pernr IMPORTING return = return.

HR_INFOTYPE_OPERATION CALL FUNCTION 'HR_INFOTYPE_OPERATION' EXPORTING infty = '3311' number = ls_p3311-pernr subtype = ls_p3311-subty objectid = ls_p3311-objps lockindicator = ls_p3311-sprps validityend = ls_p3311-endda validitybegin = ls_p3311-begda recordnumber = ls_p3311-seqnr record = ls_p3311 operation = 'MOD' * TCLAS = 'A' * DIALOG_MODE = '0' * NOCOMMIT = NOCOMMIT * VIEW_IDENTIFIER = VIEW_IDENTIFIER * SECONDARY_RECORD = SECONDARY_RECORD IMPORTING return = return key = key.

BAPI_EMPLOYEE_DEQUEUE





CALL FUNCTION 'BAPI_EMPLOYEE_DEQUEUE' EXPORTING number = ls_p3311-pernr IMPORTING return = return.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING text_question = text-c01 icon_button_1 = text-c02 icon_button_2 = text-c03 default_button = '1' display_cancel_button = '' start_column = 50 start_row = 15 IMPORTING answer = lv_confirm_answer EXCEPTIONS text_not_found = 1 OTHERS = 2.

HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING pernr = ls_alv_data-pernr infty = '3311' begda = ls_alv_data-begda endda = ls_alv_data-endda TABLES infty_tab = lt_p3311 EXCEPTIONS infty_not_found = 1 OTHERS = 2.

BAPI_EMPLOYEE_ENQUEUE CALL FUNCTION 'BAPI_EMPLOYEE_ENQUEUE' EXPORTING number = ls_p3311-pernr IMPORTING return = return.

HR_INFOTYPE_OPERATION CALL FUNCTION 'HR_INFOTYPE_OPERATION' EXPORTING infty = '3311' number = ls_p3311-pernr subtype = ls_p3311-subty objectid = ls_p3311-objps lockindicator = ls_p3311-sprps validityend = ls_p3311-endda validitybegin = ls_p3311-begda recordnumber = ls_p3311-seqnr record = ls_p3311 operation = 'MOD' * TCLAS = 'A' * DIALOG_MODE = '0' * NOCOMMIT = NOCOMMIT * VIEW_IDENTIFIER = VIEW_IDENTIFIER * SECONDARY_RECORD = SECONDARY_RECORD IMPORTING return = return key = key.

BAPI_EMPLOYEE_DEQUEUE CALL FUNCTION 'BAPI_EMPLOYEE_DEQUEUE' EXPORTING number = ls_p3311-pernr IMPORTING return = return.

RP_GET_HIRE_DATE CALL FUNCTION 'RP_GET_HIRE_DATE' EXPORTING persnr = ls_p0001-pernr check_infotypes = '0000' * DATUMSART = '01' * STATUS2 = '3' * P0016_OPTIONEN = ' ' IMPORTING hiredate = lv_hirdt.

HR_99S_INTERVAL_BETWEEN_DATES CALL FUNCTION 'HR_99S_INTERVAL_BETWEEN_DATES' EXPORTING begda = lv_hirdt endda = sy-datum * TAB_MODE = ' ' IMPORTING days = lv_days * C_WEEKS = C_WEEKS * c_months = lv_months * c_years = lv_years * WEEKS = WEEKS * MONTHS = MONTHS * YEARS = YEARS * D_MONTHS = D_MONTHS * MONTH_TAB = MONTH_TAB .



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.

The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name HSAPPAG0_F01 or its description.