SAP FVD_ARC_DOCUMENTS_REORGANIZE Function Module for Reorganizes Document Data
FVD_ARC_DOCUMENTS_REORGANIZE is a standard fvd arc documents reorganize SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Reorganizes Document Data 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 documents reorganize FM, simply by entering the name FVD_ARC_DOCUMENTS_REORGANIZE 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_DOCUMENTS_REORGANIZE 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_DOCUMENTS_REORGANIZE'"Reorganizes Document Data.
EXPORTING
I_LOAN_ADM_DATA = "Admin. Table for Reorganization of Loan Document Data
I_LOG_HANDLE = "Application Log: Log Handle
* I_ANALYSE_ON = ' ' "Nur Analyse der Meldungen
* I_INT_STATUS = ' ' "Financial Assets Management internal level
IMPORTING
E_PROC_STAT = "Return Value, Return Value after ABAP Statements
E_TRDC_REC = "Table Type for Table TRDC_REC
E_ARC_DOC_ADM_NEW = "Verwaltungst8*abelle der Darlehenbelegdatenreorganisation
E_ARC_DOC_REC_NEW = "Carryforward Records for Reorganization of Loan Doc. Items
E_ARC_DOC_IND_NEW = "Table Type for CML_ARC_DOC_IND
E_ARC_DOC_ADM_ARC = "Verwaltungst8*abelle der Darlehenbelegdatenreorganisation
E_ARC_DOC_REC_ARC = "Table Type for CML_ARC_DOC_REC
E_VDBEKI_ARC = "Table Type for Table VDBEKI
E_VDBEPI_ARC = "Table Type for Table VDBEPI
E_TRDC_ADM = "Loan Document Data Summarization: Administration Table
IMPORTING Parameters details for FVD_ARC_DOCUMENTS_REORGANIZE
I_LOAN_ADM_DATA - Admin. Table for Reorganization of Loan Document Data
Data type: VDARC_DOC_ADMOptional: No
Call by Reference: No ( called with pass by value option)
I_LOG_HANDLE - Application Log: Log Handle
Data type: BALLOGHNDLOptional: No
Call by Reference: No ( called with pass by value option)
I_ANALYSE_ON - Nur Analyse der Meldungen
Data type: BOOLE-BOOLEDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_INT_STATUS - Financial Assets Management internal level
Data type: VVSINTEBDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for FVD_ARC_DOCUMENTS_REORGANIZE
E_PROC_STAT - Return Value, Return Value after ABAP Statements
Data type: SY-SUBRCOptional: No
Call by Reference: No ( called with pass by value option)
E_TRDC_REC - Table Type for Table TRDC_REC
Data type: TRTY_TRDC_RECOptional: No
Call by Reference: No ( called with pass by value option)
E_ARC_DOC_ADM_NEW - Verwaltungst8*abelle der Darlehenbelegdatenreorganisation
Data type: VDARC_DOC_ADMOptional: No
Call by Reference: No ( called with pass by value option)
E_ARC_DOC_REC_NEW - Carryforward Records for Reorganization of Loan Doc. Items
Data type: TRTY_VDARC_DOC_RECOptional: No
Call by Reference: No ( called with pass by value option)
E_ARC_DOC_IND_NEW - Table Type for CML_ARC_DOC_IND
Data type: TRTY_VDARC_DOC_INDOptional: No
Call by Reference: No ( called with pass by value option)
E_ARC_DOC_ADM_ARC - Verwaltungst8*abelle der Darlehenbelegdatenreorganisation
Data type: VDARC_DOC_ADMOptional: No
Call by Reference: No ( called with pass by value option)
E_ARC_DOC_REC_ARC - Table Type for CML_ARC_DOC_REC
Data type: TRTY_VDARC_DOC_RECOptional: No
Call by Reference: No ( called with pass by value option)
E_VDBEKI_ARC - Table Type for Table VDBEKI
Data type: TRTY_VDBEKIOptional: No
Call by Reference: No ( called with pass by value option)
E_VDBEPI_ARC - Table Type for Table VDBEPI
Data type: TRTY_VDBEPIOptional: No
Call by Reference: No ( called with pass by value option)
E_TRDC_ADM - Loan Document Data Summarization: Administration Table
Data type: TRDC_ADMOptional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for FVD_ARC_DOCUMENTS_REORGANIZE 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_proc_stat | TYPE SY-SUBRC, " | |||
| lv_i_loan_adm_data | TYPE VDARC_DOC_ADM, " | |||
| lv_e_trdc_rec | TYPE TRTY_TRDC_REC, " | |||
| lv_i_log_handle | TYPE BALLOGHNDL, " | |||
| lv_e_arc_doc_adm_new | TYPE VDARC_DOC_ADM, " | |||
| lv_i_analyse_on | TYPE BOOLE-BOOLE, " SPACE | |||
| lv_e_arc_doc_rec_new | TYPE TRTY_VDARC_DOC_REC, " | |||
| lv_i_int_status | TYPE VVSINTEB, " SPACE | |||
| lv_e_arc_doc_ind_new | TYPE TRTY_VDARC_DOC_IND, " | |||
| lv_e_arc_doc_adm_arc | TYPE VDARC_DOC_ADM, " | |||
| lv_e_arc_doc_rec_arc | TYPE TRTY_VDARC_DOC_REC, " | |||
| lv_e_vdbeki_arc | TYPE TRTY_VDBEKI, " | |||
| lv_e_vdbepi_arc | TYPE TRTY_VDBEPI, " | |||
| lv_e_trdc_adm | TYPE TRDC_ADM. " |
|   CALL FUNCTION 'FVD_ARC_DOCUMENTS_REORGANIZE' "Reorganizes Document Data |
| EXPORTING | ||
| I_LOAN_ADM_DATA | = lv_i_loan_adm_data | |
| I_LOG_HANDLE | = lv_i_log_handle | |
| I_ANALYSE_ON | = lv_i_analyse_on | |
| I_INT_STATUS | = lv_i_int_status | |
| IMPORTING | ||
| E_PROC_STAT | = lv_e_proc_stat | |
| E_TRDC_REC | = lv_e_trdc_rec | |
| E_ARC_DOC_ADM_NEW | = lv_e_arc_doc_adm_new | |
| E_ARC_DOC_REC_NEW | = lv_e_arc_doc_rec_new | |
| E_ARC_DOC_IND_NEW | = lv_e_arc_doc_ind_new | |
| E_ARC_DOC_ADM_ARC | = lv_e_arc_doc_adm_arc | |
| E_ARC_DOC_REC_ARC | = lv_e_arc_doc_rec_arc | |
| E_VDBEKI_ARC | = lv_e_vdbeki_arc | |
| E_VDBEPI_ARC | = lv_e_vdbepi_arc | |
| E_TRDC_ADM | = lv_e_trdc_adm | |
| . " FVD_ARC_DOCUMENTS_REORGANIZE | ||
ABAP code using 7.40 inline data declarations to call FM FVD_ARC_DOCUMENTS_REORGANIZE
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 SUBRC FROM SY INTO @DATA(ld_e_proc_stat). | ||||
| "SELECT single BOOLE FROM BOOLE INTO @DATA(ld_i_analyse_on). | ||||
| DATA(ld_i_analyse_on) | = ' '. | |||
| DATA(ld_i_int_status) | = ' '. | |||
Search for further information about these or an SAP related objects