SAP ISM_UPDATE_DATA_PROVIDE Function Module for ISM-PMD: Transfer Relevant Data to IS-M Checks
ISM_UPDATE_DATA_PROVIDE is a standard ism update data provide SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for ISM-PMD: Transfer Relevant Data to IS-M Checks 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 update data provide FM, simply by entering the name ISM_UPDATE_DATA_PROVIDE into the relevant SAP transaction such as SE37 or SE38.
Function Group: JPISM
Program Name: SAPLJPISM
Main Program: SAPLJPISM
Appliation area: J
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function ISM_UPDATE_DATA_PROVIDE 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_UPDATE_DATA_PROVIDE'"ISM-PMD: Transfer Relevant Data to IS-M Checks.
EXPORTING
PS_I_MARA = "General material data
PS_I_MARC = "Plant Data for Material
PS_I_MVKE = "Sales Data for Material
PS_I_T130M = "Transaction control parameters: material master maintenance
PS_I_RMMG1 = "Mat. Master Maintenance: Initial Parameters - Orig. Material
PV_I_ACTIVSTATUS = "Maintenance Status
PV_I_HERKUNFT = "Origin indicator for table
* PV_I_CALL_MODE = "Call type for material maintenance in the background
* PV_I_CALL_MODE2 = "3-Byte Field
IMPORTING
PS_E_MARA = "General material data
CHANGING
* PV_C_FLG_FIELD_EMPTY = "
TABLES
* PT_E_AMERRDAT = "DI: Structure for Returning Error Messages
* PT_I_AMERRDAT = "DI: Structure for Returning Error Messages
* PT_I_T130F = "Field Attributes
* PT_I_FAUSWTAB_UEB = "Field Selection Data for Material Master
* PT_E_FAUSWTAB_UEB = "Field Selection Data for Material Master
* PT_I_KTEXT = "Structure of int. table KTEXT (created for update program)
EXCEPTIONS
FIELD_S_WRONG_VALUE = 1
IMPORTING Parameters details for ISM_UPDATE_DATA_PROVIDE
PS_I_MARA - General material data
Data type: MARAOptional: No
Call by Reference: No ( called with pass by value option)
PS_I_MARC - Plant Data for Material
Data type: MARCOptional: No
Call by Reference: No ( called with pass by value option)
PS_I_MVKE - Sales Data for Material
Data type: MVKEOptional: No
Call by Reference: No ( called with pass by value option)
PS_I_T130M - Transaction control parameters: material master maintenance
Data type: T130MOptional: No
Call by Reference: No ( called with pass by value option)
PS_I_RMMG1 - Mat. Master Maintenance: Initial Parameters - Orig. Material
Data type: RMMG1Optional: No
Call by Reference: No ( called with pass by value option)
PV_I_ACTIVSTATUS - Maintenance Status
Data type: MARA-PSTATOptional: No
Call by Reference: No ( called with pass by value option)
PV_I_HERKUNFT - Origin indicator for table
Data type: T130R-TBHEROptional: No
Call by Reference: No ( called with pass by value option)
PV_I_CALL_MODE - Call type for material maintenance in the background
Data type: MMDCMODE-CALL_MODEOptional: Yes
Call by Reference: No ( called with pass by value option)
PV_I_CALL_MODE2 - 3-Byte Field
Data type: RMMG2-CALL_MODE2Optional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for ISM_UPDATE_DATA_PROVIDE
PS_E_MARA - General material data
Data type: MARAOptional: No
Call by Reference: No ( called with pass by value option)
CHANGING Parameters details for ISM_UPDATE_DATA_PROVIDE
PV_C_FLG_FIELD_EMPTY -
Data type:Optional: Yes
Call by Reference: Yes
TABLES Parameters details for ISM_UPDATE_DATA_PROVIDE
PT_E_AMERRDAT - DI: Structure for Returning Error Messages
Data type: MERRDATOptional: Yes
Call by Reference: Yes
PT_I_AMERRDAT - DI: Structure for Returning Error Messages
Data type: MERRDATOptional: Yes
Call by Reference: Yes
PT_I_T130F - Field Attributes
Data type: T130FOptional: Yes
Call by Reference: Yes
PT_I_FAUSWTAB_UEB - Field Selection Data for Material Master
Data type: SFAUSWTABOptional: Yes
Call by Reference: Yes
PT_E_FAUSWTAB_UEB - Field Selection Data for Material Master
Data type: SFAUSWTABOptional: Yes
Call by Reference: Yes
PT_I_KTEXT - Structure of int. table KTEXT (created for update program)
Data type: SKTEXTOptional: Yes
Call by Reference: Yes
EXCEPTIONS details
FIELD_S_WRONG_VALUE -
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for ISM_UPDATE_DATA_PROVIDE 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_ps_e_mara | TYPE MARA, " | |||
| lv_ps_i_mara | TYPE MARA, " | |||
| lt_pt_e_amerrdat | TYPE STANDARD TABLE OF MERRDAT, " | |||
| lv_field_s_wrong_value | TYPE MERRDAT, " | |||
| lv_pv_c_flg_field_empty | TYPE MERRDAT, " | |||
| lv_ps_i_marc | TYPE MARC, " | |||
| lt_pt_i_amerrdat | TYPE STANDARD TABLE OF MERRDAT, " | |||
| lv_ps_i_mvke | TYPE MVKE, " | |||
| lt_pt_i_t130f | TYPE STANDARD TABLE OF T130F, " | |||
| lv_ps_i_t130m | TYPE T130M, " | |||
| lt_pt_i_fauswtab_ueb | TYPE STANDARD TABLE OF SFAUSWTAB, " | |||
| lv_ps_i_rmmg1 | TYPE RMMG1, " | |||
| lt_pt_e_fauswtab_ueb | TYPE STANDARD TABLE OF SFAUSWTAB, " | |||
| lt_pt_i_ktext | TYPE STANDARD TABLE OF SKTEXT, " | |||
| lv_pv_i_activstatus | TYPE MARA-PSTAT, " | |||
| lv_pv_i_herkunft | TYPE T130R-TBHER, " | |||
| lv_pv_i_call_mode | TYPE MMDCMODE-CALL_MODE, " | |||
| lv_pv_i_call_mode2 | TYPE RMMG2-CALL_MODE2. " |
|   CALL FUNCTION 'ISM_UPDATE_DATA_PROVIDE' "ISM-PMD: Transfer Relevant Data to IS-M Checks |
| EXPORTING | ||
| PS_I_MARA | = lv_ps_i_mara | |
| PS_I_MARC | = lv_ps_i_marc | |
| PS_I_MVKE | = lv_ps_i_mvke | |
| PS_I_T130M | = lv_ps_i_t130m | |
| PS_I_RMMG1 | = lv_ps_i_rmmg1 | |
| PV_I_ACTIVSTATUS | = lv_pv_i_activstatus | |
| PV_I_HERKUNFT | = lv_pv_i_herkunft | |
| PV_I_CALL_MODE | = lv_pv_i_call_mode | |
| PV_I_CALL_MODE2 | = lv_pv_i_call_mode2 | |
| IMPORTING | ||
| PS_E_MARA | = lv_ps_e_mara | |
| CHANGING | ||
| PV_C_FLG_FIELD_EMPTY | = lv_pv_c_flg_field_empty | |
| TABLES | ||
| PT_E_AMERRDAT | = lt_pt_e_amerrdat | |
| PT_I_AMERRDAT | = lt_pt_i_amerrdat | |
| PT_I_T130F | = lt_pt_i_t130f | |
| PT_I_FAUSWTAB_UEB | = lt_pt_i_fauswtab_ueb | |
| PT_E_FAUSWTAB_UEB | = lt_pt_e_fauswtab_ueb | |
| PT_I_KTEXT | = lt_pt_i_ktext | |
| EXCEPTIONS | ||
| FIELD_S_WRONG_VALUE = 1 | ||
| . " ISM_UPDATE_DATA_PROVIDE | ||
ABAP code using 7.40 inline data declarations to call FM ISM_UPDATE_DATA_PROVIDE
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 PSTAT FROM MARA INTO @DATA(ld_pv_i_activstatus). | ||||
| "SELECT single TBHER FROM T130R INTO @DATA(ld_pv_i_herkunft). | ||||
| "SELECT single CALL_MODE FROM MMDCMODE INTO @DATA(ld_pv_i_call_mode). | ||||
| "SELECT single CALL_MODE2 FROM RMMG2 INTO @DATA(ld_pv_i_call_mode2). | ||||
Search for further information about these or an SAP related objects