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

RPTABS50_CE SAP ABAP Report - Attendance/Absence Data: Calendar View







RPTABS50_CE is a standard Executable ABAP Report 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 RPTABS50_CE 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 RPTABS50_CE. "Basic submit
SUBMIT RPTABS50_CE AND RETURN. "Return to original report after report execution complete
SUBMIT RPTABS50_CE 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: STATIST = Generate Statistics
Selection Text: ONLY_REL = Only Relevant
Selection Text: EXPLAIN = Display Legend
Selection Text: AWART_S = Absence Types
Selection Text: ANART_S = Attendance Types
Selection Text: ABSTP_S = Attendance/Absence Category
Title: Attendance/Absence Data: Calendar View
Text Symbol: A16 = Select the attendances and/or absences.
Text Symbol: A15 = Type
Text Symbol: A14 = Inactive
Text Symbol: A13 = Active
Text Symbol: A12 = Att./Abs. Category
Text Symbol: A11 = Att./Absence Type
Text Symbol: A10 = Display Legend
Text Symbol: A09 = Calendar View
Text Symbol: A08 = List View
Text Symbol: A07 = Only Days Containing Data
Text Symbol: A05 = There is no data for your selection.
Text Symbol: A04 = Select an entry from the list.
Text Symbol: A03 = Multiple-Employee View
Text Symbol: A02 = There are no attendances or absences on this day.
Text Symbol: A01 = Output List
Text Symbol: FB2 = Selected
Text Symbol: ORG = Org.Assignment
Text Symbol: T01 = Alternative period
Text Symbol: T02 = Enter a period
Text Symbol: T03 = Monthly
Text Symbol: T04 = Weekly
Text Symbol: T05 = Maximum period length is 40 days
Text Symbol: T06 = No entry in T549Q for start date
Text Symbol: T08 = No entry in T549Q for selected period
Text Symbol: T09 = T549Q contains overlapping periods
Text Symbol: T10 = Periods in T549Q do not cover selection period
Text Symbol: Z07 = List Formatting
Text Symbol: Z09 = Attendance/Absence Types for Eval.
Text Symbol: Z30 = Display Organizational Assignment Texts
Text Symbol: Z31 = Person ID
Text Symbol: Z32 = Personnel Assignment





Text Symbol: 001 = Period Displayed
Text Symbol: 002 = |Month
Text Symbol: 003 = Calendar View
Text Symbol: 004 = Period:
Text Symbol: 005 = Attendances and absences exist
Text Symbol: 007 = Select
Text Symbol: 008 = Absences
Text Symbol: 009 = Attendances
Text Symbol: 010 = Select.
Text Symbol: 011 = Display Organizational Assignment
Text Symbol: 012 = Evaluate Absences Only
Text Symbol: 013 = Evaluate Attendances Only
Text Symbol: 014 = Evaluate Attendances and Absences
Text Symbol: 015 = Select by Att./Absence Category
Text Symbol: 016 = Period
Text Symbol: 018 = Personnel No.
Text Symbol: 020 = |No.
Text Symbol: 021 = Holiday calendar not found
Text Symbol: 022 = Key:
Text Symbol: 029 = No ID code for attendance/absence type &1
Text Symbol: 031 = in %
Text Symbol: 032 = Total
Text Symbol: 033 = No selected attendances/absences found
Text Symbol: 034 = Stats.:
Text Symbol: 035 = In hrs
Text Symbol: 036 = Target
Text Symbol: 037 = Period could be too long
Text Symbol: 038 = Printout could be confusing
Text Symbol: 040 = No text for attendance/absence type &1
Text Symbol: 041 = Incorrect personnel numbers exist
Text Symbol: 042 = New start date is &1
Text Symbol: 043 = A record from foll. day is assigned to this day
Text Symbol: 044 = Wk;; Week Abbr.
Text Symbol: 045 = Record from the prev. day assigned to this day
Text Symbol: 046 = New end date is &2
Text Symbol: 108 = Person ID
Text Symbol: 109 = Personnel Assignment
Text Symbol: 123 = Selected


INCLUDES used within this REPORT RPTABS50_CE

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:

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING NAME = icon_okay TEXT = text-012 INFO = text-fb2 IMPORTING RESULT = ap0text.

HR_REFRESH_ERROR_LIST CALL FUNCTION 'HR_REFRESH_ERROR_LIST' EXCEPTIONS OTHERS = 0.

