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

MPQTADFT SAP ABAP INCLUDE - Modules for Time Quota Default Values







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


Text pool values


Title: Modules for Time Quota Default Values


INCLUDES used within this REPORT MPQTADFT

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:

DYNP_VALUES_READ CALL FUNCTION 'DYNP_VALUES_READ' EXPORTING DYNAME = P_PROGNAME DYNUMB = P_DYNNUM TRANSLATE_TO_UPPER = 'X' * REQUEST = ' ' * PERFORM_CONVERSION_EXITS = ' ' * PERFORM_INPUT_CONVERSION = ' ' TABLES DYNPFIELDS = DFIELDS EXCEPTIONS INVALID_ABAPWORKAREA = 1 INVALID_DYNPROFIELD = 2 INVALID_DYNPRONAME = 3 INVALID_DYNPRONUMMER = 4 INVALID_REQUEST = 5 NO_FIELDDESCRIPTION = 6 INVALID_PARAMETER = 7 UNDEFIND_ERROR = 8 DOUBLE_CONVERSION = 9 OTHERS = 10.

CONVERT_DATE_INPUT CALL FUNCTION 'CONVERT_DATE_INPUT' EXPORTING INPUT = P_INVALUE * PLAUSIBILITY_CHECK = 'X' IMPORTING OUTPUT = IDATE EXCEPTIONS PLAUSIBILITY_CHECK_FAILED = 1 WRONG_FORMAT_IN_INPUT = 2 OTHERS = 3.

ENQUEUE_EPPRELE CALL FUNCTION 'ENQUEUE_EPPRELE' "N1063937 EXPORTING "N1063937 pernr = p_pernr "N1063937 mode_prel = 'X' "N1063937 EXCEPTIONS "N1063937 foreign_lock = 2 "N1063937 system_failure = 3. "N1063937

HR_INFOTYPE_OPERATION CALL FUNCTION 'HR_INFOTYPE_OPERATION' EXPORTING INFTY = P_INFTY NUMBER = P_PERNR SUBTYPE = QUOTA_RECORD-SUBTY * OBJECTID = LOCKINDICATOR = QUOTA_RECORD-SPRPS VALIDITYEND = QUOTA_RECORD-ENDDA VALIDITYBEGIN = QUOTA_RECORD-BEGDA * RECORDNUMBER = RECORD = QUOTA_RECORD OPERATION = 'INS' TCLAS = P_TCLAS DIALOG_MODE = '1' "screen on error NOCOMMIT = 'X' "one commit for all records * VIEW_IDENTIFIER = * SECONDARY_RECORD = IMPORTING RETURN = MESSAGE_BUFFER KEY = PRELKEY.

DEQUEUE_EPPRELE CALL FUNCTION 'DEQUEUE_EPPRELE' "N1063937 EXPORTING "N1063937 pernr = pspar-pernr "N1063937 mode_prel = 'X'. "N1063937

HR_PSBUFFER_INITIALIZE call function 'HR_PSBUFFER_INITIALIZE'. "note 822337

HR_GET_NEW_TIMESKEY CALL FUNCTION 'HR_GET_NEW_TIMESKEY' EXPORTING INFOTYPE = P_INFTY DOCUMENT_NUMBER = P_B2006X-QUONR IMPORTING LOGICAL_SYSTEM = P_B2006X-QUOSY DOCUMENT_NUMBER = P_B2006X-QUONR.

HR_GET_NEW_TIMESKEY CALL FUNCTION 'HR_GET_NEW_TIMESKEY' EXPORTING INFOTYPE = P_INFTY DOCUMENT_NUMBER = P_B2007X-QUONR IMPORTING LOGICAL_SYSTEM = P_B2007X-QUOSY DOCUMENT_NUMBER = P_B2007X-QUONR.

HR_CHECK_AUTHORITY_INFTY CALL FUNCTION 'HR_CHECK_AUTHORITY_INFTY' EXPORTING TCLAS = PSPAR-TCLAS PERNR = PSPAR-PERNR INFTY = PSPAR-INFTY SUBTY = BEGDA = B2006X2-BEGDA ENDDA = B2006X2-ENDDA LEVEL = 'W' TABLES I0001 = M0001 EXCEPTIONS NO_AUTHORIZATION = 1 INTERNAL_ERROR = 2 OTHERS = 3.

HR_CHECK_AUTHORITY_INFTY CALL FUNCTION 'HR_CHECK_AUTHORITY_INFTY' EXPORTING TCLAS = PSPAR-TCLAS PERNR = PSPAR-PERNR INFTY = PSPAR-INFTY SUBTY = BEGDA = B2006X2-BEGDA ENDDA = B2006X2-ENDDA LEVEL = 'E' TABLES I0001 = M0001 EXCEPTIONS NO_AUTHORIZATION = 1 INTERNAL_ERROR = 2 OTHERS = 3.

HR_CHECK_AUTHORITY_INFTY CALL FUNCTION 'HR_CHECK_AUTHORITY_INFTY' EXPORTING TCLAS = PSPAR-TCLAS PERNR = PSPAR-PERNR INFTY = PSPAR-INFTY SUBTY = BEGDA = B2006X2-BEGDA ENDDA = B2006X2-ENDDA LEVEL = 'S' TABLES I0001 = M0001 EXCEPTIONS NO_AUTHORIZATION = 1 INTERNAL_ERROR = 2 OTHERS = 3.



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