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

SAPF080R SAP ABAP Report - Reverse Accrual/Deferral Documents







SAPF080R is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for The SAPF080R program is used to create reverse postings for Financial Accounting accrual/deferral documents...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 SAPF080R 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 SAPF080R. "Basic submit
SUBMIT SAPF080R AND RETURN. "Return to original report after report execution complete
SUBMIT SAPF080R 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: BVOR_ALL = Only reverse completely
Selection Text: BVOR_NO = Do not process
Selection Text: BVOR_POS = Relevant docs if possible
Selection Text: BVOR_YES = Process
Selection Text: LDGRP = D .
Selection Text: RBDAT = Reverse posting date
Selection Text: BELNR = D .
Selection Text: BLART = D .
Selection Text: BUDAT = D .
Selection Text: BUKRS = D .
Selection Text: CPUDT = D .
Selection Text: GJAHR = D .
Selection Text: MONAT = D .
Selection Text: STGRD = D .
Selection Text: TESTLAUF = D .
Selection Text: USNAM = D .
Selection Text: XBLNR = D .
Title: Reverse Accrual/Deferral Documents
Text Symbol: 041 = Message
Text Symbol: 040 = Inverse Posting Date
Text Symbol: 038 = Processing completed
Text Symbol: 037 = Document selection is running...
Text Symbol: 036 = Document is being processed...
Text Symbol: 035 = Reverse posting details
Text Symbol: 034 = Further Selections
Text Symbol: 033 = Option selected: Only reverse relevant documents if transaction can be completely reversed
Text Symbol: 032 = Option selected: Reverse relevant documents if possible
Text Symbol: 031 = Cannot be reversed; document from cross-company code trans. cannot be reversd
Text Symbol: 001 = Docs which cannnot be reversed
Text Symbol: 002 = Docs which can be reversed
Text Symbol: 003 = Reversed documents
Text Symbol: 006 = reversed with document ;;
Text Symbol: 007 = All documents can be reversed.
Text Symbol: 008 = No document can be reversed.
Text Symbol: 009 = All documents were reversed.
Text Symbol: 010 = Reverse Accrual/Deferral Documents
Text Symbol: 011 = Test run
Text Symbol: 012 = Update





Text Symbol: 013 = Document number;;
Text Symbol: 014 = Company code ;;
Text Symbol: 015 = Fiscal year ;;
Text Symbol: 016 = Doc.type ;;
Text Symbol: 017 = Posting date ;;
Text Symbol: 018 = Document date ;;
Text Symbol: 019 = Reference Document Number
Text Symbol: 020 = All items in the document were cleared
Text Symbol: 021 = Further Selections
Text Symbol: 022 = General selections
Text Symbol: 023 = No. of docs reversed:
Text Symbol: 024 = Cross-company code transactions
Text Symbol: 025 = Non-Cross-Company Code Transactions
Text Symbol: 026 = Can be reversed
Text Symbol: 027 = Cross-Company Code Transaction
Text Symbol: 028 = Cross-company code transactions that can be compl. reversed
Text Symbol: 029 = Cross-company code transacts that cannot be completely reversed
Text Symbol: 030 = Completely reversed cross-company code transactions


INCLUDES used within this REPORT SAPF080R

INCLUDE RKASMAWF. "NOTE1178245


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:

FAGL_CHECK_GLFLEX_ACTIVE * CALL FUNCTION 'FAGL_CHECK_GLFLEX_ACTIVE' "n792805/1323788 * IMPORTING "n792805/1323788 * e_glflex_active = ld_glx_active. "n792805/1323788

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING percentage = '50' text = text-037.

POPUP_NO_LIST CALL FUNCTION 'POPUP_NO_LIST' EXPORTING on_empty_list = space force = 'X'.

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING percentage = '50' text = text-036.

REUSE_ALV_LIST_DISPLAY * CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' * EXPORTING * i_callback_program = iv_repid * i_callback_pf_status_set = gc_form_pf_status * i_callback_user_command = gc_form_user_command * is_layout = ls_layout * it_fieldcat = lt_fieldcat * i_save = gc_value_a * is_variant = is_variant * it_events = lt_events * is_print = ls_prnt_global * it_sort = lt_sort_acc * TABLES * t_outtab = it_sucess * EXCEPTIONS * program_error = 1 * OTHERS = 2.

REUSE_ALV_FIELDCATALOG_MERGE * CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' * EXPORTING * i_structure_name = gc_struc * CHANGING * ct_fieldcat = xt_fieldcat * EXCEPTIONS * inconsistent_interface = 1 * program_error = 2 * OTHERS = 3.

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

