SAP Reports / Programs | Payroll | Japan(PY-JP) SAP PY

HJPUCP_BRCAL_FORMS SAP ABAP INCLUDE - Include HJPUCP_BRCAL_FORMS







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


INCLUDES used within this REPORT HJPUCP_BRCAL_FORMS

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:

HR_PAL_CREATE_NODE_CATEG CALL FUNCTION 'HR_PAL_CREATE_NODE_CATEG' EXPORTING i_categ_id = 'MOD' i_structure_name = 'PJP_CP_BRCAL_MOD' is_layout = ls_alv_layout is_pushbuttons = is_but i_rowmark = 'X' EXCEPTIONS program_error = 1 OTHERS = 2.

SDU_DOFIXV_TXT_GET CALL FUNCTION 'SDU_DOFIXV_TXT_GET' EXPORTING langu = sy-langu domain_name = 'PJP_CP_PER_UNIT' fix_value = lv_unit IMPORTING short_txt = lv_unit_txt EXCEPTIONS domain_not_found = 1 value_not_found = 2 OTHERS = 3.

HR_PAL_NODE_ADD CALL FUNCTION 'HR_PAL_NODE_ADD' EXPORTING i_relatkey = 'ROOT' i_node_txt = lv_title i_categ_id = 'MOD' i_icon = icon_list IMPORTING e_node_key = lv_mod_node EXCEPTIONS program_error = 1 OTHERS = 2.

HR_PAL_NODE_ADD_ROW CALL FUNCTION 'HR_PAL_NODE_ADD_ROW' EXPORTING i_node_key = iv_mod_node i_row_data = is_mod EXCEPTIONS program_error = 1 OTHERS = 2.

REUSE_ALV_FIELDCATALOG_MERGE * CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' * EXPORTING * i_structure_name = 'HRPAD_PAL_STATS_MSG_CTXT' * CHANGING * ct_fieldcat = l_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 = 'STATS' * it_fieldcat = l_fieldcat * EXCEPTIONS * program_error = 1 * OTHERS = 2.

HR_PAL_NODE_ADD * CALL FUNCTION 'HR_PAL_NODE_ADD' * EXPORTING * i_relatkey = gv_mod_node * i_node_txt = text-003 * i_categ_id = 'STATS' * i_icon = icon_statistics * i_expand = 'X' * IMPORTING * e_node_key = gv_stat_node * EXCEPTIONS * program_error = 1 * OTHERS = 2.

HR_PAL_STATS_MSG_ADD * CALL FUNCTION 'HR_PAL_STATS_MSG_ADD' * EXPORTING * i_node_key = gv_stat_node * i_stcnt = emp_proc * i_msgid = 'BL' * i_msgty = 'S' * i_msgno = '001' * i_msgv1 = text-003 * EXCEPTIONS * program_error = 1 * OTHERS = 2.

HR_PAL_CREATE_NODE_CATEG CALL FUNCTION 'HR_PAL_CREATE_NODE_CATEG' EXPORTING i_categ_id = 'PERNR' i_structure_name = 'BAL_HR_EXT' i_with_msg_fields = 'X' is_layout = ls_alv_layout i_msg_text_pos = 3 i_icon_ltext_pos = 4 EXCEPTIONS program_error = 1 OTHERS = 2.

HR_PAL_NODE_ADD CALL FUNCTION 'HR_PAL_NODE_ADD' EXPORTING i_relatkey = 'ROOT' i_node_txt = text-l01 i_categ_id = 'PERNR' i_icon = icon_failure IMPORTING e_node_key = gv_error_node EXCEPTIONS program_error = 1 OTHERS = 2.

HR_PAL_NODE_MSG_ADD CALL FUNCTION 'HR_PAL_NODE_MSG_ADD' EXPORTING i_node_key = gv_error_node i_msgid = p_msgid i_msgty = p_msgty i_msgno = p_error_number i_msgv1 = l_msgv1 i_msgv2 = l_msgv2 i_msgv3 = l_msgv3 i_msgv4 = l_msgv4 i_context = iv_pernr EXCEPTIONS program_error = 1 OTHERS = 2.

HR_PAL_NODE_MSG_ADD CALL FUNCTION 'HR_PAL_NODE_MSG_ADD' EXPORTING i_node_key = gv_error_node i_msgid = p_msgid i_msgty = p_msgty i_msgno = p_error_number i_msgv1 = l_msgv1 i_msgv2 = l_msgv2 i_msgv3 = l_msgv3 i_msgv4 = l_msgv4 EXCEPTIONS program_error = 1 OTHERS = 2.

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

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_structure_name = 'PJP_CP_BRCAL_ALL' 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 = 'PLANDB' it_fieldcat = lt_fieldcat is_layout = ls_alv_layout * i_clbk = is_routine is_pushbuttons = is_but i_rowmark = 'X' EXCEPTIONS program_error = 1 OTHERS = 2.

