SAP Reports / Programs

RSSOSXGEN02 SAP ABAP Report - SAPoffice: Second test generator for sending using SAPconnect







RSSOSXGEN02 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Second test report for sending via SAPconnect...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 RSSOSXGEN02 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 RSSOSXGEN02. "Basic submit
SUBMIT RSSOSXGEN02 AND RETURN. "Return to original report after report execution complete
SUBMIT RSSOSXGEN02 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: DLI = Recipient (distribution list)
Selection Text: DELTA_T = Interval in secs
Selection Text: BLOCKSIZ = Block size
Selection Text: BLOCKCNT = No. of blocks
Selection Text: SND_DLI = Sender (distribution list)
Selection Text: SRC_FOL = Template folder (ID)
Selection Text: TAR_FOL = Target folder (ID)
Selection Text: TEST_ID = Test ID
Title: SAPoffice: Second test generator for sending using SAPconnect
Text Symbol: 001 = Reference folder is empty or does not exist
Text Symbol: 002 = Error while calling SO_DOCUMENT_READ_API1: Returncode
Text Symbol: 003 = Error while calling SO_DOCUMENT_INSERT_API1: Returncode
Text Symbol: 004 = Distribution list is empty
Text Symbol: 008 = Log error
Text Symbol: 007 = Test run logged successfully
Text Symbol: 006 = Sender-distrib. list is empty
Text Symbol: 005 = Error while calling SO_OBJECT_SEND: Returncode


INCLUDES used within this REPORT RSSOSXGEN02

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:

SO_DOCUMENT_INSERT_API1 CALL FUNCTION 'SO_DOCUMENT_INSERT_API1' EXPORTING FOLDER_ID = FOLDER_ID_API1 document_data = doc_insert_api1 DOCUMENT_TYPE = DOCUMENT_TYPE IMPORTING DOCUMENT_INFO = DOCUMENT_INFO TABLES OBJECT_HEADER = OBJHEAD OBJECT_CONTENT = OBJCONT EXCEPTIONS FOLDER_NOT_EXIST = 1 DOCUMENT_TYPE_NOT_EXIST = 2 OPERATION_NO_AUTHORIZATION = 3 PARAMETER_ERROR = 4 X_ERROR = 5 ENQUEUE_ERROR = 6 OTHERS = 7.

SO_DLI_READ CALL FUNCTION 'SO_DLI_READ' EXPORTING DISTRIBUTIONLIST = DISTRIBUTIONLIST SYSTEM_DLI = 'X' TABLES MEMBER = DLI_ENTRIES OBJPARA = OBJPARA OBJPARB = OBJPARB EXCEPTIONS ACTIVE_USER_NOT_EXIST = 1 COMMUNICATION_FAILURE = 2 COMPONENT_NOT_AVAILABLE = 3 DL_NAME_NOT_EXIST = 4 FOLDER_NOT_EXIST = 5 FOLDER_NO_AUTHORIZATION = 6 FORWARDER_NOT_EXIST = 7 OBJECT_NOT_EXIST = 8 OBJECT_NO_AUTHORIZATION = 9 OPERATION_NO_AUTHORIZATION = 10 OWNER_NOT_EXIST = 11 PARAMETER_ERROR = 12 SUBSTITUTE_NOT_ACTIVE = 13 SUBSTITUTE_NOT_DEFINED = 14 SYSTEM_FAILURE = 15 USER_NOT_EXIST = 16 X_ERROR = 17 OTHERS = 18.

