SAP ECRM_POD_ISU_MAPBAPI_VIACON Function Module for Mapping POD Structures in BAPI Structures









ECRM_POD_ISU_MAPBAPI_VIACON is a standard ecrm pod isu mapbapi viacon SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Mapping POD Structures in BAPI Structures 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 isu mapbapi viacon FM, simply by entering the name ECRM_POD_ISU_MAPBAPI_VIACON into the relevant SAP transaction such as SE37 or SE38.

Function Group: ECRM_POD
Program Name: SAPLECRM_POD
Main Program: SAPLECRM_POD
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function ECRM_POD_ISU_MAPBAPI_VIACON 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_ISU_MAPBAPI_VIACON'"Mapping POD Structures in BAPI Structures
EXPORTING
* I_OPERATION = "Function
* IM_DWNLOADTYP = "Extract or Request Object Data

TABLES
* IN_EUIHEAD = "PoD Header Data
* IN_EANL_OLD = "Installation
* IN_EVBS = "Premise
* IN_EVBS_OLD = "Premise
* IN_TE102T = "
* IN_TE102T_OLD = "
* IN_EHAUISU = "Connection Object
* IN_EHAUISU_OLD = "Connection Object
* IN_ESERVICE = "Point of delivery service
* IN_ESERVICE_OLD = "Point of delivery service
* IN_TECDET = "Service Type Text
* IN_EUIHEAD_OLD = "PoD Header Data
* IN_TECDET_OLD = "Service Type Text
* IN_ESERVPROVP = "Service provider/vendor
* IN_ESERVPROVP_OLD = "Service provider/vendor
* IN_EUITRANS = "Transformation of Internal/External Point of Delivery No.
* IN_EUITRANS_OLD = "Transformation of Internal/External Point of Delivery No.
* IN_RANGE = "Dynamic Selection Parameters
* T_KEY_INFO = "BAPI Structure: Key Information
* T_MESSAGES = "BAPI Structure: Messages per Data Record
* T_OTHER_INFO = "Container for 'Customer Exit' Parameter
OUT_BAPI_EUI = "CRM: Master Data for Point of Delivery
* IN_EUIHEADT = "PoD Header Data (Text)
* OUT_BAPI_EUI_OLD = "CRM: Master Data for Point of Delivery
OUT_BAPI_EUITXT = "CRM: Short Texts for Point of Delivery
* OUT_BAPI_EUITXT_OLD = "CRM: Short Texts for Point of Delivery
OUT_BAPI_EUIADR = "CRM: Address for Point of Delivery
* OUT_BAPI_EUIADR_OLD = "CRM: Address for Point of Delivery
OUT_BAPI_EUICATTXT = "CRM: Premise Type Texts
* OUT_BAPI_EUICATTXT_OLD = "CRM: Premise Type Texts
OUT_BAPI_EUISERVICE = "CRM: Services for Point of Delivery
* OUT_BAPI_EUISERVICE_OLD = "CRM: Services for Point of Delivery
OUT_BAPI_EUISERVTXT = "CRM: Service Texts
* IN_EUIHEADT_OLD = "PoD Header Data (Text)
* OUT_BAPI_EUISERVTXT_OLD = "CRM: Service Texts
OUT_BAPI_EUITRANS = "CRM: Transformation of Int./Ext. Point of Delivery Number
* OUT_BAPI_EUITRANS_OLD = "CRM: Transformation of Int./Ext. Point of Delivery Number
* IN_EUITYPE = "Type of Point of Delivery
* IN_EUITYPE_OLD = "Type of Point of Delivery
* IN_EUIINSTLN = "Allocation of Installation to PoD
* IN_EUIINSTLN_OLD = "Allocation of Installation to PoD
* IN_EANL = "Installation
.



IMPORTING Parameters details for ECRM_POD_ISU_MAPBAPI_VIACON

I_OPERATION - Function

Data type: CRM_PARA-MSGFNOPER
Optional: Yes
Call by Reference: No ( called with pass by value option)

IM_DWNLOADTYP - Extract or Request Object Data

Data type: BAPICRMDH1-EXT_OR_REQ
Optional: Yes
Call by Reference: Yes

TABLES Parameters details for ECRM_POD_ISU_MAPBAPI_VIACON

IN_EUIHEAD - PoD Header Data

Data type: EUIHEAD
Optional: Yes
Call by Reference: Yes

IN_EANL_OLD - Installation

Data type: EANL
Optional: Yes
Call by Reference: Yes

IN_EVBS - Premise

Data type: EVBS
Optional: Yes
Call by Reference: Yes

IN_EVBS_OLD - Premise

Data type: EVBS
Optional: Yes
Call by Reference: Yes

