SAP Reports / Programs | Basis Components | Basis Services / Communication Interfaces | Communication Services: Mail, Fax, SMS, Telephony(BC-SRV-COM) SAP BC

RSSOKIF2 SAP ABAP Report - Sample report for using communications interface via SAPscript







RSSOKIF2 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 RSSOKIF2 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 RSSOKIF2. "Basic submit
SUBMIT RSSOKIF2 AND RETURN. "Return to original report after report execution complete
SUBMIT RSSOKIF2 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: LAND = Country code
Selection Text: NUMBER = Fax number
Title: Sample report for using communications interface via SAPscript
Text Symbol: 103 = that is, via the Business Comm. Interface.
Text Symbol: 104 = Faxing via SAPscript with Device= MAIL,
Text Symbol: 102 = TestFax
Text Symbol: 001 = Document placed successfully in send queue
Text Symbol: 002 = If no regular send operation is scheduled for
Text Symbol: 003 = communication method FAX, start the send op.
Text Symbol: 004 = manually in SAPconnect (TA SCOT).
Text Symbol: 101 = Sending via SAPscript


INCLUDES used within this REPORT RSSOKIF2

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_USER_AUTOMATIC_INSERT CALL FUNCTION 'SO_USER_AUTOMATIC_INSERT' EXPORTING SAPNAME = SY-UNAME EXCEPTIONS NO_INSERT = 1 SAP_NAME_EXIST = 2 X_ERROR = 3 OTHERS = 4.

OPEN_FORM CALL FUNCTION 'OPEN_FORM' EXPORTING DEVICE = 'MAIL' DIALOG = SPACE FORM = HEADER-TDFORM LANGUAGE = HEADER-TDSPRAS OPTIONS = OPTIONS MAIL_SENDER = SENDER_ID MAIL_RECIPIENT = RECIPIENT_ID MAIL_APPL_OBJECT = APPL_OBJECT_ID EXCEPTIONS CANCELED = 1 DEVICE = 2 FORM = 3 OPTIONS = 4 UNCLOSED = 5 MAIL_OPTIONS = 6 OTHERS = 7.

WRITE_FORM_LINES CALL FUNCTION 'WRITE_FORM_LINES' EXPORTING HEADER = HEADER TABLES LINES = LINES EXCEPTIONS OTHERS = 1.

CLOSE_FORM CALL FUNCTION 'CLOSE_FORM' IMPORTING RESULT = RESULT TABLES OTFDATA = OTFDATA 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 RSSOKIF2 or its description.