SAP Reports / Programs

RPUHESG0F01 SAP ABAP INCLUDE - Include RPUHESG0F01







RPUHESG0F01 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 RPUHESG0F01 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 RPUHESG0F01. "Basic submit
SUBMIT RPUHESG0F01 AND RETURN. "Return to original report after report execution complete
SUBMIT RPUHESG0F01 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 RPUHESG0F01


INCLUDES used within this REPORT RPUHESG0F01

INCLUDE RPUIDIG0PBS.


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:

HRGPBS_HESA_YEAR call function 'HRGPBS_HESA_YEAR' importing p_begda = year_begda p_endda = year_endda changing p_hesa_year = f_year.

HRGPBS_HESA_YEAR call function 'HRGPBS_HESA_YEAR' importing p_begda = last_year_begda p_endda = last_year_endda changing p_hesa_year = previous_year.

HRGPBS_TEMSE_BUILD_ID call function 'HRGPBS_TEMSE_BUILD_ID' exporting p_repid = 'RPUHESG0' tables p_error = l_error changing p_temse_id = temse_id p_temse_id_full = temse_id_full.

HRGPBS_ME_0031_LINKED_PERNRS call function 'HRGPBS_ME_0031_LINKED_PERNRS' exporting p_pernr = pernr-pernr importing p_has_ref = l_has_ref tables p_persno = l_persno p_p0031 = p0031.

HRGPBS_TEMSE_EXPORT call function 'HRGPBS_TEMSE_EXPORT' exporting p_temse_id_full = temse_id_full tables p_interface = agg_tab p_error = l_error.

HRGPBS_FILE_SERVER_EXPORT call function 'HRGPBS_FILE_SERVER_EXPORT' exporting p_filename = p_filnam p_record_length = c_hesa_ind_record_length tables p_interface = agg_tab p_error = l_error.

HRGPBS_HESA_DISPLAY call function 'HRGPBS_HESA_DISPLAY' exporting p_test = dev_test p_shown = '3' tables agg_tab = agg_tab.

HR_99S_COPY_STRUC1_STRUC2 call function 'HR_99S_COPY_STRUC1_STRUC2' exporting p_struct1 = old0616 importing p_struct2 = tprel.

HR_99S_COPY_STRUC1_STRUC2 call function 'HR_99S_COPY_STRUC1_STRUC2' exporting p_struct1 = i0616 importing p_struct2 = tprel.

HRGPBS_HESA_DISPLAY call function 'HRGPBS_HESA_DISPLAY' exporting p_shown = '2' p_year = f_year tables hesa_tab_file = interface.

HRGPBS_TEMSE_EXPORT call function 'HRGPBS_TEMSE_EXPORT' exporting p_temse_id_full = temse_id_full tables p_interface = interface p_error = l_error.

HRGPBS_FILE_SERVER_EXPORT call function 'HRGPBS_FILE_SERVER_EXPORT' exporting p_filename = p_filnam p_record_length = c_hesa_ind_record_length tables p_interface = interface p_error = l_error.

HRGPBS_HESA_DISPLAY call function 'HRGPBS_HESA_DISPLAY' exporting p_test = dev_test p_year = f_year tables hesa_tab = extract.

RP_GET_CURRENCY call function 'RP_GET_CURRENCY' exporting molga = '08' begda = year_endda endda = year_endda importing waers = g_currency * VALID_BEGDA = * VALID_ENDDA = * RETURN = * CURRENCY_SOURCE = * TABLES * CURRENCY_TABLE = exceptions others = 5.

HRGPBS_ERROR_LOG_CREATE call function 'HRGPBS_ERROR_LOG_CREATE' exporting p_source_report_id = 'RPUHESG0' p_source_report_title = 'HESA Individual Staff reporting'(001) importing p_log_handle = g_log_handle.

HRGPBS_ERROR_LOG_DISPLAY call function 'HRGPBS_ERROR_LOG_DISPLAY' exporting p_source_report_id = 'RPUHESG0' p_source_report_title = 'HESA Individual Staff reporting'(001).

HRGPBS_HESA_INSTID_GET call function 'HRGPBS_HESA_INSTID_GET' importing p_instid = p_instid exceptions * NO_ENTRY_IN_TABLE = 1 others = 2 .

HRGPBS_HESA_RE5GPBSH_IS call function 'HRGPBS_HESA_RE5GPBSH_IS' exporting p_arg = p_instid changing p5gpbsh_is = p_is exceptions * NO_ENTRY = 1 others = 2.

HRGPBS_HESA_RECID





call function 'HRGPBS_HESA_RECID' exporting p_year = f_year importing p_recid = p_recid.

HRGPBS_HESA_CAMPID call function 'HRGPBS_HESA_CAMPID' importing p_campid = p_campid exceptions others = 1.

HRGPBS_HESA_FILL_PREVIOUS_YEAR call function 'HRGPBS_HESA_FILL_PREVIOUS_YEAR' exporting p_date = year_endda p_last_year_begda = last_year_begda p_last_year_endda = last_year_endda importing p_reprt = person_extract_line-reprt p_dateh = person_extract_line-previous_datehei p_datel = person_extract_line-datelhei"553184 tables p_p0616 = p0616 exceptions * FATAL_ERROR = 1 others = 2.