SO_DLI_EXPAND CALL FUNCTION 'SO_DLI_EXPAND' EXPORTING DISTRIBUTIONLIST = DISTRIBUTIONLIST SYSTEM_DLI = 'X' TABLES MEMBER = SND_DLI_ENTRIES OBJPARA = OBJPARA OBJPARB = OBJPARB EXCEPTIONS ACTIVE_USER_NOT_EXIST = 1 COMMUNICATION_FAILURE = 2 COMPONENT_NOT_AVAILABLE = 3 DL_NAME_NOT_EXIST = 4 FOLDER_NOT_EXIST = 5 FOLDER_NO_AUTHORIZATION = 6 FORWARDER_NOT_EXIST = 7 OBJECT_NOT_EXIST = 8 OBJECT_NO_AUTHORIZATION = 9 OPERATION_NO_AUTHORIZATION = 10 OWNER_NOT_EXIST = 11 PARAMETER_ERROR = 12 RECURRENCY_EXIST = 13 SUBSTITUTE_NOT_ACTIVE = 14 SUBSTITUTE_NOT_DEFINED = 15 SYSTEM_FAILURE = 16 X_ERROR = 17 OTHERS = 18.

SO_OBJECT_SEND CALL FUNCTION 'SO_OBJECT_SEND' EXPORTING FOLDER_ID = FOLDER_ID_STRUCT FORWARDER = FORWARDER OBJECT_ID = OBJECT_ID * sender = sender ORIGINATOR = ORIGINATOR ORIGINATOR_TYPE = ORIGINATOR_TYPE IMPORTING SENT_TO_ALL = SENT_TO_ALL TABLES RECEIVERS = RECEIVERS EXCEPTIONS ACTIVE_USER_NOT_EXIST = 1 COMMUNICATION_FAILURE = 2 COMPONENT_NOT_AVAILABLE = 3 FOLDER_NOT_EXIST = 4 FOLDER_NO_AUTHORIZATION = 5 FORWARDER_NOT_EXIST = 6 NOTE_NOT_EXIST = 7 OBJECT_NOT_EXIST = 8 OBJECT_NOT_SENT = 9 OBJECT_NO_AUTHORIZATION = 10 OBJECT_TYPE_NOT_EXIST = 11 OPERATION_NO_AUTHORIZATION = 12 OWNER_NOT_EXIST = 13 PARAMETER_ERROR = 14 SUBSTITUTE_NOT_ACTIVE = 15 SUBSTITUTE_NOT_DEFINED = 16 SYSTEM_FAILURE = 17 TOO_MUCH_RECEIVERS = 18 USER_NOT_EXIST = 19 X_ERROR = 20 OTHERS = 21.

SO_WIND_FOLDERS_SELECT CALL FUNCTION 'SO_WIND_FOLDERS_SELECT' IMPORTING F_CANCELLED = F_CANCELLED F_DOCUMENT_SELECTION = F_DOCUMENT_SELECTION TABLES FOLLIST = FOLLIST EXCEPTIONS COMPONENT_NOT_AVAILABLE = 1 OPERATION_NO_AUTHORIZATION = 2 OWNER_NOT_EXIST = 3 PARAMETER_ERROR = 4 X_ERROR = 5 OTHERS = 6.

SO_WIND_FOLDERS_SELECT CALL FUNCTION 'SO_WIND_FOLDERS_SELECT' IMPORTING F_CANCELLED = F_CANCELLED F_DOCUMENT_SELECTION = F_DOCUMENT_SELECTION TABLES FOLLIST = FOLLIST EXCEPTIONS COMPONENT_NOT_AVAILABLE = 1 OPERATION_NO_AUTHORIZATION = 2 OWNER_NOT_EXIST = 3 PARAMETER_ERROR = 4 X_ERROR = 5 OTHERS = 6.

SO_DOCUMENT_READ_API1 CALL FUNCTION 'SO_DOCUMENT_READ_API1' EXPORTING DOCUMENT_ID = DOCUMENT_ID FILTER = FILTER IMPORTING DOCUMENT_DATA = DOC_DATA1 TABLES OBJECT_HEADER = OBJHEAD OBJECT_CONTENT = OBJCONT EXCEPTIONS DOCUMENT_ID_NOT_EXIST = 1 OPERATION_NO_AUTHORIZATION = 2 X_ERROR = 3 OTHERS = 4.



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