SAP Reports / Programs | Financial Accounting(FI) SAP FI

FOT_B2A_ADMIN_MISC SAP ABAP INCLUDE - FOTB2AADMINMISC







FOT_B2A_ADMIN_MISC 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 FOT_B2A_ADMIN_MISC 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 FOT_B2A_ADMIN_MISC. "Basic submit
SUBMIT FOT_B2A_ADMIN_MISC AND RETURN. "Return to original report after report execution complete
SUBMIT FOT_B2A_ADMIN_MISC VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


INCLUDES used within this REPORT FOT_B2A_ADMIN_MISC

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:

MESSAGE_SET_DEFAULTLINE CALL FUNCTION 'MESSAGE_SET_DEFAULTLINE' EXPORTING arbgb = 'FOT_B2A' msgty = 'I' txtnr = '071' zeile = con_2 EXCEPTIONS OTHERS = 1.

ENQUEUE_E_FOTDECLS CALL FUNCTION 'ENQUEUE_E_FOTDECLS' EXPORTING * MODE_FOTDECLSTA = 'E' * MANDT = SY-MANDT decl_type = -decl_type tbukrs = -tbukrs decl_ctry = -decl_ctry decl_year = -decl_year decl_per = -decl_per decl_runid = -decl_runid * DECL_VERS = * X_DECL_TYPE = ' ' * X_TBUKRS = ' ' * X_DECL_CTRY = ' ' * X_DECL_YEAR = ' ' * X_DECL_PER = ' ' * X_DECL_RUNID = ' ' * X_DECL_VERS = ' ' * _SCOPE = '2' * _WAIT = ' ' * _COLLECT = ' ' EXCEPTIONS foreign_lock = 1 OTHERS = 3 .

T005T_SINGLE_READ CALL FUNCTION 'T005T_SINGLE_READ' EXPORTING t005t_spras = sy-langu t005t_land1 = ls_outtab_main-decl_ctry IMPORTING wt005t = ls_t005t EXCEPTIONS not_found = 1 OTHERS = 2.

T005T_SINGLE_READ CALL FUNCTION 'T005T_SINGLE_READ' EXPORTING t005t_spras = sav_spras t005t_land1 = ls_outtab_main-decl_ctry IMPORTING wt005t = ls_t005t EXCEPTIONS not_found = 1 OTHERS = 2.

T001_READ CALL FUNCTION 'T001_READ' EXPORTING bukrs = ls_outtab_main-tbukrs IMPORTING struct = ls_t001 EXCEPTIONS OTHERS = 1.

FOT_DECL_TYPE_TEXT_READ_SINGLE CALL FUNCTION 'FOT_DECL_TYPE_TEXT_READ_SINGLE' EXPORTING i_decl_type = ls_outtab_main-decl_type i_spras = sy-langu * i_bypassing_buffer = con_x IMPORTING e_decl_type_txt = ls_outtab_main-decl_typt EXCEPTIONS text_not_found = 1 OTHERS = 2.

FOT_DECL_TYPE_TEXT_READ_SINGLE CALL FUNCTION 'FOT_DECL_TYPE_TEXT_READ_SINGLE' EXPORTING i_decl_type = ls_outtab_main-decl_type i_spras = sav_spras * i_bypassing_buffer = con_x IMPORTING e_decl_type_txt = ls_outtab_main-decl_typt EXCEPTIONS text_not_found = 1 OTHERS = 2.

RKE_TIMESTAMP_CONVERT_OUTPUT CALL FUNCTION 'RKE_TIMESTAMP_CONVERT_OUTPUT' EXPORTING i_dayst = sy-dayst i_timestmp = ls_outtab_main-sendtstmp i_tzone = sy-tzone IMPORTING e_date = ls_outtab_main-date_send e_time = ls_outtab_main-time_send.

RKE_TIMESTAMP_CONVERT_OUTPUT CALL FUNCTION 'RKE_TIMESTAMP_CONVERT_OUTPUT' EXPORTING i_dayst = sy-dayst i_timestmp = ls_outtab_main-prottstmp i_tzone = sy-tzone IMPORTING e_date = ls_outtab_main-date_ack e_time = ls_outtab_main-time_ack.

RKE_TIMESTAMP_CONVERT_OUTPUT CALL FUNCTION 'RKE_TIMESTAMP_CONVERT_OUTPUT' EXPORTING i_dayst = sy-dayst i_timestmp = ls_outtab_main-creatstmp i_tzone = sy-tzone IMPORTING e_date = ls_outtab_main-date_create e_time = ls_outtab_main-time_create.

