SAP Reports / Programs | Personnel Time Management(PT) SAP PT

MP041640 SAP ABAP INCLUDE - Subroutine for Infotype 0416







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


Text pool values


Title: Subroutine for Infotype 0416


INCLUDES used within this REPORT MP041640

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_REFRESH_ERROR_LIST call function 'HR_REFRESH_ERROR_LIST'.

HR_GET_QUOTA_CUSTOMIZING call function 'HR_GET_QUOTA_CUSTOMIZING' exporting w0001 = wa0001 quota_id = p_quota quota_type = p_stype date = p_date importing w556a = wa556a w556p = wa556p w556b = wa556b w556q = wa556q w538t = wa538t exceptions parameter_error = 1 error_occurred = 2 wrong_quota_type = 3 others = 4.

HR_GET_ERROR_LIST call function 'HR_GET_ERROR_LIST' tables error = error_messages exceptions no_errors = 1 others = 2.

HR_F4_COUNTRY_CURRENCY call function 'HR_F4_COUNTRY_CURRENCY' exporting molga = p_molga date = p_sdate importing waers = p_currency * VALID_BEGDA = * VALID_ENDDA = exceptions no_bukrs_found = 1 no_country_found = 2 others = 3.

F4IF_INT_TABLE_VALUE_REQUEST call function 'F4IF_INT_TABLE_VALUE_REQUEST' exporting * DDIC_STRUCTURE = ' ' retfield = quotafname * PVALKEY = ' ' dynpprog = 'MP041600' dynpnr = dynpro_number dynprofield = 'P0416-QTYPE' * STEPL = 0 window_title = f4title value = help_value value_org = 'C' * MULTIPLE_CHOICE = ' ' display = sw_display "note 351395 * CALLBACK_PROGRAM = ' ' * CALLBACK_FORM = ' ' tables value_tab = ivalue_tab field_tab = ifield_tab return_tab = ireturn_tab exceptions parameter_error = 1 no_values_found = 2 others = 3.

DYNP_VALUES_UPDATE call function 'DYNP_VALUES_UPDATE' exporting dyname = 'MP041600' dynumb = dynpro_number tables dynpfields = iputfields exceptions invalid_abapworkarea = 1 invalid_dynprofield = 2 invalid_dynproname = 3 invalid_dynpronummer = 4 invalid_request = 5 no_fielddescription = 6 undefind_error = 7 others = 8.

DDIF_FIELDINFO_GET call function 'DDIF_FIELDINFO_GET' exporting tabname = p_tabname fieldname = p_fieldname langu = sy-langu lfieldname = l_fname importing dfies_wa = p_ftab * TABLES * DFIES_TAB = exceptions not_found = 1 internal_error = 2 others = 3.

HR_GET_QUOTA_CUSTOMIZING call function 'HR_GET_QUOTA_CUSTOMIZING' exporting pernum = p_record-pernr quota_id = p_record-qtype quota_type = p_record-stype date = p_record-begda importing * W001P = * W503 = * W556A = w556p = i556p * W556B = * W556Q = * W538T = exceptions error_occurred = 1.

HR_GET_ERROR_LIST call function 'HR_GET_ERROR_LIST' tables error = errtab 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 = p_b0416-pernr arbgb = 'HRTIM00REC' msgty = 'E' msgno = '029' msgv1 = '0001' msgv2 = cdate msgv3 = space msgv4 = space.

HR_SETTLE_QUOTA call function 'HR_SETTLE_QUOTA' exporting pernum = p_b0416-pernr infty = infotype_to_comp number = p_b0416-numbr docnr = p_b0416-docnr quonr = p_b0416-quonr srule = p_b0416-srule qtype = p_b0416-qtype sdate = p_b0416-begda ignore_interval = 'X' buffer_refresh = ' ' tables t0001 = it0001 t2006x = p_b2006x2 t2007x = p_b2007x2 tquoded = itquoded exceptions it0001_missing = 1 error_occurred = 2 zero_settlement = 3 wrong_infty = 4 not_enough_quota = 5 quonr_not_found = 6 others = 7.