HRGPBS_HESA_FILL_PERSON call function 'HRGPBS_HESA_FILL_PERSON' exporting p_begda = year_begda p_date = year_endda p_pernr = p_pernr p_instid_all = g_instid_info tables p_p0002 = p0002 p_p0004 = p0004 p_p0041 = p0041 p_p0077 = p0077 p_p0614 = p0614 p_p0624 = p0624 changing p_extract = person_extract_line exceptions no_p0077 = 1 others = 2.

HRGPBS_HESA_FILL_CONTRACT call function 'HRGPBS_HESA_FILL_CONTRACT' exporting p_pernr = p_pernr year_begda = year_begda year_endda = year_endda p_only_breaks = g_only_breaks p_person_extract_line = person_extract_line p_currency = g_currency p_aggregate = f_agg p_aggregate_new = f_nasr p_log_handle = g_log_handle badi_ref = g_exit_instance tables p_p0001 = p0001 p_p0008 = p0008 p_p0014 = p0014 p_p0015 = p0015 p_p0615 = p0615 p_p0614 = p0614 * p_p0616 = p0616 p_p0617 = p0617 p_p0618 = p0618 p_contract_list = contracts p_extract = p_extract exceptions no_p0008 = 2 fatal_feature = 3 others = 4.

HRGPBS_HESA_RE5GPBSH_DIS CALL FUNCTION 'HRGPBS_HESA_RE5GPBSH_DIS' EXPORTING p_arg = l_dis p_cdate = year_begda IMPORTING p_return = t_int EXCEPTIONS OTHERS = 2.

HRGPBS_HESA_RE5GPBSH_DIS CALL FUNCTION 'HRGPBS_HESA_RE5GPBSH_DIS' EXPORTING p_arg = l_dis p_cdate = year_begda IMPORTING p_return = t_int EXCEPTIONS OTHERS = 2.

HRGPBS_HESA_RE5GPBSH_DIS CALL FUNCTION 'HRGPBS_HESA_RE5GPBSH_DIS' EXPORTING p_arg = l_dis p_cdate = year_begda IMPORTING p_return = t_int EXCEPTIONS OTHERS = 2.

HRGPBS_ERROR_LOG_ADD * call function 'HRGPBS_ERROR_LOG_ADD' * exporting * p_pernr = p_extract-pernr "#EC DOM_EQUAL * p_problem_class = probclass_high * p_msgid = 'HRPSGB_HER' * p_msgty = 'W' * p_msgno = '201' * p_msgv1 = l_string.

HRGPBS_HESA_MULTIPLE_CONTRACTS call function 'HRGPBS_HESA_MULTIPLE_CONTRACTS' exporting p_year_endda = year_endda no_25 = dev_test p_test = itest p_log_handle = g_log_handle importing p_not_interfaced = l_not_interfaced tables p_extract = p_extract * p_error = l_error exceptions others = 1.

HRGPBS_HESA_SAP2FILE call function 'HRGPBS_HESA_SAP2FILE' exporting badi_ref = g_exit_instance tables intern = p_extract file = p_interface exceptions others = 1.

NUMBER_GET_NEXT call function 'NUMBER_GET_NEXT' exporting nr_range_nr = '01' object = 'P08_HESA' importing number = irunn.

HR_GET_BUSINESS_ADD_IN call function 'HR_GET_BUSINESS_ADD_IN' exporting exit_name = c_exit_name * FLT_VAL = molga importing is_implemented = g_exit_implemented * TABLES * ACTIVE_IMPS = changing instance = g_exit_instance.

HRGPBS_ERROR_LOG_ADD call function 'HRGPBS_ERROR_LOG_ADD' exporting p_pernr = p_pernr "#EC DOM_EQUAL p_problem_class = p_probclass p_msgid = g_msgid p_msgty = g_msgty p_msgno = g_msgno p_msgv1 = l_s_msg-msgv1 p_msgv2 = l_s_msg-msgv2 p_msgv3 = l_s_msg-msgv3 p_msgv4 = l_s_msg-msgv4.

BAL_LOG_MSG_ADD * CALL FUNCTION 'BAL_LOG_MSG_ADD' * EXPORTING * i_s_msg = l_s_msg ** UPDATE_OR_INSERT = 'U' ** EXCEPTIONS ** OBJECT_NOT_FOUND = 1 ** SUBOBJECT_NOT_FOUND = 2 ** OTHERS = 3 * .

HRGPBS_ERROR_LOG_ADD call function 'HRGPBS_ERROR_LOG_ADD' exporting p_pernr = p_extract-pernr "#EC DOM_EQUAL p_problem_class = probclass_high p_msgid = 'HRPSGB_HER' p_msgty = 'W' p_msgno = '201' p_msgv1 = l_string.

WS_DOWNLOAD * call function 'WS_DOWNLOAD' * exporting * filename = p_lfnam * filetype = 'ASC' * tables * data_tab = p_agg_tab_new * exceptions * file_open_error = 1 * file_write_error = 2 * others = 10.

WS_UPLOAD * call function 'WS_UPLOAD' * exporting * filename = p_lifnam * filetype = 'ASC' * tables * data_tab = p_agg_tab_new * exceptions * file_open_error = 1 * file_read_error = 2 * others = 10.



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 RPUHESG0F01 or its description.