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

SPHCALOB SAP ABAP Report - Program for object type VOICE_CALL: Telephone call







SPHCALOB 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 SPHCALOB 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 SPHCALOB. "Basic submit
SUBMIT SPHCALOB AND RETURN. "Return to original report after report execution complete
SUBMIT SPHCALOB VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Program for object type VOICE_CALL: Telephone call
Text Symbol: Z03 = Text
Text Symbol: Z02 = Number
Text Symbol: Z01 = Display data
Text Symbol: T01 = Call from:
Text Symbol: I01 = Click here to initiate a callback
Text Symbol: E02 = Country
Text Symbol: E01 = Telephone
Text Symbol: A01 = Enter the number


INCLUDES used within this REPORT SPHCALOB

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:

OUTGOING_CALL_PROCESS CALL FUNCTION 'OUTGOING_CALL_PROCESS' EXPORTING TEL_NUMBER = OBJECT-KEY-CALLED_NUMBER COUNTRY_TO = OBJECT-KEY-CALLED_COUNTRY ADDRESS_NUMBER = ADDR_NUMBER NAME_IN = NAME COMPANY_IN = COMPANY REMARK_IN = REMARK IMPORTING NUMBER_CALLED = NUMBER_CALLED NAME_OUT = NAME COMPANY_OUT = COMPANY REMARK_OUT = REMARK HANDLE_OUT = HANDLE DIAL_BUTTON_PRESSED = DIALED TABLES FIELDS = FIELDS TELNO_LIST = TELNO_LIST ADDR_LIST = ADDR_LIST EXCEPTIONS SP_ERROR = 1 SP_CTI_FAILURE = 2 OTHERS = 3.

OUTGOING_CALL_PROCESS CALL FUNCTION 'OUTGOING_CALL_PROCESS' EXPORTING TEL_NUMBER = OBJECT-KEY-CALLED_NUMBER COUNTRY_TO = OBJECT-KEY-CALLED_COUNTRY ADDRESS_NUMBER = ADDRESS NAME_IN = NAME COMPANY_IN = COMPANY * BUTTON_TEXT = TEXT-B01 DISPLAY_POPUP = 'X' * IMPORTING * OPT_BUTTON_PRESSED = OPTION * TABLES * EXCLUDED = EXCLUDED EXCEPTIONS SP_ERROR = 1 SP_CTI_FAILURE = 2 OTHERS = 3.

SWW_WI_MAIL_RECEIVE * CALL FUNCTION 'SWW_WI_MAIL_RECEIVE' * EXPORTING * WI_ID = WI_ID * OFFICE_OBJ_ID = NOTE_OBJ_ID * EXCEPTIONS * WORKITEM_NOT_EXIST = 1 * WORKITEM_LOCKED = 2 * OFFICE_OBJ_EMPTY = 3 * ERROR_SETTING_NOTES_FLAG = 4 * ERROR_CONTAINER_HANDLING = 5 * OTHERS = 6.

SP_CALL_GET CALL FUNCTION 'SP_CALL_GET' IMPORTING CALLSTATE = CALLSTATE TIME = CALL_DATA-CALL_TIME DATE = CALL_DATA-CALL_DATE TRANSFERRED_BY = TRANSFERRED_BY TABLES CALLDATA = CALLDATA REMOTE_PARTY_ADDRESS_LIST = CALLER_DATA_TAB REMOTE_PARTY_OBJECT_LIST = OBJECTS EXCEPTIONS SP_ERROR = 1 SP_CTI_FAILURE = 2 NO_CALL = 3 OTHERS = 4.

INCOMING_CALL_DISPATCH CALL FUNCTION 'INCOMING_CALL_DISPATCH' EXPORTING CALL = CALL_DATA TRANSFERRED_BY = TRANSFERRED_BY TABLES CALLER = CALLER_DATA_TAB CALLDATA = CALLDATA CALLER_OBJECTS = OBJECTS EXCEPTIONS OTHERS = 1.

POPUP_GET_VALUES CALL FUNCTION 'POPUP_GET_VALUES' EXPORTING NO_VALUE_CHECK = 'X' POPUP_TITLE = TEXT-A01 IMPORTING RETURNCODE = RETURN TABLES FIELDS = FIELDS EXCEPTIONS ERROR_IN_FIELDS = 1 OTHERS = 2.

POPUP_GET_VALUES CALL FUNCTION 'POPUP_GET_VALUES' EXPORTING POPUP_TITLE = TEXT-Z01 TABLES FIELDS = FIELDS EXCEPTIONS ERROR_IN_FIELDS = 1 OTHERS = 2.



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