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

BCS_TEST03 SAP ABAP Report - Inbound Processing Test







BCS_TEST03 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 BCS_TEST03 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 BCS_TEST03. "Basic submit
SUBMIT BCS_TEST03 AND RETURN. "Return to original report after report execution complete
SUBMIT BCS_TEST03 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: P_FR = From (Optional)
Selection Text: P_SR = Scope of SMTP Status
Selection Text: P_TO1 = To
Selection Text: P_TO2 = To
Selection Text: P_TO3 = To
Selection Text: P_DSNT = DSN Type
Selection Text: P_ATT = With Attachments
Selection Text: P_BIN = PC Document (Binary) as Attach
Selection Text: P_CC1 = CC
Selection Text: P_DSN = Send DSN
Title: Inbound Processing Test


INCLUDES used within this REPORT BCS_TEST03

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:

GUI_UPLOAD CALL FUNCTION 'GUI_UPLOAD' EXPORTING filename = l_sfile filetype = 'BIN' * HAS_FIELD_SEPARATOR = ' ' * HEADER_LENGTH = 0 IMPORTING filelength = l_len * HEADER = TABLES data_tab = lt_bin EXCEPTIONS file_open_error = 1 file_read_error = 2 no_batch = 3 gui_refuse_filetransfer = 4 invalid_type = 5 no_authority = 6 unknown_error = 7 bad_data_format = 8 header_not_allowed = 9 separator_not_allowed = 10 header_too_long = 11 unknown_dp_error = 12 access_denied = 13 dp_out_of_memory = 14 disk_full = 15 dp_timeout = 16 OTHERS = 17 .

SO_SPLIT_FILE_AND_PATH CALL FUNCTION 'SO_SPLIT_FILE_AND_PATH' EXPORTING full_name = l_file IMPORTING stripped_name = l_head * FILE_PATH = EXCEPTIONS x_error = 1 OTHERS = 2 .

SO_USER_ID_GET CALL FUNCTION 'SO_USER_ID_GET' EXPORTING user_name = l_usr IMPORTING user_id = ls_usrid EXCEPTIONS user_not_exist = 1 OTHERS = 2.

SO_USER_ADDRESS_READ_API1 CALL FUNCTION 'SO_USER_ADDRESS_READ_API1' TABLES user_address = lt_adrtab EXCEPTIONS enqueue_errror = 1 parameter_error = 2 x_error = 3 OTHERS = 4.

SO_OBJECT_ID_FOR_SEND_GET CALL FUNCTION 'SO_OBJECT_ID_FOR_SEND_GET' EXPORTING object_id = object_id addr_type = 'INT' IMPORTING object_id = object_id * MESSAGE_TYPE = sender = sender TABLES recipient_addrs = rec EXCEPTIONS wng_no_object_waits = 1 err_no_recipients = 2 x_error = 3 OTHERS = 4 .

SO_OBJECT_MIME_GET CALL FUNCTION 'SO_OBJECT_MIME_GET' EXPORTING object_id = object_id * MESSAGE_TYPE = 'M' sender = sender sender_type = 'INT' IMPORTING content_mime = g_msg * RECEIVE_INFO = TABLES recipient_addrs = rec * EXCEPTIONS * ERR_NO_RECIPIENT = 1 * ERR_NO_MIME = 2 * OTHERS = 3 .

SO_ADDRESS_ID_GET * CALL FUNCTION 'SO_ADDRESS_ID_GET' * EXPORTING * address = ls_adr-address * address_type = 'INT' ** NO_ADRADMI = ** NO_INTERN = ** NO_DIR = ** COLLECT = * NO_CREATE = 'X' ** USAGE = * IMPORTING * adrtp = ls_usrid-usrtp * adryr = ls_usrid-usryr * adrno = ls_usrid-usrno ** ADRNR = ** SNDART = ** LFDNR = ** WARNING_REF_ALREADY_EXIST = * TABLES * collected_addresses = lt_collected * EXCEPTIONS * address_not_found = 1 * address_not_created = 2 * parameter_error = 3 * x_error = 4 * OTHERS = 5 * .

GUID_CREATE CALL FUNCTION 'GUID_CREATE' IMPORTING * EV_GUID_16 = * EV_GUID_22 = ev_guid_32 = l_guid .



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