SAP ISM_CUSTOMER_BTE_1321 Function Module for IS-M: BTE 1321 - Export SD Customer Data to ABAP Memory
ISM_CUSTOMER_BTE_1321 is a standard ism customer bte 1321 SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for IS-M: BTE 1321 - Export SD Customer Data to ABAP Memory 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 ism customer bte 1321 FM, simply by entering the name ISM_CUSTOMER_BTE_1321 into the relevant SAP transaction such as SE37 or SE38.
Function Group: COM_BUPA_ISM_MWX_OUTBOUND
Program Name: SAPLCOM_BUPA_ISM_MWX_OUTBOUND
Main Program: SAPLCOM_BUPA_ISM_MWX_OUTBOUND
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function ISM_CUSTOMER_BTE_1321 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 'ISM_CUSTOMER_BTE_1321'"IS-M: BTE 1321 - Export SD Customer Data to ABAP Memory.
EXPORTING
* I_KNA1 = "Customer Master (General Part)
* UPD_KNB1 = "Change Type (U, I, E, D)
* UPD_KNB5 = "Change Type (U, I, E, D)
* UPD_KNBK = "Change Type (U, I, E, D)
* UPD_KNBW = "Change Type (U, I, E, D)
* UPD_KNEX = "Change Type (U, I, E, D)
* UPD_KNVA = "Change Type (U, I, E, D)
* UPD_KNVD = "Change Type (U, I, E, D)
* UPD_KNVI = "Change Type (U, I, E, D)
* UPD_KNVK = "Change Type (U, I, E, D)
* UPD_KNVL = "Change Type (U, I, E, D)
* I_KNA1_OLD = "Customer Master (General Part)
* UPD_KNVP = "Change Type (U, I, E, D)
* UPD_KNVS = "Change Type (U, I, E, D)
* UPD_KNVV = "Change Type (U, I, E, D)
* UPD_KNZA = "Change Type (U, I, E, D)
* I_KNB1 = "Customer Master (Company Code)
* I_KNB1_OLD = "Customer Master (Company Code)
* I_KNVV = "Customer Master Sales Data
* I_KNVV_OLD = "Customer Master Sales Data
* UPD_KNA1 = "Change Type (U, I, E, D)
* UPD_KNAS = "Change Type (U, I, E, D)
* UPD_KNAT = "Change Type (U, I, E, D)
TABLES
* T_XKNAS = "Change Document Structure: Generated by RSSCD000
* T_YKNBW = "Change Document Structure: Generated by RSSCD000
* T_XKNEX = "Change Document Structure: Generated by RSSCD000
* T_YKNEX = "Change Document Structure: Generated by RSSCD000
* T_XKNVA = "Change Document Structure: Generated by RSSCD000
* T_YKNVA = "Change Document Structure: Generated by RSSCD000
* T_XKNVD = "Change Document Structure: Generated by RSSCD000
* T_YKNVD = "Change Document Structure: Generated by RSSCD000
* T_XKNVI = "Change Document Structure: Generated by RSSCD000
* T_YKNVI = "Change Document Structure: Generated by RSSCD000
* T_XKNVK = "Change Document Structure: Generated by RSSCD000
* T_YKNAS = "Change Document Structure: Generated by RSSCD000
* T_YKNVK = "Change Document Structure: Generated by RSSCD000
* T_XKNVL = "Change Document Structure: Generated by RSSCD000
* T_YKNVL = "Change Document Structure: Generated by RSSCD000
* T_XKNVP = "Change Document Structure: Generated by RSSCD000
* T_YKNVP = "Change Document Structure: Generated by RSSCD000
* T_XKNVS = "Change Document Structure: Generated by RSSCD000
* T_YKNVS = "Change Document Structure: Generated by RSSCD000
* T_XKNAT = "Change Document Structure: Generated by RSSCD000
* T_YKNAT = "Change Document Structure: Generated by RSSCD000
* T_XKNB5 = "Change Document Structure: Generated by RSSCD000
* T_YKNB5 = "Change Document Structure: Generated by RSSCD000
* T_XKNBK = "Change Document Structure: Generated by RSSCD000
* T_YKNBK = "Change Document Structure: Generated by RSSCD000
* T_XKNBW = "Change Document Structure: Generated by RSSCD000
IMPORTING Parameters details for ISM_CUSTOMER_BTE_1321
I_KNA1 - Customer Master (General Part)
Data type: KNA1Optional: Yes
Call by Reference: Yes
UPD_KNB1 - Change Type (U, I, E, D)
Data type: CDCHNGINDOptional: Yes
Call by Reference: No ( called with pass by value option)
UPD_KNB5 - Change Type (U, I, E, D)
Data type: CDCHNGINDOptional: Yes
Call by Reference: No ( called with pass by value option)
UPD_KNBK - Change Type (U, I, E, D)
Data type: CDCHNGINDOptional: Yes
Call by Reference: No ( called with pass by value option)
UPD_KNBW - Change Type (U, I, E, D)
Data type: CDCHNGINDOptional: Yes
Call by Reference: No ( called with pass by value option)
UPD_KNEX - Change Type (U, I, E, D)
Data type: CDCHNGINDOptional: Yes
Call by Reference: No ( called with pass by value option)
UPD_KNVA - Change Type (U, I, E, D)
Data type: CDCHNGINDOptional: Yes
Call by Reference: No ( called with pass by value option)
UPD_KNVD - Change Type (U, I, E, D)
Data type: CDCHNGINDOptional: Yes
Call by Reference: No ( called with pass by value option)
UPD_KNVI - Change Type (U, I, E, D)
Data type: CDCHNGINDOptional: Yes
Call by Reference: No ( called with pass by value option)
UPD_KNVK - Change Type (U, I, E, D)
Data type: CDCHNGINDOptional: Yes
Call by Reference: No ( called with pass by value option)
UPD_KNVL - Change Type (U, I, E, D)
Data type: CDCHNGINDOptional: Yes
Call by Reference: No ( called with pass by value option)
I_KNA1_OLD - Customer Master (General Part)
Data type: KNA1Optional: Yes
Call by Reference: Yes
UPD_KNVP - Change Type (U, I, E, D)
Data type: CDCHNGINDOptional: Yes
Call by Reference: No ( called with pass by value option)
UPD_KNVS - Change Type (U, I, E, D)
Data type: CDCHNGINDOptional: Yes
Call by Reference: No ( called with pass by value option)
UPD_KNVV - Change Type (U, I, E, D)
Data type: CDCHNGINDOptional: Yes
Call by Reference: No ( called with pass by value option)
UPD_KNZA - Change Type (U, I, E, D)
Data type: CDCHNGINDOptional: Yes
Call by Reference: No ( called with pass by value option)
I_KNB1 - Customer Master (Company Code)
Data type: KNB1Optional: Yes
Call by Reference: Yes
I_KNB1_OLD - Customer Master (Company Code)
Data type: KNB1Optional: Yes
Call by Reference: Yes
I_KNVV - Customer Master Sales Data
Data type: KNVVOptional: Yes
Call by Reference: Yes
I_KNVV_OLD - Customer Master Sales Data
Data type: KNVVOptional: Yes
Call by Reference: Yes
UPD_KNA1 - Change Type (U, I, E, D)
Data type: CDCHNGINDOptional: Yes
Call by Reference: No ( called with pass by value option)
UPD_KNAS - Change Type (U, I, E, D)
Data type: CDCHNGINDOptional: Yes
Call by Reference: No ( called with pass by value option)
UPD_KNAT - Change Type (U, I, E, D)
Data type: CDCHNGINDOptional: Yes
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for ISM_CUSTOMER_BTE_1321
T_XKNAS - Change Document Structure: Generated by RSSCD000
Data type: FKNASOptional: Yes
Call by Reference: Yes
T_YKNBW - Change Document Structure: Generated by RSSCD000
Data type: FKNBWOptional: Yes
Call by Reference: Yes
T_XKNEX - Change Document Structure: Generated by RSSCD000
Data type: FKNEXOptional: Yes
Call by Reference: Yes
T_YKNEX - Change Document Structure: Generated by RSSCD000
Data type: FKNEXOptional: Yes
Call by Reference: Yes
T_XKNVA - Change Document Structure: Generated by RSSCD000
Data type: FKNVAOptional: Yes
Call by Reference: Yes
T_YKNVA - Change Document Structure: Generated by RSSCD000
Data type: FKNVAOptional: Yes
Call by Reference: Yes
T_XKNVD - Change Document Structure: Generated by RSSCD000
Data type: FKNVDOptional: Yes
Call by Reference: Yes
T_YKNVD - Change Document Structure: Generated by RSSCD000
Data type: FKNVDOptional: Yes
Call by Reference: Yes
T_XKNVI - Change Document Structure: Generated by RSSCD000
Data type: FKNVIOptional: Yes
Call by Reference: Yes
T_YKNVI - Change Document Structure: Generated by RSSCD000
Data type: FKNVIOptional: Yes
Call by Reference: Yes
T_XKNVK - Change Document Structure: Generated by RSSCD000
Data type: FKNVKOptional: Yes
Call by Reference: Yes
T_YKNAS - Change Document Structure: Generated by RSSCD000
Data type: FKNASOptional: Yes
Call by Reference: Yes
T_YKNVK - Change Document Structure: Generated by RSSCD000
Data type: FKNVKOptional: Yes
Call by Reference: Yes
T_XKNVL - Change Document Structure: Generated by RSSCD000
Data type: FKNVLOptional: Yes
Call by Reference: Yes
T_YKNVL - Change Document Structure: Generated by RSSCD000
Data type: FKNVLOptional: Yes
Call by Reference: Yes
T_XKNVP - Change Document Structure: Generated by RSSCD000
Data type: FKNVPOptional: Yes
Call by Reference: Yes
T_YKNVP - Change Document Structure: Generated by RSSCD000
Data type: FKNVPOptional: Yes
Call by Reference: Yes
T_XKNVS - Change Document Structure: Generated by RSSCD000
Data type: FKNVSOptional: Yes
Call by Reference: Yes
T_YKNVS - Change Document Structure: Generated by RSSCD000
Data type: FKNVSOptional: Yes
Call by Reference: Yes
T_XKNAT - Change Document Structure: Generated by RSSCD000
Data type: FKNATOptional: Yes
Call by Reference: Yes
T_YKNAT - Change Document Structure: Generated by RSSCD000
Data type: FKNATOptional: Yes
Call by Reference: Yes
T_XKNB5 - Change Document Structure: Generated by RSSCD000
Data type: FKNB5Optional: Yes
Call by Reference: Yes
T_YKNB5 - Change Document Structure: Generated by RSSCD000
Data type: FKNB5Optional: Yes
Call by Reference: Yes
T_XKNBK - Change Document Structure: Generated by RSSCD000
Data type: FKNBKOptional: Yes
Call by Reference: Yes
T_YKNBK - Change Document Structure: Generated by RSSCD000
Data type: FKNBKOptional: Yes
Call by Reference: Yes
T_XKNBW - Change Document Structure: Generated by RSSCD000
Data type: FKNBWOptional: Yes
Call by Reference: Yes
Copy and paste ABAP code example for ISM_CUSTOMER_BTE_1321 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_kna1 | TYPE KNA1, " | |||
| lt_t_xknas | TYPE STANDARD TABLE OF FKNAS, " | |||
| lt_t_yknbw | TYPE STANDARD TABLE OF FKNBW, " | |||
| lv_upd_knb1 | TYPE CDCHNGIND, " | |||
| lt_t_xknex | TYPE STANDARD TABLE OF FKNEX, " | |||
| lv_upd_knb5 | TYPE CDCHNGIND, " | |||
| lt_t_yknex | TYPE STANDARD TABLE OF FKNEX, " | |||
| lv_upd_knbk | TYPE CDCHNGIND, " | |||
| lt_t_xknva | TYPE STANDARD TABLE OF FKNVA, " | |||
| lv_upd_knbw | TYPE CDCHNGIND, " | |||
| lt_t_yknva | TYPE STANDARD TABLE OF FKNVA, " | |||
| lv_upd_knex | TYPE CDCHNGIND, " | |||
| lt_t_xknvd | TYPE STANDARD TABLE OF FKNVD, " | |||
| lv_upd_knva | TYPE CDCHNGIND, " | |||
| lt_t_yknvd | TYPE STANDARD TABLE OF FKNVD, " | |||
| lv_upd_knvd | TYPE CDCHNGIND, " | |||
| lt_t_xknvi | TYPE STANDARD TABLE OF FKNVI, " | |||
| lv_upd_knvi | TYPE CDCHNGIND, " | |||
| lt_t_yknvi | TYPE STANDARD TABLE OF FKNVI, " | |||
| lv_upd_knvk | TYPE CDCHNGIND, " | |||
| lt_t_xknvk | TYPE STANDARD TABLE OF FKNVK, " | |||
| lv_upd_knvl | TYPE CDCHNGIND, " | |||
| lt_t_yknas | TYPE STANDARD TABLE OF FKNAS, " | |||
| lv_i_kna1_old | TYPE KNA1, " | |||
| lt_t_yknvk | TYPE STANDARD TABLE OF FKNVK, " | |||
| lv_upd_knvp | TYPE CDCHNGIND, " | |||
| lt_t_xknvl | TYPE STANDARD TABLE OF FKNVL, " | |||
| lv_upd_knvs | TYPE CDCHNGIND, " | |||
| lt_t_yknvl | TYPE STANDARD TABLE OF FKNVL, " | |||
| lv_upd_knvv | TYPE CDCHNGIND, " | |||
| lt_t_xknvp | TYPE STANDARD TABLE OF FKNVP, " | |||
| lv_upd_knza | TYPE CDCHNGIND, " | |||
| lt_t_yknvp | TYPE STANDARD TABLE OF FKNVP, " | |||
| lt_t_xknvs | TYPE STANDARD TABLE OF FKNVS, " | |||
| lt_t_yknvs | TYPE STANDARD TABLE OF FKNVS, " | |||
| lv_i_knb1 | TYPE KNB1, " | |||
| lt_t_xknat | TYPE STANDARD TABLE OF FKNAT, " | |||
| lt_t_yknat | TYPE STANDARD TABLE OF FKNAT, " | |||
| lv_i_knb1_old | TYPE KNB1, " | |||
| lv_i_knvv | TYPE KNVV, " | |||
| lt_t_xknb5 | TYPE STANDARD TABLE OF FKNB5, " | |||
| lt_t_yknb5 | TYPE STANDARD TABLE OF FKNB5, " | |||
| lv_i_knvv_old | TYPE KNVV, " | |||
| lt_t_xknbk | TYPE STANDARD TABLE OF FKNBK, " | |||
| lv_upd_kna1 | TYPE CDCHNGIND, " | |||
| lt_t_yknbk | TYPE STANDARD TABLE OF FKNBK, " | |||
| lv_upd_knas | TYPE CDCHNGIND, " | |||
| lt_t_xknbw | TYPE STANDARD TABLE OF FKNBW, " | |||
| lv_upd_knat | TYPE CDCHNGIND. " |
|   CALL FUNCTION 'ISM_CUSTOMER_BTE_1321' "IS-M: BTE 1321 - Export SD Customer Data to ABAP Memory |
| EXPORTING | ||
| I_KNA1 | = lv_i_kna1 | |
| UPD_KNB1 | = lv_upd_knb1 | |
| UPD_KNB5 | = lv_upd_knb5 | |
| UPD_KNBK | = lv_upd_knbk | |
| UPD_KNBW | = lv_upd_knbw | |
| UPD_KNEX | = lv_upd_knex | |
| UPD_KNVA | = lv_upd_knva | |
| UPD_KNVD | = lv_upd_knvd | |
| UPD_KNVI | = lv_upd_knvi | |
| UPD_KNVK | = lv_upd_knvk | |
| UPD_KNVL | = lv_upd_knvl | |
| I_KNA1_OLD | = lv_i_kna1_old | |
| UPD_KNVP | = lv_upd_knvp | |
| UPD_KNVS | = lv_upd_knvs | |
| UPD_KNVV | = lv_upd_knvv | |
| UPD_KNZA | = lv_upd_knza | |
| I_KNB1 | = lv_i_knb1 | |
| I_KNB1_OLD | = lv_i_knb1_old | |
| I_KNVV | = lv_i_knvv | |
| I_KNVV_OLD | = lv_i_knvv_old | |
| UPD_KNA1 | = lv_upd_kna1 | |
| UPD_KNAS | = lv_upd_knas | |
| UPD_KNAT | = lv_upd_knat | |
| TABLES | ||
| T_XKNAS | = lt_t_xknas | |
| T_YKNBW | = lt_t_yknbw | |
| T_XKNEX | = lt_t_xknex | |
| T_YKNEX | = lt_t_yknex | |
| T_XKNVA | = lt_t_xknva | |
| T_YKNVA | = lt_t_yknva | |
| T_XKNVD | = lt_t_xknvd | |
| T_YKNVD | = lt_t_yknvd | |
| T_XKNVI | = lt_t_xknvi | |
| T_YKNVI | = lt_t_yknvi | |
| T_XKNVK | = lt_t_xknvk | |
| T_YKNAS | = lt_t_yknas | |
| T_YKNVK | = lt_t_yknvk | |
| T_XKNVL | = lt_t_xknvl | |
| T_YKNVL | = lt_t_yknvl | |
| T_XKNVP | = lt_t_xknvp | |
| T_YKNVP | = lt_t_yknvp | |
| T_XKNVS | = lt_t_xknvs | |
| T_YKNVS | = lt_t_yknvs | |
| T_XKNAT | = lt_t_xknat | |
| T_YKNAT | = lt_t_yknat | |
| T_XKNB5 | = lt_t_xknb5 | |
| T_YKNB5 | = lt_t_yknb5 | |
| T_XKNBK | = lt_t_xknbk | |
| T_YKNBK | = lt_t_yknbk | |
| T_XKNBW | = lt_t_xknbw | |
| . " ISM_CUSTOMER_BTE_1321 | ||
ABAP code using 7.40 inline data declarations to call FM ISM_CUSTOMER_BTE_1321
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