FOT_B2A_SAP is a standard Executable ABAP Report 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 FOT_B2A_SAP into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
FOTP - Create Electr. Special Advance Payt
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.
Selection Text: PAR_TEST = Execute Test Run
Selection Text: PAR_XDFV = Request for PermanentExtension
Selection Text: PAR_XSVZ = Special Advance Payment
Selection Text: PA_CORR = D .
Selection Text: PA_LSTM = D .
Selection Text: PA_RJAHR = D .
Selection Text: PA_VARI = D .
Selection Text: SO_ORG = D .
Title: Generation of Electronic Special Advance Payment / Permanent Extension
Text Symbol: 301 = Special advance payment not maintained for taxes on sales/purchases group. No reporting data is generated:
Text Symbol: 302 = Taxes on sales/purchases group not maintained. No reporting data is generated:
Text Symbol: F01 = Selection Data
Text Symbol: F02 = Electronic Advance Tax Return
Text Symbol: F03 = Test Function
Text Symbol: F04 = Output Control
INCLUDE FOT_B2A_CONSTANTS.
No SAP DATABASE tables are accessed within this REPORT code!
FOT_CREATE_ITABS CALL FUNCTION 'FOT_CREATE_ITABS' EXPORTING it_bukrs_umkrs = lt_bukrs_umkrs id_decl_type = gd_decl_type id_flag_umkrs = 'X' IMPORTING et_fotdeclsta = gt_fotdeclsta et_decl_help = gt_decl_help et_fottbukrs = gt_fottbukrs.
FOT_CHECK_DECLSTA CALL FUNCTION 'FOT_CHECK_DECLSTA' EXPORTING it_fotdeclsta = gt_fotdeclsta id_par_corr = pa_corr.
FOT_ENQUEUE_DECLSTA CALL FUNCTION 'FOT_ENQUEUE_DECLSTA' EXPORTING it_fotdeclsta = gt_fotdeclsta id_enqmod = 'CHK'.
FOT_OUTPUT_DECLARATION * CALL FUNCTION 'FOT_OUTPUT_DECLARATION'.
FOT_CHECK_DECLSTA CALL FUNCTION 'FOT_CHECK_DECLSTA' EXPORTING it_fotdeclsta = gt_fotdeclsta id_par_corr = pa_corr id_no_warning = 'X'.
FOT_ENQUEUE_DECLSTA CALL FUNCTION 'FOT_ENQUEUE_DECLSTA' EXPORTING it_fotdeclsta = gt_fotdeclsta id_enqmod = 'ENQ'.
FOT_BUILD_DECLSTA CALL FUNCTION 'FOT_BUILD_DECLSTA' EXPORTING ix_update = space CHANGING ct_fotdeclsta = gt_fotdeclsta.
FOT_BUILD_DCLNOT CALL FUNCTION 'FOT_BUILD_DCLNOT' EXPORTING it_fotdeclsta = gt_fotdeclsta it_decl_help = gt_decl_help id_par_corr = pa_corr IMPORTING et_fottdclnot = gt_fottdclnot.
FOT_BUILD_BUKRS CALL FUNCTION 'FOT_BUILD_BUKRS' EXPORTING it_fotdeclsta = gt_fotdeclsta CHANGING ct_fottbukrs = gt_fottbukrs.
FOT_BUILD_DECLSTA CALL FUNCTION 'FOT_BUILD_DECLSTA' EXPORTING ix_update = 'X' CHANGING ct_fotdeclsta = gt_fotdeclsta.
FOT_ENQUEUE_DECLSTA CALL FUNCTION 'FOT_ENQUEUE_DECLSTA' EXPORTING it_fotdeclsta = gt_fotdeclsta id_enqmod = 'DEQ'.
REUSE_ALV_VARIANT_F4 CALL FUNCTION 'REUSE_ALV_VARIANT_F4' EXPORTING is_variant = ls_variant i_save = 'A' IMPORTING e_exit = ld_exit es_variant = ls_variant2 EXCEPTIONS not_found = 2.
REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' "#EC * EXPORTING i_callback_program = sy-repid is_layout = ls_layout it_fieldcat = lt_fieldcat * it_excluding = it_excluding * it_sort = it_sort i_save = con_a is_variant = ls_variant is_print = ls_print i_suppress_empty_data = space TABLES t_outtab = Lt_euva_list[] EXCEPTIONS program_error = 1 OTHERS = 2. "#EC *
REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' "#EC * EXPORTING i_structure_name = 'FOT_S_SVZL' i_bypassing_buffer = con_x CHANGING ct_fieldcat = ct_fieldcat EXCEPTIONS OTHERS = 1. "#EC *
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
FOT_B2A_SAP - Generation of Electronic Special Advance Payment / Permanent Extension FOT_B2A_SAP - Generation of Electronic Special Advance Payment / Permanent Extension FOT_B2A_CREATE_CONSTANTS - FOTB2ACREATECONSTANTS FOT_B2A_CONSTANTS - FOTB2ACONSTANTS FOT_B2A_ADMIN_XML - FOTB2AADMINXML FOT_B2A_ADMIN_TP - FOTB2AADMINTP