FKKSK_RFC_EXPORT_DATA is a standard SAP function module that performs Returns data for given period functionality. This is available within standard R/3 SAP systems depending on version and release level.
Below are the pattern details for this FM showing its interface including any import, export and tables parameters. There is also a list of Exceptions and for your convenience any standard documentation available. All this information and more can also be viewed if you enter the function module name FKKSK_RFC_EXPORT_DATA into the relevant SAP transaction such as SE37 or SE80.
CALL FUNCTION 'FKKSK_RFC_EXPORT_DATA' "Returns data for given period
EXPORTING
iv_bukrs = " bukrs Company Code
iv_gjahr = " gjahr Fiscal Year
* iv_monat = " monat Fiscal Period
* iv_quarter = " fkksk_quarter_num Byte Value
iv_rep_run = " fkksk_rep_run Sequential Number of the Report Run
iv_rep_sect = " fkksk_repsect Section in the VAT Ledger Report
* iv_collect_flg = 'X' " boole_d X = collect output
IMPORTING
et_vat_data = " fisk_t_section VAT Ledger Data
et_messages = " bapirettab Table with BAPI Return Information
ev_next_data = " boolean Boolean Variable (X=True, -=False, Space=Unknown)
et_totals = " fisk_t_totals Totals for FICA Interface
. " FKKSK_RFC_EXPORT_DATA