SAP Reports / Programs | Payroll | Australia | Public Sector(PY-AU-PS) SAP PY

MP057341 SAP ABAP INCLUDE - Aust Public Sector Leave Infotype - Subroutines 2







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


Text pool values


Title: Aust Public Sector Leave Infotype - Subroutines 2


INCLUDES used within this REPORT MP057341

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_PERSONAL_WORK_SCHEDULE call function 'HR_PERSONAL_WORK_SCHEDULE' EXPORTING pernr = p0573-pernr begda = date endda = date TABLES perws = pws EXCEPTIONS error_occured = 1 others = 2.

HR_WORK_SCHEDULE_TIMES call function 'HR_WORK_SCHEDULE_TIMES' EXPORTING pernr = p0573-pernr begda = date endda = date TABLES i0001 = g0001 i0007 = g0007 i2003 = g2003 perws = pws daygen = day_gen dayint = day_int EXCEPTIONS error_occured = 1 perws_error = 2 others = 3.

HR_ABS_ATT_TIMES_AT_ENTRY call function 'HR_ABS_ATT_TIMES_AT_ENTRY' EXPORTING pernr = p0573-pernr awart = p_abs_type begda = p_abs_begda endda = p_abs_endda IMPORTING abwtg = p_abwtg abrtg = p_abrtg abrst = p_abrst TABLES m0000 = g0000 m0001 = g0001 m0002 = g0002 m0007 = g0007 m2001 = g2001 m2002 = g2002 m2003 = g2003 times_per_day = p_time_per_day CHANGING beguz = p_beguz enduz = p_enduz vtken = p_vtken stdaz = p_stdaz EXCEPTIONS it0001_missing = 1 customizing_error = 2 error_occurred = 3 end_before_begin = 4.

HR_AUPBS_ON_BDC_UPDATE call function 'HR_AUPBS_ON_BDC_UPDATE' EXPORTING operation = operation pa30_oper = pa30_oper inty_oper = inty_oper infotype = '0573' TABLES r0573 = f0573 messtab = messtab.

HR_REFRESH_QUODED_BUFFER call function 'HR_REFRESH_QUODED_BUFFER'.

POPUP_TO_INFORM call function 'POPUP_TO_INFORM' EXPORTING titel = text-074 txt1 = question_text txt2 = text-063.

HR_READ_INFOTYPE call function 'HR_READ_INFOTYPE' EXPORTING tclas = 'A' pernr = p0573-pernr infty = '2006' begda = '19000101' endda = '99991231' bypass_buffer = 'X' TABLES infty_tab = gl2006.

HR_READ_INFOTYPE call function 'HR_READ_INFOTYPE' EXPORTING tclas = 'A' pernr = p0573-pernr infty = '2013' begda = '19000101' endda = '99991231' bypass_buffer = 'X' TABLES infty_tab = gl2013.

POPUP_TO_INFORM call function 'POPUP_TO_INFORM' EXPORTING titel = text-074 txt1 = question_text txt2 = text-063.

HR_REFRESH_ERROR_LIST call function 'HR_REFRESH_ERROR_LIST'.

HR_PROCESS_ABSENCE_ATTENDANCE call function 'HR_PROCESS_ABSENCE_ATTENDANCE' exporting pernr = p0573-pernr awart = abs_tab-awart begda = tmp_begda endda = tmp_endda * switch_hrsif = 1 conti = 1 importing abwtg = i_abwtg abrtg = i_abrtg abrst = i_abrst kaltg = i_kaltg hrsif = i_hrsif alldf = i_alldf tables m0000 = g0000 m0001 = g0001 m0002 = g0002 m0007 = g0007 m2001 = g2001 m2002 = g2002 m2003 = g2003 m2006_opera = t2006_opera "l_l2006x * m2007_opera = l2007x bquoded = bquoded changing beguz = tmp_beguz enduz = tmp_enduz vtken = i_vtken stdaz = i_stdaz docnr = docnr exceptions error = 1 others = 2.

HR_GET_ERROR_LIST call function 'HR_GET_ERROR_LIST' TABLES error = errors errortexts = errortexts EXCEPTIONS no_errors = 1 others = 2.

HR_PERSONAL_WORK_SCHEDULE call function 'HR_PERSONAL_WORK_SCHEDULE' EXPORTING pernr = p0573-pernr begda = date endda = date TABLES perws = pws EXCEPTIONS error_occured = 1 others = 2.

HR_WORK_SCHEDULE_TIMES call function 'HR_WORK_SCHEDULE_TIMES' EXPORTING pernr = p0573-pernr begda = date endda = date TABLES i0001 = g0001 i0007 = g0007 i2003 = g2003 perws = pws daygen = day_gen dayint = day_int EXCEPTIONS error_occured = 1 perws_error = 2 others = 3.

HR_AUPBS_SENIORITY call function 'HR_AUPBS_SENIORITY' EXPORTING tpernr = p0573-pernr start_date = '18000101' end_date = p0573-begda iprsv = 'X' clwop = ' ' cunau = ' ' TABLES seniority = sen_tab.

HR_PERSONAL_WORK_SCHEDULE call function 'HR_PERSONAL_WORK_SCHEDULE' EXPORTING pernr = p0573-pernr begda = date endda = date TABLES perws = pws EXCEPTIONS error_occured = 1 others = 2.

