SAP ISM_ADDRSEC_CHECK Function Module for Check Secondary Address IDs
ISM_ADDRSEC_CHECK is a standard ism addrsec check 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 Secondary Address IDs 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 addrsec check FM, simply by entering the name ISM_ADDRSEC_CHECK into the relevant SAP transaction such as SE37 or SE38.
Function Group: JSS2
Program Name: SAPLJSS2
Main Program: SAPLJSS2
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function ISM_ADDRSEC_CHECK 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_ADDRSEC_CHECK'"Check Secondary Address IDs.
EXPORTING
IN_ADDRSECABBREV = "IS-M: Secondary Address Text
IN_ADDRSECNUMLOW = "IS-M: Secondary Address Number (Lower Limit)
IN_ADDRSECNUMHIGH = "IS-M: Secondary Address Number
IN_ADDRSECODDEVEN = "IS-M: Odd/Even Indicator for Secondary Address Number
IMPORTING
OUT_ADDRSECODDEVEN = "IS-M: Odd/Even Indicator for Secondary Address Number
EXCEPTIONS
ADDRSECABBREV_NOT_FOUND = 1 NOT_COMPLETE = 2 ODDEVEN_ERROR = 3 LOW_GT_HIGH = 4
IMPORTING Parameters details for ISM_ADDRSEC_CHECK
IN_ADDRSECABBREV - IS-M: Secondary Address Text
Data type: ADDRSECABBREVOptional: No
Call by Reference: No ( called with pass by value option)
IN_ADDRSECNUMLOW - IS-M: Secondary Address Number (Lower Limit)
Data type: ADDRSECNUMLOWOptional: No
Call by Reference: No ( called with pass by value option)
IN_ADDRSECNUMHIGH - IS-M: Secondary Address Number
Data type: ADDRSECNUMHIGHOptional: No
Call by Reference: No ( called with pass by value option)
IN_ADDRSECODDEVEN - IS-M: Odd/Even Indicator for Secondary Address Number
Data type: ADDRSECODDEVENOptional: No
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for ISM_ADDRSEC_CHECK
OUT_ADDRSECODDEVEN - IS-M: Odd/Even Indicator for Secondary Address Number
Data type: ADDRSECODDEVENOptional: No
Call by Reference: Yes
EXCEPTIONS details
ADDRSECABBREV_NOT_FOUND -
Data type:Optional: No
Call by Reference: Yes
NOT_COMPLETE - Input parameters incomplete
Data type:Optional: No
Call by Reference: Yes
ODDEVEN_ERROR -
Data type:Optional: No
Call by Reference: Yes
LOW_GT_HIGH -
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for ISM_ADDRSEC_CHECK 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_in_addrsecabbrev | TYPE ADDRSECABBREV, " | |||
| lv_out_addrsecoddeven | TYPE ADDRSECODDEVEN, " | |||
| lv_addrsecabbrev_not_found | TYPE ADDRSECODDEVEN, " | |||
| lv_not_complete | TYPE ADDRSECODDEVEN, " | |||
| lv_in_addrsecnumlow | TYPE ADDRSECNUMLOW, " | |||
| lv_oddeven_error | TYPE ADDRSECNUMLOW, " | |||
| lv_in_addrsecnumhigh | TYPE ADDRSECNUMHIGH, " | |||
| lv_low_gt_high | TYPE ADDRSECNUMHIGH, " | |||
| lv_in_addrsecoddeven | TYPE ADDRSECODDEVEN. " |
|   CALL FUNCTION 'ISM_ADDRSEC_CHECK' "Check Secondary Address IDs |
| EXPORTING | ||
| IN_ADDRSECABBREV | = lv_in_addrsecabbrev | |
| IN_ADDRSECNUMLOW | = lv_in_addrsecnumlow | |
| IN_ADDRSECNUMHIGH | = lv_in_addrsecnumhigh | |
| IN_ADDRSECODDEVEN | = lv_in_addrsecoddeven | |
| IMPORTING | ||
| OUT_ADDRSECODDEVEN | = lv_out_addrsecoddeven | |
| EXCEPTIONS | ||
| ADDRSECABBREV_NOT_FOUND = 1 | ||
| NOT_COMPLETE = 2 | ||
| ODDEVEN_ERROR = 3 | ||
| LOW_GT_HIGH = 4 | ||
| . " ISM_ADDRSEC_CHECK | ||
ABAP code using 7.40 inline data declarations to call FM ISM_ADDRSEC_CHECK
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