SAP ISH_CHANGEDOC_DISPLAY_SIMPLE Function Module for









ISH_CHANGEDOC_DISPLAY_SIMPLE is a standard ish changedoc display simple 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 changedoc display simple FM, simply by entering the name ISH_CHANGEDOC_DISPLAY_SIMPLE into the relevant SAP transaction such as SE37 or SE38.

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



Function ISH_CHANGEDOC_DISPLAY_SIMPLE 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_CHANGEDOC_DISPLAY_SIMPLE'"
EXPORTING
* I_APPLICATIONID = 'SAPLN091' "ABAP Program Name
I_OBJECTCLAS = "Object Class
* I_OBJECTID = ' ' "Object Value
* I_TABLENAME = ' ' "Table Name
* I_FNAME = ' ' "Field Name
* I_USERNAME = ' ' "User Name of Person Responsible in Change Document

EXCEPTIONS
WRONG_CALL = 1 NO_CHANGE_DOCS_FOUND = 2 NO_AUTHORITY = 3
.



IMPORTING Parameters details for ISH_CHANGEDOC_DISPLAY_SIMPLE

I_APPLICATIONID - ABAP Program Name

Data type: REPID
Default: 'SAPLN091'
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_OBJECTCLAS - Object Class

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

I_OBJECTID - Object Value

Data type: CDHDR-OBJECTID
Default: SPACE
Optional: No
Call by Reference: No ( called with pass by value option)

I_TABLENAME - Table Name

Data type: CDPOS-TABNAME
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_FNAME - Field Name

Data type: CDPOS-FNAME
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_USERNAME - User Name of Person Responsible in Change Document

Data type: CDHDR-USERNAME
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXCEPTIONS details

WRONG_CALL - Function module not called correctly

Data type:
Optional: No
Call by Reference: Yes

NO_CHANGE_DOCS_FOUND - Change documents do not exist

Data type:
Optional: No
Call by Reference: Yes

NO_AUTHORITY -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for ISH_CHANGEDOC_DISPLAY_SIMPLE 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_wrong_call  TYPE STRING, "   
lv_i_applicationid  TYPE REPID, "   'SAPLN091'
lv_i_objectclas  TYPE CDHDR-OBJECTCLAS, "   
lv_no_change_docs_found  TYPE CDHDR, "   
lv_i_objectid  TYPE CDHDR-OBJECTID, "   SPACE
lv_no_authority  TYPE CDHDR, "   
lv_i_tablename  TYPE CDPOS-TABNAME, "   SPACE
lv_i_fname  TYPE CDPOS-FNAME, "   SPACE
lv_i_username  TYPE CDHDR-USERNAME. "   SPACE

  CALL FUNCTION 'ISH_CHANGEDOC_DISPLAY_SIMPLE'  "
    EXPORTING
         I_APPLICATIONID = lv_i_applicationid
         I_OBJECTCLAS = lv_i_objectclas
         I_OBJECTID = lv_i_objectid
         I_TABLENAME = lv_i_tablename
         I_FNAME = lv_i_fname
         I_USERNAME = lv_i_username
    EXCEPTIONS
        WRONG_CALL = 1
        NO_CHANGE_DOCS_FOUND = 2
        NO_AUTHORITY = 3
. " ISH_CHANGEDOC_DISPLAY_SIMPLE




ABAP code using 7.40 inline data declarations to call FM ISH_CHANGEDOC_DISPLAY_SIMPLE

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_i_applicationid) = 'SAPLN091'.
 
"SELECT single OBJECTCLAS FROM CDHDR INTO @DATA(ld_i_objectclas).
 
 
"SELECT single OBJECTID FROM CDHDR INTO @DATA(ld_i_objectid).
DATA(ld_i_objectid) = ' '.
 
 
"SELECT single TABNAME FROM CDPOS INTO @DATA(ld_i_tablename).
DATA(ld_i_tablename) = ' '.
 
"SELECT single FNAME FROM CDPOS INTO @DATA(ld_i_fname).
DATA(ld_i_fname) = ' '.
 
"SELECT single USERNAME FROM CDHDR INTO @DATA(ld_i_username).
DATA(ld_i_username) = ' '.
 


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!