SAP ECRM_POD_SELECT_DATA_WITH_CO Function Module for Select for PoD object - INT_UI
ECRM_POD_SELECT_DATA_WITH_CO is a standard ecrm pod select data with co SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Select for PoD object - INT_UI 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 ecrm pod select data with co FM, simply by entering the name ECRM_POD_SELECT_DATA_WITH_CO into the relevant SAP transaction such as SE37 or SE38.
Function Group: ECRM_POD_ISU
Program Name: SAPLECRM_POD_ISU
Main Program: SAPLECRM_POD_ISU
Appliation area: I
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:

Function ECRM_POD_SELECT_DATA_WITH_CO 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 'ECRM_POD_SELECT_DATA_WITH_CO'"Select for PoD object - INT_UI.
IMPORTING
INFO_ABOUT_SELECTION = "General Indicator
TABLES
TP_INT_UI = "Internal Key for Point of Delivery
* O_EVBS = "Premise
* O_TE102T = "
* O_EHAUISU = "Connection Object
* O_ESERVICE = "Point of delivery service
* O_ESERVPROVP = "Service provider/vendor
* O_TECDET = "Service Type Text
* O_EUITRANS = "Transformation of Internal/External Point of Delivery No.
* TP_TPLNR = "Structure for Including Keys of Functional Location
* I_TABLES = "PM/SM Tables (Extractors)
* I_RANGE = "Dynamic Selection Parameters
* O_EUIHEAD = "PoD Header Data
* O_EUIHEADT = "PoD Header Data (Text)
* O_EUIINSTLN = "Allocation of Installation to PoD
* O_EANL = "Installation
* O_EUITYPE = "Type of Point of Delivery
EXCEPTIONS
TABLE_NOT_SUPPORTED = 1 WRONG_INPUT_DATA = 2
EXPORTING Parameters details for ECRM_POD_SELECT_DATA_WITH_CO
INFO_ABOUT_SELECTION - General Indicator
Data type: FLAGOptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for ECRM_POD_SELECT_DATA_WITH_CO
TP_INT_UI - Internal Key for Point of Delivery
Data type: EECRMTO_ST_INT_UIOptional: No
Call by Reference: No ( called with pass by value option)
O_EVBS - Premise
Data type: EVBSOptional: Yes
Call by Reference: No ( called with pass by value option)
O_TE102T -
Data type: TE102TOptional: Yes
Call by Reference: No ( called with pass by value option)
O_EHAUISU - Connection Object
Data type: EHAUISUOptional: Yes
Call by Reference: No ( called with pass by value option)
O_ESERVICE - Point of delivery service
Data type: ESERVICEOptional: Yes
Call by Reference: No ( called with pass by value option)
O_ESERVPROVP - Service provider/vendor
Data type: ESERVPROVPOptional: Yes
Call by Reference: No ( called with pass by value option)
O_TECDET - Service Type Text
Data type: TECDETOptional: Yes
Call by Reference: No ( called with pass by value option)
O_EUITRANS - Transformation of Internal/External Point of Delivery No.
Data type: EUITRANSOptional: Yes
Call by Reference: No ( called with pass by value option)
TP_TPLNR - Structure for Including Keys of Functional Location
Data type: EECRMTO_ST_TPLNROptional: Yes
Call by Reference: Yes
I_TABLES - PM/SM Tables (Extractors)
Data type: MTABLESOptional: Yes
Call by Reference: No ( called with pass by value option)
I_RANGE - Dynamic Selection Parameters
Data type: CRMSELSTROptional: Yes
Call by Reference: No ( called with pass by value option)
O_EUIHEAD - PoD Header Data
Data type: EUIHEADOptional: Yes
Call by Reference: No ( called with pass by value option)
O_EUIHEADT - PoD Header Data (Text)
Data type: EUIHEADTOptional: Yes
Call by Reference: No ( called with pass by value option)
O_EUIINSTLN - Allocation of Installation to PoD
Data type: EUIINSTLNOptional: Yes
Call by Reference: No ( called with pass by value option)
O_EANL - Installation
Data type: EANLOptional: Yes
Call by Reference: No ( called with pass by value option)
O_EUITYPE - Type of Point of Delivery
Data type: EUITYPEOptional: Yes
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
TABLE_NOT_SUPPORTED -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
WRONG_INPUT_DATA -
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for ECRM_POD_SELECT_DATA_WITH_CO 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: | ||||
| lt_tp_int_ui | TYPE STANDARD TABLE OF EECRMTO_ST_INT_UI, " | |||
| lv_table_not_supported | TYPE EECRMTO_ST_INT_UI, " | |||
| lv_info_about_selection | TYPE FLAG, " | |||
| lt_o_evbs | TYPE STANDARD TABLE OF EVBS, " | |||
| lt_o_te102t | TYPE STANDARD TABLE OF TE102T, " | |||
| lt_o_ehauisu | TYPE STANDARD TABLE OF EHAUISU, " | |||
| lt_o_eservice | TYPE STANDARD TABLE OF ESERVICE, " | |||
| lt_o_eservprovp | TYPE STANDARD TABLE OF ESERVPROVP, " | |||
| lt_o_tecdet | TYPE STANDARD TABLE OF TECDET, " | |||
| lt_o_euitrans | TYPE STANDARD TABLE OF EUITRANS, " | |||
| lt_tp_tplnr | TYPE STANDARD TABLE OF EECRMTO_ST_TPLNR, " | |||
| lv_wrong_input_data | TYPE EECRMTO_ST_TPLNR, " | |||
| lt_i_tables | TYPE STANDARD TABLE OF MTABLES, " | |||
| lt_i_range | TYPE STANDARD TABLE OF CRMSELSTR, " | |||
| lt_o_euihead | TYPE STANDARD TABLE OF EUIHEAD, " | |||
| lt_o_euiheadt | TYPE STANDARD TABLE OF EUIHEADT, " | |||
| lt_o_euiinstln | TYPE STANDARD TABLE OF EUIINSTLN, " | |||
| lt_o_eanl | TYPE STANDARD TABLE OF EANL, " | |||
| lt_o_euitype | TYPE STANDARD TABLE OF EUITYPE. " |
|   CALL FUNCTION 'ECRM_POD_SELECT_DATA_WITH_CO' "Select for PoD object - INT_UI |
| IMPORTING | ||
| INFO_ABOUT_SELECTION | = lv_info_about_selection | |
| TABLES | ||
| TP_INT_UI | = lt_tp_int_ui | |
| O_EVBS | = lt_o_evbs | |
| O_TE102T | = lt_o_te102t | |
| O_EHAUISU | = lt_o_ehauisu | |
| O_ESERVICE | = lt_o_eservice | |
| O_ESERVPROVP | = lt_o_eservprovp | |
| O_TECDET | = lt_o_tecdet | |
| O_EUITRANS | = lt_o_euitrans | |
| TP_TPLNR | = lt_tp_tplnr | |
| I_TABLES | = lt_i_tables | |
| I_RANGE | = lt_i_range | |
| O_EUIHEAD | = lt_o_euihead | |
| O_EUIHEADT | = lt_o_euiheadt | |
| O_EUIINSTLN | = lt_o_euiinstln | |
| O_EANL | = lt_o_eanl | |
| O_EUITYPE | = lt_o_euitype | |
| EXCEPTIONS | ||
| TABLE_NOT_SUPPORTED = 1 | ||
| WRONG_INPUT_DATA = 2 | ||
| . " ECRM_POD_SELECT_DATA_WITH_CO | ||
ABAP code using 7.40 inline data declarations to call FM ECRM_POD_SELECT_DATA_WITH_CO
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