SAP Reports / Programs

RPTEXTPT SAP ABAP Report - Transfer Time Data to HR Time Management







RPTEXTPT is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for You supply Human Resources (HR) with absence and attendance data and data on employee remuneration and substitutions by transferring data records from the time sheet or an external time recording system...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.

If you would like to execute this report or see the full code listing simply enter RPTEXTPT into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

CAT6 - Transfer External -> Time Management


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


Text pool values


Selection Text: ABHDATUM = Last retrieved on
Selection Text: ABHSTAT1 = Last retrieval successful
Selection Text: ABHSTAT2 = Last retrieval unsuccessful
Selection Text: ABHUZEIT = Last retrieved at
Selection Text: DELDATUM = Date
Selection Text: DELIGN = Delete locked records
Selection Text: DELPERNR = Personnel number
Selection Text: DELUSRFL = Customer field
Selection Text: IGNDATUM = Date
Selection Text: IGNDEAC = Locked data
Selection Text: IGNFAIL = Incorrect data
Selection Text: IGNNEW = New data
Selection Text: IGNPERNR = Personnel number
Selection Text: IGNUSRFL = Customer field
Selection Text: INDDATUM = Date
Selection Text: INDPERNR = Personnel number
Selection Text: INDUSRFL = Customer field
Selection Text: INSDATUM = Date
Selection Text: INSPERNR = Personnel number
Selection Text: INSUSRFL = Customer field
Selection Text: MAPNAME = Session name
Selection Text: P2000 = Attendances/absences
Selection Text: P2003 = Substitutions
Selection Text: P2010 = EE remuneration info
Selection Text: PROTOKOL = Output log
Selection Text: REPDATUM = Date
Selection Text: REPPERNR = Personnel number
Selection Text: REPUSRFL = Customer field
Selection Text: SENDMAIL = Send mail
Selection Text: TESTLAUF = Test run
Selection Text: USER = User name
Title: Transfer Time Data to HR Time Management
Text Symbol: 007 = LongText
Text Symbol: 010 = Statistics:
Text Symbol: 011 = Number of data records read:
Text Symbol: 012 = Number of unsuccessful postings:
Text Symbol: 013 = Number of deleted data records:
Text Symbol: 014 = Number of successful postings:





Text Symbol: 015 = Name of generated batch input session:
Text Symbol: 016 = Test run: No data was transferred
Text Symbol: 017 = Initial Transfer
Text Symbol: 018 = Repeat Transfer
Text Symbol: 019 = Transfer/Delete
Text Symbol: 020 = Delete Only
Text Symbol: 021 = Lock/Unlock
Text Symbol: 022 = Data will be lost
Text Symbol: 023 = Save data?
Text Symbol: 024 = Warning
Text Symbol: 101 = Processing Control
Text Symbol: 102 = Data Selection for Initial Transfer
Text Symbol: 103 = Data Selection for Repeat Transfer
Text Symbol: 104 = Data Selection for Deletion
Text Symbol: 105 = Other Data
Text Symbol: 106 = Data Selection To Be Locked
Text Symbol: 107 = Data Selection for Transfer/Deletion
Text Symbol: 108 = Infotypes
Text Symbol: 110 = Backgr
Text Symbol: 111 = Fore
Text Symbol: 112 = Error
Text Symbol: 113 = Sess.
Text Symbol: 114 = Mode
Text Symbol: 115 = Direct
Text Symbol: 116 = Selected
Text Symbol: ACT = (active)


INCLUDES used within this REPORT RPTEXTPT

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_DISPLAY_ERROR_LIST * CALL FUNCTION 'HR_DISPLAY_ERROR_LIST' "XZQ * EXPORTING "XZQ * no_popup = 'X' "XZQ * no_print = space "XZQ * * linesize = sy-linsz "XZQ * EXCEPTIONS "XZQ * invalid_linesize = 1 "XZQ * OTHERS = 2. "XZQ

HR_DISPLAY_ERROR_LIST CALL FUNCTION 'HR_DISPLAY_ERROR_LIST' EXPORTING no_popup = 'X' no_print = space * NO_IMG = ' ' linesize = sy-linsz * TABLES * ERROR = EXCEPTIONS invalid_linesize = 1 OTHERS = 2.

