SAP Function Modules

_PHONE_CALL_CHANGED SAP Function module - ICI SOAP service: when attribute of a phone call changed







_PHONE_CALL_CHANGED is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.

See here to view full function module documentation and code listing, simply by entering the name _PHONE_CALL_CHANGED into the relevant SAP transaction such as SE37 or SE80.

Associated Function Group: CRM_ICI_INBOUND
Released Date: Not Released
Processing type: Remote-Enabled
remote enabled module settings


Pattern for FM _PHONE_CALL_CHANGED - PHONE CALL CHANGED





CALL FUNCTION '_PHONE_CALL_CHANGED' "ICI SOAP service: when attribute of a phone call changed
  EXPORTING
    _app_ids =                  " crm_ici_application_id_t  transfer structure: table of application IDs
    _phone_call =               " crm_ici_phone_call  ICI specification: complex type phone call
  IMPORTING
    _response =                 " string
  EXCEPTIONS
    CRM_ICI_EXCEPTION = 1       "               exception class for CRM ICI
    .  "  _PHONE_CALL_CHANGED

ABAP code example for Function Module _PHONE_CALL_CHANGED





The ABAP code below is a full code listing to execute function module _PHONE_CALL_CHANGED including all data declarations. The code uses 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 original method of declaring data variables up front. 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).

DATA:
ld__response  TYPE STRING .

DATA(ld__app_ids) = 'Check type of data required'.
DATA(ld__phone_call) = 'Check type of data required'. . CALL FUNCTION '_PHONE_CALL_CHANGED' EXPORTING _app_ids = ld__app_ids _phone_call = ld__phone_call IMPORTING _response = ld__response EXCEPTIONS CRM_ICI_EXCEPTION = 1 . " _PHONE_CALL_CHANGED
IF SY-SUBRC EQ 0. "All OK ELSEIF SY-SUBRC EQ 1. "Exception "Add code for exception here ENDIF.







ABAP code to compare 7.40 inline data declaration with original syntax

The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.

DATA:
ld__response  TYPE STRING ,
ld__app_ids  TYPE CRM_ICI_APPLICATION_ID_T ,
ld__phone_call  TYPE CRM_ICI_PHONE_CALL .

ld__app_ids = 'Check type of data required'.
ld__phone_call = 'Check type of data required'.

Contribute (Add Comments)

Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name _PHONE_CALL_CHANGED or its description.