RKE_TIMESTAMP_CONVERT_OUTPUT CALL FUNCTION 'RKE_TIMESTAMP_CONVERT_OUTPUT' EXPORTING i_dayst = sy-dayst i_timestmp = ls_outtab_main-chantstmp i_tzone = sy-tzone IMPORTING e_date = ls_outtab_main-date_chnge e_time = ls_outtab_main-time_chnge.

FOT_DCLNOT_READ_ONE_VERS CALL FUNCTION 'FOT_DCLNOT_READ_ONE_VERS' EXPORTING id_decl_type = gs_outtab_main-decl_type id_tbukrs = gs_outtab_main-tbukrs id_decl_ctry = gs_outtab_main-decl_ctry id_decl_year = gs_outtab_main-decl_year id_decl_per = gs_outtab_main-decl_per id_decl_runid = gs_outtab_main-decl_runid id_decl_vers = gs_outtab_main-decl_vers id_bypassing_buffer = ld_bypassing_buffer IMPORTING et_dclnot = lt_dclnot EXCEPTIONS no_items_found = 1 OTHERS = 2.

FOT_PARREFC_READ_TYPE_AND_YEAR CALL FUNCTION 'FOT_PARREFC_READ_TYPE_AND_YEAR' EXPORTING id_decl_type = gs_outtab_main-decl_type id_decl_ctry = gs_outtab_main-decl_ctry id_bypassing_buffer = ld_bypassing_buffer IMPORTING et_parrefc = lt_fotparrefc EXCEPTIONS no_items_found = 1 OTHERS = 2.

RKE_TIMESTAMP_CONVERT_OUTPUT CALL FUNCTION 'RKE_TIMESTAMP_CONVERT_OUTPUT' EXPORTING i_dayst = sy-dayst i_timestmp = ld_timestamp i_tzone = sy-tzone IMPORTING e_date = ls_outtab_par-date_chnge e_time = ls_outtab_par-time_chnge. "Änderbarkeit

FOT_DCLITM_READ_ONE_VERS CALL FUNCTION 'FOT_DCLITM_READ_ONE_VERS' EXPORTING id_decl_type = gs_outtab_main-decl_type id_tbukrs = gs_outtab_main-tbukrs id_decl_ctry = gs_outtab_main-decl_ctry id_decl_year = gs_outtab_main-decl_year id_decl_per = gs_outtab_main-decl_per id_decl_runid = gs_outtab_main-decl_runid id_decl_vers = gs_outtab_main-decl_vers id_bypassing_buffer = ld_bypassing_buffer IMPORTING et_dclitm = lt_dclitm EXCEPTIONS no_items_found = 1 OTHERS = 2.

FOT_READ_DCLITM_SINGLE_TEXT CALL FUNCTION 'FOT_READ_DCLITM_SINGLE_TEXT' EXPORTING id_land = ld_land id_item_key = -decl_item id_spras = ld_langu id_verstax = gs_outtab_main-verstax "N1010307 IMPORTING ed_itmtxt = ls_outtab_fig-valnattxt EXCEPTIONS no_items_found = 1 OTHERS = 2.

RKE_TIMESTAMP_CONVERT_OUTPUT CALL FUNCTION 'RKE_TIMESTAMP_CONVERT_OUTPUT' EXPORTING i_dayst = sy-dayst i_timestmp = ld_timestamp i_tzone = sy-tzone IMPORTING e_date = ls_outtab_fig-date_chnge e_time = ls_outtab_fig-time_chnge. "Änderbarkeit

FOT_READ_FOTTDCLCON_TO_SENID CALL FUNCTION 'FOT_READ_FOTTDCLCON_TO_SENID' EXPORTING id_decl_senid = gs_outtab_main-decl_senid IMPORTING et_fottdclcon = lt_fottdclcon EXCEPTIONS no_items_found = 1 OTHERS = 2.

FOT_PARREFC_READ_TYPE_AND_YEAR





CALL FUNCTION 'FOT_PARREFC_READ_TYPE_AND_YEAR' EXPORTING id_decl_type = gs_outtab_main-decl_type id_decl_ctry = gs_outtab_main-decl_ctry * ID_BYPASSING_BUFFER = IMPORTING et_parrefc = lt_fotparrefc EXCEPTIONS no_items_found = 1 OTHERS = 2.

