SAP UDM_CCT_MODIFY Function Module for Change Customer Contact
UDM_CCT_MODIFY is a standard udm cct modify SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Change Customer Contact processing and below is the pattern details for this FM, 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 udm cct modify FM, simply by entering the name UDM_CCT_MODIFY into the relevant SAP transaction such as SE37 or SE38.
Function Group: UDM_CUSTOMER_CONTACT
Program Name: SAPLUDM_CUSTOMER_CONTACT
Main Program: SAPLUDM_CUSTOMER_CONTACT
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:

Function UDM_CCT_MODIFY 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 'UDM_CCT_MODIFY'"Change Customer Contact.
EXPORTING
I_CCT_GUID = "Customer Contact Key
* I_CHANGED_BY = "Last Changed by
* IS_CCT_ATTRIBUTES = "Customer Contact: Attributes for Creation and Change
IT_NOTES = "FSCM-DM: Note for Dispute Case
IT_RELATION = "Objects Arising from Customer Contact
IMPORTING
ES_RETURN = "Return Parameter(s)
E_COLL_SPECIALIST_NAME = "Complete Personal Name
ES_NOTE_PROT_LINE = "SAPscript: Text Lines
IMPORTING Parameters details for UDM_CCT_MODIFY
I_CCT_GUID - Customer Contact Key
Data type: BDM_CCT_GUIDOptional: No
Call by Reference: No ( called with pass by value option)
I_CHANGED_BY - Last Changed by
Data type: BDM_COLL_SPECIALISTOptional: Yes
Call by Reference: No ( called with pass by value option)
IS_CCT_ATTRIBUTES - Customer Contact: Attributes for Creation and Change
Data type: BDM_CCT_ATTROptional: Yes
Call by Reference: No ( called with pass by value option)
IT_NOTES - FSCM-DM: Note for Dispute Case
Data type: BDM_T_DISPUTE_NOTEOptional: No
Call by Reference: No ( called with pass by value option)
IT_RELATION - Objects Arising from Customer Contact
Data type: BDM_T_CCT_RELOptional: No
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for UDM_CCT_MODIFY
ES_RETURN - Return Parameter(s)
Data type: BAPIRET2Optional: No
Call by Reference: No ( called with pass by value option)
E_COLL_SPECIALIST_NAME - Complete Personal Name
Data type: AD_NAMTEXTOptional: No
Call by Reference: No ( called with pass by value option)
ES_NOTE_PROT_LINE - SAPscript: Text Lines
Data type: BAPI_DISPUTE_NOTEOptional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for UDM_CCT_MODIFY 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_es_return | TYPE BAPIRET2, " | |||
| lv_i_cct_guid | TYPE BDM_CCT_GUID, " | |||
| lv_i_changed_by | TYPE BDM_COLL_SPECIALIST, " | |||
| lv_e_coll_specialist_name | TYPE AD_NAMTEXT, " | |||
| lv_es_note_prot_line | TYPE BAPI_DISPUTE_NOTE, " | |||
| lv_is_cct_attributes | TYPE BDM_CCT_ATTR, " | |||
| lv_it_notes | TYPE BDM_T_DISPUTE_NOTE, " | |||
| lv_it_relation | TYPE BDM_T_CCT_REL. " |
|   CALL FUNCTION 'UDM_CCT_MODIFY' "Change Customer Contact |
| EXPORTING | ||
| I_CCT_GUID | = lv_i_cct_guid | |
| I_CHANGED_BY | = lv_i_changed_by | |
| IS_CCT_ATTRIBUTES | = lv_is_cct_attributes | |
| IT_NOTES | = lv_it_notes | |
| IT_RELATION | = lv_it_relation | |
| IMPORTING | ||
| ES_RETURN | = lv_es_return | |
| E_COLL_SPECIALIST_NAME | = lv_e_coll_specialist_name | |
| ES_NOTE_PROT_LINE | = lv_es_note_prot_line | |
| . " UDM_CCT_MODIFY | ||
ABAP code using 7.40 inline data declarations to call FM UDM_CCT_MODIFY
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