SAP INCOMING_CALL_DISPATCH Function Module for









INCOMING_CALL_DISPATCH is a standard incoming call dispatch SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.


See here to view full function module documentation and code listing for incoming call dispatch FM, simply by entering the name INCOMING_CALL_DISPATCH into the relevant SAP transaction such as SE37 or SE38.

Function Group: PHOI
Program Name: SAPLPHOI
Main Program: SAPLPHOI
Appliation area: S
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:



Function INCOMING_CALL_DISPATCH pattern details

In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.
CALL FUNCTION 'INCOMING_CALL_DISPATCH'"
EXPORTING
* CALL = "
* TRANSFERRED_BY = "

IMPORTING
CALLER_OUT = "

TABLES
* CALLER = "
* ADDITIONAL_DATA = "
* CALLDATA = "
* CALLER_OBJECTS = "
* EXTCALLS = "SAPphone: Call status
.



IMPORTING Parameters details for INCOMING_CALL_DISPATCH

CALL -

Data type: SPH_CALL
Optional: Yes
Call by Reference: No ( called with pass by value option)

TRANSFERRED_BY -

Data type: SPH_CALLER
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for INCOMING_CALL_DISPATCH

CALLER_OUT -

Data type: SPH_CALLER
Optional: No
Call by Reference: No ( called with pass by value option)

TABLES Parameters details for INCOMING_CALL_DISPATCH

CALLER -

Data type: SPH_CALLER
Optional: Yes
Call by Reference: No ( called with pass by value option)

ADDITIONAL_DATA -

Data type: SPHFIELDS
Optional: Yes
Call by Reference: No ( called with pass by value option)

CALLDATA -

Data type: SPH_IOCONT
Optional: Yes
Call by Reference: No ( called with pass by value option)

CALLER_OBJECTS -

Data type: SPH_ADROBJ
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXTCALLS - SAPphone: Call status

Data type: SPH_CSTATE
Optional: Yes
Call by Reference: Yes

Copy and paste ABAP code example for INCOMING_CALL_DISPATCH Function Module

The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the newer method of declaring data variables on the fly. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8), which i why i have stuck to the origianl for this example.

DATA:
lv_call  TYPE SPH_CALL, "   
lt_caller  TYPE STANDARD TABLE OF SPH_CALLER, "   
lv_caller_out  TYPE SPH_CALLER, "   
lv_transferred_by  TYPE SPH_CALLER, "   
lt_additional_data  TYPE STANDARD TABLE OF SPHFIELDS, "   
lt_calldata  TYPE STANDARD TABLE OF SPH_IOCONT, "   
lt_caller_objects  TYPE STANDARD TABLE OF SPH_ADROBJ, "   
lt_extcalls  TYPE STANDARD TABLE OF SPH_CSTATE. "   

  CALL FUNCTION 'INCOMING_CALL_DISPATCH'  "
    EXPORTING
         CALL = lv_call
         TRANSFERRED_BY = lv_transferred_by
    IMPORTING
         CALLER_OUT = lv_caller_out
    TABLES
         CALLER = lt_caller
         ADDITIONAL_DATA = lt_additional_data
         CALLDATA = lt_calldata
         CALLER_OBJECTS = lt_caller_objects
         EXTCALLS = lt_extcalls
. " INCOMING_CALL_DISPATCH




ABAP code using 7.40 inline data declarations to call FM INCOMING_CALL_DISPATCH

The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.

 
 
 
 
 
 
 
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!