FOT_FOTETAXC_READ_SINGLE CALL FUNCTION 'FOT_FOTETAXC_READ_SINGLE' EXPORTING id_decl_type = ld_decl_type id_tbukrs = gs_outtab_main-tbukrs id_decl_ctry = gs_outtab_main-decl_ctry IMPORTING es_fotetaxc = ls_fotetaxc EXCEPTIONS no_items_found = 1 OTHERS = 2.

FOT_READ_FOTTPRTXML_TO_SENID CALL FUNCTION 'FOT_READ_FOTTPRTXML_TO_SENID' EXPORTING id_decl_senid = gs_outtab_main-decl_senid IMPORTING et_fottprtxml = lt_fottprtxml EXCEPTIONS no_items_found = 1 OTHERS = 2.

FOT_READ_FOTTDCLXML_TO_SENID CALL FUNCTION 'FOT_READ_FOTTDCLXML_TO_SENID' EXPORTING id_decl_senid = gs_outtab_main-decl_senid * id_bypassing_buffer = con_x IMPORTING et_fottdclxml = lt_fottdclxml EXCEPTIONS no_items_found = 1 OTHERS = 2.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = text-026 text_question = text-035 text_button_1 = text-xm1 icon_button_1 = 'ICON_XML_DOC' text_button_2 = text-xm2 icon_button_2 = 'ICON_XML_DOC' display_cancel_button = con_x start_column = 25 start_row = 6 IMPORTING answer = ld_answer EXCEPTIONS text_not_found = 1 OTHERS = 2.

FOT_READ_FOTTDCLXML_TO_SENID CALL FUNCTION 'FOT_READ_FOTTDCLXML_TO_SENID' EXPORTING id_decl_senid = gs_outtab_main-decl_senid * id_bypassing_buffer = con_x IMPORTING et_fottdclxml = lt_fottdclxml EXCEPTIONS no_items_found = 1 OTHERS = 2.

FOT_READ_FOTTPRTXML_TO_SENID CALL FUNCTION 'FOT_READ_FOTTPRTXML_TO_SENID' EXPORTING id_decl_senid = gs_outtab_main-decl_senid IMPORTING et_fottprtxml = lt_fottprtxml EXCEPTIONS no_items_found = 1 OTHERS = 2.

FOT_FOTETAXPC_READ_SINGLE CALL FUNCTION 'FOT_FOTETAXPC_READ_SINGLE' EXPORTING id_tbukrs = -tbukrs id_decl_ctry = -decl_ctry id_bypassing_buffer = con_x IMPORTING et_etaxpc = lt_fotetaxpc EXCEPTIONS no_items_found = 1 OTHERS = 2.

FOT_PARREFC_READ_TYPE_AND_YEAR CALL FUNCTION 'FOT_PARREFC_READ_TYPE_AND_YEAR' EXPORTING id_decl_type = -decl_type id_decl_ctry = -decl_ctry id_bypassing_buffer = con_x IMPORTING et_parrefc = lt_fotparrefc EXCEPTIONS no_items_found = 1 OTHERS = 2.

RKE_TIMESTAMP_CONVERT_INPUT CALL FUNCTION 'RKE_TIMESTAMP_CONVERT_INPUT' EXPORTING i_date = ld_create_date i_dayst = sy-dayst i_time = ld_create_time i_tzone = sy-tzone IMPORTING e_timestmp = ld_create_tstmp EXCEPTIONS OTHERS = 2. "Änderbarkeit

RKE_TIMESTAMP_CONVERT_INPUT CALL FUNCTION 'RKE_TIMESTAMP_CONVERT_INPUT' EXPORTING i_date = ld_create_date i_dayst = sy-dayst i_time = ld_create_time i_tzone = sy-tzone IMPORTING e_timestmp = ld_create_tstmp EXCEPTIONS OTHERS = 2. "Änderbarkeit

DB_COMMIT CALL FUNCTION 'DB_COMMIT'.

MESSAGE_SET_DEFAULTLINE CALL FUNCTION 'MESSAGE_SET_DEFAULTLINE' EXPORTING arbgb = 'FOT_B2A' msgty = 'I' txtnr = '070' zeile = con_1 EXCEPTIONS OTHERS = 1.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = cd_icon text = id_icon_text info = id_icon_text IMPORTING result = cd_icon EXCEPTIONS OTHERS = 1.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = text-004 text_question = ld_text text_button_1 = text-001 icon_button_1 = 'ICON_OKAY' text_button_2 = text-002 icon_button_2 = 'ICON_CANCEL' display_cancel_button = con_space default_button = con_2 start_column = 25 start_row = 6 popup_type = 'ICON_MESSAGE_WARNING' IMPORTING answer = ld_answer EXCEPTIONS text_not_found = 1 OTHERS = 2.