HR_DISPLAY_ERROR_LIST CALL FUNCTION 'HR_DISPLAY_ERROR_LIST' EXPORTING no_popup = 'X' no_print = space * NO_IMG = ' ' linesize = sy-linsz * TABLES * ERROR = EXCEPTIONS invalid_linesize = 1 OTHERS = 2.

HR_DISPLAY_ERROR_LIST * CALL FUNCTION 'HR_DISPLAY_ERROR_LIST' "XZQ * EXPORTING "XZQ * no_popup = 'X' "XZQ * no_print = space "XZQ * linesize = sy-linsz "XZQ * EXCEPTIONS "XZQ * invalid_linesize = 1 "XZQ * OTHERS = 2. "XZQ

HR_DISPLAY_ERROR_LIST CALL FUNCTION 'HR_DISPLAY_ERROR_LIST' EXPORTING no_popup = 'X' no_print = space * NO_IMG = ' ' linesize = sy-linsz * TABLES * ERROR = EXCEPTIONS invalid_linesize = 1 OTHERS = 2.






HR_REFRESH_ERROR_LIST CALL FUNCTION 'HR_REFRESH_ERROR_LIST' EXCEPTIONS OTHERS = 1.

HR_MAPNAME_VERIFY CALL FUNCTION 'HR_MAPNAME_VERIFY' EXPORTING mapname = mapname reportname = repname IMPORTING mapname = mapname.

BDC_OPEN_GROUP CALL FUNCTION 'BDC_OPEN_GROUP' EXPORTING client = sy-mandt group = mapname user = sy-uname.

BDC_CLOSE_GROUP CALL FUNCTION 'BDC_CLOSE_GROUP'.

HR_PAL_STATS_MSG_ADD * CALL FUNCTION 'HR_PAL_STATS_MSG_ADD' "del: FWE note 937496 * EXPORTING * i_stcnt = datasets_failed * i_msgid = 'LR' * i_msgty = 'E' * i_msgno = '667' * i_msgv1 = messagetext1.

HR_PAL_STATS_MSG_ADD * CALL FUNCTION 'HR_PAL_STATS_MSG_ADD' "del: FWE note 937496 * EXPORTING * i_stcnt = datasets_read * i_msgid = 'LR' * i_msgty = 'S' * i_msgno = '667' * i_msgv1 = messagetext1.

HR_PAL_STATS_MSG_ADD * CALL FUNCTION 'HR_PAL_STATS_MSG_ADD' "del: FWE note 937496 * EXPORTING * i_stcnt = datasets_ok * i_msgid = 'LR' * i_msgty = 'S' * i_msgno = '667' * i_msgv1 = messagetext1.

HR_PAL_STATS_MSG_ADD * CALL FUNCTION 'HR_PAL_STATS_MSG_ADD' "del: FWE note 937496 * EXPORTING * i_stcnt = datasets_deleted * i_msgid = 'LR' * i_msgty = 'S' * i_msgno = '667' * i_msgv1 = messagetext1.

HR_PAL_STATS_MSG_ADD * CALL FUNCTION 'HR_PAL_STATS_MSG_ADD' "del: FWE note 937496 * EXPORTING * i_msgid = 'LR' * i_msgty = 'S' * i_msgno = '667' * i_msgv1 = messagetext1.

HR_PAL_STATS_MSG_ADD * CALL FUNCTION 'HR_PAL_STATS_MSG_ADD' "del: FWE note 937496 * EXPORTING * i_stcnt = datasets_read * i_msgid = 'LR' * i_msgty = 'S' * i_msgno = '667' * i_msgv1 = messagetext1.

HR_PAL_STATS_MSG_ADD * CALL FUNCTION 'HR_PAL_STATS_MSG_ADD' "del: FWE note 937496 * EXPORTING * i_msgid = 'LR' * i_msgty = 'W' * i_msgno = '667' * i_msgv1 = messagetext1.

