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
Below is a list of transaction codes which are relevant to this SAP report
PT65 - Graphical Attendance/Abs. Overview
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.
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
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
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.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.