SAP FIN_FSSC_OPTARCHI_ACCSTAT_2310 Function Module for Example for archiving account statement









FIN_FSSC_OPTARCHI_ACCSTAT_2310 is a standard fin fssc optarchi accstat 2310 SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Example for archiving account statement 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 fin fssc optarchi accstat 2310 FM, simply by entering the name FIN_FSSC_OPTARCHI_ACCSTAT_2310 into the relevant SAP transaction such as SE37 or SE38.

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



Function FIN_FSSC_OPTARCHI_ACCSTAT_2310 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 'FIN_FSSC_OPTARCHI_ACCSTAT_2310'"Example for archiving account statement
EXPORTING
I_BKORM = "Accounting Correspondence Requests
I_KOART = "Account Type
* I_KNA1 = "General Data in Customer Master
* I_KNB1 = "Customer Master (Company Code)
* I_LFA1 = "Vendor Master (General Section)
* I_LFB1 = "Vendor Master (Company Code)

CHANGING
C_FINAA = "Data for Transmission Medium for Correspondence
C_ITCPO = "SAPscript output interface
* C_ARCHIVE_INDEX = ' ' "SAP ArchiveLink structure of a DARA line
* C_ARCHIVE_PARAMS = ' ' "ImageLink structure
.



IMPORTING Parameters details for FIN_FSSC_OPTARCHI_ACCSTAT_2310

I_BKORM - Accounting Correspondence Requests

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

I_KOART - Account Type

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

I_KNA1 - General Data in Customer Master

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

I_KNB1 - Customer Master (Company Code)

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

I_LFA1 - Vendor Master (General Section)

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

I_LFB1 - Vendor Master (Company Code)

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

CHANGING Parameters details for FIN_FSSC_OPTARCHI_ACCSTAT_2310

C_FINAA - Data for Transmission Medium for Correspondence

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

C_ITCPO - SAPscript output interface

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

C_ARCHIVE_INDEX - SAP ArchiveLink structure of a DARA line

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

C_ARCHIVE_PARAMS - ImageLink structure

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

Copy and paste ABAP code example for FIN_FSSC_OPTARCHI_ACCSTAT_2310 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_c_finaa  TYPE FINAA, "   
lv_i_bkorm  TYPE BKORM, "   
lv_c_itcpo  TYPE ITCPO, "   
lv_i_koart  TYPE BKORM-KOART, "   
lv_i_kna1  TYPE KNA1, "   
lv_c_archive_index  TYPE TOA_DARA, "   SPACE
lv_i_knb1  TYPE KNB1, "   
lv_c_archive_params  TYPE ARC_PARAMS, "   SPACE
lv_i_lfa1  TYPE LFA1, "   
lv_i_lfb1  TYPE LFB1. "   

  CALL FUNCTION 'FIN_FSSC_OPTARCHI_ACCSTAT_2310'  "Example for archiving account statement
    EXPORTING
         I_BKORM = lv_i_bkorm
         I_KOART = lv_i_koart
         I_KNA1 = lv_i_kna1
         I_KNB1 = lv_i_knb1
         I_LFA1 = lv_i_lfa1
         I_LFB1 = lv_i_lfb1
    CHANGING
         C_FINAA = lv_c_finaa
         C_ITCPO = lv_c_itcpo
         C_ARCHIVE_INDEX = lv_c_archive_index
         C_ARCHIVE_PARAMS = lv_c_archive_params
. " FIN_FSSC_OPTARCHI_ACCSTAT_2310




ABAP code using 7.40 inline data declarations to call FM FIN_FSSC_OPTARCHI_ACCSTAT_2310

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 KOART FROM BKORM INTO @DATA(ld_i_koart).
 
 
DATA(ld_c_archive_index) = ' '.
 
 
DATA(ld_c_archive_params) = ' '.
 
 
 


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!