SAP Reports / Programs | Financial Accounting | Localization(FI-LOC) SAP FI

J_1AF217 SAP ABAP Report - Important Transactions Cross Check C.I.T.I. RG 781/2000







J_1AF217 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for The report is used to create a list/file based concerning the law RG 781/2000...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.

If you would like to execute this report or see the full code listing simply enter J_1AF217 into the relevant SAP transactions such as SE38 or SE80


ABAP code to call this SAP report using the submit statement

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.






SUBMIT J_1AF217. "Basic submit
SUBMIT J_1AF217 AND RETURN. "Return to original report after report execution complete
SUBMIT J_1AF217 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Selection Text: S_SPCGLK = Special G/L Ind. A/P
Selection Text: S_SPCGLD = Special G/L Ind. A/R
Selection Text: S_PRECS = List records
Selection Text: S_PLIST = List documents
Selection Text: S_MWSKZ = Tax Code
Selection Text: S_FILE1 = Documents
Selection Text: S_EVENT = Correspond. Type for Customs
Selection Text: P_VARIA = D .
Title: Important Transactions Cross Check C.I.T.I. RG 781/2000
Text Symbol: M09 = Document type
Text Symbol: M11 = can not be assigned to received and issued types
Text Symbol: M13 = simultaneously
Text Symbol: M15 = Select at least one received doc. type
Text Symbol: M17 = Cannot open file
Text Symbol: ODT = Off.Doc.Typ
Text Symbol: OFF = Ref.Doc.No
Text Symbol: P10 = Customer
Text Symbol: P12 = Vendor
Text Symbol: P14 = Company
Text Symbol: S01 = Additional selections
Text Symbol: S02 = Create Files for
Text Symbol: T01 = Number of downloaded records:
Text Symbol: T03 = Dataset:
Text Symbol: T05 = Amount added to Not taxed concepts to avoid import error:
Text Symbol: T50 = T O T A L S
Text Symbol: T60 = VAT Rate
Text Symbol: T63 = VAT Account
Text Symbol: T65 = Debit
Text Symbol: T67 = Credit
Text Symbol: VAT = VATX
Text Symbol: H00 = Crossed Information for Important Transactions Month &1 Year &2
Text Symbol: H03 = P U R C H A S E D O C U M E N T S
Text Symbol: H05 = O T H E R T A X R A T E S
Text Symbol: H07 = I S S U E D C R E D I T M E M O S
Text Symbol: H09 = P R O G R A M L O G
Text Symbol: H10 = Seq.No.
Text Symbol: H11 = Account Type/No.
Text Symbol: H12 = Post.Date





Text Symbol: H13 = Document Type/No.
Text Symbol: H14 = Doc.Date
Text Symbol: H15 = Off.Doc.No.
Text Symbol: H20 = Total amount
Text Symbol: H21 = Not taxed
Text Symbol: H22 = Net
Text Symbol: H23 = Tax %
Text Symbol: H24 = VAT
Text Symbol: H25 = Exempted
Text Symbol: H26 = Diff.rates
Text Symbol: H27 = Identific. No.
Text Symbol: HC0 = Tax No.:
Text Symbol: L10 = Warning: Official document number is empty
Text Symbol: L12 = Warning: Identification number is empty for &1 &2
Text Symbol: L14 = Warning: Type of document of identification is empty for &1 &2
Text Symbol: L16 = Document:
Text Symbol: L18 = Warning: Invalid type of document of identification for &1 &2
Text Symbol: L20 = Warning: Invalid Official Document Type
Text Symbol: M01 = Enter selection dates
Text Symbol: M03 = Selection dates should fall in the same month
Text Symbol: M05 = Select received or issued doc. type.
Text Symbol: M07 = Normally both should be selected


INCLUDES used within this REPORT J_1AF217

No INCLUDES are used within this REPORT code!


TABLES used within REPORT and the associated SELECT statement:

No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

PAK_GET_SHORTTEXT_DTEL CALL FUNCTION 'PAK_GET_SHORTTEXT_DTEL' EXPORTING i_elem_key = gc_layout i_language = sy-langu IMPORTING e_short_text = gv_frame_tit.

VENDOR_READ CALL FUNCTION 'VENDOR_READ' EXPORTING I_BUKRS = SPACE I_LIFNR = BSEG-LIFNR IMPORTING E_LFA1 = LFA1.

CUSTOMER_READ CALL FUNCTION 'CUSTOMER_READ' EXPORTING I_BUKRS = SPACE I_KUNNR = BSEG-KUNNR IMPORTING E_KNA1 = KNA1.

J_1A_EXIT_J_1AF217 CALL FUNCTION 'J_1A_EXIT_J_1AF217' TABLES DOCTAB = doctab.

FAGL_BATCH_HEADING_PERFORM CALL FUNCTION 'FAGL_BATCH_HEADING_PERFORM' EXPORTING is_bhdgd = bhdgd.

FILE_VALIDATE_NAME CALL FUNCTION 'FILE_VALIDATE_NAME' EXPORTING LOGICAL_FILENAME = gc_filename PARAMETER_1 = sy-cprog CHANGING PHYSICAL_FILENAME = S_FILE1 EXCEPTIONS LOGICAL_FILENAME_NOT_FOUND = 1 VALIDATION_FAILED = 2 OTHERS = 3 .

