SAP Reports / Programs | Payroll | Payroll: General Parts(PY-XX) SAP PY

H99CWTR0_FORMS SAP ABAP INCLUDE - H99CWTR0FORMS







H99CWTR0_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 H99CWTR0_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 H99CWTR0_FORMS. "Basic submit
SUBMIT H99CWTR0_FORMS AND RETURN. "Return to original report after report execution complete
SUBMIT H99CWTR0_FORMS VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


INCLUDES used within this REPORT H99CWTR0_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:

PYXX_READ_PAYROLL_RESULT call function 'PYXX_READ_PAYROLL_RESULT' exporting clusterid = iv_relid employeenumber = iv_pernr sequencenumber = ls_evp-seqnr * READ_ONLY_BUFFER = ' ' read_only_international = 'X' changing payroll_result = ls_result exceptions illegal_isocode_or_clusterid = 1 error_generating_import = 2 import_mismatch_error = 3 subpool_dir_full = 4 no_read_authority = 5 no_record_found = 6 versions_do_not_match = 7 others = 8.

CD_RETROCALC_PERIOD CALL FUNCTION 'CD_RETROCALC_PERIOD' EXPORTING entry = ls_evp IMPORTING calcd = lx_retro.

RP_OPTIONS_INTO_STRING call function 'RP_OPTIONS_INTO_STRING' exporting max_chosen_number = 85 * delimiter_sign = '/' text_title = text-s04 text_left = text-s05 text_right = text-s06 status = 'ORDER' tables text_symbol_relation_tab = lt_text_symbol_relation changing string_value = ov_h_string exceptions table_string_inconsistency = 1 unknown_status = 2 others = 3.

HRCA_CONTROLLINGAREA_FIND call function 'HRCA_CONTROLLINGAREA_FIND' exporting companycode = iv_bukrs businessarea = iv_gsber importing contrlarea = ov_kokrs exceptions not_found = 1 others = 2.

PYXX_SPECIFY_OBJECTS call function 'PYXX_SPECIFY_OBJECTS' tables specified_objects = lt_specified_objects.

HR_REFRESH_ERROR_LIST call function 'HR_REFRESH_ERROR_LIST'.

RP_EDIT_NAME call function 'RP_EDIT_NAME' exporting format = $$format langu = sy-langu molga = lv_molga pp0002 = p0002 importing edit_name = pernr_common-ename.

CD_EVALUATION_PERIODS * call function 'CD_EVALUATION_PERIODS' * exporting * bonus_date = ls_inper_directory_entry-ipend * inper_modif = ls_inper_directory_entry-iperm * inper = ls_inper_directory_entry-inper * pay_type = ls_inper_directory_entry-inpty * pay_ident = ls_inper_directory_entry-inpid * all_results_of_run = false "required for off-cycle type 'S' * tables * rgdir = lt_rgdir * evpdir = lt_evp_related_records * exceptions * no_record_found = 1 * others = 2.

HRPY_PROCESS_FIRE_EVENT call function 'HRPY_PROCESS_FIRE_EVENT' "process model exporting imp_parcel = pyparaid.

REUSE_ALV_VARIANT_F4 call function 'REUSE_ALV_VARIANT_F4' exporting is_variant = ov_template i_save = 'A' importing e_exit = lv_rc es_variant = ov_template exceptions not_found = 1 program_error = 2 others = 3.

HRPY_PROCESS_SET_PERNR_STATUS call function 'HRPY_PROCESS_SET_PERNR_STATUS' exporting imp_pernr = iv_pernr imp_parcel = pyparaid imp_set_suc = true exceptions others = 0.

PA03_PERIODDATES_GET call function 'PA03_PERIODDATES_GET' exporting f_abkrs = lv_pnpxabkr importing f_permo = ov_permo f_current_begda = ov_begd_cal f_current_endda = ov_endd_cal changing f_current_period = ov_abrp_cal f_current_year = ov_abrj_cal exceptions pcr_does_not_exist = 1 abkrs_does_not_exist = 2 period_does_not_exist = 3 others = 4.

REUSE_ALV_VARIANT_EXISTENCE call function 'REUSE_ALV_VARIANT_EXISTENCE' changing cs_variant = ov_template exceptions not_found = 1 others = 2.

REUSE_ALV_VARIANT_EXISTENCE call function 'REUSE_ALV_VARIANT_EXISTENCE' exporting i_save = 'A' changing cs_variant = ov_template exceptions not_found = 1 others = 2.

HR_PCLX_INIT_BUFFER * call function 'HR_PCLX_INIT_BUFFER'.