HR_INSERT_QUODED_BUFFER call function 'HR_INSERT_QUODED_BUFFER' tables new_quoded = itquoded.

HR_EXPORT_QUODED_BUFFER call function 'HR_EXPORT_QUODED_BUFFER'.

HR_GET_NEW_TIMESKEY call function 'HR_GET_NEW_TIMESKEY' exporting infotype = p_infty document_number = p_pnumber importing logical_system = p_logsys document_number = p_pnumber exceptions wrong_infotype = 1 internal_error = 2 others = 3.

HR_GET_ERROR_LIST call function 'HR_GET_ERROR_LIST' tables error = errors exceptions no_errors = 1 others = 2.

HR_DISPLAY_ERROR_LIST call function 'HR_DISPLAY_ERROR_LIST' exporting no_popup = p_popup no_print = p_print no_img = p_img no_msgno = p_msgno linesize = p_linsz listheader = p_listheader colheader = p_colhaeder hidemsg = p_hidemsg exceptions invalid_linesize = 1 others = 2.

HR_DELETE_QUODED_BUFFER call function 'HR_DELETE_QUODED_BUFFER' exporting docnr = p_docnr tables t2006x = p_b2006x2 t2007x = p_b2007x2 exceptions duplicate_delete = 1 no_entry = 2 non_existing_quonr = 3.

HR_EXPORT_QUODED_BUFFER





call function 'HR_EXPORT_QUODED_BUFFER'.

RP_GET_CURRENCY call function 'RP_GET_CURRENCY' exporting molga = p_molga begda = p_date endda = p_date importing waers = p_waers exceptions molga_not_in_t001p = 1 no_entry_found_in_table_t001 = 2 no_entry_found_in_table_t500p = 3 no_entry_found_in_table_t500c = 4 others = 5.

HR_GET_QUOTA_DEDUCTION call function 'HR_GET_QUOTA_DEDUCTION' exporting docnum = p_docnr tables qdisded = itdisded exceptions record_not_found = 1 others = 2.

HR_GET_QUOTA_DEDUCTION call function 'HR_GET_QUOTA_DEDUCTION' exporting docnum = p_p0416-docnr tables qdisded = iqdisded exceptions record_not_found = 1 others = 2.

SCROLLING_IN_TABLE call function 'SCROLLING_IN_TABLE' exporting entry_act = -top_line entry_from = 0 entry_to = -lines last_page_full = 'X' loops = p_ndisp ok_code = p_fcode overlapping = 'X' * PAGE_ACT = 0 * PAGE_GO = 0 importing * ENTRY_SUM = entry_new = -top_line * PAGES_SUM = * PAGE_NEW = exceptions no_entry_or_page_act = 1 no_entry_to = 2 no_ok_code_or_page_go = 3 others = 4.

HR_REFRESH_QUODED_BUFFER call function 'HR_REFRESH_QUODED_BUFFER'.

HR_NAVIGATE_TO_INFOTYPE_RECORD call function 'HR_NAVIGATE_TO_INFOTYPE_RECORD' exporting employeenumber = wkey-pernr infotype = wkey-infty subtype = wkey-subty objps = wkey-objps lockindicator = wkey-sprps start_date = wkey-begda end_date = wkey-endda seqnr = wkey-seqnr fcode = 'DIS ' exceptions no_authority_transaction = 1.

HR_GET_QUOTA_CUSTOMIZING call function 'HR_GET_QUOTA_CUSTOMIZING' exporting pernum = p_pernr quota_id = p_qtaid quota_type = p_stype date = l_date "note 704506 importing w556a = w556a w556p = w556p exceptions error_occurred = 1 wrong_quota_type = 2 parameter_error = 3 others = 4.

HR_GET_QUOTA_CUSTOMIZING call function 'HR_GET_QUOTA_CUSTOMIZING' exporting pernum = p_pernr quota_id = p_qtype quota_type = p_stype date = p_date importing w001p = w001p w556a = w556a w556p = w556p exceptions error_occurred = 1 wrong_quota_type = 2 parameter_error = 3 others = 4.



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