SAP FVD_API_EXP_CREATE_IDOCS Function Module for API: Create IDocs and Transfer to ALE Layer









FVD_API_EXP_CREATE_IDOCS is a standard fvd api exp create idocs SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for API: Create IDocs and Transfer to ALE Layer 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 api exp create idocs FM, simply by entering the name FVD_API_EXP_CREATE_IDOCS into the relevant SAP transaction such as SE37 or SE38.

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



Function FVD_API_EXP_CREATE_IDOCS 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_API_EXP_CREATE_IDOCS'"API: Create IDocs and Transfer to ALE Layer
EXPORTING
I_DATE_FROM = "From Date
* I_CALCULATION_DATE = ' ' "Key Date of Capital Calculation
* I_PROCESSEXTENSION = 'X' "Execute Customer Enhancements
I_EXTENSIONS_REQUESTED = "Control Execution of Various Customer Enhancements
* I_FLG_ALE_EXPORT = ' ' "Export per ALE: ' ' = Testlauf
* I_ALE_EXP_BLOCKSIZE = 100 "Block Size for ALE Export
* I_FLG_UPDATE_TASK = ' ' "'X' = Asynchrone Verbuchung, ' ' = Synchrone Verbuchung
I_TAB_RCHGCATG_LOAN = "Change Categories and Change Subcategories Per Loan
* I_LOG_HANDLE = "
* I_FLG_LOG_SAVE = ' ' "
* I_FLG_DETAIL_LOG = ' ' "
I_TIME_FROM = "Time From
I_DATE_TO = "To Date
I_TIME_TO = "Time To
* I_ALE_EXP_GROUP = '99' "ALE Processing Group
* I_FLG_NOT_PROCESSED = 'X' "Nicht verarbeitete Änderungszeiger berücksichtigen
* I_FLG_PROCESSED = "Verarbeitete Änderungszeiger berücksichtigen
* I_FLG_ERROR = "Fehlerhaft verarbeitete Änderungszeiger berücksichtigen
* I_DATA_REQUESTED = "Control Scope of Data Selection for Loan

IMPORTING
E_TAB_MESSAGES = "Application Log: Table with Messages
.



IMPORTING Parameters details for FVD_API_EXP_CREATE_IDOCS

I_DATE_FROM - From Date

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

I_CALCULATION_DATE - Key Date of Capital Calculation

Data type: BAPIFVDEXP_ALE-DATE
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_PROCESSEXTENSION - Execute Customer Enhancements

Data type: BAPIFVDEXP_ALE-BOOLEAN
Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_EXTENSIONS_REQUESTED - Control Execution of Various Customer Enhancements

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

I_FLG_ALE_EXPORT - Export per ALE: ' ' = Testlauf

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

I_ALE_EXP_BLOCKSIZE - Block Size for ALE Export

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

I_FLG_UPDATE_TASK - 'X' = Asynchrone Verbuchung, ' ' = Synchrone Verbuchung

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

I_TAB_RCHGCATG_LOAN - Change Categories and Change Subcategories Per Loan

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

I_LOG_HANDLE -

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

I_FLG_LOG_SAVE -

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

I_FLG_DETAIL_LOG -

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

I_TIME_FROM - Time From

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

I_DATE_TO - To Date

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

I_TIME_TO - Time To

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

I_ALE_EXP_GROUP - ALE Processing Group

Data type: TB_ALE_EXP_GROUP
Default: '99'
Optional: No
Call by Reference: No ( called with pass by value option)

I_FLG_NOT_PROCESSED - Nicht verarbeitete Änderungszeiger berücksichtigen

Data type: FLAG
Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_FLG_PROCESSED - Verarbeitete Änderungszeiger berücksichtigen

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

I_FLG_ERROR - Fehlerhaft verarbeitete Änderungszeiger berücksichtigen

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

I_DATA_REQUESTED - Control Scope of Data Selection for Loan

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

EXPORTING Parameters details for FVD_API_EXP_CREATE_IDOCS

E_TAB_MESSAGES - Application Log: Table with Messages

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

