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

RPTLEA40 SAP ABAP Report - Overview Graphic of Attendances/Absences







RPTLEA40 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for The report creates a planning board that displays employees' recorded attendances and absences in graphical format...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 RPTLEA40 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

PT65 - Graphical Attendance/Abs. Overview


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 RPTLEA40. "Basic submit
SUBMIT RPTLEA40 AND RETURN. "Return to original report after report execution complete
SUBMIT RPTLEA40 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: STARTD = Start date
Selection Text: INTVAL = Time unit
Selection Text: GESPE = Display locked records
Selection Text: BEARB = Send graphic to
Selection Text: ANWES = Attendance types
Selection Text: ABWES = Absence types
Title: Overview Graphic of Attendances/Absences
Text Symbol: 015 = SAP name unknown
Text Symbol: 014 = Error with creating graphic
Text Symbol: 013 = Please enter recipient
Text Symbol: 012 = Send graphic
Text Symbol: 011 = Time interval
Text Symbol: 010 = No office name
Text Symbol: 009 = Name unknown
Text Symbol: 008 = Please activate pushbutton to send graphic
Text Symbol: 007 = Attendance/absence overview
Text Symbol: 006 = Name
Text Symbol: 005 = Legend
Text Symbol: 004 = Attendances locked
Text Symbol: 003 = Attendances not locked
Text Symbol: 002 = Absences locked
Text Symbol: 001 = Absences not locked


INCLUDES used within this REPORT RPTLEA40

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:

GRAPH_DIALOG CALL FUNCTION 'GRAPH_DIALOG' EXPORTING CLOSE = 'X'.

GRAPH_GANTT CALL FUNCTION 'GRAPH_GANTT' EXPORTING * COMMAND_OK = ' ' * CONFIRM = ' ' * DFEL = ' ' * DFMS = ' ' GLENGTH = 180 * HGRID = ' ' LEGEND = 'Legende'(005) MODIF = 'PICK' * MY_CUA_PROG = 'RPTLEA40' * MY_CUA_STAT = 'GRAPH_01' * NOTXT = ' ' * NO_EL_POPUP = ' ' NO_EX_POPUP = 'X' * NO_IT_POPUP = ' ' * NO_MS_POPUP = ' ' * NO_SORT = ' ' * PWDID = ' ' * SET_FOCUS = 'x' SO_CONTENTS = 'An- /Abwesenheitsübersicht'(007) SO_RECEIVER = SAPNAME-USRNAM SO_SEND = SM SO_TITLE = ' ' STAT = GANTT_STAT * SUPER = ' ' * TIMER = 0 TLENGTH = 25 * TLINE = ' ' TMBEG = START TMEND = ENDE TMVIEW = START TTEXT = 'Name'(006) TTITLE = 'An- / Abwesenheitsübersicht'(007) TUNIT = INTVAL VGRID = 'X' * WHEADER = ' ' * WINID = ' ' IMPORTING * AKT_SVIEW = * AKT_TMBEG = * AKT_TMEND = * AKT_TUNIT = CUA_ID = CUA_ID G_TYP = G_TYP M_TYP = M_TYP * RBUFF = * RWNID = TABLES ELEM = ELEM ITEM = ITEM LGEL = LGEL LGMS = MIST MIST = MIST MSGT = BACK EXCEPTIONS INV_ELEM_BAKGR = 01 INV_ELEM_BORDR = 01 INV_ELEM_FORGR = 01 INV_ELEM_PLACE = 01 INV_ITEM_UCOLOR = 01 INV_MIST_COLOR = 01 INV_MIST_FORM = 01 INV_MIST_POS = 01 INV_MIST_SIZE = 01.

HELP_VALUES_GET_WITH_TABLE CALL FUNCTION 'HELP_VALUES_GET_WITH_TABLE' * exporting * CUCOL = 0 * CUROW = 0 * DISPLAY = ' ' * FIELDNAME = ' ' * TABNAME = ' ' * NO_MARKING_OF_CHECKVALUE = ' ' * TITLE_IN_VALUES_LIST = ' ' * TITEL = ' ' * SHOW_ALL_VALUES_AT_FIRST_TIME = ' ' IMPORTING SELECT_VALUE = AWART TABLES FIELDS = IHELP_FIELDS VALUETAB = HELPTAB EXCEPTIONS FIELD_NOT_IN_DDIC = 1 MORE_THEN_ONE_SELECTFIELD = 2 NO_SELECTFIELD = 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 RPTLEA40 or its description.