SAP EMUL_SEPARATE_ENTIRE_LOAN Function Module for Separate All Loan Records from Tables
EMUL_SEPARATE_ENTIRE_LOAN is a standard emul separate entire loan SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Separate All Loan Records from Tables 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 emul separate entire loan FM, simply by entering the name EMUL_SEPARATE_ENTIRE_LOAN into the relevant SAP transaction such as SE37 or SE38.
Function Group: FTLE
Program Name: SAPLFTLE
Main Program: SAPLFTLE
Appliation area: F
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:
Function EMUL_SEPARATE_ENTIRE_LOAN 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 'EMUL_SEPARATE_ENTIRE_LOAN'"Separate All Loan Records from Tables.
EXPORTING
IVDARL = "Aktueller Darlehensstammsatz
IMPORTING
OACTKOKO = "Current Condition Header
OVDARL_E = "Darlehensstammsatz (Ursprungsdaten) zum aktuell.
TABLES
* IACTKOKO = "Aktuelle Darlehenskonditionen
* IVDORDER = "SSD-Oders mehrerer Darlehen
* IVDAUSZ = "Verfügungen mehrerer Darlehen
* IVZZBEPP = "Finanzstrom mehrerer Darlehen
* IVZZUSP = "
* IVDAVIS = "
* IBSID = "
* IVDBOHEAD = "Geschäftsvorfallköpfe mehrerer Darlehen
* IVDBOBEPP = "Geschäftsvorfallsätze mehrerer Darlehen
* IVDARL_E = "Darlehensstammsätze (Ursprungsdaten)
* IVDKOKO_E = "Konditionsköpfe (Urspr.) mehrerer Darlehen
* IVZZKOKO = "Konditionsköpfe mehrerer Darlehen
* IVDKOPO_E = "Konditionspos. (Urspr.) mehrerer Darlehen
* IVDBEPP_E = "Plansätze (Urspr.) mehrerer Darlehen
* IVDBEPI_E = "Ist-Sätze (Urspr.) mehrerer Darlehen
* IVDARC_DOC_REC_E = "Carry-Forward Recs of Loan Doc. Item Reorg. bef. EURO Convsn
* IVDORDER_E = "SSD-Orders (Urspr.) mehrerer Darlehen
* IVDAUSZ_E = "Verfügungen (Urspr.) mehrerer Darlehen
* IVDBOHEAD_E = "Geschäftsvorfallköpfe (Urspr.) mehrerer Darlehen
* IVDBOBEPP_E = "Geschäftsvorfallsätze (Urspr.) mehrerer Darlehen
* OVZZKOKO = "Konditionsköpfe des aktuellen Darlehens
* OVZZKOPO = "Konditionspositionen des aktuellen Darlehens
* IVZZKOPO = "Konditionspositionen mehrerer Darlehen
* OVVZZKOPO = "Konditionspositionen des aktuellen Darlehens
* OVDBEPP_M = "Plansätze (man.) des aktuellen Darlehens
* OVDBEPP_K = "Plansätze (kond.) des aktuellen Darlehens
* OVDBEKI = "Ist-Belegköpfe eines Darlehens
* OVDBEPI = "Ist-Belegpositionen eines Darlehens
* OVDARC_DOC_REC = "Carryforward Records for Reorganization of Loan Doc. Items
* OVDORDER = "SSD-Oders eines Darlehens
* OVDAUSZ = "Verfügungen eines Darlehens
* OVZZBEPP = "Finanzstrom eines Darlehens
* OVZZUSP = "
* IVVZZKOPO = "Konditionspositionen mehrerer Darlehen
* OVDAVIS = "
* OVDBOHEAD = "Geschäftsvorfallköpfe des aktuellen Darlehens
* OVDBOBEPP = "Geschäftsvorfallsätze des aktuellen Darlehens
* OVDKOKO_E = "Konditionsköpfe (Urspr.) des aktuellen Darlehens
* OVDKOPO_E = "Konditionspos. (Urspr.) des aktuellen Darlehens
* OVDBEPP_E = "Plansätze (Urspr.) des aktuellen Darlehens
* OVDBEPI_E = "Ist-Sätze (Urspr.) des aktuellen Darlehens
* OVDARC_DOC_REC_E = "Carry-Forward Recs of Loan Doc. Item Reorg. bef. EURO Convsn
* OVDORDER_E = "SSD-Orders (Urspr.) des aktuellen Darlehens
* OVDAUSZ_E = "Verfügungen (Urspr.) des aktuellen Darlehens
* IVDBEPP_M = "Plansätze (manuell erfaßt) mehrerer Darlehen
* OVDBOHEAD_E = "Geschäftsvorfallköpfe (Urspr.) des aktuellen Darlehens
* OVDBOBEPP_E = "Geschäftsvorfallsätze (Urspr.) des aktuellen Darlehens
* OBSID = "
* IVDBEPP_K = "Plansätze (konditionsbasiert) mehrerer Darlehen
* IVDBEKI = "Ist-Belegköpfe mehrerer Darlehen
* IVDBEPI = "Ist-Belegpositionen mehrerer Darlehen
* IVDARC_DOC_REC = "Carryforward Records for Reorganization of Loan Doc. Items
IMPORTING Parameters details for EMUL_SEPARATE_ENTIRE_LOAN
IVDARL - Aktueller Darlehensstammsatz
Data type: VDARLOptional: No
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for EMUL_SEPARATE_ENTIRE_LOAN
OACTKOKO - Current Condition Header
Data type: VZZKOKOOptional: No
Call by Reference: No ( called with pass by value option)
OVDARL_E - Darlehensstammsatz (Ursprungsdaten) zum aktuell.
Data type: VDARL_EUOptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for EMUL_SEPARATE_ENTIRE_LOAN
IACTKOKO - Aktuelle Darlehenskonditionen
Data type: VZZKOKOOptional: Yes
Call by Reference: No ( called with pass by value option)
IVDORDER - SSD-Oders mehrerer Darlehen
Data type: VDORDEROptional: Yes
Call by Reference: No ( called with pass by value option)
IVDAUSZ - Verfügungen mehrerer Darlehen
Data type: VDAUSZOptional: Yes
Call by Reference: No ( called with pass by value option)
IVZZBEPP - Finanzstrom mehrerer Darlehen
Data type: VZZBEPPOptional: Yes
Call by Reference: No ( called with pass by value option)
IVZZUSP -
Data type: VZZUSPOptional: Yes
Call by Reference: No ( called with pass by value option)
IVDAVIS -
Data type: VDAVISOptional: Yes
Call by Reference: No ( called with pass by value option)
IBSID -
Data type: BSIDOptional: Yes
Call by Reference: No ( called with pass by value option)
IVDBOHEAD - Geschäftsvorfallköpfe mehrerer Darlehen
Data type: VDBOHEADOptional: Yes
Call by Reference: No ( called with pass by value option)
IVDBOBEPP - Geschäftsvorfallsätze mehrerer Darlehen
Data type: VDBOBEPPOptional: Yes
Call by Reference: No ( called with pass by value option)
IVDARL_E - Darlehensstammsätze (Ursprungsdaten)
Data type: VDARL_EUOptional: Yes
Call by Reference: No ( called with pass by value option)
IVDKOKO_E - Konditionsköpfe (Urspr.) mehrerer Darlehen
Data type: VDKOKO_EUOptional: Yes
Call by Reference: No ( called with pass by value option)
IVZZKOKO - Konditionsköpfe mehrerer Darlehen
Data type: VZZKOKOOptional: Yes
Call by Reference: No ( called with pass by value option)
IVDKOPO_E - Konditionspos. (Urspr.) mehrerer Darlehen
Data type: VDKOPO_EUOptional: Yes
Call by Reference: No ( called with pass by value option)
IVDBEPP_E - Plansätze (Urspr.) mehrerer Darlehen
Data type: VDBEPP_EUOptional: Yes
Call by Reference: No ( called with pass by value option)
IVDBEPI_E - Ist-Sätze (Urspr.) mehrerer Darlehen
Data type: VDBEPI_EUOptional: Yes
Call by Reference: No ( called with pass by value option)
IVDARC_DOC_REC_E - Carry-Forward Recs of Loan Doc. Item Reorg. bef. EURO Convsn
Data type: VDARC_DOC_REC_EUOptional: Yes
Call by Reference: No ( called with pass by value option)
IVDORDER_E - SSD-Orders (Urspr.) mehrerer Darlehen
Data type: VDORDER_EUOptional: Yes
Call by Reference: No ( called with pass by value option)
IVDAUSZ_E - Verfügungen (Urspr.) mehrerer Darlehen
Data type: VDAUSZ_EUOptional: Yes
Call by Reference: No ( called with pass by value option)
IVDBOHEAD_E - Geschäftsvorfallköpfe (Urspr.) mehrerer Darlehen
Data type: VDBOHEAD_EUOptional: Yes
Call by Reference: No ( called with pass by value option)
IVDBOBEPP_E - Geschäftsvorfallsätze (Urspr.) mehrerer Darlehen
Data type: VDBOBEPP_EUOptional: Yes
Call by Reference: No ( called with pass by value option)
OVZZKOKO - Konditionsköpfe des aktuellen Darlehens
Data type: VZZKOKOOptional: Yes
Call by Reference: No ( called with pass by value option)
OVZZKOPO - Konditionspositionen des aktuellen Darlehens
Data type: VZZKOPOOptional: Yes
Call by Reference: No ( called with pass by value option)
IVZZKOPO - Konditionspositionen mehrerer Darlehen
Data type: VZZKOPOOptional: Yes
Call by Reference: No ( called with pass by value option)
OVVZZKOPO - Konditionspositionen des aktuellen Darlehens
Data type: VVZZKOPOOptional: Yes
Call by Reference: No ( called with pass by value option)
OVDBEPP_M - Plansätze (man.) des aktuellen Darlehens
Data type: VDBEPPOptional: Yes
Call by Reference: No ( called with pass by value option)
OVDBEPP_K - Plansätze (kond.) des aktuellen Darlehens
Data type: VDBEPPOptional: Yes
Call by Reference: No ( called with pass by value option)
OVDBEKI - Ist-Belegköpfe eines Darlehens
Data type: VDBEKIOptional: Yes
Call by Reference: No ( called with pass by value option)
OVDBEPI - Ist-Belegpositionen eines Darlehens
Data type: VDBEPIOptional: Yes
Call by Reference: No ( called with pass by value option)
OVDARC_DOC_REC - Carryforward Records for Reorganization of Loan Doc. Items
Data type: VDARC_DOC_RECOptional: Yes
Call by Reference: No ( called with pass by value option)
OVDORDER - SSD-Oders eines Darlehens
Data type: VDORDEROptional: Yes
Call by Reference: No ( called with pass by value option)
OVDAUSZ - Verfügungen eines Darlehens
Data type: VDAUSZOptional: Yes
Call by Reference: No ( called with pass by value option)
OVZZBEPP - Finanzstrom eines Darlehens
Data type: VZZBEPPOptional: Yes
Call by Reference: No ( called with pass by value option)
OVZZUSP -
Data type: VZZUSPOptional: Yes
Call by Reference: No ( called with pass by value option)
IVVZZKOPO - Konditionspositionen mehrerer Darlehen
Data type: VVZZKOPOOptional: Yes
Call by Reference: No ( called with pass by value option)
OVDAVIS -
Data type: VDAVISOptional: Yes
Call by Reference: No ( called with pass by value option)
OVDBOHEAD - Geschäftsvorfallköpfe des aktuellen Darlehens
Data type: VDBOHEADOptional: Yes
Call by Reference: Yes
OVDBOBEPP - Geschäftsvorfallsätze des aktuellen Darlehens
Data type: VDBOBEPPOptional: Yes
Call by Reference: Yes
OVDKOKO_E - Konditionsköpfe (Urspr.) des aktuellen Darlehens
Data type: VDKOKO_EUOptional: Yes
Call by Reference: No ( called with pass by value option)
OVDKOPO_E - Konditionspos. (Urspr.) des aktuellen Darlehens
Data type: VDKOPO_EUOptional: Yes
Call by Reference: No ( called with pass by value option)
OVDBEPP_E - Plansätze (Urspr.) des aktuellen Darlehens
Data type: VDBEPP_EUOptional: Yes
Call by Reference: No ( called with pass by value option)
OVDBEPI_E - Ist-Sätze (Urspr.) des aktuellen Darlehens
Data type: VDBEPI_EUOptional: Yes
Call by Reference: No ( called with pass by value option)
OVDARC_DOC_REC_E - Carry-Forward Recs of Loan Doc. Item Reorg. bef. EURO Convsn
Data type: VDARC_DOC_REC_EUOptional: Yes
Call by Reference: Yes
OVDORDER_E - SSD-Orders (Urspr.) des aktuellen Darlehens
Data type: VDORDER_EUOptional: Yes
Call by Reference: No ( called with pass by value option)
OVDAUSZ_E - Verfügungen (Urspr.) des aktuellen Darlehens
Data type: VDAUSZ_EUOptional: Yes
Call by Reference: No ( called with pass by value option)
IVDBEPP_M - Plansätze (manuell erfaßt) mehrerer Darlehen
Data type: VDBEPPOptional: Yes
Call by Reference: No ( called with pass by value option)
OVDBOHEAD_E - Geschäftsvorfallköpfe (Urspr.) des aktuellen Darlehens
Data type: VDBOHEAD_EUOptional: Yes
Call by Reference: Yes
OVDBOBEPP_E - Geschäftsvorfallsätze (Urspr.) des aktuellen Darlehens
Data type: VDBOBEPP_EUOptional: Yes
Call by Reference: Yes
OBSID -
Data type: BSIDOptional: Yes
Call by Reference: No ( called with pass by value option)
IVDBEPP_K - Plansätze (konditionsbasiert) mehrerer Darlehen
Data type: VDBEPPOptional: Yes
Call by Reference: No ( called with pass by value option)
IVDBEKI - Ist-Belegköpfe mehrerer Darlehen
Data type: VDBEKIOptional: Yes
Call by Reference: No ( called with pass by value option)
IVDBEPI - Ist-Belegpositionen mehrerer Darlehen
Data type: VDBEPIOptional: Yes
Call by Reference: No ( called with pass by value option)
IVDARC_DOC_REC - Carryforward Records for Reorganization of Loan Doc. Items
Data type: VDARC_DOC_RECOptional: Yes
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for EMUL_SEPARATE_ENTIRE_LOAN 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_ivdarl | TYPE VDARL, " | |||
lt_iactkoko | TYPE STANDARD TABLE OF VZZKOKO, " | |||
lv_oactkoko | TYPE VZZKOKO, " | |||
lt_ivdorder | TYPE STANDARD TABLE OF VDORDER, " | |||
lt_ivdausz | TYPE STANDARD TABLE OF VDAUSZ, " | |||
lt_ivzzbepp | TYPE STANDARD TABLE OF VZZBEPP, " | |||
lt_ivzzusp | TYPE STANDARD TABLE OF VZZUSP, " | |||
lt_ivdavis | TYPE STANDARD TABLE OF VDAVIS, " | |||
lt_ibsid | TYPE STANDARD TABLE OF BSID, " | |||
lt_ivdbohead | TYPE STANDARD TABLE OF VDBOHEAD, " | |||
lt_ivdbobepp | TYPE STANDARD TABLE OF VDBOBEPP, " | |||
lt_ivdarl_e | TYPE STANDARD TABLE OF VDARL_EU, " | |||
lt_ivdkoko_e | TYPE STANDARD TABLE OF VDKOKO_EU, " | |||
lt_ivzzkoko | TYPE STANDARD TABLE OF VZZKOKO, " | |||
lv_ovdarl_e | TYPE VDARL_EU, " | |||
lt_ivdkopo_e | TYPE STANDARD TABLE OF VDKOPO_EU, " | |||
lt_ivdbepp_e | TYPE STANDARD TABLE OF VDBEPP_EU, " | |||
lt_ivdbepi_e | TYPE STANDARD TABLE OF VDBEPI_EU, " | |||
lt_ivdarc_doc_rec_e | TYPE STANDARD TABLE OF VDARC_DOC_REC_EU, " | |||
lt_ivdorder_e | TYPE STANDARD TABLE OF VDORDER_EU, " | |||
lt_ivdausz_e | TYPE STANDARD TABLE OF VDAUSZ_EU, " | |||
lt_ivdbohead_e | TYPE STANDARD TABLE OF VDBOHEAD_EU, " | |||
lt_ivdbobepp_e | TYPE STANDARD TABLE OF VDBOBEPP_EU, " | |||
lt_ovzzkoko | TYPE STANDARD TABLE OF VZZKOKO, " | |||
lt_ovzzkopo | TYPE STANDARD TABLE OF VZZKOPO, " | |||
lt_ivzzkopo | TYPE STANDARD TABLE OF VZZKOPO, " | |||
lt_ovvzzkopo | TYPE STANDARD TABLE OF VVZZKOPO, " | |||
lt_ovdbepp_m | TYPE STANDARD TABLE OF VDBEPP, " | |||
lt_ovdbepp_k | TYPE STANDARD TABLE OF VDBEPP, " | |||
lt_ovdbeki | TYPE STANDARD TABLE OF VDBEKI, " | |||
lt_ovdbepi | TYPE STANDARD TABLE OF VDBEPI, " | |||
lt_ovdarc_doc_rec | TYPE STANDARD TABLE OF VDARC_DOC_REC, " | |||
lt_ovdorder | TYPE STANDARD TABLE OF VDORDER, " | |||
lt_ovdausz | TYPE STANDARD TABLE OF VDAUSZ, " | |||
lt_ovzzbepp | TYPE STANDARD TABLE OF VZZBEPP, " | |||
lt_ovzzusp | TYPE STANDARD TABLE OF VZZUSP, " | |||
lt_ivvzzkopo | TYPE STANDARD TABLE OF VVZZKOPO, " | |||
lt_ovdavis | TYPE STANDARD TABLE OF VDAVIS, " | |||
lt_ovdbohead | TYPE STANDARD TABLE OF VDBOHEAD, " | |||
lt_ovdbobepp | TYPE STANDARD TABLE OF VDBOBEPP, " | |||
lt_ovdkoko_e | TYPE STANDARD TABLE OF VDKOKO_EU, " | |||
lt_ovdkopo_e | TYPE STANDARD TABLE OF VDKOPO_EU, " | |||
lt_ovdbepp_e | TYPE STANDARD TABLE OF VDBEPP_EU, " | |||
lt_ovdbepi_e | TYPE STANDARD TABLE OF VDBEPI_EU, " | |||
lt_ovdarc_doc_rec_e | TYPE STANDARD TABLE OF VDARC_DOC_REC_EU, " | |||
lt_ovdorder_e | TYPE STANDARD TABLE OF VDORDER_EU, " | |||
lt_ovdausz_e | TYPE STANDARD TABLE OF VDAUSZ_EU, " | |||
lt_ivdbepp_m | TYPE STANDARD TABLE OF VDBEPP, " | |||
lt_ovdbohead_e | TYPE STANDARD TABLE OF VDBOHEAD_EU, " | |||
lt_ovdbobepp_e | TYPE STANDARD TABLE OF VDBOBEPP_EU, " | |||
lt_obsid | TYPE STANDARD TABLE OF BSID, " | |||
lt_ivdbepp_k | TYPE STANDARD TABLE OF VDBEPP, " | |||
lt_ivdbeki | TYPE STANDARD TABLE OF VDBEKI, " | |||
lt_ivdbepi | TYPE STANDARD TABLE OF VDBEPI, " | |||
lt_ivdarc_doc_rec | TYPE STANDARD TABLE OF VDARC_DOC_REC. " |
  CALL FUNCTION 'EMUL_SEPARATE_ENTIRE_LOAN' "Separate All Loan Records from Tables |
