SAP ISH_N2_FUNCTION_IMPORT_ALL Function Module for Obsolete
ISH_N2_FUNCTION_IMPORT_ALL is a standard ish n2 function import all SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Obsolete 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 ish n2 function import all FM, simply by entering the name ISH_N2_FUNCTION_IMPORT_ALL into the relevant SAP transaction such as SE37 or SE38.
Function Group: N2GN
Program Name: SAPLN2GN
Main Program: SAPLN2GN
Appliation area: N
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function ISH_N2_FUNCTION_IMPORT_ALL 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 'ISH_N2_FUNCTION_IMPORT_ALL'"Obsolete.
EXPORTING
FUNCNAME = "
IMPORTING
GLOBAL_FLAG = "
REMOTE_CALL = "
UPDATE_TASK = "
SHORT_TEXT = "
FUNCTION_INCLUDE = "
POOL = "
S_NAME' ' = "
S_STR_AREA = "
E_EXCEPTCLASS = "Exception Class
TABLES
DOKUMENTATION = "
EXCEPTION_LIST = "
EXPORT_PARAMETER = "
IMPORT_PARAMETER = "
CHANGING_PARAMETER = "
P_DOCU = "
SOURCECODE = "
TABLES_PARAMETER = "
IMPORTING Parameters details for ISH_N2_FUNCTION_IMPORT_ALL
FUNCNAME -
Data type: RS38L-NAMEOptional: No
Call by Reference: Yes
EXPORTING Parameters details for ISH_N2_FUNCTION_IMPORT_ALL
GLOBAL_FLAG -
Data type: RS38L-GLOBALOptional: No
Call by Reference: Yes
REMOTE_CALL -
Data type: RS38L-REMOTEOptional: No
Call by Reference: Yes
UPDATE_TASK -
Data type: RS38L-UTASKOptional: No
Call by Reference: Yes
SHORT_TEXT -
Data type: TFTIT-STEXTOptional: No
Call by Reference: Yes
FUNCTION_INCLUDE -
Data type: RS38L-INCLUDEOptional: No
Call by Reference: Yes
POOL -
Data type: RS38L-AREAOptional: No
Call by Reference: Yes
S_NAMESPACE -
Data type: RS38L-NAMESPACEOptional: No
Call by Reference: Yes
S_STR_AREA -
Data type: RS38L-STR_AREAOptional: No
Call by Reference: Yes
E_EXCEPTCLASS - Exception Class
Data type: ENLFDIR-EXTEN3Optional: No
Call by Reference: Yes
TABLES Parameters details for ISH_N2_FUNCTION_IMPORT_ALL
DOKUMENTATION -
Data type: FUNCTOptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTION_LIST -
Data type: RSEXCOptional: No
Call by Reference: No ( called with pass by value option)
EXPORT_PARAMETER -
Data type: RSEXPOptional: No
Call by Reference: No ( called with pass by value option)
IMPORT_PARAMETER -
Data type: RSIMPOptional: No
Call by Reference: No ( called with pass by value option)
CHANGING_PARAMETER -
Data type: RSCHAOptional: No
Call by Reference: No ( called with pass by value option)
P_DOCU -
Data type: RSFDOOptional: No
Call by Reference: No ( called with pass by value option)
SOURCECODE -
Data type: ABAPTEXTOptional: No
Call by Reference: No ( called with pass by value option)
TABLES_PARAMETER -
Data type: RSTBLOptional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for ISH_N2_FUNCTION_IMPORT_ALL 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_funcname | TYPE RS38L-NAME, " | |||
| lv_global_flag | TYPE RS38L-GLOBAL, " | |||
| lt_dokumentation | TYPE STANDARD TABLE OF FUNCT, " | |||
| lv_remote_call | TYPE RS38L-REMOTE, " | |||
| lt_exception_list | TYPE STANDARD TABLE OF RSEXC, " | |||
| lv_update_task | TYPE RS38L-UTASK, " | |||
| lt_export_parameter | TYPE STANDARD TABLE OF RSEXP, " | |||
| lv_short_text | TYPE TFTIT-STEXT, " | |||
| lt_import_parameter | TYPE STANDARD TABLE OF RSIMP, " | |||
| lv_function_include | TYPE RS38L-INCLUDE, " | |||
| lt_changing_parameter | TYPE STANDARD TABLE OF RSCHA, " | |||
| lv_pool | TYPE RS38L-AREA, " | |||
| lt_p_docu | TYPE STANDARD TABLE OF RSFDO, " | |||
| lt_sourcecode | TYPE STANDARD TABLE OF ABAPTEXT, " | |||
| lv_s_namespace | TYPE RS38L-NAMESPACE, " | |||
| lv_s_str_area | TYPE RS38L-STR_AREA, " | |||
| lt_tables_parameter | TYPE STANDARD TABLE OF RSTBL, " | |||
| lv_e_exceptclass | TYPE ENLFDIR-EXTEN3. " |
|   CALL FUNCTION 'ISH_N2_FUNCTION_IMPORT_ALL' "Obsolete |
| EXPORTING | ||
| FUNCNAME | = lv_funcname | |
| IMPORTING | ||
| GLOBAL_FLAG | = lv_global_flag | |
| REMOTE_CALL | = lv_remote_call | |
| UPDATE_TASK | = lv_update_task | |
| SHORT_TEXT | = lv_short_text | |
| FUNCTION_INCLUDE | = lv_function_include | |
| POOL | = lv_pool | |
| S_NAMESPACE | = lv_s_namespace | |
| S_STR_AREA | = lv_s_str_area | |
| E_EXCEPTCLASS | = lv_e_exceptclass | |
| TABLES | ||
| DOKUMENTATION | = lt_dokumentation | |
| EXCEPTION_LIST | = lt_exception_list | |
| EXPORT_PARAMETER | = lt_export_parameter | |
| IMPORT_PARAMETER | = lt_import_parameter | |
| CHANGING_PARAMETER | = lt_changing_parameter | |
| P_DOCU | = lt_p_docu | |
| SOURCECODE | = lt_sourcecode | |
| TABLES_PARAMETER | = lt_tables_parameter | |
| . " ISH_N2_FUNCTION_IMPORT_ALL | ||
ABAP code using 7.40 inline data declarations to call FM ISH_N2_FUNCTION_IMPORT_ALL
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 NAME FROM RS38L INTO @DATA(ld_funcname). | ||||
| "SELECT single GLOBAL FROM RS38L INTO @DATA(ld_global_flag). | ||||
| "SELECT single REMOTE FROM RS38L INTO @DATA(ld_remote_call). | ||||
| "SELECT single UTASK FROM RS38L INTO @DATA(ld_update_task). | ||||
| "SELECT single STEXT FROM TFTIT INTO @DATA(ld_short_text). | ||||
| "SELECT single INCLUDE FROM RS38L INTO @DATA(ld_function_include). | ||||
| "SELECT single AREA FROM RS38L INTO @DATA(ld_pool). | ||||
| "SELECT single NAMESPACE FROM RS38L INTO @DATA(ld_s_namespace). | ||||
| "SELECT single STR_AREA FROM RS38L INTO @DATA(ld_s_str_area). | ||||
| "SELECT single EXTEN3 FROM ENLFDIR INTO @DATA(ld_e_exceptclass). | ||||
Search for further information about these or an SAP related objects