SAP Reports / Programs | Payroll(PY) SAP PY

MP093540 SAP ABAP INCLUDE - HR SK - include pro IT0002 - output modules







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

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_BG_ADD_MONTH_TO_DATE CALL FUNCTION 'HR_BG_ADD_MONTH_TO_DATE' EXPORTING dmm_datin = p0935-begda dmm_count = lv_period dmm_oper = '+' dmm_pos = space IMPORTING dmm_daout = datum.

HR_FEATURE_BACKFIELD CALL FUNCTION 'HR_FEATURE_BACKFIELD' EXPORTING feature = 'BGCNN' struc_content = ls_pbg04 kind_of_error = space IMPORTING back = lv_str 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 OTHERS = 7.

NUMBER_GET_NEXT CALL FUNCTION 'NUMBER_GET_NEXT' EXPORTING nr_range_nr = lv_nrran subobject = lv_cnobj object = 'HR_BG_CNUM' IMPORTING number = p0935-ctnum returncode = lv_rc EXCEPTIONS interval_not_found = 1 number_range_not_intern = 2 object_not_found = 3 quantity_is_0 = 4 quantity_is_not_1 = 5 interval_overflow = 6 buffer_overflow = 7 OTHERS = 8.

HR_FEATURE_BACKFIELD CALL FUNCTION 'HR_FEATURE_BACKFIELD' EXPORTING feature = 'BGORN' struc_content = ls_pbg04 kind_of_error = space IMPORTING back = lv_str 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 OTHERS = 7.

NUMBER_RANGE_ENQUEUE CALL FUNCTION 'NUMBER_RANGE_ENQUEUE' EXPORTING object = 'HR_BG_ONUM' EXCEPTIONS FOREIGN_LOCK = 1 OBJECT_NOT_FOUND = 2 SYSTEM_FAILURE = 3 OTHERS = 4.

NUMBER_GET_NEXT CALL FUNCTION 'NUMBER_GET_NEXT' EXPORTING nr_range_nr = lv_nrran subobject = lv_onobj object = 'HR_BG_ONUM' IMPORTING number = p0935-ornum returncode = lv_rc EXCEPTIONS interval_not_found = 1 number_range_not_intern = 2 object_not_found = 3 quantity_is_0 = 4 quantity_is_not_1 = 5 interval_overflow = 6 buffer_overflow = 7 OTHERS = 8.

NUMBER_RANGE_DEQUEUE CALL FUNCTION 'NUMBER_RANGE_DEQUEUE' EXPORTING object = 'HR_BG_ONUM' EXCEPTIONS OBJECT_NOT_FOUND = 1 OTHERS = 2.

HR_FEATURE_BACKFIELD CALL FUNCTION 'HR_FEATURE_BACKFIELD' EXPORTING feature = 'BGCNP' struc_content = ls_pme04 kind_of_error = space IMPORTING back = lv_str 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 OTHERS = 7.

HR_FEATURE_BACKFIELD CALL FUNCTION 'HR_FEATURE_BACKFIELD' EXPORTING feature = 'BGCNT' struc_content = ls_pme04 kind_of_error = space IMPORTING back = lv_str 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 OTHERS = 7.

HR_BG_GET_PROFESSION CALL FUNCTION 'HR_BG_GET_PROFESSION' EXPORTING plans = psyst-plans stell = psyst-stell werks = psyst-werks btrtl = psyst-btrtl begda = psyst-begda langu = sy-langu IMPORTING jcoderef = p0935-proff.

HR_BG_GET_PROFESSION CALL FUNCTION 'HR_BG_GET_PROFESSION' EXPORTING werks = psyst-werks btrtl = psyst-btrtl begda = psyst-begda langu = sy-langu TABLES profess = lt_t710st.

HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING pernr = p0935-pernr infty = '0935' begda = lv_begda endda = lv_begda bypass_buffer = 'X' TABLES infty_tab = lt_p0935.

HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING pernr = p0935-pernr infty = '0000' * begda = p_keydate endda = p_keydate TABLES infty_tab = lt_p0000.

HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING pernr = p0935-pernr infty = '0001' * begda = p_keydate endda = p_keydate TABLES infty_tab = lt_p0001.

RP_HIRE_FIRE CALL FUNCTION 'RP_HIRE_FIRE' EXPORTING beg = p_keydate end = p_keydate IMPORTING fire_date = lv_fire hire_date = p_hire TABLES pphifi = lt_hifi pp0000 = lt_p0000 pp0001 = lt_p0001.

HR_FEATURE_BACKFIELD CALL FUNCTION 'HR_FEATURE_BACKFIELD' EXPORTING feature = 'BGCNN' struc_content = ls_pbg04 kind_of_error = space IMPORTING back = lv_num1 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 OTHERS = 7.

HR_FEATURE_BACKFIELD CALL FUNCTION 'HR_FEATURE_BACKFIELD' EXPORTING feature = 'BGCNN' struc_content = ls_pbg04 kind_of_error = space IMPORTING back = lv_num2 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 OTHERS = 7.

HR_FEATURE_BACKFIELD CALL FUNCTION 'HR_FEATURE_BACKFIELD' EXPORTING feature = 'BGORN' struc_content = ls_pbg04 kind_of_error = space IMPORTING back = lv_num1 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 OTHERS = 7.

HR_FEATURE_BACKFIELD





CALL FUNCTION 'HR_FEATURE_BACKFIELD' EXPORTING feature = 'BGORN' struc_content = ls_pbg04 kind_of_error = space IMPORTING back = lv_num2 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 OTHERS = 7.

HR_BG_GET_PROFESSION CALL FUNCTION 'HR_BG_GET_PROFESSION' EXPORTING werks = psyst-werks btrtl = psyst-btrtl begda = psyst-begda langu = sy-langu TABLES profess = lt_t710st.

HELP_VALUES_GET_WITH_TABLE CALL FUNCTION 'HELP_VALUES_GET_WITH_TABLE' EXPORTING fieldname = 'PROFF' tabname = 'P0935' display = l_display IMPORTING select_value = selected_value TABLES fields = i_help_value valuetab = i_valuetab EXCEPTIONS field_not_in_ddic = 01 more_then_one_selectfield = 02 no_selectfield = 03.

HELP_VALUES_GET_WITH_TABLE CALL FUNCTION 'HELP_VALUES_GET_WITH_TABLE' EXPORTING fieldname = 'NORMC' tabname = 'P0935' display = l_display no_conversion = 'X' IMPORTING select_value = selected_value TABLES fields = i_help_value valuetab = i_valuetab EXCEPTIONS field_not_in_ddic = 01 more_then_one_selectfield = 02 no_selectfield = 03.

HR_BG_GET_PROFESSION CALL FUNCTION 'HR_BG_GET_PROFESSION' EXPORTING plans = psyst-plans stell = psyst-stell werks = psyst-werks btrtl = psyst-btrtl begda = psyst-begda langu = sy-langu IMPORTING jcoderef = p0935-proff.



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