HR_PAL_NODE_ADD CALL FUNCTION 'HR_PAL_NODE_ADD' EXPORTING i_relatkey = lv_mod_node i_node_txt = lv_title i_categ_id = lv_categ_id i_icon = icon_list IMPORTING e_node_key = lv_plan_node EXCEPTIONS program_error = 1 OTHERS = 2.

HR_PAL_NODE_ADD_ROW CALL FUNCTION 'HR_PAL_NODE_ADD_ROW' EXPORTING i_node_key = lv_plan_node i_row_data = is_brcal_all EXCEPTIONS program_error = 1 OTHERS = 2.

RP_EDIT_NAME CALL FUNCTION 'RP_EDIT_NAME' EXPORTING langu = sy-langu molga = lv_molga format = lc_format_kanji pp0002 = is_p0002 IMPORTING edit_name = lv_edit_name.

RP_EDIT_NAME





CALL FUNCTION 'RP_EDIT_NAME' EXPORTING langu = sy-langu molga = lv_molga format = lc_format_kana pp0002 = is_p0002 IMPORTING edit_name = lv_edit_name.

RP_EDIT_NAME CALL FUNCTION 'RP_EDIT_NAME' EXPORTING langu = sy-langu molga = lv_molga format = lc_format_kanji_koseki pp0002 = is_p0002 IMPORTING edit_name = lv_edit_name.

RP_EDIT_NAME CALL FUNCTION 'RP_EDIT_NAME' EXPORTING langu = sy-langu molga = lv_molga format = lc_format_kana_koseki pp0002 = is_p0002 IMPORTING edit_name = lv_edit_name.

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

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_structure_name = 'PJP_CP_BRCAL_DETAIL' 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 = 'DET' it_fieldcat = lt_fieldcat is_layout = ls_alv_layout EXCEPTIONS program_error = 1 OTHERS = 2.

HR_PAL_NODE_ADD CALL FUNCTION 'HR_PAL_NODE_ADD' EXPORTING i_relatkey = 'ROOT' i_node_txt = lv_title i_categ_id = 'DET' i_icon = icon_list IMPORTING e_node_key = cv_detl_node EXCEPTIONS program_error = 1 OTHERS = 2.

HR_PAL_NODE_ADD_ROW CALL FUNCTION 'HR_PAL_NODE_ADD_ROW' EXPORTING i_node_key = iv_detl_node i_row_data = is_detail EXCEPTIONS program_error = 1 OTHERS = 2.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING text_question = text-i05 display_cancel_button = space IMPORTING answer = lv_quit_flg.

BDC_OPEN_GROUP CALL FUNCTION 'BDC_OPEN_GROUP' EXPORTING group = 'HJPUCP_BRCAL' keep = gc_true user = sy-uname.

BDC_INSERT CALL FUNCTION 'BDC_INSERT' EXPORTING tcode = 'PA30' TABLES dynprotab = lt_bdcdata.

BDC_CLOSE_GROUP CALL FUNCTION 'BDC_CLOSE_GROUP'.

CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING date = gs_call_back-cal_key_dte foreign_amount = ls_clfctbl-amount foreign_currency = ls_clfctbl-waers local_currency = lc_waers_jp rate = 0 type_of_rate = 'M' IMPORTING local_amount = cv_value EXCEPTIONS no_rate_found = 1 overflow = 2 no_factors_found = 3 no_spread_found = 4 OTHERS = 5.

CONVERT_TO_LOCAL_CURRENCY * CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' * EXPORTING * date = lv_chk_date1 * foreign_amount = ls_clbs_par-fix_amt * foreign_currency = ls_clbs_par-waers * local_currency = lc_waers_jp * rate = 0 * type_of_rate = 'M' * IMPORTING * local_amount = cv_value * EXCEPTIONS * no_rate_found = 1 * overflow = 2 * no_factors_found = 3 * no_spread_found = 4 * OTHERS = 5.

RP_FILL_WAGE_TYPE_TABLE CALL FUNCTION 'RP_FILL_WAGE_TYPE_TABLE' EXPORTING tclas = 'A' pernr = pernr-pernr begda = iv_chk_date endda = iv_chk_date infty = ls_clbs_src-infotype subty = ls_clbs_src-subtype appli = 'M' dlspl = ' ' TABLES ppbwla = lt_pbwla EXCEPTIONS error_at_indirect_evaluation = 1.

HR_CHECK_AMOUNT_OF_LGART_CONV CALL FUNCTION 'HR_CHECK_AMOUNT_OF_LGART_CONV' EXPORTING p_molga = lv_molga p_pernr = -pernr p_lgart = iv_lgart p_datum = iv_chk_date EXCEPTIONS not_to_convert = 1 lgart_not_found = 2 invalid_vklas22 = 3 pernr_not_found = 4 molga_not_determined = 5 OTHERS = 6.

CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING date = iv_chk_date foreign_amount = iv_betrg foreign_currency = iv_old_waers local_currency = iv_new_waers rate = 0 type_of_rate = 'M' IMPORTING local_amount = cv_amt EXCEPTIONS no_rate_found = 1 overflow = 2 no_factors_found = 3 no_spread_found = 4 OTHERS = 5.

HR_FEATURE_BACKFIELD CALL FUNCTION 'HR_FEATURE_BACKFIELD' EXPORTING feature = '22JGD' struc_content = ls_feature IMPORTING back = lv_job_grade EXCEPTIONS dummy = 1 error_operation = 2 no_backvalue = 3 feature_not_generated = 4 invalid_sign_in_funid = 5 field_in_report_tab_in_pe03 = 6.

HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING pernr = pernr-pernr infty = is_cldecfc-infotype begda = iv_chk_date endda = iv_chk_date TABLES infty_tab = EXCEPTIONS infty_not_found = 1 OTHERS = 2.

HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING pernr = pernr-pernr infty = is_cbdec-infotype begda = iv_chk_date endda = iv_chk_date TABLES infty_tab = EXCEPTIONS infty_not_found = 1 OTHERS = 2.




HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING pernr = -pernr infty = is_prdecfc-infotype begda = iv_chk_date endda = iv_chk_date TABLES infty_tab = EXCEPTIONS infty_not_found = 1 OTHERS = 2.

HR_FEATURE_BACKFIELD CALL FUNCTION 'HR_FEATURE_BACKFIELD' EXPORTING feature = lv_feature_name struc_content = ls_feature IMPORTING back = lv_part_grp EXCEPTIONS dummy = 1 error_operation = 2 no_backvalue = 3 feature_not_generated = 4 invalid_sign_in_funid = 5 field_in_report_tab_in_pe03 = 6.

ROUND CALL FUNCTION 'ROUND' EXPORTING decimals = 0 input = lv_float sign = lv_mtd_c IMPORTING output = lv_float EXCEPTIONS input_invalid = 1 overflow = 2 type_invalid = 3 OTHERS = 4.

ROUND CALL FUNCTION 'ROUND' EXPORTING decimals = 0 input = lv_float sign = lv_mtd_c IMPORTING output = lv_float EXCEPTIONS input_invalid = 1 overflow = 2 type_invalid = 3 OTHERS = 4.

CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING date = iv_chk_date foreign_amount = -unit_price foreign_currency = -waers local_currency = lc_waers_jp rate = 0 type_of_rate = 'M' IMPORTING local_amount = cv_unit_price EXCEPTIONS no_rate_found = 1 overflow = 2 no_factors_found = 3 no_spread_found = 4 OTHERS = 5.

HELP_VALUES_GET_WITH_TABLE CALL FUNCTION 'HELP_VALUES_GET_WITH_TABLE' IMPORTING select_value = iv_plan TABLES fields = ihelp_fields valuetab = helptab.

ROUND CALL FUNCTION 'ROUND' EXPORTING decimals = 0 input = lv_float_amt sign = lv_mtd_c IMPORTING output = lv_float_amt EXCEPTIONS input_invalid = 1 overflow = 2 type_invalid = 3 OTHERS = 4.

HR_99S_INTERVAL_BETWEEN_DATES CALL FUNCTION 'HR_99S_INTERVAL_BETWEEN_DATES' EXPORTING begda = is_calc_info-cal_per_begda endda = is_calc_info-cal_per_endda IMPORTING months = cv_tol_period.

HR_JP_ADD_MONTH_TO_DATE CALL FUNCTION 'HR_JP_ADD_MONTH_TO_DATE' EXPORTING iv_monthcount = 1 iv_date = lv_begda IMPORTING ev_date = lv_endda.

HR_FEATURE_BACKFIELD CALL FUNCTION 'HR_FEATURE_BACKFIELD' EXPORTING feature = '22TPJ' struc_content = ls_feature IMPORTING back = lv_target_period EXCEPTIONS dummy = 1 error_operation = 2 no_backvalue = 3 feature_not_generated = 4 invalid_sign_in_funid = 5 field_in_report_tab_in_pe03 = 6.

HR_JP_ADD_MONTH_TO_DATE CALL FUNCTION 'HR_JP_ADD_MONTH_TO_DATE' EXPORTING iv_monthcount = 1 iv_date = lv_begda IMPORTING ev_date = lv_endda.

HR_FEATURE_BACKFIELD CALL FUNCTION 'HR_FEATURE_BACKFIELD' EXPORTING feature = '22TPJ' struc_content = ls_feature IMPORTING back = lv_target_period EXCEPTIONS dummy = 1 error_operation = 2 no_backvalue = 3 feature_not_generated = 4 invalid_sign_in_funid = 5 field_in_report_tab_in_pe03 = 6.



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