HR_IMPORT_BUFFER_FROM_ARCHIVE call function 'HR_IMPORT_BUFFER_FROM_ARCHIVE' exporting persnr = iv_pernr arc_group = ls_evp-arc_group exceptions error_reading_archive = 1 others = 2.

HR_IMPORT_RGDIR_FROM_PCLX call function 'HR_IMPORT_RGDIR_FROM_PCLX' exporting employee_number = iv_pernr cluster_id = iv_relid tables import_rgdir = it_evp exceptions no_results = 1 no_read_authority = 2 others = 3.

HR_DISPLAY_ERROR_LIST call function 'HR_DISPLAY_ERROR_LIST' exceptions invalid_linesize = 1 others = 2.

HR_GET_ERRORTAB_FROM_PNP_INFO





call function 'HR_GET_ERRORTAB_FROM_PNP_INFO' tables errortab = lt_pnp_error.

HR_APPEND_ERROR_LIST call function 'HR_APPEND_ERROR_LIST' exporting pernr = ls_pnp_error-pernr arbgb = ls_pnp_error-arbgb msgty = ls_pnp_error-msgty msgno = ls_pnp_error-msgno msgv1 = ls_pnp_error-msgv1 msgv2 = ls_pnp_error-msgv2 msgv3 = ls_pnp_error-msgv3 msgv4 = ls_pnp_error-msgv4 exceptions others = 1.

HR_APPEND_ERROR_LIST call function 'HR_APPEND_ERROR_LIST' exporting pernr = c_null_pernr arbgb = '3R' msgty = 'I' msgno = 503 msgv1 = lv_sel exceptions others = 1.

HR_APPEND_ERROR_LIST call function 'HR_APPEND_ERROR_LIST' exporting pernr = c_null_pernr arbgb = '3R' msgty = 'I' msgno = 504 msgv1 = lv_proc exceptions others = 1.

HR_APPEND_ERROR_LIST call function 'HR_APPEND_ERROR_LIST' exporting pernr = c_null_pernr arbgb = '3R' msgty = 'I' msgno = 505 msgv1 = lv_rej exceptions others = 1.

HR_GET_ERROR_LIST call function 'HR_GET_ERROR_LIST' exporting use_abap_memory = 'X' tables error = lt_errortab exceptions no_errors = 1 others = 2.

HR_REFRESH_ERROR_LIST call function 'HR_REFRESH_ERROR_LIST'.

HR_APPEND_ERROR_LIST call function 'HR_APPEND_ERROR_LIST' exporting pernr = ls_errortab-pernr arbgb = ls_errortab-arbgb msgty = ls_errortab-msgty msgno = ls_errortab-msgno msgv1 = ls_errortab-msgv1 msgv2 = ls_errortab-msgv2 msgv3 = ls_errortab-msgv3 msgv4 = ls_errortab-msgv4 exceptions others = 1.

CA_CU_READ_RGDIR_NEW call function 'CA_CU_READ_RGDIR_NEW' exporting persnr = iv_pernr importing molga = ov_molga tables cu_ca_rgdir = ot_rgdir exceptions no_record_found = 1 others = 2.

GET_ACCESSIBILITY_MODE call function 'GET_ACCESSIBILITY_MODE' importing accessibility = gx_acc_mode_on exceptions others = 1.

CD_RETROCALC_PERIOD call function 'CD_RETROCALC_PERIOD' exporting entry = ls_rgdir_1 importing calcd = lx_retro.

HRCA_COSTCENTER_GETDETAIL CALL FUNCTION 'HRCA_COSTCENTER_GETDETAIL' EXPORTING CONTROLLINGAREA = iv_KOKRS_KOKRS COSTCENTER = iv_KOSTL READ_DATE = iv_FPEND IMPORTING PROFIT_CTR = ov_PROFIT_CTR EXCEPTIONS OTHERS = 0.

CD_RETROCALC_PERIOD CALL FUNCTION 'CD_RETROCALC_PERIOD' EXPORTING entry = ls_evp IMPORTING calcd = lx_retro.

PYXX_READ_PAYROLL_RESULT call function 'PYXX_READ_PAYROLL_RESULT' exporting clusterid = iv_relid employeenumber = iv_pernr sequencenumber = ls_evp-seqnr * READ_ONLY_BUFFER = ' ' read_only_international = 'X' changing payroll_result = ls_result exceptions illegal_isocode_or_clusterid = 1 error_generating_import = 2 import_mismatch_error = 3 subpool_dir_full = 4 no_read_authority = 5 no_record_found = 6 versions_do_not_match = 7 others = 8.



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