SAP Reports / Programs | Environment, Health and Safety | Product Safety(EHS-SAF) SAP EHS

RC1_INH_EVAL_STATISTICALLY SAP ABAP Report - Evaluate Inheritance Relationships Statistically







RC1_INH_EVAL_STATISTICALLY 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 RC1_INH_EVAL_STATISTICALLY 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 RC1_INH_EVAL_STATISTICALLY. "Basic submit
SUBMIT RC1_INH_EVAL_STATISTICALLY AND RETURN. "Return to original report after report execution complete
SUBMIT RC1_INH_EVAL_STATISTICALLY 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: S_ERR = Relationships with Errors
Title: Evaluate Inheritance Relationships Statistically


INCLUDES used within this REPORT RC1_INH_EVAL_STATISTICALLY

INCLUDE CBUI09.
INCLUDE LBTCHDEF.


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:

ENQUEUE_READ CALL FUNCTION 'ENQUEUE_READ' EXPORTING GCLIENT = SY-MANDT GNAME = 'ESTRH' GUNAME = '*' TABLES ENQ = L_ENQ_TAB EXCEPTIONS OTHERS = 0.

C148_TRANSLATE_RECN_TO_SUBID CALL FUNCTION 'C148_TRANSLATE_RECN_TO_SUBID' EXPORTING I_VALDAT = L_VALDAT I_RECN = L_TCGTPLREL_TAB-RECNROOT_SRC IMPORTING E_SUBID = L_SUBID_SRC EXCEPTIONS OTHERS = 0.

C148_TRANSLATE_RECN_TO_SUBID CALL FUNCTION 'C148_TRANSLATE_RECN_TO_SUBID' EXPORTING I_VALDAT = L_VALDAT I_RECN = L_TCGTPLREL_TAB-RECNROOT_DST IMPORTING E_SUBID = L_SUBID_DST EXCEPTIONS OTHERS = 0.

C1R1_TEMPL_DESCR_GET CALL FUNCTION 'C1R1_TEMPL_DESCR_GET' EXPORTING I_RECN_GRP = L_TCGTPLREL_TAB-RECN_TPLH IMPORTING E_NAM = L_NAM E_OBJID = L_OBJID.

BP_FIND_JOBS_WITH_PROGRAM CALL FUNCTION 'BP_FIND_JOBS_WITH_PROGRAM' EXPORTING ABAP_PROGRAM_NAME = 'RC1R0INH' TABLES JOBLIST = L_JOBLIST_TAB EXCEPTIONS NO_JOBS_FOUND = 1 PROGRAM_SPECIFICATION_MISSING = 2 INVALID_DIALOG_TYPE = 3 JOB_FIND_CANCELED = 4 OTHERS = 5.

BP_FIND_JOBS_WITH_PROGRAM CALL FUNCTION 'BP_FIND_JOBS_WITH_PROGRAM' EXPORTING ABAP_PROGRAM_NAME = P_NAME STATUS = BTC_FINISHED TABLES JOBLIST = T_JOBLIST EXCEPTIONS NO_JOBS_FOUND = 1 PROGRAM_SPECIFICATION_MISSING = 2 INVALID_DIALOG_TYPE = 3 JOB_FIND_CANCELED = 4 OTHERS = 5.

BP_JOB_READ CALL FUNCTION 'BP_JOB_READ' EXPORTING JOB_READ_JOBCOUNT = S_JOBLIST-JOBCOUNT JOB_READ_JOBNAME = S_JOBLIST-JOBNAME JOB_READ_OPCODE = 20 JOB_STEP_NUMBER = 1 * IMPORTING * JOB_READ_JOBHEAD = TABLES JOB_READ_STEPLIST = T_STEPLIST * CHANGING * RET = EXCEPTIONS INVALID_OPCODE = 1 JOB_DOESNT_EXIST = 2 JOB_DOESNT_HAVE_STEPS = 3 OTHERS = 4.

RSPO_RETURN_SPOOLJOB CALL FUNCTION 'RSPO_RETURN_SPOOLJOB' EXPORTING RQIDENT = H_RQIDENT * FIRST_LINE = * LAST_LINE = DESIRED_TYPE = C_RAW * IMPORTING * REAL_TYPE = * SP_LANG = TABLES BUFFER = T_BUFFER * BUFFER_PDF = EXCEPTIONS NO_SUCH_JOB = 1 JOB_CONTAINS_NO_DATA = 2 SELECTION_EMPTY = 3 NO_PERMISSION = 4 CAN_NOT_ACCESS = 5 READ_ERROR = 6 TYPE_NO_MATCH = 7 OTHERS = 8.

CONVERT_DATE_TO_INTERN_FORMAT CALL FUNCTION 'CONVERT_DATE_TO_INTERN_FORMAT' EXPORTING DATUM = S_BUFFER-LINE+09(08) DTYPE = 'DATS' IMPORTING IDATE = S_JOBLOG_ALL-ENTERDATE.

CONVERT_TIME_INPUT CALL FUNCTION 'CONVERT_TIME_INPUT' EXPORTING INPUT = S_BUFFER-LINE+18(08) IMPORTING OUTPUT = S_JOBLOG_ALL-ENTERTIME.

BP_JOBLOG_READ CALL FUNCTION 'BP_JOBLOG_READ' EXPORTING CLIENT = SY-MANDT JOBCOUNT = S_JOBLIST-JOBCOUNT JOBLOG = S_JOBLIST-JOBLOG JOBNAME = S_JOBLIST-JOBNAME TABLES JOBLOGTBL = T_JOBLOG EXCEPTIONS CANT_READ_JOBLOG = 1 JOBCOUNT_MISSING = 2 JOBLOG_DOES_NOT_EXIST = 3 JOBLOG_IS_EMPTY = 4 JOBLOG_NAME_MISSING = 5 JOBNAME_MISSING = 6 JOB_DOES_NOT_EXIST = 7 OTHERS = 8.



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