SAP KLSI01_SI_OBJECT_READ Function Module for Credit Limit: Read Collateral (Complete)









KLSI01_SI_OBJECT_READ is a standard klsi01 si object read SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Credit Limit: Read Collateral (Complete) 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 klsi01 si object read FM, simply by entering the name KLSI01_SI_OBJECT_READ into the relevant SAP transaction such as SE37 or SE38.

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



Function KLSI01_SI_OBJECT_READ 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 'KLSI01_SI_OBJECT_READ'"Credit Limit: Read Collateral (Complete)
EXPORTING
* I_PROTOCOL_LEVEL = 1 "
I_XAKT = "
* I_DATUM = SY-DATUM "
* I_SID_TAB = "
* I_SIDEXT_TAB = "
* I_OBJNR_TAB = "
* I_MERKMALE = "
* I_NID = "
* I_SICHTYP = "
* I_POSERGTYP = '02' "

IMPORTING
E_SI_TAB = "

TABLES
* ERROR_ITAB = "

EXCEPTIONS
ERROR_GLS_READ = 1
.



IMPORTING Parameters details for KLSI01_SI_OBJECT_READ

I_PROTOCOL_LEVEL -

Data type: BAPIERR-LEVEL
Default: 1
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_XAKT -

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

I_DATUM -

Data type: SY-DATUM
Default: SY-DATUM
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_SID_TAB -

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

I_SIDEXT_TAB -

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

I_OBJNR_TAB -

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

I_MERKMALE -

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

I_NID -

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

I_SICHTYP -

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

I_POSERGTYP -

Data type: JBRKNZ_KEYS-ERGTYP
Default: '02'
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for KLSI01_SI_OBJECT_READ

E_SI_TAB -

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

TABLES Parameters details for KLSI01_SI_OBJECT_READ

ERROR_ITAB -

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

EXCEPTIONS details

ERROR_GLS_READ -

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

Copy and paste ABAP code example for KLSI01_SI_OBJECT_READ 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_e_si_tab  TYPE KLSI_SI_TAB, "   
lt_error_itab  TYPE STANDARD TABLE OF BAPIERR, "   
lv_error_gls_read  TYPE BAPIERR, "   
lv_i_protocol_level  TYPE BAPIERR-LEVEL, "   1
lv_i_xakt  TYPE C, "   
lv_i_datum  TYPE SY-DATUM, "   SY-DATUM
lv_i_sid_tab  TYPE KLSI_SID_TAB, "   
lv_i_sidext_tab  TYPE KLSI_EXT_SI_TAB, "   
lv_i_objnr_tab  TYPE KL2_OBJNR_TAB, "   
lv_i_merkmale  TYPE VTBLM0A, "   
lv_i_nid  TYPE KLSI02-NID, "   
lv_i_sichtyp  TYPE KLSI01-SITYP, "   
lv_i_posergtyp  TYPE JBRKNZ_KEYS-ERGTYP. "   '02'

  CALL FUNCTION 'KLSI01_SI_OBJECT_READ'  "Credit Limit: Read Collateral (Complete)
    EXPORTING
         I_PROTOCOL_LEVEL = lv_i_protocol_level
         I_XAKT = lv_i_xakt
         I_DATUM = lv_i_datum
         I_SID_TAB = lv_i_sid_tab
         I_SIDEXT_TAB = lv_i_sidext_tab
         I_OBJNR_TAB = lv_i_objnr_tab
         I_MERKMALE = lv_i_merkmale
         I_NID = lv_i_nid
         I_SICHTYP = lv_i_sichtyp
         I_POSERGTYP = lv_i_posergtyp
    IMPORTING
         E_SI_TAB = lv_e_si_tab
    TABLES
         ERROR_ITAB = lt_error_itab
    EXCEPTIONS
        ERROR_GLS_READ = 1
. " KLSI01_SI_OBJECT_READ




ABAP code using 7.40 inline data declarations to call FM KLSI01_SI_OBJECT_READ

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 LEVEL FROM BAPIERR INTO @DATA(ld_i_protocol_level).
DATA(ld_i_protocol_level) = 1.
 
 
"SELECT single DATUM FROM SY INTO @DATA(ld_i_datum).
DATA(ld_i_datum) = SY-DATUM.
 
 
 
 
 
"SELECT single NID FROM KLSI02 INTO @DATA(ld_i_nid).
 
"SELECT single SITYP FROM KLSI01 INTO @DATA(ld_i_sichtyp).
 
"SELECT single ERGTYP FROM JBRKNZ_KEYS INTO @DATA(ld_i_posergtyp).
DATA(ld_i_posergtyp) = '02'.
 


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!