SAP KLSI01_FDU_SAVE_RFC Function Module for Credit Limit: Saves Collateral









KLSI01_FDU_SAVE_RFC is a standard klsi01 fdu save rfc 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: Saves Collateral 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 fdu save rfc FM, simply by entering the name KLSI01_FDU_SAVE_RFC into the relevant SAP transaction such as SE37 or SE38.

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



Function KLSI01_FDU_SAVE_RFC 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_FDU_SAVE_RFC'"Credit Limit: Saves Collateral
EXPORTING
* I_PROTOCOL_LEVEL = "Log Level
I_SICH_ID_EXTERN = "External Identifier for Collateral Provision
I_SICHGTYP = "Credit Limit: Control Structure for Reading Collateral
* I_MERKMALE = "Credit Limit: Global Collateral Characteristics
* I_CAKOPF = "Credit Limit: Header Structure of Collateral Agreements
* I_OBJKEY = "External Key Fields for Original Objects in Credit Limit

TABLES
* ERROR_ITAB = "Error Handling Structure
I_IT_POSITION = "Credit Limit: Item Structure for Collateral
.



IMPORTING Parameters details for KLSI01_FDU_SAVE_RFC

I_PROTOCOL_LEVEL - Log Level

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

I_SICH_ID_EXTERN - External Identifier for Collateral Provision

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

I_SICHGTYP - Credit Limit: Control Structure for Reading Collateral

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

I_MERKMALE - Credit Limit: Global Collateral Characteristics

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

I_CAKOPF - Credit Limit: Header Structure of Collateral Agreements

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

I_OBJKEY - External Key Fields for Original Objects in Credit Limit

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

TABLES Parameters details for KLSI01_FDU_SAVE_RFC

ERROR_ITAB - Error Handling Structure

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

I_IT_POSITION - Credit Limit: Item Structure for Collateral

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

Copy and paste ABAP code example for KLSI01_FDU_SAVE_RFC 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_error_itab  TYPE STANDARD TABLE OF BAPIERR, "   
lv_i_protocol_level  TYPE BAPIERR-LEVEL, "   
lt_i_it_position  TYPE STANDARD TABLE OF KLSIPOS, "   
lv_i_sich_id_extern  TYPE KLSI01-SIDEXT, "   
lv_i_sichgtyp  TYPE KLSITYP, "   
lv_i_merkmale  TYPE KLSIMERKM, "   
lv_i_cakopf  TYPE KLSICA, "   
lv_i_objkey  TYPE KLJCUR. "   

  CALL FUNCTION 'KLSI01_FDU_SAVE_RFC'  "Credit Limit: Saves Collateral
    EXPORTING
         I_PROTOCOL_LEVEL = lv_i_protocol_level
         I_SICH_ID_EXTERN = lv_i_sich_id_extern
         I_SICHGTYP = lv_i_sichgtyp
         I_MERKMALE = lv_i_merkmale
         I_CAKOPF = lv_i_cakopf
         I_OBJKEY = lv_i_objkey
    TABLES
         ERROR_ITAB = lt_error_itab
         I_IT_POSITION = lt_i_it_position
. " KLSI01_FDU_SAVE_RFC




ABAP code using 7.40 inline data declarations to call FM KLSI01_FDU_SAVE_RFC

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).
 
 
"SELECT single SIDEXT FROM KLSI01 INTO @DATA(ld_i_sich_id_extern).
 
 
 
 
 


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!