FOT_T000_READ_SINGLE CALL FUNCTION 'FOT_T000_READ_SINGLE' IMPORTING ed_category = ld_category.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = text-004 text_question = ld_text text_button_1 = text-s01 icon_button_1 = 'ICON_ORG_UNIT' text_button_2 = text-xm1 icon_button_2 = 'ICON_MSG' display_cancel_button = con_x start_column = 25 start_row = 6 popup_type = 'ICON_MESSAGE_WARNING' IMPORTING answer = ld_answer EXCEPTIONS text_not_found = 1 OTHERS = 2.

RKE_TIMESTAMP_CONVERT_INPUT CALL FUNCTION 'RKE_TIMESTAMP_CONVERT_INPUT' EXPORTING i_date = cd_date i_dayst = sy-dayst i_time = cd_time i_tzone = sy-tzone IMPORTING e_timestmp = cd_tstmp EXCEPTIONS OTHERS = 2.

DB_COMMIT CALL FUNCTION 'DB_COMMIT'.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = id_title text_question = id_text text_button_1 = text-023 icon_button_1 = 'ICON_OKAY' text_button_2 = text-024 icon_button_2 = 'ICON_CANCEL' display_cancel_button = con_space start_column = 25 start_row = 6 popup_type = 'ICON_MESSAGE_WARNING' IMPORTING answer = ld_answer EXCEPTIONS text_not_found = 1 OTHERS = 2.




POPUP_TO_DECIDE_LIST CALL FUNCTION 'POPUP_TO_DECIDE_LIST' EXPORTING ** CURSORLINE = 1 mark_flag = 'X' mark_max = 0 start_col = 10 start_row = 10 textline1 = 'Durch die Eingabe einer externen Umsatzsteuerzahllast'(050) textline2 = 'wurde das Vorzeichen der Gesamtzahllast umgekehrt'(051) textline3 = 'Passen Sie die Kennziffern 29 und 26 an.'(052)

RKE_TIMESTAMP_CONVERT_INPUT CALL FUNCTION 'RKE_TIMESTAMP_CONVERT_INPUT' EXPORTING i_date = ld_create_date i_dayst = sy-dayst i_time = ld_create_time i_tzone = sy-tzone IMPORTING e_timestmp = ld_create_tstmp EXCEPTIONS OTHERS = 2. "Änderbarkeit

RKE_TIMESTAMP_CONVERT_INPUT CALL FUNCTION 'RKE_TIMESTAMP_CONVERT_INPUT' EXPORTING i_date = ld_create_date i_dayst = sy-dayst i_time = ld_create_time i_tzone = sy-tzone IMPORTING e_timestmp = ld_create_tstmp EXCEPTIONS OTHERS = 2. "Änderbarkeit

T001_READ CALL FUNCTION 'T001_READ' EXPORTING bukrs = gs_outtab_main-tbukrs IMPORTING struct = ls_t001 EXCEPTIONS OTHERS = 1.

ADDR_GET CALL FUNCTION 'ADDR_GET' EXPORTING address_selection = ls_addr1_sel address_group = 'CA01' IMPORTING address_value = ls_addr1_val EXCEPTIONS address_not_exist = 1 OTHERS = 2.

MESSAGES_INITIALIZE CALL FUNCTION 'MESSAGES_INITIALIZE' EXPORTING i_store_duplicates = con_space reset = con_x EXCEPTIONS OTHERS = 1.

MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' EXPORTING arbgb = i_arbgb exception_if_not_active = 'X' msgty = i_msgty msgv1 = i_msgv1 msgv2 = i_msgv2 msgv3 = i_msgv3 msgv4 = i_msgv4 txtnr = i_msgnr EXCEPTIONS message_type_not_valid = 1 not_active = 2 OTHERS = 3.

MESSAGES_SHOW CALL FUNCTION 'MESSAGES_SHOW' EXPORTING batch_list_type = con_j EXCEPTIONS OTHERS = 1.

MESSAGES_STOP CALL FUNCTION 'MESSAGES_STOP' EXPORTING i_reset_messages = con_x EXCEPTIONS OTHERS = 1.

FOT_RFD_INIT_MONI CALL FUNCTION 'FOT_RFD_INIT_MONI' EXPORTING i_decltyp = pa_typ i_declctry = pa_ctry i_declyear = pa_rjahr i_rfdctry = pa_rctry i_rt_tbukrs = gt_r_org i_rt_declper = gt_r_per io_period = go_period EXCEPTIONS no_data_found = 1.



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