EXPORTING | ||
IVDARL | = lv_ivdarl | |
IMPORTING | ||
OACTKOKO | = lv_oactkoko | |
OVDARL_E | = lv_ovdarl_e | |
TABLES | ||
IACTKOKO | = lt_iactkoko | |
IVDORDER | = lt_ivdorder | |
IVDAUSZ | = lt_ivdausz | |
IVZZBEPP | = lt_ivzzbepp | |
IVZZUSP | = lt_ivzzusp | |
IVDAVIS | = lt_ivdavis | |
IBSID | = lt_ibsid | |
IVDBOHEAD | = lt_ivdbohead | |
IVDBOBEPP | = lt_ivdbobepp | |
IVDARL_E | = lt_ivdarl_e | |
IVDKOKO_E | = lt_ivdkoko_e | |
IVZZKOKO | = lt_ivzzkoko | |
IVDKOPO_E | = lt_ivdkopo_e | |
IVDBEPP_E | = lt_ivdbepp_e | |
IVDBEPI_E | = lt_ivdbepi_e | |
IVDARC_DOC_REC_E | = lt_ivdarc_doc_rec_e | |
IVDORDER_E | = lt_ivdorder_e | |
IVDAUSZ_E | = lt_ivdausz_e | |
IVDBOHEAD_E | = lt_ivdbohead_e | |
IVDBOBEPP_E | = lt_ivdbobepp_e | |
OVZZKOKO | = lt_ovzzkoko | |
OVZZKOPO | = lt_ovzzkopo | |
IVZZKOPO | = lt_ivzzkopo | |
OVVZZKOPO | = lt_ovvzzkopo | |
OVDBEPP_M | = lt_ovdbepp_m | |
OVDBEPP_K | = lt_ovdbepp_k | |
OVDBEKI | = lt_ovdbeki | |
OVDBEPI | = lt_ovdbepi | |
OVDARC_DOC_REC | = lt_ovdarc_doc_rec | |
OVDORDER | = lt_ovdorder | |
OVDAUSZ | = lt_ovdausz | |
OVZZBEPP | = lt_ovzzbepp | |
OVZZUSP | = lt_ovzzusp | |
IVVZZKOPO | = lt_ivvzzkopo | |
OVDAVIS | = lt_ovdavis | |
OVDBOHEAD | = lt_ovdbohead | |
OVDBOBEPP | = lt_ovdbobepp | |
OVDKOKO_E | = lt_ovdkoko_e | |
OVDKOPO_E | = lt_ovdkopo_e | |
OVDBEPP_E | = lt_ovdbepp_e | |
OVDBEPI_E | = lt_ovdbepi_e | |
OVDARC_DOC_REC_E | = lt_ovdarc_doc_rec_e | |
OVDORDER_E | = lt_ovdorder_e | |
OVDAUSZ_E | = lt_ovdausz_e | |
IVDBEPP_M | = lt_ivdbepp_m | |
OVDBOHEAD_E | = lt_ovdbohead_e | |
OVDBOBEPP_E | = lt_ovdbobepp_e | |
OBSID | = lt_obsid | |
IVDBEPP_K | = lt_ivdbepp_k | |
IVDBEKI | = lt_ivdbeki | |
IVDBEPI | = lt_ivdbepi | |
IVDARC_DOC_REC | = lt_ivdarc_doc_rec | |
. " EMUL_SEPARATE_ENTIRE_LOAN |
ABAP code using 7.40 inline data declarations to call FM EMUL_SEPARATE_ENTIRE_LOAN
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