IRFKKARVAT_MAG_SUP_GRAL_CODING is a standard ABAP INCLUDE available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.
If you would like to execute this report or see the full code listing simply enter IRFKKARVAT_MAG_SUP_GRAL_CODING into the relevant SAP transactions such as SE38 or SE80
This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.
Title: ARGENTINA: VAT reports common coding
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
FKK_AR_COMPANY_DATA_GET CALL FUNCTION 'FKK_AR_COMPANY_DATA_GET' EXPORTING i_bukrs = s_bukrs IMPORTING e_t001 = e_t001 e_id_type = xt001-stcdt e_id_number = xt001-stcd1 e_kalsm = xt001-kalsm EXCEPTIONS id_not_found = 1 company_code_not_found = 2 kalsm_not_found = 3 OTHERS = 4.
FKK_AR_GET_PROCESSING_KEYS CALL FUNCTION 'FKK_AR_GET_PROCESSING_KEYS' EXPORTING i_kalsm = xt001-kalsm TABLES t_ktosl = xktosl EXCEPTIONS error_message = 1.
FKK_AR_PROGRAM_OPEN CALL FUNCTION 'FKK_AR_PROGRAM_OPEN' EXPORTING i_bukrs = s_bukrs i_fromdate = from_date i_todate = to_date i_report_type = report_type TABLES t_j_1ataxid = xktosl CHANGING i_test = s_test.
FKK2_AR_INIT_MASSIVE_SELECTION CALL FUNCTION 'FKK2_AR_INIT_MASSIVE_SELECTION' EXPORTING i_bukrs = s_bukrs i_from_date = from_date i_to_date = to_date i_limit = co_package_size i_report_type = report_type i_process_way = process_way TABLES t_ktosl = xktosl t_xblnr_range = s_xblnr EXCEPTIONS invalid_parameters = 1 OTHERS = 2.
FKK_AR_GET_MASSIVE_SALES_TAX CALL FUNCTION 'FKK_AR_GET_MASSIVE_SALES_TAX' TABLES package_tab = doc_lines EXCEPTIONS last_package = 1 OTHERS = 2.
FKK_AR_GET_OTHER_DOC_TAXES CALL FUNCTION 'FKK_AR_GET_OTHER_DOC_TAXES' TABLES package_tab = doc_lines other_tax_tab = other_taxes[].
FKK_AR_DOC_TYPE_GET * CALL FUNCTION 'FKK_AR_DOC_TYPE_GET' * EXPORTING * I_J_1ADOCCLS = P_DOCCLS * I_J_1APRTCHR = P_PRTCHR * IMPORTING * E_J_1AOFTP = P_J_1AOFTP * EXCEPTIONS * DOC_TYPE_NOT_FOUND = 1 * OTHERS = 2.
FI_PERIOD_DETERMINE CALL FUNCTION 'FI_PERIOD_DETERMINE' EXPORTING i_budat = p_date i_bukrs = s_bukrs i_periv = xt001-periv IMPORTING e_gjahr = p_period-gjahr e_monat = p_period-monat.
FKK_AR_PROGRAM_CLOSE CALL FUNCTION 'FKK_AR_PROGRAM_CLOSE' EXPORTING i_bukrs = s_bukrs i_earuptodate = to_date i_fromdate = from_date i_report_type = report_type i_test = s_test TABLES t_j_1ataxid = xktosl EXCEPTIONS error_update_tearrepcont = 1 record_not_found_tearrepcont = 2 OTHERS = 3.
F4_FILENAME CALL FUNCTION 'F4_FILENAME' EXPORTING program_name = syst-cprog dynpro_number = syst-dynnr field_name = fieldname IMPORTING file_name = file.
FILE_VALIDATE_NAME CALL FUNCTION 'FILE_VALIDATE_NAME' EXPORTING logical_filename = GC_LOGICAL_FNAME CHANGING physical_filename = sfile_ap EXCEPTIONS logical_filename_not_found = 1 validation_failed = 2 OTHERS = 3.
FILE_VALIDATE_NAME CALL FUNCTION 'FILE_VALIDATE_NAME' EXPORTING logical_filename = GC_LOGICAL_FNAME CHANGING physical_filename = pfile_ap EXCEPTIONS logical_filename_not_found = 1 validation_failed = 2 OTHERS = 3.
READ_EXCHANGE_RATE CALL FUNCTION 'READ_EXCHANGE_RATE' EXPORTING date = p_date foreign_currency = p_foreign_currency local_currency = p_local_currency IMPORTING exchange_rate = lcl_kursf foreign_factor = lcl_foreign local_factor = lcl_local EXCEPTIONS OTHERS = 1.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
IRFKKARVAT_MAG_SUP_GRAL_CODING - ARGENTINA: VAT reports common coding IRFKKARVAT_MAG_SUPP_TOP - ARGENTINA: General VAT Top include IRFKKARVAT_MAG_SUPPORT_TOP - ARGENTINA: VAT legal book top include IRFKKARVAT_MAG_SUPPORT_LIST - Argentina: include for VATBOOK list processing IRFKKARVAT_MAG_SUPPORT - Include IRFKKARVAT_BOOK_FILE IRFKKARVAT_GENERAL_CODING - ARGENTINA: VAT reports common coding