Copy and paste ABAP code example for FVD_API_EXP_CREATE_IDOCS 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_date_from  TYPE DATS, "   
lv_e_tab_messages  TYPE BAL_T_MSG, "   
lv_i_calculation_date  TYPE BAPIFVDEXP_ALE-DATE, "   SPACE
lv_i_processextension  TYPE BAPIFVDEXP_ALE-BOOLEAN, "   'X'
lv_i_extensions_requested  TYPE FVDEXP_EXTENSIONS_REQUESTED, "   
lv_i_flg_ale_export  TYPE FLAG, "   SPACE
lv_i_ale_exp_blocksize  TYPE TB_ALE_EXP_BLOCKSIZE, "   100
lv_i_flg_update_task  TYPE FLAG, "   SPACE
lv_i_tab_rchgcatg_loan  TYPE TRTY_RCHGCATG_LOAN, "   
lv_i_log_handle  TYPE BALLOGHNDL, "   
lv_i_flg_log_save  TYPE FLAG, "   SPACE
lv_i_flg_detail_log  TYPE FLAG, "   SPACE
lv_i_time_from  TYPE TIMS, "   
lv_i_date_to  TYPE DATS, "   
lv_i_time_to  TYPE TIMS, "   
lv_i_ale_exp_group  TYPE TB_ALE_EXP_GROUP, "   '99'
lv_i_flg_not_processed  TYPE FLAG, "   'X'
lv_i_flg_processed  TYPE FLAG, "   
lv_i_flg_error  TYPE FLAG, "   
lv_i_data_requested  TYPE FVDEXP_DATA_REQUESTED. "   

  CALL FUNCTION 'FVD_API_EXP_CREATE_IDOCS'  "API: Create IDocs and Transfer to ALE Layer
    EXPORTING
         I_DATE_FROM = lv_i_date_from
         I_CALCULATION_DATE = lv_i_calculation_date
         I_PROCESSEXTENSION = lv_i_processextension
         I_EXTENSIONS_REQUESTED = lv_i_extensions_requested
         I_FLG_ALE_EXPORT = lv_i_flg_ale_export
         I_ALE_EXP_BLOCKSIZE = lv_i_ale_exp_blocksize
         I_FLG_UPDATE_TASK = lv_i_flg_update_task
         I_TAB_RCHGCATG_LOAN = lv_i_tab_rchgcatg_loan
         I_LOG_HANDLE = lv_i_log_handle
         I_FLG_LOG_SAVE = lv_i_flg_log_save
         I_FLG_DETAIL_LOG = lv_i_flg_detail_log
         I_TIME_FROM = lv_i_time_from
         I_DATE_TO = lv_i_date_to
         I_TIME_TO = lv_i_time_to
         I_ALE_EXP_GROUP = lv_i_ale_exp_group
         I_FLG_NOT_PROCESSED = lv_i_flg_not_processed
         I_FLG_PROCESSED = lv_i_flg_processed
         I_FLG_ERROR = lv_i_flg_error
         I_DATA_REQUESTED = lv_i_data_requested
    IMPORTING
         E_TAB_MESSAGES = lv_e_tab_messages
. " FVD_API_EXP_CREATE_IDOCS




ABAP code using 7.40 inline data declarations to call FM FVD_API_EXP_CREATE_IDOCS

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 DATE FROM BAPIFVDEXP_ALE INTO @DATA(ld_i_calculation_date).
DATA(ld_i_calculation_date) = ' '.
 
"SELECT single BOOLEAN FROM BAPIFVDEXP_ALE INTO @DATA(ld_i_processextension).
DATA(ld_i_processextension) = 'X'.
 
 
DATA(ld_i_flg_ale_export) = ' '.
 
DATA(ld_i_ale_exp_blocksize) = 100.
 
DATA(ld_i_flg_update_task) = ' '.
 
 
 
DATA(ld_i_flg_log_save) = ' '.
 
DATA(ld_i_flg_detail_log) = ' '.
 
 
 
 
DATA(ld_i_ale_exp_group) = '99'.
 
DATA(ld_i_flg_not_processed) = 'X'.
 
 
 
 


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!