HR_PERSONAL_WORK_SCHEDULE call function 'HR_PERSONAL_WORK_SCHEDULE' EXPORTING pernr = p0573-pernr begda = date endda = date TABLES perws = pws EXCEPTIONS error_occured = 1 others = 2.

HR_WORK_SCHEDULE_TIMES call function 'HR_WORK_SCHEDULE_TIMES' EXPORTING pernr = p0573-pernr begda = date endda = date TABLES i0001 = g0001 i0007 = g0007 i2003 = g2003 perws = pws daygen = day_gen dayint = day_int EXCEPTIONS error_occured = 1 perws_error = 2 others = 3.

HR_REFRESH_ERROR_LIST





call function 'HR_REFRESH_ERROR_LIST'.

HR_GET_ERROR_LIST call function 'HR_GET_ERROR_LIST' TABLES error = errors errortexts = errortexts EXCEPTIONS no_errors = 1 others = 2.

HR_PERSONAL_WORK_SCHEDULE call function 'HR_PERSONAL_WORK_SCHEDULE' EXPORTING pernr = p0573-pernr begda = p_endda endda = p_endda TABLES perws = pws EXCEPTIONS error_occured = 1 others = 2.

HR_WORK_SCHEDULE_TIMES call function 'HR_WORK_SCHEDULE_TIMES' EXPORTING pernr = p0573-pernr begda = p_endda endda = p_endda TABLES i0001 = g0001 i0007 = g0007 i2003 = g2003 perws = pws daygen = day_gen dayint = day_int EXCEPTIONS error_occured = 1 perws_error = 2 others = 3.

HR_PROPOSE_TIMES_FROM_DWS call function 'HR_PROPOSE_TIMES_FROM_DWS' EXPORTING stdaz = number vtken_imp = '0' daygen = day_gen IMPORTING beguz_exp = p_beguz enduz_exp = p_enduz TABLES dayint = day_int i2001 = g2001 i2002 = g2002.

HR_PERSONAL_WORK_SCHEDULE call function 'HR_PERSONAL_WORK_SCHEDULE' EXPORTING pernr = p0573-pernr begda = p_begda endda = p_begda TABLES perws = pws EXCEPTIONS error_occured = 1 others = 2.

HR_READ_INFOTYPE call function 'HR_READ_INFOTYPE' EXPORTING tclas = 'A' pernr = p0573-pernr infty = '2001' begda = '19000101' endda = '99991231' bypass_buffer = 'X' TABLES infty_tab = tmp_2001.

HR_READ_INFOTYPE call function 'HR_READ_INFOTYPE' EXPORTING tclas = 'A' pernr = p0573-pernr infty = '2006' begda = '19000101' endda = '99991231' bypass_buffer = 'X' TABLES infty_tab = tmp_2006.

HR_PERSONAL_WORK_SCHEDULE call function 'HR_PERSONAL_WORK_SCHEDULE' EXPORTING pernr = p0573-pernr begda = p_date endda = p_date TABLES perws = tmp_pws EXCEPTIONS error_occured = 1 others = 2.

POPUP_TO_INFORM call function 'POPUP_TO_INFORM' EXPORTING titel = text-068 txt1 = text-071 txt2 = text-072 txt3 = text-073.

HR_AUPBS_ON_BDC_UPDATE call function 'HR_AUPBS_ON_BDC_UPDATE' EXPORTING operation = operation pa30_oper = pa30_oper inty_oper = inty_oper infotype = '2006' TABLES ins_2006 = mod_2006 messtab = messtab.

HR_REFRESH_QUODED_BUFFER call function 'HR_REFRESH_QUODED_BUFFER'. "YAYALRK065681

HR_PERSONAL_WORK_SCHEDULE call function 'HR_PERSONAL_WORK_SCHEDULE' EXPORTING pernr = p0573-pernr begda = p0573-begda endda = p0573-endda TABLES perws = t_pws EXCEPTIONS error_occured = 1 others = 2.

HR_WORK_SCHEDULE_TIMES call function 'HR_WORK_SCHEDULE_TIMES' EXPORTING pernr = p0573-pernr begda = p0573-begda endda = p0573-endda TABLES i0001 = g0001 i0007 = g0007 i2003 = g2003 perws = t_pws daygen = day_gen dayint = day_int EXCEPTIONS error_occured = 1 perws_error = 2 others = 3.

PA03_PCR_READ CALL FUNCTION 'PA03_PCR_READ' EXPORTING F_ABKRS = P_ABKRS ERROR_NO_ACCOUNTING = SPACE "no error for CALCR = '' IMPORTING F_STATE = P_STATE F_PERMO = P_PERMO F_CURRENT_BEGDA = P_BEGDA F_CURRENT_ENDDA = P_ENDDA F_TWM_DATE = P_TWM_DATE EXCEPTIONS ABKRS_NO_ACCOUNTING = 1 PCR_DOES_NOT_EXIST = 2 ABKRS_DOES_NOT_EXIST = 3 PERIOD_DOES_NOT_EXIST = 4 "XPVPH9K021799 OTHERS = 99.



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