HR_PAL_STATS_MSG_ADD * CALL FUNCTION 'HR_PAL_STATS_MSG_ADD' "del: FWE note 937496 * EXPORTING * i_stcnt = datasets_deleted * i_msgid = 'LR' * i_msgty = 'S' * i_msgno = '667' * i_msgv1 = messagetext1.

HR_PAL_LOG_DISPLAY * CALL FUNCTION 'HR_PAL_LOG_DISPLAY'. "del: FWE note 937496

HR_DISPLAY_ERROR_LIST CALL FUNCTION 'HR_DISPLAY_ERROR_LIST' "AVI_974590 EXPORTING "AVI_974590 no_popup = 'X' "AVI_974590 no_print = space * NO_IMG = ' ' linesize = sy-linsz "AVI_974590 * TABLES * ERROR = EXCEPTIONS "AVI_974590 invalid_linesize = 1 "AVI_974590 OTHERS = 2. "AVI_974590

GET_FIELDTAB CALL FUNCTION 'GET_FIELDTAB' EXPORTING langu = sy-langu tabname = tabname withtext = ' ' TABLES fieldtab = idd03p EXCEPTIONS internal_error = 01 no_texts_found = 02 table_has_no_fields = 03 table_not_activ = 04.

REUSE_ALV_HIERSEQ_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY' EXPORTING i_callback_program = program i_callback_pf_status_set = 'SET_STATUS' i_callback_user_command = 'USER_COMMAND' is_layout = layout it_fieldcat = field_list i_default = 'X' i_save = 'X' is_variant = is_variant it_events = it_events i_tabname_header = tabname_header i_tabname_item = tabname_item is_keyinfo = keyinfo TABLES t_outtab_header = iptexlst t_outtab_item = iptexerror_col.

POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING * DEFAULTOPTION = 'Y' textline1 = text-022 textline2 = text-023 titel = text-024 * START_COLUMN = 25 * START_ROW = 6 * CANCEL_DISPLAY = 'X' IMPORTING answer = answer.

HELPSCREEN_NA_CREATE CALL FUNCTION 'HELPSCREEN_NA_CREATE' EXPORTING dynpro = sy-dynnr langu = sy-langu meldung = message meld_id = iptexerror-id meld_nr = iptexerror-number msgv1 = iptexerror-message_v1 msgv2 = iptexerror-message_v2 msgv3 = iptexerror-message_v3 msgv4 = iptexerror-message_v4 * PROGRAMM = SY-REPID titel = text-007.

STEMP_PTEX2010 CALL FUNCTION 'STEMP_PTEX2010' EXPORTING eflag = iptexlst_ut-statu3 CHANGING iptex2010 = ptex2010_line.

STEMP_PTEX2000



CALL FUNCTION 'STEMP_PTEX2000' EXPORTING eflag = iptexlst_ut-statu3 CHANGING iptex2000 = ptex2000_line.

HR_APPEND_ERROR_LIST CALL FUNCTION 'HR_APPEND_ERROR_LIST' EXPORTING pernr = pernr arbgb = 'HRTIM00EXTERN' msgty = msgty msgno = msgno msgv1 = msgv1 msgv2 = msgv2 msgv3 = msgv3 msgv4 = msgv4.

BALW_BAPIRETURN_GET2 CALL FUNCTION 'BALW_BAPIRETURN_GET2' EXPORTING type = msgty cl = 'HRTIM00EXTERN' number = msgno par1 = par1 par2 = par2 par3 = par3 par4 = par4 * LOG_NO = ' ' * LOG_MSG_NO = ' ' * PARAMETER = ' ' * ROW = 0 * FIELD = ' ' IMPORTING return = return.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = icon_checked text = 'Erstmals überleiten'(017) info = text-116 IMPORTING RESULT = func1.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = icon_checked text = 'Nochmal überleiten'(018) info = text-116 IMPORTING RESULT = func2.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = icon_checked text = 'Überleiten/löschen'(019) info = text-116 IMPORTING RESULT = func3.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = icon_checked text = 'Nur löschen'(020) info = text-116 IMPORTING RESULT = func4.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = icon_checked text = 'Sperren'(021) info = text-116 IMPORTING RESULT = func5.



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