SAP FVD_ARC_KEYDATES_CHECK Function Module for Are Check Key Dates Before Max. Archiving Dates for Loan?









FVD_ARC_KEYDATES_CHECK is a standard fvd arc keydates check SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Are Check Key Dates Before Max. Archiving Dates for Loan? 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 fvd arc keydates check FM, simply by entering the name FVD_ARC_KEYDATES_CHECK into the relevant SAP transaction such as SE37 or SE38.

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



Function FVD_ARC_KEYDATES_CHECK 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 'FVD_ARC_KEYDATES_CHECK'"Are Check Key Dates Before Max. Archiving Dates for Loan?
EXPORTING
I_BUKRS = "Company Code
I_RANL = "Contract Number
* I_VDARC_DOC_ADM = "Admin. Table for Reorganization of Loan Document Data
* I_DBUDAT = "Posting Date in the Document
* I_DDISPO = "Payment date / Day of payment
* I_DFAELL = "Due Date
* I_DVALUT = "Calculation Date

IMPORTING
E_DATE_IN_ARCHIVED_PERIOD = "Eingabedatum in archiviertem Zeitraum (1=JA oder 0=NEIN)
E_DBUDAT_BEFORE_DPARC = "Buchungsdatum in archiviertem Zeitraum (1=JA oder 0=NEIN)
E_DPARC = "Buchungsstichtag der letzten Darlehensbelegdatenarchivierung
E_DDISPO_BEFORE_DDARC = "Zahlungsdatum in archiviertem Zeitraum (1=JA oder 0=NEIN)
E_DDARC = "Zahlungsstichtag der letzten Darlehensbelegarchivierung
E_DFAELL_BEFORE_DFARC = "Fälligkeitsdatum in archiviertem Zeitraum (1=JA oder 0=NEIN)
E_DFARC = "Fälligkeitsstichtag der letzten Darlehensbelegarchivierung
E_DVALUT_BEFORE_DVARC = "Berechnungstag in archiviertem Zeitraum (1=JA oder 0=NEIN)
E_DVARC = "Berechnungsstichtag der letzten Darlehensbelegarchivierung

EXCEPTIONS
KEY_NOT_FILLED = 1 NO_DATE_PARAMETER = 2
.



IMPORTING Parameters details for FVD_ARC_KEYDATES_CHECK

I_BUKRS - Company Code

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

I_RANL - Contract Number

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

I_VDARC_DOC_ADM - Admin. Table for Reorganization of Loan Document Data

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

I_DBUDAT - Posting Date in the Document

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

I_DDISPO - Payment date / Day of payment

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

I_DFAELL - Due Date

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

I_DVALUT - Calculation Date

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

EXPORTING Parameters details for FVD_ARC_KEYDATES_CHECK

E_DATE_IN_ARCHIVED_PERIOD - Eingabedatum in archiviertem Zeitraum (1=JA oder 0=NEIN)

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

E_DBUDAT_BEFORE_DPARC - Buchungsdatum in archiviertem Zeitraum (1=JA oder 0=NEIN)

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

E_DPARC - Buchungsstichtag der letzten Darlehensbelegdatenarchivierung

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

E_DDISPO_BEFORE_DDARC - Zahlungsdatum in archiviertem Zeitraum (1=JA oder 0=NEIN)

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

E_DDARC - Zahlungsstichtag der letzten Darlehensbelegarchivierung

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

E_DFAELL_BEFORE_DFARC - Fälligkeitsdatum in archiviertem Zeitraum (1=JA oder 0=NEIN)

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

E_DFARC - Fälligkeitsstichtag der letzten Darlehensbelegarchivierung

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

E_DVALUT_BEFORE_DVARC - Berechnungstag in archiviertem Zeitraum (1=JA oder 0=NEIN)

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

E_DVARC - Berechnungsstichtag der letzten Darlehensbelegarchivierung

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

EXCEPTIONS details

KEY_NOT_FILLED - Buchungskreis und/oder Vertragsnummer wurde(n) nicht vorgegeben.

Data type:
Optional: No
Call by Reference: Yes