IN_TE102T -

Data type: TE102T
Optional: Yes
Call by Reference: Yes

IN_TE102T_OLD -

Data type: TE102T
Optional: Yes
Call by Reference: Yes

IN_EHAUISU - Connection Object

Data type: EHAUISU
Optional: Yes
Call by Reference: Yes

IN_EHAUISU_OLD - Connection Object

Data type: EHAUISU
Optional: Yes
Call by Reference: Yes

IN_ESERVICE - Point of delivery service

Data type: ESERVICE
Optional: Yes
Call by Reference: Yes

IN_ESERVICE_OLD - Point of delivery service

Data type: ESERVICE
Optional: Yes
Call by Reference: Yes

IN_TECDET - Service Type Text

Data type: TECDET
Optional: Yes
Call by Reference: Yes

IN_EUIHEAD_OLD - PoD Header Data

Data type: EUIHEAD
Optional: Yes
Call by Reference: Yes

IN_TECDET_OLD - Service Type Text

Data type: TECDET
Optional: Yes
Call by Reference: Yes

IN_ESERVPROVP - Service provider/vendor

Data type: ESERVPROVP
Optional: Yes
Call by Reference: Yes

IN_ESERVPROVP_OLD - Service provider/vendor

Data type: ESERVPROVP
Optional: Yes
Call by Reference: Yes

IN_EUITRANS - Transformation of Internal/External Point of Delivery No.

Data type: EUITRANS
Optional: Yes
Call by Reference: Yes

IN_EUITRANS_OLD - Transformation of Internal/External Point of Delivery No.

Data type: EUITRANS
Optional: Yes
Call by Reference: Yes

IN_RANGE - Dynamic Selection Parameters

Data type: CRMSELSTR
Optional: Yes
Call by Reference: Yes

T_KEY_INFO - BAPI Structure: Key Information

Data type: BAPICRMKEY
Optional: Yes
Call by Reference: Yes

T_MESSAGES - BAPI Structure: Messages per Data Record

Data type: BAPICRMMSG
Optional: Yes
Call by Reference: Yes

T_OTHER_INFO - Container for 'Customer Exit' Parameter

Data type: BAPIEXTC
Optional: Yes
Call by Reference: Yes

OUT_BAPI_EUI - CRM: Master Data for Point of Delivery

Data type: BAPI_EUI_LOCAL
Optional: No
Call by Reference: Yes

IN_EUIHEADT - PoD Header Data (Text)

Data type: EUIHEADT
Optional: Yes
Call by Reference: Yes

OUT_BAPI_EUI_OLD - CRM: Master Data for Point of Delivery

Data type: BAPI_EUI_LOCAL
Optional: Yes
Call by Reference: Yes

OUT_BAPI_EUITXT - CRM: Short Texts for Point of Delivery

Data type: BAPI_EUITXT_LOCAL
Optional: No
Call by Reference: Yes

OUT_BAPI_EUITXT_OLD - CRM: Short Texts for Point of Delivery

Data type: BAPI_EUITXT_LOCAL
Optional: Yes
Call by Reference: Yes

OUT_BAPI_EUIADR - CRM: Address for Point of Delivery

Data type: BAPI_EUIADR_LOCAL
Optional: No
Call by Reference: Yes

OUT_BAPI_EUIADR_OLD - CRM: Address for Point of Delivery

Data type: BAPI_EUIADR_LOCAL
Optional: Yes
Call by Reference: Yes

OUT_BAPI_EUICATTXT - CRM: Premise Type Texts

Data type: BAPI_EUICATTXT_LOCAL
Optional: No
Call by Reference: Yes

OUT_BAPI_EUICATTXT_OLD - CRM: Premise Type Texts

Data type: BAPI_EUICATTXT_LOCAL
Optional: Yes
Call by Reference: Yes

OUT_BAPI_EUISERVICE - CRM: Services for Point of Delivery

Data type: BAPI_EUISERVICE_LOCAL
Optional: No
Call by Reference: Yes

OUT_BAPI_EUISERVICE_OLD - CRM: Services for Point of Delivery

Data type: BAPI_EUISERVICE_LOCAL
Optional: Yes
Call by Reference: Yes

OUT_BAPI_EUISERVTXT - CRM: Service Texts

Data type: BAPI_EUISERVTXT_LOCAL
Optional: No
Call by Reference: Yes

IN_EUIHEADT_OLD - PoD Header Data (Text)

Data type: EUIHEADT
Optional: Yes
Call by Reference: Yes

OUT_BAPI_EUISERVTXT_OLD - CRM: Service Texts

Data type: BAPI_EUISERVTXT_LOCAL
Optional: Yes
Call by Reference: Yes

