SAP Reports / Programs | Personnel Management | Personnel Administration(PA-PA) SAP PA

RPSTA100 SAP ABAP Report - Time-Related Statistical Reporting







RPSTA100 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This report creates statistical evaluations...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 RPSTA100 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 RPSTA100. "Basic submit
SUBMIT RPSTA100 AND RETURN. "Return to original report after report execution complete
SUBMIT RPSTA100 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


3-Dimensional Graphic Editing
Selection Text: %_POS006 = ?...(% POS006)
Selection Text: %_POS004 = ?...(% POS004)
Selection Text: %_PAT003 = ?...(% PAT003)
Selection Text: %_END044 = ?...(% END044)
Selection Text: %_END033 = ?...(% END033)
Selection Text: %_END024 = ?...(% END024)
Selection Text: %_END017 = ?...(% END017)
Selection Text: %_END010 = ?...(% END010)
Selection Text: %_DPS019 = ?...(% DPS019)
Selection Text: %_DPE026 = ?...(% DPE026)
Selection Text: %_DDA012 = ?...(% DDA012)
Selection Text: %_BEG038 = ?...(% BEG038)
Selection Text: %_BEG025 = ?...(% BEG025)
Selection Text: %_BEG018 = ?...(% BEG018)
Selection Text: %_BEG011 = ?...(% BEG011)
Selection Text: %_BEG002 = ?...(% BEG002)
Selection Text: TEST = Enter 'X' for test output
Selection Text: SEL2 = Feature 2
Selection Text: SEL1 = Feature 1
Selection Text: P_SUPER = Superior window
Selection Text: P41DATAR = Date type ex specifications
Selection Text: P27KSTAR = Type of cost distribution
Selection Text: P16KONDT = Entry in group
Selection Text: P16EINDT = Entry in company code/persArea
Selection Text: LITYP = List type
Selection Text: INDEXNAM = ?...(INDEXNAM)
Selection Text: %_POS008 = ?...(% POS008)
Selection Text: PNPXPGPK = ?...(PNPXPGPK)
Selection Text: PNPXBWBK = ?...(PNPXBWBK)
Selection Text: PNPXABKR = ?...(PNPXABKR)
Selection Text: PNPSTATU = ?...(PNPSTATU)
Selection Text: PNPSORTT = ?...(PNPSORTT)
Selection Text: PNPSORTF = ?...(PNPSORTF)
Selection Text: PNPPERNR = ?...(PNPPERNR)
Selection Text: PNPPABRP = ?...(PNPPABRP)
Selection Text: PNPPABRJ = ?...(PNPPABRJ)
Selection Text: PNPENDPS = ?...(PNPENDPS)





Selection Text: PNPENDDA = ?...(PNPENDDA)
Selection Text: PNPBEGPS = ?...(PNPBEGPS)
Selection Text: PNPBEGDA = ?...(PNPBEGDA)
Selection Text: PNPABKRS = ?...(PNPABKRS)
Selection Text: %_POS013 = ?...(% POS013)
Selection Text: %_POS015 = ?...(% POS015)
Selection Text: %_POS020 = ?...(% POS020)
Selection Text: %_POS022 = ?...(% POS022)
Selection Text: %_POS027 = ?...(% POS027)
Selection Text: %_POS029 = ?...(% POS029)
Selection Text: %_POS031 = ?...(% POS031)
Selection Text: %_POS040 = ?...(% POS040)
Selection Text: %_POS042 = ?...(% POS042)
Selection Text: %_SKP045 = ?...(% SKP045)
Selection Text: %_SRT039 = ?...(% SRT039)
Selection Text: INDEXNM2 = ?...(INDEXNM2)
Selection Text: INDEXTYP = ?...(INDEXTYP)
Title: Time-Related Statistical Reporting
Text Symbol: TX2 = Entry into group
Text Symbol: TX1 = Initial entry acc.contract element
Text Symbol: TI2 = Data for non-interactive execution
Text Symbol: STT = Key date $1
Text Symbol: SL2 = Feature 2
Text Symbol: SL1 = Feature 1
Text Symbol: LST = List type
Text Symbol: LIN = Line
Text Symbol: G05 = Previous lines
Text Symbol: G04 = Next lines
Text Symbol: G03 = Previous columns
Text Symbol: A07 = Organizational unit
Text Symbol: A06 = Business area
Text Symbol: A05 = Ctry of birth
Text Symbol: A04 = Nationality
Text Symbol: A03 = Seniority
Text Symbol: A02 = Age
Text Symbol: A01 = Gender
Text Symbol: 202 = List display
Text Symbol: 201 = Please choose 1 class feature
Text Symbol: 200 = 2D graphic editing





