SAP ISH_READ_COLUMN Function Module for









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

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



Function ISH_READ_COLUMN 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_READ_COLUMN'"
EXPORTING
DATUM = "Key date at which column should be read
EINRI = "Institution
TARIF = "Service Catalog
TARLS = "Service
TASPA = "Column which should be read

IMPORTING
TWERT = "Determined column value (character, formatted)

EXCEPTIONS
FIELD_TYPE_ERROR = 1 NO_TASPA_FOUND = 2 NTSI_DEFINITION_MISSING = 3
.



IMPORTING Parameters details for ISH_READ_COLUMN

DATUM - Key date at which column should be read

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

EINRI - Institution

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

TARIF - Service Catalog

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

TARLS - Service

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

TASPA - Column which should be read

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

EXPORTING Parameters details for ISH_READ_COLUMN

TWERT - Determined column value (character, formatted)

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

EXCEPTIONS details

FIELD_TYPE_ERROR - Error when formatting column value field

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

NO_TASPA_FOUND - No column value found

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

NTSI_DEFINITION_MISSING - Missing charge master field definition

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

Copy and paste ABAP code example for ISH_READ_COLUMN 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_datum  TYPE NTSP-ENDDT, "   
lv_twert  TYPE NTSP-TWERT, "   
lv_field_type_error  TYPE NTSP, "   
lv_einri  TYPE NTSP-EINRI, "   
lv_no_taspa_found  TYPE NTSP, "   
lv_tarif  TYPE NTSP-TARIF, "   
lv_ntsi_definition_missing  TYPE NTSP, "   
lv_tarls  TYPE NTSP-TALST, "   
lv_taspa  TYPE NTSP-TASPA. "   

  CALL FUNCTION 'ISH_READ_COLUMN'  "
    EXPORTING
         DATUM = lv_datum
         EINRI = lv_einri
         TARIF = lv_tarif
         TARLS = lv_tarls
         TASPA = lv_taspa
    IMPORTING
         TWERT = lv_twert
    EXCEPTIONS
        FIELD_TYPE_ERROR = 1
        NO_TASPA_FOUND = 2
        NTSI_DEFINITION_MISSING = 3
. " ISH_READ_COLUMN




ABAP code using 7.40 inline data declarations to call FM ISH_READ_COLUMN

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 ENDDT FROM NTSP INTO @DATA(ld_datum).
 
"SELECT single TWERT FROM NTSP INTO @DATA(ld_twert).
 
 
"SELECT single EINRI FROM NTSP INTO @DATA(ld_einri).
 
 
"SELECT single TARIF FROM NTSP INTO @DATA(ld_tarif).
 
 
"SELECT single TALST FROM NTSP INTO @DATA(ld_tarls).
 
"SELECT single TASPA FROM NTSP INTO @DATA(ld_taspa).
 


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!