RPSOSHU1 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Program RPSOSHU1 creates the OSHA-200 Log and Summary of Occupational Injuries and Illnesses by compiling illness and accident information from Infotype 0082 (Additional Absence Data) and absence information from Infotype 2001 (Absences)...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 RPSOSHU1 into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
P000_M10_OSHA2 - OSHA-200 report
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.
OSHA-200 Report
Selection Text: SO_SUBTY = Subtypes for infotype 0082
Selection Text: PA_SUMRY = Display Summary only
Title: HR-NA: OSHA-200 Report
Text Symbol: ZRM = Evaluation period $1 to $2
Text Symbol: ZER = ERROR LOG:
Text Symbol: ZEN = Number of errors found:
Text Symbol: TT6 = (1) (2) (3) (4) (5) (6) (7A) (7B) (7C) (7D) (7E) (7F) (7G) (8) (9) (10) (11) (12) (13)
Text Symbol: TT5 = /- - - - - - - -Injuries - - - - - - - -//- - - - - - - - - - - - - - - - - - - -Illnesses - - - - - - - - - - - - - - - /
Text Symbol: TT1 = Case (A) DAte (B) Name (C) Job Title (D) Org. Unit (E) Description (F)
Text Symbol: TOT = Total
Text Symbol: T04 = Address:
Text Symbol: T03 = Pers.subarea:
Text Symbol: T02 = PersArea:
Text Symbol: T01 = Company:
Text Symbol: S_S = I
Text Symbol: S_O = EQ
Text Symbol: S_L = 1001
Text Symbol: S_H = 1002
Text Symbol: STT = Key date $1
Text Symbol: SS1 = Injury or Illness Summary only
Text Symbol: PAB = X
Text Symbol: PAA = 07
Text Symbol: PA9 = 15
Text Symbol: PA8 = 14
Text Symbol: PA7 = (space)
Text Symbol: PA6 = 10
Text Symbol: PA5 = 1001
Text Symbol: PA4 = 1002
Text Symbol: PA3 = /U
Text Symbol: PA2 = X
Text Symbol: PA1 = Only Summary
Text Symbol: LOW = 0101
Text Symbol: L01 = No employee chosen in this period
Text Symbol: HIG = 1231
Text Symbol: EX2 = 7A=Skin dise./7B=Dust dise./7C=Respiratory cond./7D=Poison/7E=Physical agents/7F=Repeated trauma/7G=Other/7X=Term./transfer
Text Symbol: EX1 = Columns: 1&8=Death date/2&9=Days lost/restr./3&10=Days lost/4&11=No.days lost/5&12=No. days restr./6&12=0 days lost/restr.
Text Symbol: E01 = Invalid event code in I0082:
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
RP_EDIT_NAME CALL FUNCTION 'RP_EDIT_NAME' EXPORTING pp0002 = p0002 molga = const-molga langu = sy-langu format = const-formt IMPORTING edit_name = line1-fname retcode = temps-subrc.
HRCA_COMPANYCODE_GETDETAIL CALL FUNCTION 'HRCA_COMPANYCODE_GETDETAIL' "WJIALRK047795 EXPORTING companycode = bukrs language = sy-langu IMPORTING comp_name = hrca_t001-comp_name EXCEPTIONS not_found = 1 OTHERS = 2.
HRCA_PLANT_GETDETAIL CALL FUNCTION 'HRCA_PLANT_GETDETAIL' "WJIALRK047795 EXPORTING plant = werks language = sy-langu IMPORTING name = hrca_t001w-name EXCEPTIONS not_found = 1 OTHERS = 2.
HR_READ_FOREIGN_OBJECT_TEXT CALL FUNCTION 'HR_READ_FOREIGN_OBJECT_TEXT' EXPORTING otype = 'O' objid = orgeh begda = begda endda = endda IMPORTING object_text = l_text EXCEPTIONS nothing_found = 1 wrong_objecttype = 2 missing_costcenter_data = 3 missing_object_id = 4 OTHERS = 5. "WWQAHRK009544
HR_READ_FOREIGN_OBJECT_TEXT CALL FUNCTION 'HR_READ_FOREIGN_OBJECT_TEXT' "WWQAHRK009544 EXPORTING otype = 'S' objid = stell begda = begda endda = endda IMPORTING object_text = l_text EXCEPTIONS nothing_found = 1 wrong_objecttype = 2 missing_costcenter_data = 3 missing_object_id = 4 OTHERS = 5. "WWQAHRK009544
OPEN_FORM CALL FUNCTION 'OPEN_FORM' EXPORTING device = 'PRINTER' dialog = 'X' * FORM = SAPSC language = sy-langu options = i_itcpo EXCEPTIONS canceled = 1 device = 2 form = 3 options = 4 unclosed = 5 mail_options = 6 archive_error = 7 OTHERS = 8.
START_FORM CALL FUNCTION 'START_FORM' EXPORTING form = form language = sy-langu EXCEPTIONS form = 1 format = 2 unended = 3 unopened = 4 unused = 5 OTHERS = 6.
WRITE_FORM CALL FUNCTION 'WRITE_FORM' EXPORTING element = 'LINE' function = 'SET' type = 'BODY' window = window EXCEPTIONS element = 1 function = 2 type = 3 unopened = 4 unstarted = 5 window = 6 bad_pageformat_for_print = 7 OTHERS = 8.
END_FORM CALL FUNCTION 'END_FORM' EXCEPTIONS unopened = 1 bad_pageformat_for_print = 2 OTHERS = 3.
CLOSE_FORM CALL FUNCTION 'CLOSE_FORM' EXCEPTIONS unopened = 1 bad_pageformat_for_print = 2 OTHERS = 3.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
RPSOSHU1 - HR-NA: OSHA-200 Report RPSOSHU1 - HR-NA: OSHA-200 Report RPSORBC1 - Check for Correct Cost Element -> Incoming Order Cost Element Assgmt RPSORBC1 - Check for Correct Cost Element -> Incoming Order Cost Element Assgmt RPSOCINSNL - Program for Object Type SOCINSNL: Social Insurance NL RPSOCINSNL - Program for Object Type SOCINSNL: Social Insurance NL