OUT_BAPI_EUITRANS - CRM: Transformation of Int./Ext. Point of Delivery Number

Data type: BAPI_EUITRANS_LOCAL
Optional: No
Call by Reference: Yes

OUT_BAPI_EUITRANS_OLD - CRM: Transformation of Int./Ext. Point of Delivery Number

Data type: BAPI_EUITRANS_LOCAL
Optional: Yes
Call by Reference: Yes

IN_EUITYPE - Type of Point of Delivery

Data type: EUITYPE
Optional: Yes
Call by Reference: Yes

IN_EUITYPE_OLD - Type of Point of Delivery

Data type: EUITYPE
Optional: Yes
Call by Reference: Yes

IN_EUIINSTLN - Allocation of Installation to PoD

Data type: EUIINSTLN
Optional: Yes
Call by Reference: Yes

IN_EUIINSTLN_OLD - Allocation of Installation to PoD

Data type: EUIINSTLN
Optional: Yes
Call by Reference: Yes

IN_EANL - Installation

Data type: EANL
Optional: Yes
Call by Reference: Yes

Copy and paste ABAP code example for ECRM_POD_ISU_MAPBAPI_VIACON 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_in_euihead  TYPE STANDARD TABLE OF EUIHEAD, "   
lv_i_operation  TYPE CRM_PARA-MSGFNOPER, "   
lt_in_eanl_old  TYPE STANDARD TABLE OF EANL, "   
lt_in_evbs  TYPE STANDARD TABLE OF EVBS, "   
lt_in_evbs_old  TYPE STANDARD TABLE OF EVBS, "   
lt_in_te102t  TYPE STANDARD TABLE OF TE102T, "   
lt_in_te102t_old  TYPE STANDARD TABLE OF TE102T, "   
lt_in_ehauisu  TYPE STANDARD TABLE OF EHAUISU, "   
lt_in_ehauisu_old  TYPE STANDARD TABLE OF EHAUISU, "   
lt_in_eservice  TYPE STANDARD TABLE OF ESERVICE, "   
lt_in_eservice_old  TYPE STANDARD TABLE OF ESERVICE, "   
lt_in_tecdet  TYPE STANDARD TABLE OF TECDET, "   
lv_im_dwnloadtyp  TYPE BAPICRMDH1-EXT_OR_REQ, "   
lt_in_euihead_old  TYPE STANDARD TABLE OF EUIHEAD, "   
lt_in_tecdet_old  TYPE STANDARD TABLE OF TECDET, "   
lt_in_eservprovp  TYPE STANDARD TABLE OF ESERVPROVP, "   
lt_in_eservprovp_old  TYPE STANDARD TABLE OF ESERVPROVP, "   
lt_in_euitrans  TYPE STANDARD TABLE OF EUITRANS, "   
lt_in_euitrans_old  TYPE STANDARD TABLE OF EUITRANS, "   
lt_in_range  TYPE STANDARD TABLE OF CRMSELSTR, "   
lt_t_key_info  TYPE STANDARD TABLE OF BAPICRMKEY, "   
lt_t_messages  TYPE STANDARD TABLE OF BAPICRMMSG, "   
lt_t_other_info  TYPE STANDARD TABLE OF BAPIEXTC, "   
lt_out_bapi_eui  TYPE STANDARD TABLE OF BAPI_EUI_LOCAL, "   
lt_in_euiheadt  TYPE STANDARD TABLE OF EUIHEADT, "   
lt_out_bapi_eui_old  TYPE STANDARD TABLE OF BAPI_EUI_LOCAL, "   
lt_out_bapi_euitxt  TYPE STANDARD TABLE OF BAPI_EUITXT_LOCAL, "   
lt_out_bapi_euitxt_old  TYPE STANDARD TABLE OF BAPI_EUITXT_LOCAL, "   
lt_out_bapi_euiadr  TYPE STANDARD TABLE OF BAPI_EUIADR_LOCAL, "   
lt_out_bapi_euiadr_old  TYPE STANDARD TABLE OF BAPI_EUIADR_LOCAL, "   
lt_out_bapi_euicattxt  TYPE STANDARD TABLE OF BAPI_EUICATTXT_LOCAL, "   
lt_out_bapi_euicattxt_old  TYPE STANDARD TABLE OF BAPI_EUICATTXT_LOCAL, "   
lt_out_bapi_euiservice  TYPE STANDARD TABLE OF BAPI_EUISERVICE_LOCAL, "   
lt_out_bapi_euiservice_old  TYPE STANDARD TABLE OF BAPI_EUISERVICE_LOCAL, "   
lt_out_bapi_euiservtxt  TYPE STANDARD TABLE OF BAPI_EUISERVTXT_LOCAL, "   
lt_in_euiheadt_old  TYPE STANDARD TABLE OF EUIHEADT, "   
lt_out_bapi_euiservtxt_old  TYPE STANDARD TABLE OF BAPI_EUISERVTXT_LOCAL, "   
lt_out_bapi_euitrans  TYPE STANDARD TABLE OF BAPI_EUITRANS_LOCAL, "   
lt_out_bapi_euitrans_old  TYPE STANDARD TABLE OF BAPI_EUITRANS_LOCAL, "   
lt_in_euitype  TYPE STANDARD TABLE OF EUITYPE, "   
lt_in_euitype_old  TYPE STANDARD TABLE OF EUITYPE, "   
lt_in_euiinstln  TYPE STANDARD TABLE OF EUIINSTLN, "   
lt_in_euiinstln_old  TYPE STANDARD TABLE OF EUIINSTLN, "   
lt_in_eanl  TYPE STANDARD TABLE OF EANL. "   

  CALL FUNCTION 'ECRM_POD_ISU_MAPBAPI_VIACON'  "Mapping POD Structures in BAPI Structures
    EXPORTING
         I_OPERATION = lv_i_operation
         IM_DWNLOADTYP = lv_im_dwnloadtyp
    TABLES
         IN_EUIHEAD = lt_in_euihead
         IN_EANL_OLD = lt_in_eanl_old
         IN_EVBS = lt_in_evbs
         IN_EVBS_OLD = lt_in_evbs_old
         IN_TE102T = lt_in_te102t
         IN_TE102T_OLD = lt_in_te102t_old
         IN_EHAUISU = lt_in_ehauisu
         IN_EHAUISU_OLD = lt_in_ehauisu_old
         IN_ESERVICE = lt_in_eservice
         IN_ESERVICE_OLD = lt_in_eservice_old
         IN_TECDET = lt_in_tecdet
         IN_EUIHEAD_OLD = lt_in_euihead_old
         IN_TECDET_OLD = lt_in_tecdet_old
         IN_ESERVPROVP = lt_in_eservprovp
         IN_ESERVPROVP_OLD = lt_in_eservprovp_old
         IN_EUITRANS = lt_in_euitrans
         IN_EUITRANS_OLD = lt_in_euitrans_old
         IN_RANGE = lt_in_range
         T_KEY_INFO = lt_t_key_info
         T_MESSAGES = lt_t_messages
         T_OTHER_INFO = lt_t_other_info
         OUT_BAPI_EUI = lt_out_bapi_eui
         IN_EUIHEADT = lt_in_euiheadt
         OUT_BAPI_EUI_OLD = lt_out_bapi_eui_old
         OUT_BAPI_EUITXT = lt_out_bapi_euitxt
         OUT_BAPI_EUITXT_OLD = lt_out_bapi_euitxt_old
         OUT_BAPI_EUIADR = lt_out_bapi_euiadr
         OUT_BAPI_EUIADR_OLD = lt_out_bapi_euiadr_old
         OUT_BAPI_EUICATTXT = lt_out_bapi_euicattxt
         OUT_BAPI_EUICATTXT_OLD = lt_out_bapi_euicattxt_old
         OUT_BAPI_EUISERVICE = lt_out_bapi_euiservice
         OUT_BAPI_EUISERVICE_OLD = lt_out_bapi_euiservice_old
         OUT_BAPI_EUISERVTXT = lt_out_bapi_euiservtxt
         IN_EUIHEADT_OLD = lt_in_euiheadt_old
         OUT_BAPI_EUISERVTXT_OLD = lt_out_bapi_euiservtxt_old
         OUT_BAPI_EUITRANS = lt_out_bapi_euitrans
         OUT_BAPI_EUITRANS_OLD = lt_out_bapi_euitrans_old
         IN_EUITYPE = lt_in_euitype
         IN_EUITYPE_OLD = lt_in_euitype_old
         IN_EUIINSTLN = lt_in_euiinstln
         IN_EUIINSTLN_OLD = lt_in_euiinstln_old
         IN_EANL = lt_in_eanl
. " ECRM_POD_ISU_MAPBAPI_VIACON




ABAP code using 7.40 inline data declarations to call FM ECRM_POD_ISU_MAPBAPI_VIACON

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.

 
"SELECT single MSGFNOPER FROM CRM_PARA INTO @DATA(ld_i_operation).
 
 
 
 
 
 
 
 
 
 
 
"SELECT single EXT_OR_REQ FROM BAPICRMDH1 INTO @DATA(ld_im_dwnloadtyp).
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!