SAP Reports / Programs

RSSOTRCL SAP ABAP Report - Delete shared trash







RSSOTRCL is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This report deletes the contents of shared trash, depending on the specified number which is added to the creation date or the date of the last change for the document...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 RSSOTRCL 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

SO17 - SAPoffice: Delete Shared Trash


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 RSSOTRCL. "Basic submit
SUBMIT RSSOTRCL AND RETURN. "Return to original report after report execution complete
SUBMIT RSSOTRCL 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: SEL_DAT = Selection date
Title: Delete shared trash
Text Symbol: 001 = You are not authorized to run the program
Text Symbol: 002 = No connection to the original SAP system
Text Symbol: 003 = Office settings were not found
Text Symbol: 004 = Unknown user
Text Symbol: 005 = Shared trash is already empty
Text Symbol: 006 = Shared trash is not available
Text Symbol: 007 = Document was deleted:
Text Symbol: 008 = Document was not found:
Text Symbol: 009 = No authorization for document:
Text Symbol: 010 = Folder was deleted:
Text Symbol: 011 = Folder is not empty:
Text Symbol: 012 = Folder was not found:
Text Symbol: 013 = No authorization for folder:
Text Symbol: 014 = Nothing deleted
Text Symbol: 100 = Number of days since the last change


INCLUDES used within this REPORT RSSOTRCL

INCLUDE RSSOCONS.


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:

SO_PROFILE_READ CALL FUNCTION 'SO_PROFILE_READ' IMPORTING PROFILE = SOPR_DAT EXCEPTIONS COMMUNICATION_FAILURE = 71 PROFILE_NOT_EXIST = 26 SYSTEM_FAILURE = 72.

SO_NAME_CONVERT CALL FUNCTION 'SO_NAME_CONVERT' EXPORTING NAME_IN = SOUD_DAT IMPORTING NAME_OUT = SOUD_DAT EXCEPTIONS COMMUNICATION_FAILURE = 71 OFFICE_NAME_NOT_EXIST = 19 PARAMETER_ERROR = 23 SAP_NAME_NOT_EXIST = 29 SYSTEM_FAILURE = 72 USER_NOT_EXIST = 34.

SO_FOLDER_READ CALL FUNCTION 'SO_FOLDER_READ' EXPORTING OBJECT_ID = TRASH_KEY OWNER = OWNER IMPORTING OBJECT_HD_DISPLAY = OBJECT_HD_DISPLAY OBJECT_SD_DISPLAY = OBJECT_SD_DISPLAY TABLE_EMPTY = FOLDER_EMPTY TABLES FOLDER_CONT = FOLDER_CONT EXCEPTIONS ACTIVE_USER_NOT_EXIST = 35 COMMUNICATION_FAILURE = 71 COMPONENT_NOT_AVAILABLE = 1 FOLDER_NOT_EXIST = 6 OPERATION_NO_AUTHORIZATION = 21 OWNER_NOT_EXIST = 22 SUBSTITUTE_NOT_ACTIVE = 31 SUBSTITUTE_NOT_DEFINED = 32 SYSTEM_FAILURE = 72.

SO_OBJECT_DELETE CALL FUNCTION 'SO_OBJECT_DELETE' EXPORTING FOLDER_ID = TRASH_KEY OBJECT_ID = OBJECT_ID OWNER = OWNER EXCEPTIONS COMMUNICATION_FAILURE = 71 FOLDER_NOT_EMPTY = 39 FOLDER_NOT_EXIST = 6 FOLDER_NO_AUTHORIZATION = 5 FORWARDER_NOT_EXIST = 8 OBJECT_NOT_EXIST = 14 OBJECT_NO_AUTHORIZATION = 13 OPERATION_NO_AUTHORIZATION = 21 OWNER_NOT_EXIST = 22 SUBSTITUTE_NOT_ACTIVE = 31 SUBSTITUTE_NOT_DEFINED = 32 SYSTEM_FAILURE = 72.

SO_FOLDER_DELETE CALL FUNCTION 'SO_FOLDER_DELETE' EXPORTING FOLDER_ID = TRASH_KEY OBJECT_ID = OBJECT_ID OWNER = OWNER EXCEPTIONS COMPONENT_NOT_AVAILABLE = 1 FOLDER_NOT_EMPTY = 39 FOLDER_NOT_EXIST = 6 FOLDER_NO_AUTHORIZATION = 5 * FORWARDER_NOT_EXIST = 8 OBJECT_NOT_EXIST = 14 * OBJECT_NO_AUTHORIZATION = 13 OPERATION_NO_AUTHORIZATION = 21 OWNER_NOT_EXIST = 22 SUBSTITUTE_NOT_ACTIVE = 31 SUBSTITUTE_NOT_DEFINED = 32.



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