SAP ISM_SD_MSG_CHANGE Function Module for Change Quality Notification
ISM_SD_MSG_CHANGE is a standard ism sd msg change SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Change Quality Notification 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 sd msg change FM, simply by entering the name ISM_SD_MSG_CHANGE into the relevant SAP transaction such as SE37 or SE38.
Function Group: JKSDMESSAGEMAINTAIN
Program Name: SAPLJKSDMESSAGEMAINTAIN
Main Program: SAPLJKSDMESSAGEMAINTAIN
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function ISM_SD_MSG_CHANGE 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_SD_MSG_CHANGE'"Change Quality Notification.
EXPORTING
I_QMNUM = "Notification Number
* I_VTWEG = "Distribution Channel
* I_SPART = "Division
I_PARTNERS = "IS-M: Shipping Messages, Partners, Sort. Table
* I_CAUSETEXT = "Cause text
* I_CAUSE_CODEGRP = "Code Group - Causes
* I_CAUSE_CODE = "Reason Code
* I_MSGART = "IS-M: Shipping Message, Message Type
* I_REFKEY = "Object Key
* I_SHORTTXT = "IS-M: Long Text
* I_TEXT = "Table for Long Text
* I_DATE_FROM = "From Date
* I_DATE_TO = "To Date
* I_ISSUE = "Media Issue
* I_VKORG = "Sales Organization
IMPORTING
E_HEADER = "
E_RETURN = "IS-M: BAPIRET2 Table
IMPORTING Parameters details for ISM_SD_MSG_CHANGE
I_QMNUM - Notification Number
Data type: QMNUMOptional: No
Call by Reference: No ( called with pass by value option)
I_VTWEG - Distribution Channel
Data type: VTWEGOptional: Yes
Call by Reference: No ( called with pass by value option)
I_SPART - Division
Data type: SPARTOptional: Yes
Call by Reference: No ( called with pass by value option)
I_PARTNERS - IS-M: Shipping Messages, Partners, Sort. Table
Data type: JKSD_QMSG_PARTNER_STABOptional: No
Call by Reference: No ( called with pass by value option)
I_CAUSETEXT - Cause text
Data type: URSTXOptional: Yes
Call by Reference: No ( called with pass by value option)
I_CAUSE_CODEGRP - Code Group - Causes
Data type: URGRPOptional: Yes
Call by Reference: No ( called with pass by value option)
I_CAUSE_CODE - Reason Code
Data type: URCODOptional: Yes
Call by Reference: No ( called with pass by value option)
I_MSGART - IS-M: Shipping Message, Message Type
Data type: ISM_MSGARTOptional: Yes
Call by Reference: No ( called with pass by value option)
I_REFKEY - Object Key
Data type: SWO_TYPEIDOptional: Yes
Call by Reference: No ( called with pass by value option)
I_SHORTTXT - IS-M: Long Text
Data type: BEZEICHN40Optional: Yes
Call by Reference: No ( called with pass by value option)
I_TEXT - Table for Long Text
Data type: LDPS_TXT_TABOptional: Yes
Call by Reference: No ( called with pass by value option)
I_DATE_FROM - From Date
Data type: DATE_FROMOptional: Yes
Call by Reference: No ( called with pass by value option)
I_DATE_TO - To Date
Data type: DATE_TOOptional: Yes
Call by Reference: No ( called with pass by value option)
I_ISSUE - Media Issue
Data type: ISMMATNR_ISSUEOptional: Yes
Call by Reference: No ( called with pass by value option)
I_VKORG - Sales Organization
Data type: VKORGOptional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for ISM_SD_MSG_CHANGE
E_HEADER -
Data type: BAPI2078_NOTHDREOptional: No
Call by Reference: No ( called with pass by value option)
E_RETURN - IS-M: BAPIRET2 Table
Data type: BAPIRET2TABOptional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for ISM_SD_MSG_CHANGE 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_qmnum | TYPE QMNUM, " | |||
| lv_e_header | TYPE BAPI2078_NOTHDRE, " | |||
| lv_i_vtweg | TYPE VTWEG, " | |||
| lv_i_spart | TYPE SPART, " | |||
| lv_i_partners | TYPE JKSD_QMSG_PARTNER_STAB, " | |||
| lv_i_causetext | TYPE URSTX, " | |||
| lv_i_cause_codegrp | TYPE URGRP, " | |||
| lv_i_cause_code | TYPE URCOD, " | |||
| lv_e_return | TYPE BAPIRET2TAB, " | |||
| lv_i_msgart | TYPE ISM_MSGART, " | |||
| lv_i_refkey | TYPE SWO_TYPEID, " | |||
| lv_i_shorttxt | TYPE BEZEICHN40, " | |||
| lv_i_text | TYPE LDPS_TXT_TAB, " | |||
| lv_i_date_from | TYPE DATE_FROM, " | |||
| lv_i_date_to | TYPE DATE_TO, " | |||
| lv_i_issue | TYPE ISMMATNR_ISSUE, " | |||
| lv_i_vkorg | TYPE VKORG. " |
|   CALL FUNCTION 'ISM_SD_MSG_CHANGE' "Change Quality Notification |
| EXPORTING | ||
| I_QMNUM | = lv_i_qmnum | |
| I_VTWEG | = lv_i_vtweg | |
| I_SPART | = lv_i_spart | |
| I_PARTNERS | = lv_i_partners | |
| I_CAUSETEXT | = lv_i_causetext | |
| I_CAUSE_CODEGRP | = lv_i_cause_codegrp | |
| I_CAUSE_CODE | = lv_i_cause_code | |
| I_MSGART | = lv_i_msgart | |
| I_REFKEY | = lv_i_refkey | |
| I_SHORTTXT | = lv_i_shorttxt | |
| I_TEXT | = lv_i_text | |
| I_DATE_FROM | = lv_i_date_from | |
| I_DATE_TO | = lv_i_date_to | |
| I_ISSUE | = lv_i_issue | |
| I_VKORG | = lv_i_vkorg | |
| IMPORTING | ||
| E_HEADER | = lv_e_header | |
| E_RETURN | = lv_e_return | |
| . " ISM_SD_MSG_CHANGE | ||
ABAP code using 7.40 inline data declarations to call FM ISM_SD_MSG_CHANGE
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