SAP Reports / Programs

FOT_B2A_SAP SAP ABAP Report - Generation of Electronic Special Advance Payment / Permanent Extension







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


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

FOTP - Create Electr. Special Advance Payt


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 FOT_B2A_SAP. "Basic submit
SUBMIT FOT_B2A_SAP AND RETURN. "Return to original report after report execution complete
SUBMIT FOT_B2A_SAP 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: 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


INCLUDES used within this REPORT FOT_B2A_SAP

INCLUDE FOT_B2A_CONSTANTS.


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:

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 *



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 FOT_B2A_SAP or its description.