SAP COD_INSTALLATION_POINT_REPL Function Module for Combine all the data to create Installation Points in C4C
COD_INSTALLATION_POINT_REPL is a standard cod installation point repl SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Combine all the data to create Installation Points in C4C 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 cod installation point repl FM, simply by entering the name COD_INSTALLATION_POINT_REPL into the relevant SAP transaction such as SE37 or SE38.
Function Group: COD_SERVICE_LOCATION_REPL
Program Name: SAPLCOD_SERVICE_LOCATION_REPL
Main Program: SAPLCOD_SERVICE_LOCATION_REPL
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function COD_INSTALLATION_POINT_REPL 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 'COD_INSTALLATION_POINT_REPL'"Combine all the data to create Installation Points in C4C.
EXPORTING
* IV_CONN_OBJ_ID = "Connection Object
* IV_PREMISE = "Premise
* IV_MODE = "Single-Character Indicator
IMPORTING
ET_MESSAGES = "Return parameter table
ES_CONN_OBJ = "Connect. Obj.
ET_PREMISES = "Premises
IMPORTING Parameters details for COD_INSTALLATION_POINT_REPL
IV_CONN_OBJ_ID - Connection Object
Data type: CHAR30Optional: Yes
Call by Reference: No ( called with pass by value option)
IV_PREMISE - Premise
Data type: CHAR10Optional: Yes
Call by Reference: No ( called with pass by value option)
IV_MODE - Single-Character Indicator
Data type: CHAR1Optional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for COD_INSTALLATION_POINT_REPL
ET_MESSAGES - Return parameter table
Data type: BAPIRET2_TOptional: No
Call by Reference: No ( called with pass by value option)
ES_CONN_OBJ - Connect. Obj.
Data type: COD_S_CONN_OBJOptional: No
Call by Reference: No ( called with pass by value option)
ET_PREMISES - Premises
Data type: COD_T_PREMISEOptional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for COD_INSTALLATION_POINT_REPL 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_et_messages | TYPE BAPIRET2_T, " | |||
| lv_iv_conn_obj_id | TYPE CHAR30, " | |||
| lv_iv_premise | TYPE CHAR10, " | |||
| lv_es_conn_obj | TYPE COD_S_CONN_OBJ, " | |||
| lv_iv_mode | TYPE CHAR1, " | |||
| lv_et_premises | TYPE COD_T_PREMISE. " |
|   CALL FUNCTION 'COD_INSTALLATION_POINT_REPL' "Combine all the data to create Installation Points in C4C |
| EXPORTING | ||
| IV_CONN_OBJ_ID | = lv_iv_conn_obj_id | |
| IV_PREMISE | = lv_iv_premise | |
| IV_MODE | = lv_iv_mode | |
| IMPORTING | ||
| ET_MESSAGES | = lv_et_messages | |
| ES_CONN_OBJ | = lv_es_conn_obj | |
| ET_PREMISES | = lv_et_premises | |
| . " COD_INSTALLATION_POINT_REPL | ||
ABAP code using 7.40 inline data declarations to call FM COD_INSTALLATION_POINT_REPL
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