SAP ISM_CHECK_ALL_ASSIGNED_IDCODES Function Module for Check All ID Codes for a Material
ISM_CHECK_ALL_ASSIGNED_IDCODES is a standard ism check all assigned idcodes SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Check All ID Codes for a Material 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 check all assigned idcodes FM, simply by entering the name ISM_CHECK_ALL_ASSIGNED_IDCODES into the relevant SAP transaction such as SE37 or SE38.
Function Group: JPMPD01
Program Name: SAPLJPMPD01
Main Program: SAPLJPMPD01
Appliation area: S
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function ISM_CHECK_ALL_ASSIGNED_IDCODES 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_CHECK_ALL_ASSIGNED_IDCODES'"Check All ID Codes for a Material.
EXPORTING
PVI_MATNR = "Material Number
PSI_MARA = "General material data
EXCEPTIONS
AREA_NOT_FOUND = 1 NOT_ALLOWED_MULT_USE = 2 WRONG_FORMAT = 3 MISSING_PARAMETER = 4 IDCODE_LOCKED = 5 TYPE_NOT_EXIST = 6
IMPORTING Parameters details for ISM_CHECK_ALL_ASSIGNED_IDCODES
PVI_MATNR - Material Number
Data type: MARA-MATNROptional: No
Call by Reference: No ( called with pass by value option)
PSI_MARA - General material data
Data type: MARAOptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
AREA_NOT_FOUND -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
NOT_ALLOWED_MULT_USE -
Data type:Optional: No
Call by Reference: Yes
WRONG_FORMAT -
Data type:Optional: No
Call by Reference: Yes
MISSING_PARAMETER -
Data type:Optional: No
Call by Reference: Yes
IDCODE_LOCKED -
Data type:Optional: No
Call by Reference: Yes
TYPE_NOT_EXIST - ID code type does not exist
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for ISM_CHECK_ALL_ASSIGNED_IDCODES 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_pvi_matnr | TYPE MARA-MATNR, " | |||
| lv_area_not_found | TYPE MARA, " | |||
| lv_psi_mara | TYPE MARA, " | |||
| lv_not_allowed_mult_use | TYPE MARA, " | |||
| lv_wrong_format | TYPE MARA, " | |||
| lv_missing_parameter | TYPE MARA, " | |||
| lv_idcode_locked | TYPE MARA, " | |||
| lv_type_not_exist | TYPE MARA. " |
|   CALL FUNCTION 'ISM_CHECK_ALL_ASSIGNED_IDCODES' "Check All ID Codes for a Material |
| EXPORTING | ||
| PVI_MATNR | = lv_pvi_matnr | |
| PSI_MARA | = lv_psi_mara | |
| EXCEPTIONS | ||
| AREA_NOT_FOUND = 1 | ||
| NOT_ALLOWED_MULT_USE = 2 | ||
| WRONG_FORMAT = 3 | ||
| MISSING_PARAMETER = 4 | ||
| IDCODE_LOCKED = 5 | ||
| TYPE_NOT_EXIST = 6 | ||
| . " ISM_CHECK_ALL_ASSIGNED_IDCODES | ||
ABAP code using 7.40 inline data declarations to call FM ISM_CHECK_ALL_ASSIGNED_IDCODES
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 MATNR FROM MARA INTO @DATA(ld_pvi_matnr). | ||||
Search for further information about these or an SAP related objects