SAP Reports / Programs | Production Planning and Control | Production Planning for Process Industries | Process Management(PP-PI-PMA) SAP PP

RCOCB011 SAP ABAP Report - Deletion Program for Process Message Record - Do not release







RCOCB011 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 RCOCB011 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 RCOCB011. "Basic submit
SUBMIT RCOCB011 AND RETURN. "Return to original report after report execution complete
SUBMIT RCOCB011 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: AGE = Entries older than (days)
Selection Text: NO_ORD = Entries not releated to order
Selection Text: ORD_RAN = Process order
Selection Text: PLNT_RAN = Plant
Selection Text: PRT_ONLY = Only message logs
Title: Deletion Program for Process Message Record - Do not release
Text Symbol: 001 = Delete Process Messages ;;Title for dialog box
Text Symbol: 002 = Do you want to delete all data ;;Confirmation prompt (2 lines)
Text Symbol: 003 = matching the selection criteria? ;;continuation of 002
Text Symbol: 010 = Selections
Text Symbol: 011 = Del. scope
Text Symbol: 012 = Log
Text Symbol: 101 = Delete Process Messages: Evaluate Logs
Text Symbol: 102 = Delete Process Messages: Display Log


INCLUDES used within this REPORT RCOCB011

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:

COC1_FEATURE_CHECK CALL FUNCTION 'COC1_FEATURE_CHECK' EXPORTING FEATURE_ID = SCOMER-ATINN IMPORTING VALUE_ASSIGNMENT_WITH_LONGTEXT = FLG-TXTRF EXCEPTIONS INVALID_CLASS_TYPE = 01 MISSING_FEATURE_INFORMATION = 02 NO_FEATURE_FOUND = 03 NO_FEATURE_VALID = 04 NO_LANGUAGE = 05 OTHERS = 06.

COMH_GET_ALL_MS_TEXT_NAMES CALL FUNCTION 'COMH_GET_ALL_MS_TEXT_NAMES' EXPORTING MS_ELEMENT = SCOMER TABLES T_HEAD = TXT_HEADER EXCEPTIONS NO_NAME_FOUND = 01.

APPL_LOG_DELETE CALL FUNCTION 'APPL_LOG_DELETE' EXPORTING OBJECT = LOG_OBJECT_MS SUBOBJECT = ' ' EXTERNAL_NUMBER = LOG_EXTNUM DATE_TO = SY-DATLO TIME_TO = SY-TIMLO LOG_CLASS = '1' * importing * number_of_deleted_logs = hlpl-number_of_deleted_logs * number_of_non_deleted_logs = * hlpl-number_of_non_deleted_logs EXCEPTIONS NO_AUTHORITY = 01.

DELETE_TEXT CALL FUNCTION 'DELETE_TEXT' EXPORTING CLIENT = SY-MANDT ID = TXT_HEADER_ALL-TDID LANGUAGE = TXT_HEADER_ALL-TDSPRAS NAME = TXT_HEADER_ALL-TDNAME OBJECT = TXT_HEADER_ALL-TDOBJECT SAVEMODE_DIRECT = ON * TEXTMEMORY_ONLY = ' ' EXCEPTIONS NOT_FOUND = 01.

DB_COMMIT CALL FUNCTION 'DB_COMMIT'.

POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING DEFAULTOPTION = NO TEXTLINE1 = TEXT-002 TEXTLINE2 = TEXT-003 TITEL = TEXT-001 IMPORTING ANSWER = HLP-ANSWER EXCEPTIONS OTHERS = 1.



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