SPHCDATA 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 SPHCDATA into the relevant SAP transactions such as SE38 or SE80
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.
Title: Program for object type SPH_CDATA : Call data
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
SP_GETCALLINFO * CALL FUNCTION 'SP_GETCALLINFO' * EXPORTING HANDLE = OBJECT-KEY-HANDLE * TABLES CALLINFO = CALLINFO * CALLDATA = CALLDATA * EXCEPTIONS SP_ERROR = 1 * SP_CTI_FAILURE = 2 * OTHERS = 3.
SP_GETSPECIALCALLINFO * CALL FUNCTION 'SP_GETSPECIALCALLINFO' * IMPORTING TIME = CALL-CALL_TIME * DATE = CALL-CALL_DATE * DIALED = CALL-NO_DIALED * TABLES CALLINFO = CALLINFO.
SP_REMOTE_PARTY_IDENTIFY *CALL FUNCTION 'SP_REMOTE_PARTY_IDENTIFY' * EXPORTING NUMBER = OBJECT-KEY-REMOTEPARTY * USER = SY-UNAME * STOP_AFTER_FIRST_HIT = SPH_STOP_AFTER_FIRST * HANDLE = OBJECT-KEY-HANDLE * DNIS = CALL-NO_DIALED * IMPORTING TRANSFERRED_BY = TRANSFERRED_BY * ORIGINAL_ANI = CALL-NO_CALLING * ORIGINAL_DNIS = CALL-NO_DIALED * TABLES ADDRESS_LIST = CALLER * OBJECT_LIST = OBJECTS * EXCEPTIONS NO_ADDRESS_FOUND = 1 * OTHERS = 2.
INCOMING_CALL_DISPATCH CALL FUNCTION 'INCOMING_CALL_DISPATCH' EXPORTING CALL = CALL.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
SPHCDATA - Program for object type SPH_CDATA : Call data SPHCDATA - Program for object type SPH_CDATA : Call data SPHCALOB - Program for object type VOICE_CALL: Telephone call SPHCALOB - Program for object type VOICE_CALL: Telephone call SPELL_AMOUNT==================FT - SPELLAMOUNT==================FT SPEC2000_R3_TO_PC - Copy SPEC Message Files from ERP Server to local PC