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

RREGCH_BLOCKED_DOC_DISP SAP ABAP Report - Substance Volume Tracking: Display Blocked Documents







RREGCH_BLOCKED_DOC_DISP is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for In substance volume tracking, the system can block documents (manufacturing orders, sales orders, purchase orders, and so on) by setting a specific user status when the documents are saved, for example...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 RREGCH_BLOCKED_DOC_DISP into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

CBRC21 - Subs. Volume Tracking: Blocked Docs


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 RREGCH_BLOCKED_DOC_DISP. "Basic submit
SUBMIT RREGCH_BLOCKED_DOC_DISP AND RETURN. "Return to original report after report execution complete
SUBMIT RREGCH_BLOCKED_DOC_DISP 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: ATTRIB = D Object Entry Attribute
Selection Text: CHKDATE = D Checked On
Selection Text: CHKNAME = D Checked By
Selection Text: LDATE = D Date of Unblock
Selection Text: MATNR = D Material
Selection Text: OBJECT = D Object Key
Selection Text: PLANT = D Plant
Selection Text: REG = D Regulatory List
Selection Text: RESET = D Status Reset
Selection Text: SCEN = D Scenario
Selection Text: UNLOCK = D Document Unblocked
Selection Text: UPDNAME = D Unblock Name
Selection Text: VALUE = D Key Value
Title: Substance Volume Tracking: Display Blocked Documents


INCLUDES used within this REPORT RREGCH_BLOCKED_DOC_DISP

INCLUDE CBRC06.
INCLUDE CBRC07.


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:

CBRC_LIB_AUTH_CHECK CALL FUNCTION 'CBRC_LIB_AUTH_CHECK' EXPORTING I_PROCESS = IC_PROCESS-UNLOCK I_ACTV = IC_ACTIVITY-DISPLAY I_LOCK_TAB = L_LOCK_TAB[] IMPORTING E_LOCK_TAB = L_LOCK_RES_TAB[].

ENQUEUE_ECBLX_CCRCT_LOCK CALL FUNCTION 'ENQUEUE_ECBLX_CCRCT_LOCK' EXPORTING MANDT = SY-MANDT REG = WA_LOCK-REG SCEN = WA_LOCK-SCEN PLANT = WA_LOCK-PLANT EXCEPTIONS FOREIGN_LOCK = 1 SYSTEM_FAILURE = 2 OTHERS = 3.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING NAME = WA_LOCK-STATUS INFO = L_INFO ADD_STDINF = ' ' IMPORTING RESULT = WA_LOCK-STATUS EXCEPTIONS ICON_NOT_FOUND = 1 OUTPUTFIELD_TOO_SHORT = 2 OTHERS = 3.

CBRC_MON_BLOCK_DISPLAY CALL FUNCTION 'CBRC_MON_BLOCK_DISPLAY' EXPORTING * I_FCT_ADD_INFO = 'CBRC_MON_INFO_ADD' I_DATA_TAB = L_LOCK_RES_TAB[] * IMPORTING * E_ERROR_TAB = * E_FLG_ERROR = .



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