SAP Reports / Programs | Personnel Management | Personnel Administration | USA(PA-PA-US) SAP PA

RPLNHRU1_ALV SAP ABAP INCLUDE - include for New Hire Reporting







RPLNHRU1_ALV 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 RPLNHRU1_ALV 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 RPLNHRU1_ALV. "Basic submit
SUBMIT RPLNHRU1_ALV AND RETURN. "Return to original report after report execution complete
SUBMIT RPLNHRU1_ALV 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 for New Hire Reporting


INCLUDES used within this REPORT RPLNHRU1_ALV

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:

HELP_VALUES_GET_NO_DD_NAME CALL FUNCTION 'HELP_VALUES_GET_NO_DD_NAME' "#EC * EXPORTING selectfield = 'PERSON' IMPORTING ind = ind TABLES fields = tab_field full_table = help_value_person EXCEPTIONS full_table_empty = 1 no_tablestructure_given = 2 no_tablefields_in_dictionary = 3 more_then_one_selectfield = 4 no_selectfield = 5 OTHERS = 6.

HELP_VALUES_GET_NO_DD_NAME CALL FUNCTION 'HELP_VALUES_GET_NO_DD_NAME' EXPORTING selectfield = 'RPSTATE' IMPORTING ind = ind TABLES fields = tab_field full_table = help_value_state EXCEPTIONS full_table_empty = 1 no_tablestructure_given = 2 no_tablefields_in_dictionary = 3 more_then_one_selectfield = 4 no_selectfield = 5 OTHERS = 6.

WS_DOWNLOAD * call function 'WS_DOWNLOAD' * exporting * filename = filename * filetype = 'ASC' * tables * data_tab = file.

GUI_DOWNLOAD CALL FUNCTION 'GUI_DOWNLOAD' EXPORTING * BIN_FILESIZE = * FILENAME = filename filename = f_name filetype = 'ASC' * APPEND = ' ' * WRITE_FIELD_SEPARATOR = ' ' * HEADER = '00' trunc_trailing_blanks = 'X' "Note-783914 write_lf = ' ' "Note-783914 * COL_SELECT = ' ' * COL_SELECT_MASK = ' ' trunc_trailing_blanks_eol = 'X' "Note-783914
* IMPORTING * FILELENGTH = TABLES data_tab = file * EXCEPTIONS * FILE_WRITE_ERROR = 1 * NO_BATCH = 2 * GUI_REFUSE_FILETRANSFER = 3 * INVALID_TYPE = 4 * NO_AUTHORITY = 5 * UNKNOWN_ERROR = 6 * HEADER_NOT_ALLOWED = 7 * SEPARATOR_NOT_ALLOWED = 8 * FILESIZE_NOT_ALLOWED = 9 * HEADER_TOO_LONG = 10 * DP_ERROR_CREATE = 11 * DP_ERROR_SEND = 12 * DP_ERROR_WRITE = 13 * UNKNOWN_DP_ERROR = 14 * ACCESS_DENIED = 15 * DP_OUT_OF_MEMORY = 16 * DISK_FULL = 17 * DP_TIMEOUT = 18 * FILE_NOT_FOUND = 19 * DATAPROVIDER_EXCEPTION = 20 * CONTROL_FLUSH_ERROR = 21 * OTHERS = 22 .

RP_NUMBER_OF_WAGETYPES_0008 CALL FUNCTION 'RP_NUMBER_OF_WAGETYPES_0008' IMPORTING wt_count = number_of_lgart_in_p0008.

RP_ANSAL_FROM_WAGETYPES CALL FUNCTION 'RP_ANSAL_FROM_WAGETYPES' EXPORTING f_tclas = 'A' f_pernr = p0008-pernr f_bukrs = p0001-bukrs f_werks = p0001-werks f_btrtl = p0001-btrtl f_persg = p0001-persg f_persk = p0001-persk f_trfgb = p0008-trfgb f_trfar = p0008-trfar f_divgv = p0008-divgv f_molga = '10' f_date = q0008-ibbeg f_subty = p0008-subty f_currency_wagetypes = p0008-waers f_currency_ansal = p0008-ancur IMPORTING f_ansal = l_ansal * f_is_indirect = TABLES f_tindbw = t_tbindbw EXCEPTIONS feature_ansal = 1 invalid_zeinh = 2 no_entry_in_table = 3 currency_conversion_error = 4 ansal2big = 5 ansal_negative = 6 OTHERS = 7.