Text Symbol: 108 = Weighted with cap.utilization level
Text Symbol: 102 = F.
Text Symbol: 101 = M.
Text Symbol: 039 = Test CA not assigned to company code/bus.area
Text Symbol: 038 = Test CA not assigned to company code
Text Symbol: 037 = No CA assigned to company code/bus.area
Text Symbol: 036 = No CA assigned to company code
Text Symbol: 035 = No CA determination type specified
Text Symbol: 034 = CA not determined by company code
Text Symbol: 033 = You cannot enter a controlling area for the CoCode
Text Symbol: 032 = No data was selected for the SAP presentation graphic
Text Symbol: 024 = Incorrect personnel numbers
Text Symbol: 022 = Employee(s)
Text Symbol: 021 = includes
Text Symbol: 020 = The evaluation
Text Symbol: 010 = Number
Text Symbol: 009 = Persons
Text Symbol: 008 = Employee processed
Text Symbol: 006 = Matrix contents
Text Symbol: 005 = Column caption
Text Symbol: 004 = Line caption
Text Symbol: 002 = Test output for personnel number
Text Symbol: 001 = Choose 2 class features
Text Symbol: G02 = Next columns
Text Symbol: G01 = Scroll
Text Symbol: ER6 = No column chosen
Text Symbol: ER5 = No line chosen
Text Symbol: ER4 = Date of birth wrong in infotype 0002
Text Symbol: ER3 = Basic pay
Text Symbol: ER2 = Planned working time
Text Symbol: ER1 = Personal data
Text Symbol: E19 = Invalid date type
Text Symbol: E10 = Choose line/column
Text Symbol: E04 = ID code not allowed for classification feature
Text Symbol: E03 = Please enter 1 or 2 for list type
Text Symbol: E02 = For list type 2, please enter both class features
Text Symbol: E01 = For list type 1, please enter one class feature only
Text Symbol: DAR = Date type
Text Symbol: COL = Column



Text Symbol: B12 = CoCtr
Text Symbol: B11 = EES
Text Symbol: B10 = PS
Text Symbol: B09 = Job
Text Symbol: B08 = OrgKey
Text Symbol: B07 = OrgUnit
Text Symbol: B06 = BusArea
Text Symbol: B05 = CoBirth
Text Symbol: B04 = National.
Text Symbol: B03 = Senior.
Text Symbol: B02 = Age
Text Symbol: B01 = Gender
Text Symbol: A12 = Cost center
Text Symbol: A11 = Employee subgroup
Text Symbol: A10 = Pay scale
Text Symbol: A09 = Job
Text Symbol: A08 = Organizational key


INCLUDES used within this REPORT RPSTA100

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_APPEND_ERROR_LIST CALL FUNCTION 'HR_APPEND_ERROR_LIST' EXPORTING pernr = pernr-pernr arbgb = '70' msgty = 'E' msgno = 102 msgv1 = 'Daten zur Person'(er1) msgv2 = '(0002)'.

HR_APPEND_ERROR_LIST CALL FUNCTION 'HR_APPEND_ERROR_LIST' EXPORTING pernr = pernr-pernr arbgb = 'RP' msgty = 'E' msgno = 016 msgv1 = 'Geburtsdatum falsch in Infotyp 0002 '(er4).

HR_APPEND_ERROR_LIST CALL FUNCTION 'HR_APPEND_ERROR_LIST' EXPORTING pernr = pernr-pernr arbgb = '70' msgty = 'E' msgno = 102 msgv1 = 'Sollarbeitszeit'(er2) msgv2 = '(0007)'.

HR_APPEND_ERROR_LIST CALL FUNCTION 'HR_APPEND_ERROR_LIST' EXPORTING pernr = pernr-pernr arbgb = '70' msgty = 'E' msgno = 102 msgv1 = 'Basisbezüge'(er3) msgv2 = '(0008)'.

RP_HIRE_FIRE CALL FUNCTION 'RP_HIRE_FIRE' EXPORTING beg = pn-begda end = pn-endda IMPORTING hire_date = hiredate TABLES pp0000 = p0000 "input pp0001 = p0001 "input pphifi = phifi.

