SAP ISH_N2_CALL_EXTEDIT Function Module for









ISH_N2_CALL_EXTEDIT is a standard ish n2 call extedit SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, 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 call extedit FM, simply by entering the name ISH_N2_CALL_EXTEDIT into the relevant SAP transaction such as SE37 or SE38.

Function Group: N2TEXTEDITOR
Program Name: SAPLN2TEXTEDITOR
Main Program: SAPLN2TEXTEDITOR
Appliation area: N
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function ISH_N2_CALL_EXTEDIT 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_CALL_EXTEDIT'"
EXPORTING
* P_TEXTTYPE = 'L' "Text Type
* DISPLAYMODE = 'N' "
* SS_TITLE = ' ' "
* SS_N2DT = "IS-H*MED: Table of Documentation Categories
* I_PUB_SERVICE = "PMD: Public APIs
* I_ALIAS = "

IMPORTING
RETURNCODE = "not used

CHANGING
* P_ETEXT = "Extended Text

TABLES
* TEXT = "
* SS_NDOC = "IS-H*MED: Table Type for NDOC

EXCEPTIONS
EDITERROR = 1
.



IMPORTING Parameters details for ISH_N2_CALL_EXTEDIT

P_TEXTTYPE - Text Type

Data type: C
Default: 'L'
Optional: Yes
Call by Reference: Yes

DISPLAYMODE -

Data type: ANY
Default: 'N'
Optional: Yes
Call by Reference: Yes

SS_TITLE -

Data type: ANY
Default: SPACE
Optional: Yes
Call by Reference: Yes

SS_N2DT - IS-H*MED: Table of Documentation Categories

Data type: N2DT
Optional: Yes
Call by Reference: Yes

I_PUB_SERVICE - PMD: Public APIs

Data type: CL_ISHMED_PMD_SERVICES
Optional: Yes
Call by Reference: Yes

I_ALIAS -

Data type: N2_ALIAS1
Optional: Yes
Call by Reference: Yes

EXPORTING Parameters details for ISH_N2_CALL_EXTEDIT

RETURNCODE - not used

Data type: ANY
Optional: No
Call by Reference: Yes

CHANGING Parameters details for ISH_N2_CALL_EXTEDIT

P_ETEXT - Extended Text

Data type: STRING
Optional: Yes
Call by Reference: Yes

TABLES Parameters details for ISH_N2_CALL_EXTEDIT

TEXT -

Data type: RN2TEXT
Optional: Yes
Call by Reference: Yes

SS_NDOC - IS-H*MED: Table Type for NDOC

Data type: ISHMED_NDOC
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXCEPTIONS details

EDITERROR - not used

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

Copy and paste ABAP code example for ISH_N2_CALL_EXTEDIT 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:
lt_text  TYPE STANDARD TABLE OF RN2TEXT, "   
lv_p_etext  TYPE STRING, "   
lv_editerror  TYPE STRING, "   
lv_p_texttype  TYPE C, "   'L'
lv_returncode  TYPE ANY, "   
lt_ss_ndoc  TYPE STANDARD TABLE OF ISHMED_NDOC, "   
lv_displaymode  TYPE ANY, "   'N'
lv_ss_title  TYPE ANY, "   SPACE
lv_ss_n2dt  TYPE N2DT, "   
lv_i_pub_service  TYPE CL_ISHMED_PMD_SERVICES, "   
lv_i_alias  TYPE N2_ALIAS1. "   

  CALL FUNCTION 'ISH_N2_CALL_EXTEDIT'  "
    EXPORTING
         P_TEXTTYPE = lv_p_texttype
         DISPLAYMODE = lv_displaymode
         SS_TITLE = lv_ss_title
         SS_N2DT = lv_ss_n2dt
         I_PUB_SERVICE = lv_i_pub_service
         I_ALIAS = lv_i_alias
    IMPORTING
         RETURNCODE = lv_returncode
    CHANGING
         P_ETEXT = lv_p_etext
    TABLES
         TEXT = lt_text
         SS_NDOC = lt_ss_ndoc
    EXCEPTIONS
        EDITERROR = 1
. " ISH_N2_CALL_EXTEDIT




ABAP code using 7.40 inline data declarations to call FM ISH_N2_CALL_EXTEDIT

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.

 
 
 
DATA(ld_p_texttype) = 'L'.
 
 
 
DATA(ld_displaymode) = 'N'.
 
DATA(ld_ss_title) = ' '.
 
 
 
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!