REUSE_ALV_LIST_LAYOUT_INFO_GET CALL FUNCTION 'REUSE_ALV_LIST_LAYOUT_INFO_GET' IMPORTING e_width = lv_width EXCEPTIONS no_infos = 1 program_error = 2 OTHERS = 3.

FAGL_BATCH_HEADING_PERFORM CALL FUNCTION 'FAGL_BATCH_HEADING_PERFORM' EXPORTING is_bhdgd = bhdgd.






BAL_DSP_PROFILE_SINGLE_LOG_GET CALL FUNCTION 'BAL_DSP_PROFILE_SINGLE_LOG_GET' IMPORTING e_s_display_profile = gs_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_LOG_CREATE CALL FUNCTION 'BAL_LOG_CREATE' EXPORTING i_s_log = xs_log IMPORTING e_log_handle = es_log_handle EXCEPTIONS log_header_inconsistent = 1 OTHERS = 2.

BAL_LOG_MSG_ADD CALL FUNCTION 'BAL_LOG_MSG_ADD' EXPORTING i_log_handle = is_log_handle i_s_msg = ls_message EXCEPTIONS log_not_found = 1 msg_inconsistent = 2 log_is_full = 3 OTHERS = 4.

BAL_DSP_LOG_PRINT CALL FUNCTION 'BAL_DSP_LOG_PRINT' EXPORTING i_s_list_append = gc_checked i_s_display_profile = gs_display_profile i_t_log_handle = lt_log_hdl EXCEPTIONS profile_inconsistent = 1 internal_error = 2 no_data_available = 3 no_authority = 4 OTHERS = 5.

BAL_GLB_MSG_DEFAULTS_GET CALL FUNCTION 'BAL_GLB_MSG_DEFAULTS_GET' IMPORTING e_s_msg_defaults = ls_log_def.

BAL_DSP_LOG_PRINT CALL FUNCTION 'BAL_DSP_LOG_PRINT' EXPORTING i_s_list_append = gc_checked i_s_display_profile = gs_display_profile * i_t_log_handle = lt_log_hdl EXCEPTIONS profile_inconsistent = 1 internal_error = 2 no_data_available = 3 no_authority = 4 OTHERS = 5.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = gv_repid is_layout = ls_layout it_fieldcat = lt_fieldcat i_save = gc_save it_events = lt_events is_print = ls_prnt_global TABLES t_outtab = gt_ncc_success EXCEPTIONS program_error = 1 OTHERS = 2.

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

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

REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING it_list_commentary = gt_end_of_list.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = gv_repid is_layout = ls_layout it_fieldcat = lt_fieldcat i_save = gc_save it_events = lt_events is_print = ls_prnt_global TABLES t_outtab = gt_ncc_errors EXCEPTIONS program_error = 1 OTHERS = 2.

REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING it_list_commentary = gt_end_of_list.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = gv_repid is_layout = ls_layout it_fieldcat = lt_fieldcat i_save = gc_save it_events = lt_events is_print = ls_prnt_global TABLES t_outtab = gt_cc_success EXCEPTIONS program_error = 1 OTHERS = 2.

REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING it_list_commentary = gt_end_of_list.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = gv_repid is_layout = ls_layout it_fieldcat = lt_fieldcat i_save = gc_save it_events = lt_events is_print = ls_prnt_global TABLES t_outtab = gt_cc_errors EXCEPTIONS program_error = 1 OTHERS = 2.

FUNCTION_EXISTS CALL FUNCTION 'FUNCTION_EXISTS' EXPORTING funcname = 'SCMA_JOB_STARTED_FROM_SCMA' EXCEPTIONS function_not_exist = 1 OTHERS = 2.

SCMA_JOB_STARTED_FROM_SCMA CALL FUNCTION 'SCMA_JOB_STARTED_FROM_SCMA' EXPORTING before_init = 'X' wf_witem = wf_witem IMPORTING e_scma = g_scma.

KPEP_MONI_INIT_RECORD CALL FUNCTION 'KPEP_MONI_INIT_RECORD' EXPORTING ls_detail = ls_detail ls_witem = ls_witem IMPORTING ls_key = gs_key TABLES lt_selkrit = lt_selkrit lt_param = lt_param.

KPEP_MONI_CLOSE_RECORD



CALL FUNCTION 'KPEP_MONI_CLOSE_RECORD' EXPORTING ls_key = gs_key ls_scma_event = ls_scma_event CHANGING ld_aplstat = ld_aplstat EXCEPTIONS OTHERS = 1.

FAGL_CHECK_GLFLEX_ACTIVE CALL FUNCTION 'FAGL_CHECK_GLFLEX_ACTIVE' "n1323788 IMPORTING "n1323788 e_glflex_active = ld_glx_active. "n1323788



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