GRAPH_MATRIX CALL FUNCTION 'GRAPH_MATRIX' EXPORTING dim1 = dim1text dim2 = dim2text dim3 = space inbuf = space inform = 'X' "graphics import max1 = space max2 = space max3 = space pwdid = space stat = busg_stat "open window, sending * SUPER = 'X' "QFXS11K126472 super = p_super titl = text-009 valt = text-009 wdid = space winid = space IMPORTING b_key = b_key b_typ = b_typ m_typ = m_typ rbuff = rbuff rwnid = rwnid TABLES data = g_data_2 opts = g_opts tdim1 = g_dim1 tdim2 = g_dim2 tdim3 = g_dim3.

GRAPH_DIALOG CALL FUNCTION 'GRAPH_DIALOG' "QFXS11K126472 EXPORTING "QFXS11K126472 close = 'X' "QFXS11K126472 winid = 'BMAT'. "QFXS11K126472

GRAPH_BUTTON_MATRIX CALL FUNCTION 'GRAPH_BUTTON_MATRIX' EXPORTING colln = space ctxt1 = text-g02 "text for fist col inbuf = rbuff modif = 'X' outft = space pwdid = space rowln = space stat = bmat_stat stitl = space super = space ttext = text-g01 " Title vald1 = space valu1 = space vtxt1 = space winid = space * winsz = space "QNOK092856 IMPORTING m_typ = m_typ rbuff = rbuff rownr = rownr rwnid = rwnid TABLES attr = attr data = data size = size.

GRAPH_2D CALL FUNCTION 'GRAPH_2D' EXPORTING titl = text-009 type = 'TD' TABLES data = mat_2d.

HR_APPEND_ERROR_LIST CALL FUNCTION 'HR_APPEND_ERROR_LIST' EXPORTING pernr = pernr-pernr arbgb = '70' msgty = 'E' msgno = 103 msgv1 = t503.

HR_APPEND_ERROR_LIST CALL FUNCTION 'HR_APPEND_ERROR_LIST' "QNOK074320 EXPORTING pernr = pernr-pernr arbgb = 'PN' msgty = 'E' msgno = 001 msgv1 = 'T001P' msgv2 = t001p+3(8).

HR_APPEND_ERROR_LIST CALL FUNCTION 'HR_APPEND_ERROR_LIST' EXPORTING pernr = pernr-pernr arbgb = 'PN' msgty = 'E' msgno = 001 msgv1 = 'T500P' msgv2 = p_persa.

COMPUTE_YEARS_BETWEEN_DATES CALL FUNCTION 'COMPUTE_YEARS_BETWEEN_DATES' "QFXK64818 EXPORTING "QFXK64818 first_date = calc_age_dat "QFXK64818 second_date = date "QFXK64818 modify_interval = ' ' "QFXK64818 IMPORTING "QFXK64818 years_between_dates = calc_age_val "QFXK64818 EXCEPTIONS "QNOK74320 sequence_of_dates_not_valid = 1. "QNOK74320

HR_DISPLAY_ERROR_LIST CALL FUNCTION 'HR_DISPLAY_ERROR_LIST'.

RK_KOKRS_FIND ** CALL FUNCTION 'RK_KOKRS_FIND' ** EXPORTING ** BUKRS = BUKRS ** GSBER = GSBER ** IMPORTING ** KOKRS = KOKRS.

RK_KOKRS_FIND * CALL FUNCTION 'RK_KOKRS_FIND' * EXPORTING * BUKRS = BUKRS * GSBER = GSBER ** TEST_KOKRS = space * IMPORTING * KOKRS = KOKRS ** T_KA01 = sap * EXCEPTIONS * ASSIGNMENT_NOT_ALLOWED = 01 * INSUFFICIENT_INPUT = 02 * NO_KOKRS_ASSIGNED = 03 * NO_KOKRS_FOR_BUKRS = 04 * NO_KOKRS_FOR_BU_GB = 05 * WRONG_KOKRS_FOR_BUKRS = 06 * WRONG_KOKRS_FOR_BU_GB = 07.

HR_APPEND_ERROR_LIST * CALL FUNCTION 'HR_APPEND_ERROR_LIST' * EXPORTING * PERNR = PERNR-PERNR * ARBGB = 'RP' * MSGTY = 'E' * MSGNO = 016 * MSGV1 = BUKRS * MSGV2 = GSBER * MSGV3 = TL.



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