RP_OPTIONS_INTO_STRING CALL FUNCTION 'RP_OPTIONS_INTO_STRING' EXPORTING MAX_CHOSEN_NUMBER = MAX_SORT DELIMITER_SIGN = '/' TEXT_TITLE = ORGTEXT+5 TEXT_LEFT = 'Org. Zuordnung'(ORG)

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING NAME = ICON_ENTER_MORE TEXT = text-011 INFO = text-A14 IMPORTING RESULT = ORGTEXT.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING NAME = ICON_DISPLAY_MORE TEXT = text-011 INFO = text-A13 IMPORTING RESULT = ORGTEXT.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING NAME = icon_okay TEXT = text-012 INFO = text-fb2 IMPORTING RESULT = ap0text.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING NAME = icon_okay TEXT = text-013 INFO = text-fb2 IMPORTING RESULT = ap1text.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING NAME = icon_okay TEXT = text-014 INFO = text-fb2 IMPORTING RESULT = ap2text.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING NAME = icon_okay TEXT = text-015 INFO = text-fb2 IMPORTING RESULT = ap3text.

MONTH_NAMES_GET CALL FUNCTION 'MONTH_NAMES_GET' "fill internal table of monthnames EXPORTING LANGUAGE = SY-LANGU * IMPORTING * RETURN_CODE = TABLES MONTH_NAMES = I247 EXCEPTIONS MONTH_NAMES_NOT_FOUND = 1 OTHERS = 2.

HR_TIM_REPORT_ABSENCE_DATA_INI CALL FUNCTION 'HR_TIM_REPORT_ABSENCE_DATA_INI' EXPORTING OPTION_STRING = OPTION_S TRIG_STRING = TRIG_S ALEMP_FLAG = SW_ALEMP INFOT_FLAG = 'X' TEXT_FLAG = SW_TEXT SEL_MODUS = SW_APA IMPORTING ORG_NUM = FDPOS_LINES TABLES FIELD_SEL = FIELDNAMETAB_M "sel org fields FIELDTAB = FDTAB EXCEPTIONS OTHERS = 1.

HR_TIM_REPORT_ABSENCE_DATA CALL FUNCTION 'HR_TIM_REPORT_ABSENCE_DATA' EXPORTING PERNR = PERNR-PERNR BEGDA = PN-BEGDA ENDDA = PN-ENDDA IMPORTING SUBRC = MY1SUBRC TABLES ABSENCES = ABSENCES_IT ORG_FIELDS = ORGS EMP_FIELDS = EMPL AWART_SEL_P = ANART_S[] AWART_SEL_A = AWART_S[] ABSTP_SEL = ABSTP_S[] I0000 = P0000 I0001 = P0001 I0002 = P0002 I0007 = P0007 I2001 = P2001 I2002 = P2002 I2003 = P2003 PSP = PSP EXCEPTIONS OTHERS = 1.

HR_DISPLAY_ERROR_LIST CALL FUNCTION 'HR_DISPLAY_ERROR_LIST' EXPORTING NO_POPUP = 'X' NO_PRINT = ' ' NO_IMG = ' ' LINESIZE = 100 EXCEPTIONS INVALID_LINESIZE = 1 OTHERS = 2.

RP_LAST_DAY_OF_MONTHS CALL FUNCTION 'RP_LAST_DAY_OF_MONTHS' EXPORTING DAY_IN = RUNDATE IMPORTING LAST_DAY_OF_MONTH = RUNDATE EXCEPTIONS DAY_IN_NO_DATE = 1 OTHERS = 2.

DATE_GET_WEEK CALL FUNCTION 'DATE_GET_WEEK' EXPORTING DATE = RUNDATE IMPORTING WEEK = DAY_LIST_WA-WEEK EXCEPTIONS DATE_INVALID = 1 OTHERS = 2.

HR_TIM_REPORT_ABSENCE_DATA CALL FUNCTION 'HR_TIM_REPORT_ABSENCE_DATA' EXPORTING PERNR = PERNR-PERNR BEGDA = LOCAL_BEGDA "planned hours of 1. month

DYNP_VALUES_UPDATE CALL FUNCTION 'DYNP_VALUES_UPDATE' EXPORTING DYNAME = P_PROG DYNUMB = P_DYNPRO TABLES DYNPFIELDS = DYNPRO_TAB EXCEPTIONS * invalid_abapworkarea = 1 * invalid_dynprofield = 2 * invalid_dynproname = 3 * invalid_dynpronummer = 4 * invalid_request = 5 * no_fielddescription = 6 * undefind_error = 7 OTHERS = 8.

HELP_VALUES_GET_WITH_TABLE CALL FUNCTION 'HELP_VALUES_GET_WITH_TABLE' EXPORTING DISPLAY = ' ' " not only display FIELDNAME = PF4FLDNAM * titel = titel_f4 TABNAME = PF4TABNAM IMPORTING SELECT_VALUE = PERMO_PA TABLES FIELDS = PF4FIELDS VALUETAB = PF4VALUES EXCEPTIONS FIELD_NOT_IN_DDIC = 01 MORE_THEN_ONE_SELECTFIELD = 02 NO_SELECTFIELD = 03.



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