RP_ALLPERIODS_FROM_ANSAL CALL FUNCTION 'RP_ALLPERIODS_FROM_ANSAL' EXPORTING p_ansal = q0008-ansal p_divgv = p0008-divgv p_zeinh = q0008-zeinh * p_bukrs = psyst-bukrs * p_werks = psyst-werks * p_btrtl = psyst-btrtl * p_persg = psyst-persg * p_persk = psyst-persk p_subty = p0008-subty p_molga = '10' p_tclas = 'A' "N0613059 p_pernr = p0008-pernr "N0357076 p_date = p0008-begda "N0357076 IMPORTING p_month = q0008-month p_smthy = q0008-smthy p_bwkly = q0008-bwkly p_wekly = q0008-wekly p_houry = q0008-houry EXCEPTIONS "K003634 feature_error = 1 "K003634 OTHERS = 2. "K003634

RP_ZEINH_GET CALL FUNCTION 'RP_ZEINH_GET' EXPORTING p_molga = '10' p_trfgb = p0008-trfgb p_trfar = p0008-trfar p_trfkz = t503-trfkz p_date = p0008-begda IMPORTING p_zeinh = p_zeinh p_zeinh_text = p_text EXCEPTIONS "K003634 no_entry_t549r = 1 "K003634 illegal_zeinh = 2 "K003634 OTHERS = 3. "K003634

RP_EVALUATE_INDIRECTLY_P0008 CALL FUNCTION 'RP_EVALUATE_INDIRECTLY_P0008' EXPORTING msgflg = msgflg "XPS-42 ptclas = 'A' ppernr = indbw_pernr pmolga = '10' pbegda = hiredate pp0001 = p0001 pp0007 = p0007 pp0008 = p0008 pp0230 = p0230 "XPMK035581 * pp0304 = p0304 "MERP30K097976 IMPORTING pendda = indbw_end_out TABLES ptbindbw = tbindbw EXCEPTIONS error_at_indirect_evaluation = 1.

HR_FEATURE_BACKFIELD CALL FUNCTION 'HR_FEATURE_BACKFIELD' EXPORTING feature = feature struc_content = kind_of_error = kind_of_error IMPORTING back = back CHANGING status = status EXCEPTIONS * DUMMY = 1 "VLDAHRK039762 * ERROR_OPERATION = 2 "VLDAHRK039762 * NO_BACKVALUE = 3 "VLDAHRK039762 * FEATURE_NOT_GENERATED = 4 "VLDAHRK039762 * INVALID_SIGN_IN_FUNID = 5 "VLDAHRK039762 * FIELD_IN_REPORT_TAB_IN_PE03 = 6 "VLDAHRK039762 OTHERS = 0.

HR_BEN_READ_EE_BENEFIT_DATA CALL FUNCTION 'HR_BEN_READ_EE_BENEFIT_DATA' EXPORTING pernr = p0001-pernr datum = l_begda reaction = no_msg IMPORTING ee_benefit_data = ee_benefit_data subrc = subrc TABLES error_table = error_table.

HR_BEN_CHECK_MICRO_ELIGIBILITY CALL FUNCTION 'HR_BEN_CHECK_MICRO_ELIGIBILITY' EXPORTING ee_benefit_data = ee_benefit_data bplan = ls_t5uba-bplan datum = l_begda check_coreq = 'X' reaction = no_msg IMPORTING is_eligible = lv_is_eligible elig_date = lv_elidt subrc = subrc TABLES error_table = error_table.

HR_BEN_READ_DEP_BEN_INDICATORS CALL FUNCTION 'HR_BEN_READ_DEP_BEN_INDICATORS' EXPORTING barea = ls_t5uba-barea bplan = ls_t5uba-bplan datum = l_begda reaction = no_msg IMPORTING depyn = lv_dep_allowed subrc = subrc TABLES error_table = error_table.

HR_BEN_READ_EE_BENEFIT_DATA CALL FUNCTION 'HR_BEN_READ_EE_BENEFIT_DATA' EXPORTING pernr = p0001-pernr datum = pv_hire_date reaction = lc_no_msg IMPORTING ee_benefit_data = ls_ee_benefit_data subrc = lv_subrc TABLES error_table = error_table.



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