NO_DATE_PARAMETER - Kein Datum als Inputparameter vorhanden.

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for FVD_ARC_KEYDATES_CHECK 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_i_bukrs  TYPE VDARL-BUKRS, "   
lv_key_not_filled  TYPE VDARL, "   
lv_e_date_in_archived_period  TYPE TB_YES_OR_NO, "   
lv_i_ranl  TYPE VDARL-RANL, "   
lv_no_date_parameter  TYPE VDARL, "   
lv_e_dbudat_before_dparc  TYPE TB_YES_OR_NO, "   
lv_e_dparc  TYPE VDARC_DOC_ADM-DPARC, "   
lv_i_vdarc_doc_adm  TYPE VDARC_DOC_ADM, "   
lv_i_dbudat  TYPE VZZBEPP-DBUDAT, "   
lv_e_ddispo_before_ddarc  TYPE TB_YES_OR_NO, "   
lv_e_ddarc  TYPE VDARC_DOC_ADM-DDARC, "   
lv_i_ddispo  TYPE VZZBEPP-DDISPO, "   
lv_i_dfaell  TYPE VZZBEPP-DFAELL, "   
lv_e_dfaell_before_dfarc  TYPE TB_YES_OR_NO, "   
lv_e_dfarc  TYPE VDARC_DOC_ADM-DFARC, "   
lv_i_dvalut  TYPE VZZBEPP-DVALUT, "   
lv_e_dvalut_before_dvarc  TYPE TB_YES_OR_NO, "   
lv_e_dvarc  TYPE VDARC_DOC_ADM-DVARC. "   

  CALL FUNCTION 'FVD_ARC_KEYDATES_CHECK'  "Are Check Key Dates Before Max. Archiving Dates for Loan?
    EXPORTING
         I_BUKRS = lv_i_bukrs
         I_RANL = lv_i_ranl
         I_VDARC_DOC_ADM = lv_i_vdarc_doc_adm
         I_DBUDAT = lv_i_dbudat
         I_DDISPO = lv_i_ddispo
         I_DFAELL = lv_i_dfaell
         I_DVALUT = lv_i_dvalut
    IMPORTING
         E_DATE_IN_ARCHIVED_PERIOD = lv_e_date_in_archived_period
         E_DBUDAT_BEFORE_DPARC = lv_e_dbudat_before_dparc
         E_DPARC = lv_e_dparc
         E_DDISPO_BEFORE_DDARC = lv_e_ddispo_before_ddarc
         E_DDARC = lv_e_ddarc
         E_DFAELL_BEFORE_DFARC = lv_e_dfaell_before_dfarc
         E_DFARC = lv_e_dfarc
         E_DVALUT_BEFORE_DVARC = lv_e_dvalut_before_dvarc
         E_DVARC = lv_e_dvarc
    EXCEPTIONS
        KEY_NOT_FILLED = 1
        NO_DATE_PARAMETER = 2
. " FVD_ARC_KEYDATES_CHECK




ABAP code using 7.40 inline data declarations to call FM FVD_ARC_KEYDATES_CHECK

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 BUKRS FROM VDARL INTO @DATA(ld_i_bukrs).
 
 
 
"SELECT single RANL FROM VDARL INTO @DATA(ld_i_ranl).
 
 
 
"SELECT single DPARC FROM VDARC_DOC_ADM INTO @DATA(ld_e_dparc).
 
 
"SELECT single DBUDAT FROM VZZBEPP INTO @DATA(ld_i_dbudat).
 
 
"SELECT single DDARC FROM VDARC_DOC_ADM INTO @DATA(ld_e_ddarc).
 
"SELECT single DDISPO FROM VZZBEPP INTO @DATA(ld_i_ddispo).
 
"SELECT single DFAELL FROM VZZBEPP INTO @DATA(ld_i_dfaell).
 
 
"SELECT single DFARC FROM VDARC_DOC_ADM INTO @DATA(ld_e_dfarc).
 
"SELECT single DVALUT FROM VZZBEPP INTO @DATA(ld_i_dvalut).
 
 
"SELECT single DVARC FROM VDARC_DOC_ADM INTO @DATA(ld_e_dvarc).
 


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!