READ_TEXT CALL FUNCTION 'READ_TEXT' EXPORTING ID = 'FIKO' LANGUAGE = BKORM-PARAM+78(1) NAME = TEXT_NAME OBJECT = 'BKORM' TABLES LINES = XTLINE.






RV_ORDER_FLOW_INFORMATION CALL FUNCTION 'RV_ORDER_FLOW_INFORMATION' EXPORTING comwa = comwa TABLES vbfa_tab = vbfa_tab.

AC_DOCUMENT_RECORD CALL FUNCTION 'AC_DOCUMENT_RECORD' EXPORTING i_awtyp = 'RMRP' i_awref = rbkp-stblg i_aworg = mm_rjahr x_dialog = not_dialog TABLES t_documents = mm_doc EXCEPTIONS no_reference = 1 no_document = 2 OTHERS = 3.

REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' EXPORTING i_list_type = 0 IMPORTING et_events = xt_eventtab EXCEPTIONS list_type_wrong = 1 OTHERS = 2.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = gv_repid i_structure_name = gc_struct1 CHANGING ct_fieldcat = xt_fieldcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = gv_repid i_structure_name = gc_struct2 CHANGING ct_fieldcat = xt_fieldcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = gv_repid i_internal_tabname = gt_tab_header i_structure_name = is_struct1 CHANGING ct_fieldcat = xt_fieldcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = gv_repid i_internal_tabname = gt_tab_item i_structure_name = is_struct2 CHANGING ct_fieldcat = xt_fieldcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = gv_repid i_callback_pf_status_set = gc_setpfstatus i_callback_user_command = gc_user_command it_fieldcat = gt_fieldcat i_save = gc_value_x is_variant = gs_variant it_events = gt_event TABLES t_outtab = gt_doctab EXCEPTIONS program_error = 1 OTHERS = 2.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = gv_repid i_callback_pf_status_set = gc_setpfstatus i_callback_user_command = gc_user_command it_fieldcat = gt_fieldcat i_save = gc_value_x is_variant = gs_variant it_events = gt_event TABLES t_outtab = gt_record_1 EXCEPTIONS program_error = 1 OTHERS = 2.

REUSE_ALV_HIERSEQ_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY' EXPORTING i_callback_program = gv_repid i_callback_pf_status_set = gc_setpfstatus i_callback_user_command = gc_user_command it_fieldcat = gt_fieldcat i_save = gc_value_x is_variant = gs_variant it_events = gt_event i_tabname_header = gt_tab_header i_tabname_item = gt_tab_item is_keyinfo = gs_keyinfo TABLES t_outtab_header = gt_doctab t_outtab_item = gt_record_1 EXCEPTIONS program_error = 1 OTHERS = 2.

BAL_LOG_CREATE CALL FUNCTION 'BAL_LOG_CREATE' EXPORTING i_s_log = gs_log IMPORTING e_log_handle = g_log_handle EXCEPTIONS log_header_inconsistent = 1 OTHERS = 2.

BAL_LOG_MSG_ADD_FREE_TEXT CALL FUNCTION 'BAL_LOG_MSG_ADD_FREE_TEXT' EXPORTING * I_LOG_HANDLE = i_msgty = iv_msgty i_text = iv_text EXCEPTIONS log_not_found = 1 msg_inconsistent = 2 log_is_full = 3 OTHERS = 4 .

BAL_DSP_PROFILE_NO_TREE_GET CALL FUNCTION 'BAL_DSP_PROFILE_NO_TREE_GET' IMPORTING e_s_display_profile = ls_display_profile EXCEPTIONS OTHERS = 1.

BAL_DSP_LOG_DISPLAY CALL FUNCTION 'BAL_DSP_LOG_DISPLAY' EXPORTING i_s_display_profile = gs_display_profile EXCEPTIONS OTHERS = 1.

BAL_DSP_LOG_PRINT CALL FUNCTION 'BAL_DSP_LOG_PRINT' EXPORTING I_S_PRINT_OPTIONS = ls_print_options I_S_LIST_APPEND = gc_value_x I_S_DISPLAY_PROFILE = gs_display_profile * I_T_LOG_HANDLE = * I_T_MSG_HANDLE = * I_S_LOG_FILTER = * I_S_MSG_FILTER = * I_T_LOG_CONTEXT_FILTER = * I_T_MSG_CONTEXT_FILTER = EXCEPTIONS PROFILE_INCONSISTENT = 1 INTERNAL_ERROR = 2 NO_DATA_AVAILABLE = 3 NO_AUTHORITY = 4 OTHERS = 5.

REUSE_ALV_VARIANT_F4 CALL FUNCTION 'REUSE_ALV_VARIANT_F4' EXPORTING is_variant = gs_variant i_save = gc_value_x IMPORTING es_variant = ls_variant EXCEPTIONS not_found = 1 program_error = 2 OTHERS = 3.

REUSE_ALV_VARIANT_EXISTENCE CALL FUNCTION 'REUSE_ALV_VARIANT_EXISTENCE' EXPORTING i_save = gc_value_x CHANGING cs_variant = ls_variant.



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.

The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name J_1AF217 or its description.