RPLSPOK0 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Short/Long-Term Disability Status Report Short/Long-Term Disability Status Report enables you to track employees on short-term disability leave from work...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 RPLSPOK0 into the relevant SAP transactions such as SE38 or SE80
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: SPART = Absence type
Selection Text: SELDT = Begin date
Selection Text: NUMWA = No. of warning days
Selection Text: CRIDT = End date
Title: STD/LTD Status Report
Text Symbol: T15 = Man. Ind.
Text Symbol: T14 = Days STD3 to Crit.Date
Text Symbol: T13 = Days STD2 to Crit.Date
Text Symbol: T12 = STD-Date 3
Text Symbol: T11 = STD-Date 2
Text Symbol: T10 = STD-Date 1
Text Symbol: T09 = Absence Days (Work.)
Text Symbol: T08 = Absence Days (Cal.)
Text Symbol: T07 = End Time
Text Symbol: T06 = Begin time
Text Symbol: T05 = End Date
Text Symbol: T04 = Begin Date
Text Symbol: T03 = Abs.text
Text Symbol: T02 = Abs.type
Text Symbol: T01 = Personnel Number
Text Symbol: FR1 = Monitoring Criteria
Text Symbol: 002 = Employees on STD/LTD leave
Text Symbol: 001 = Short-Term Disability Status
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING I_CALLBACK_PROGRAM = G_REPID I_STRUCTURE_NAME = 'SPLIST' IS_LAYOUT = GS_LAYOUT IT_FIELDCAT = GT_FIELDCAT[] * IT_EXCLUDING = IT_SPECIAL_GROUPS = GT_SP_GROUP[] * IT_SORT = * IT_FILTER = * IS_SEL_HIDE = * i_default = g_default * I_SAVE = G_SAVE * IS_VARIANT = G_VARIANT IT_EVENTS = GT_EVENTS[] * IT_EVENT_EXIT = * IS_PRINT = * I_SCREEN_START_COLUMN = 0 * I_SCREEN_START_LINE = 0 * I_SCREEN_END_COLUMN = 0 * I_SCREEN_END_LINE = 0 * IMPORTING * E_EXIT_CAUSED_BY_CALLER = TABLES T_OUTTAB = splist.
REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' EXPORTING I_LIST_TYPE = 0 IMPORTING ET_EVENTS = E03_LT_EVENTS.
REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING IT_LIST_COMMENTARY = GT_LIST_TOP_OF_PAGE.
HR_READ_INFOTYPE call function 'HR_READ_INFOTYPE' EXPORTING pernr = pp_splist-pernr infty = '0001' begda = cridt endda = cridt IMPORTING subrc = subrc TABLES infty_tab = p0001 exceptions infty_not_found = 1.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.