SAP ISB_TR_LOAN_READ_CONTRACT Function Module for TR-EDT: Read Master Data and Conditions
ISB_TR_LOAN_READ_CONTRACT is a standard isb tr loan read contract SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for TR-EDT: Read Master Data and Conditions 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 isb tr loan read contract FM, simply by entering the name ISB_TR_LOAN_READ_CONTRACT into the relevant SAP transaction such as SE37 or SE38.
Function Group: TRUT002
Program Name: SAPLTRUT002
Main Program: SAPLTRUT002
Appliation area: F
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function ISB_TR_LOAN_READ_CONTRACT 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 'ISB_TR_LOAN_READ_CONTRACT'"TR-EDT: Read Master Data and Conditions.
TABLES
I_RANL = "
* E_VDBEPI = "
* E_VDORDER = "
* E_VZBAVF = "
* E_VZBAVV = "
* E_VDARLOBJ = "
* E_VDHOBJ = "
* E_VDARLSIC = "
* E_VDHGRPF = "
* E_THEAD = "
* E_TLINE = "
I_BUKRS = "
* E_VZSORT = "
* E_VDARLDVS = "
* E_VDAUSZ = "
* E_VZGPO = "Loan: Relationship Partner/Role Object
* E_VDBEPP = "
* E_ISSR_RPI_MFT = "ISSR: Feste und variable Daten Meldewesen
* E_VZZBEPP = "
* I_RKLAMMER = "
* ERROR_RANL = "
* E_RANL = "
* E_KOKO = "
* E_KOPO = "
* E_KOPA = "
* E_VDBEKI = "
EXCEPTIONS
ERROR_FOUND = 1
TABLES Parameters details for ISB_TR_LOAN_READ_CONTRACT
I_RANL -
Data type: TRUXS_RANGE_RANLOptional: No
Call by Reference: No ( called with pass by value option)
E_VDBEPI -
Data type: VDBEPIOptional: Yes
Call by Reference: No ( called with pass by value option)
E_VDORDER -
Data type: VDORDEROptional: Yes
Call by Reference: No ( called with pass by value option)
E_VZBAVF -
Data type: VZBAVFOptional: Yes
Call by Reference: No ( called with pass by value option)
E_VZBAVV -
Data type: VZBAVVOptional: Yes
Call by Reference: No ( called with pass by value option)
E_VDARLOBJ -
Data type: VDARLOBJOptional: Yes
Call by Reference: No ( called with pass by value option)
E_VDHOBJ -
Data type: VDHOBJOptional: Yes
Call by Reference: No ( called with pass by value option)
E_VDARLSIC -
Data type: VDARLSICOptional: Yes
Call by Reference: No ( called with pass by value option)
E_VDHGRPF -
Data type: VDHGRPFOptional: Yes
Call by Reference: No ( called with pass by value option)
E_THEAD -
Data type: THEADOptional: Yes
Call by Reference: No ( called with pass by value option)
E_TLINE -
Data type: TLINEOptional: Yes
Call by Reference: No ( called with pass by value option)
I_BUKRS -
Data type: TRUXS_RANGE_BUKRSOptional: No
Call by Reference: No ( called with pass by value option)
E_VZSORT -
Data type: VZSORTOptional: Yes
Call by Reference: No ( called with pass by value option)
E_VDARLDVS -
Data type: VDARLDVSOptional: Yes
Call by Reference: No ( called with pass by value option)
E_VDAUSZ -
Data type: VDAUSZOptional: Yes
Call by Reference: No ( called with pass by value option)
E_VZGPO - Loan: Relationship Partner/Role Object
Data type: VDGPOOptional: Yes
Call by Reference: No ( called with pass by value option)
E_VDBEPP -
Data type: VDBEPPOptional: Yes
Call by Reference: No ( called with pass by value option)
E_ISSR_RPI_MFT - ISSR: Feste und variable Daten Meldewesen
Data type: ISSR_RPI_MFTOptional: Yes
Call by Reference: Yes
E_VZZBEPP -
Data type: VZZBEPPOptional: Yes
Call by Reference: Yes
I_RKLAMMER -
Data type: TRUXS_T_RKLAMMEROptional: Yes
Call by Reference: No ( called with pass by value option)
ERROR_RANL -
Data type: TRUXS_RANGE_RANLOptional: Yes
Call by Reference: No ( called with pass by value option)
E_RANL -
Data type: VDARLOptional: Yes
Call by Reference: No ( called with pass by value option)
E_KOKO -
Data type: VZZKOKOOptional: Yes
Call by Reference: No ( called with pass by value option)
E_KOPO -
Data type: VVZZKOPOOptional: Yes
Call by Reference: No ( called with pass by value option)
E_KOPA -
Data type: VZZKOPAOptional: Yes
Call by Reference: No ( called with pass by value option)
E_VDBEKI -
Data type: VDBEKIOptional: Yes
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
ERROR_FOUND -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for ISB_TR_LOAN_READ_CONTRACT 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_i_ranl | TYPE STANDARD TABLE OF TRUXS_RANGE_RANL, " | |||
| lv_error_found | TYPE TRUXS_RANGE_RANL, " | |||
| lt_e_vdbepi | TYPE STANDARD TABLE OF VDBEPI, " | |||
| lt_e_vdorder | TYPE STANDARD TABLE OF VDORDER, " | |||
| lt_e_vzbavf | TYPE STANDARD TABLE OF VZBAVF, " | |||
| lt_e_vzbavv | TYPE STANDARD TABLE OF VZBAVV, " | |||
| lt_e_vdarlobj | TYPE STANDARD TABLE OF VDARLOBJ, " | |||
| lt_e_vdhobj | TYPE STANDARD TABLE OF VDHOBJ, " | |||
| lt_e_vdarlsic | TYPE STANDARD TABLE OF VDARLSIC, " | |||
| lt_e_vdhgrpf | TYPE STANDARD TABLE OF VDHGRPF, " | |||
| lt_e_thead | TYPE STANDARD TABLE OF THEAD, " | |||
| lt_e_tline | TYPE STANDARD TABLE OF TLINE, " | |||
| lt_i_bukrs | TYPE STANDARD TABLE OF TRUXS_RANGE_BUKRS, " | |||
| lt_e_vzsort | TYPE STANDARD TABLE OF VZSORT, " | |||
| lt_e_vdarldvs | TYPE STANDARD TABLE OF VDARLDVS, " | |||
| lt_e_vdausz | TYPE STANDARD TABLE OF VDAUSZ, " | |||
| lt_e_vzgpo | TYPE STANDARD TABLE OF VDGPO, " | |||
| lt_e_vdbepp | TYPE STANDARD TABLE OF VDBEPP, " | |||
| lt_e_issr_rpi_mft | TYPE STANDARD TABLE OF ISSR_RPI_MFT, " | |||
| lt_e_vzzbepp | TYPE STANDARD TABLE OF VZZBEPP, " | |||
| lt_i_rklammer | TYPE STANDARD TABLE OF TRUXS_T_RKLAMMER, " | |||
| lt_error_ranl | TYPE STANDARD TABLE OF TRUXS_RANGE_RANL, " | |||
| lt_e_ranl | TYPE STANDARD TABLE OF VDARL, " | |||
| lt_e_koko | TYPE STANDARD TABLE OF VZZKOKO, " | |||
| lt_e_kopo | TYPE STANDARD TABLE OF VVZZKOPO, " | |||
| lt_e_kopa | TYPE STANDARD TABLE OF VZZKOPA, " | |||
| lt_e_vdbeki | TYPE STANDARD TABLE OF VDBEKI. " |
|   CALL FUNCTION 'ISB_TR_LOAN_READ_CONTRACT' "TR-EDT: Read Master Data and Conditions |
| TABLES | ||
| I_RANL | = lt_i_ranl | |
| E_VDBEPI | = lt_e_vdbepi | |
| E_VDORDER | = lt_e_vdorder | |
| E_VZBAVF | = lt_e_vzbavf | |
| E_VZBAVV | = lt_e_vzbavv | |
| E_VDARLOBJ | = lt_e_vdarlobj | |
| E_VDHOBJ | = lt_e_vdhobj | |
| E_VDARLSIC | = lt_e_vdarlsic | |
| E_VDHGRPF | = lt_e_vdhgrpf | |
| E_THEAD | = lt_e_thead | |
| E_TLINE | = lt_e_tline | |
| I_BUKRS | = lt_i_bukrs | |
| E_VZSORT | = lt_e_vzsort | |
| E_VDARLDVS | = lt_e_vdarldvs | |
| E_VDAUSZ | = lt_e_vdausz | |
| E_VZGPO | = lt_e_vzgpo | |
| E_VDBEPP | = lt_e_vdbepp | |
| E_ISSR_RPI_MFT | = lt_e_issr_rpi_mft | |
| E_VZZBEPP | = lt_e_vzzbepp | |
| I_RKLAMMER | = lt_i_rklammer | |
| ERROR_RANL | = lt_error_ranl | |
| E_RANL | = lt_e_ranl | |
| E_KOKO | = lt_e_koko | |
| E_KOPO | = lt_e_kopo | |
| E_KOPA | = lt_e_kopa | |
| E_VDBEKI | = lt_e_vdbeki | |
| EXCEPTIONS | ||
| ERROR_FOUND = 1 | ||
| . " ISB_TR_LOAN_READ_CONTRACT | ||
ABAP code using 7.40 inline data declarations to call FM ISB_TR_LOAN_READ_CONTRACT
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.Search for further information about these or an SAP related objects