SAP COD_UTIL_POD_REPL Function Module for Point Of Delivery Data Replication
COD_UTIL_POD_REPL is a standard cod util pod 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 Point Of Delivery Data Replication 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 util pod repl FM, simply by entering the name COD_UTIL_POD_REPL into the relevant SAP transaction such as SE37 or SE38.
Function Group: COD_UTIL_TECH_MASTER_REPL
Program Name: SAPLCOD_UTIL_TECH_MASTER_REPL
Main Program: SAPLCOD_UTIL_TECH_MASTER_REPL
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function COD_UTIL_POD_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_UTIL_POD_REPL'"Point Of Delivery Data Replication.
EXPORTING
* I_EXT_UI = "Point of delivery ID
* I_INT_UI = "Internal key for point of delivery
* I_DATEFROM = '19000101' "From-Date
* I_TIMEFROM = '000000' "From-time
* I_DATETO = '99991231' "To-Date
* I_TIMETO = '235959' "To-Time
* I_SPRAS = SY-LANGU "Language Key
IMPORTING
E_EUITRANS = "Transformation of Internal/External Point of Delivery No.
E_EUIHEAD = "PoD Header Data
E_TEXT = "Point of Delivery Description
E_EUIINSTLN = "Allocation of Installation to Point of Delivery
E_EUIGRID = "Table for Grid Allocation
ET_MESSAGES = "Return parameter table
EXCEPTIONS
INVALID_PARAMETER = 1 ERROR = 2
IMPORTING Parameters details for COD_UTIL_POD_REPL
I_EXT_UI - Point of delivery ID
Data type: EXT_UIOptional: Yes
Call by Reference: No ( called with pass by value option)
I_INT_UI - Internal key for point of delivery
Data type: INT_UIOptional: Yes
Call by Reference: No ( called with pass by value option)
I_DATEFROM - From-Date
Data type: E_EDMDATEFROMDefault: '19000101'
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_TIMEFROM - From-time
Data type: E_EDMTIMEFROMDefault: '000000'
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_DATETO - To-Date
Data type: E_EDMDATETODefault: '99991231'
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_TIMETO - To-Time
Data type: E_EDMTIMETODefault: '235959'
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_SPRAS - Language Key
Data type: SPRASDefault: SY-LANGU
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for COD_UTIL_POD_REPL
E_EUITRANS - Transformation of Internal/External Point of Delivery No.
Data type: COD_UTIL_S_EUITRANSOptional: No
Call by Reference: No ( called with pass by value option)
E_EUIHEAD - PoD Header Data
Data type: COD_UTIL_S_EUIHEADOptional: No
Call by Reference: No ( called with pass by value option)
E_TEXT - Point of Delivery Description
Data type: E_UITEXTOptional: No
Call by Reference: No ( called with pass by value option)
E_EUIINSTLN - Allocation of Installation to Point of Delivery
Data type: COD_UTIL_T_EUIINSTLNOptional: No
Call by Reference: No ( called with pass by value option)
E_EUIGRID - Table for Grid Allocation
Data type: COD_UTIL_T_EUIGRIDOptional: No
Call by Reference: No ( called with pass by value option)
ET_MESSAGES - Return parameter table
Data type: BAPIRET2_TOptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
INVALID_PARAMETER - Parameters are not valid
Data type:Optional: No
Call by Reference: Yes
ERROR - An error occured
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for COD_UTIL_POD_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_i_ext_ui | TYPE EXT_UI, " | |||
| lv_e_euitrans | TYPE COD_UTIL_S_EUITRANS, " | |||
| lv_invalid_parameter | TYPE COD_UTIL_S_EUITRANS, " | |||
| lv_error | TYPE COD_UTIL_S_EUITRANS, " | |||
| lv_i_int_ui | TYPE INT_UI, " | |||
| lv_e_euihead | TYPE COD_UTIL_S_EUIHEAD, " | |||
| lv_e_text | TYPE E_UITEXT, " | |||
| lv_i_datefrom | TYPE E_EDMDATEFROM, " '19000101' | |||
| lv_i_timefrom | TYPE E_EDMTIMEFROM, " '000000' | |||
| lv_e_euiinstln | TYPE COD_UTIL_T_EUIINSTLN, " | |||
| lv_i_dateto | TYPE E_EDMDATETO, " '99991231' | |||
| lv_e_euigrid | TYPE COD_UTIL_T_EUIGRID, " | |||
| lv_i_timeto | TYPE E_EDMTIMETO, " '235959' | |||
| lv_et_messages | TYPE BAPIRET2_T, " | |||
| lv_i_spras | TYPE SPRAS. " SY-LANGU |
|   CALL FUNCTION 'COD_UTIL_POD_REPL' "Point Of Delivery Data Replication |
| EXPORTING | ||
| I_EXT_UI | = lv_i_ext_ui | |
| I_INT_UI | = lv_i_int_ui | |
| I_DATEFROM | = lv_i_datefrom | |
| I_TIMEFROM | = lv_i_timefrom | |
| I_DATETO | = lv_i_dateto | |
| I_TIMETO | = lv_i_timeto | |
| I_SPRAS | = lv_i_spras | |
| IMPORTING | ||
| E_EUITRANS | = lv_e_euitrans | |
| E_EUIHEAD | = lv_e_euihead | |
| E_TEXT | = lv_e_text | |
| E_EUIINSTLN | = lv_e_euiinstln | |
| E_EUIGRID | = lv_e_euigrid | |
| ET_MESSAGES | = lv_et_messages | |
| EXCEPTIONS | ||
| INVALID_PARAMETER = 1 | ||
| ERROR = 2 | ||
| . " COD_UTIL_POD_REPL | ||
ABAP code using 7.40 inline data declarations to call FM COD_UTIL_POD_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.| DATA(ld_i_datefrom) | = '19000101'. | |||
| DATA(ld_i_timefrom) | = '000000'. | |||
| DATA(ld_i_dateto) | = '99991231'. | |||
| DATA(ld_i_timeto) | = '235959'. | |||
| DATA(ld_i_spras) | = SY-LANGU. | |||
Search for further information about these or an SAP related objects