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

RFSEPA01 SAP ABAP Report - Switch On Line Item Display by Changing Master Record







RFSEPA01 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for If line item management is not switched on from the very beginning when setting up a G/L account, then all documents posted to this account are posted without line items...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 RFSEPA01 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

FAGL_ACTIVATE_IT - Activate Line Item Display


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 RFSEPA01. "Basic submit
SUBMIT RFSEPA01 AND RETURN. "Return to original report after report execution complete
SUBMIT RFSEPA01 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: P_SAKNR = G/L account
Selection Text: P_LISTE = List log
Selection Text: P_BUKRS = Company code
Selection Text: P_BELNR = Document number
Title: Switch On Line Item Display by Changing Master Record
Text Symbol: XX3 = Line items generated in table &TAB
Text Symbol: XX2 = Line items changed in table &TAB
Text Symbol: XX1 = Line items selected in table &TAB
Text Symbol: T01 = Number of Messages
Text Symbol: S04 = Line Items
Text Symbol: S03 = Remark
Text Symbol: S02 = Year
Text Symbol: S01 = Doc. no.
Text Symbol: NX3 = Number of line items generated in table &TAB
Text Symbol: NX2 = Number of line items changed in table &TAB
Text Symbol: NX1 = Number of line items selected from table &TAB
Text Symbol: NSB = No suitable entries were found
Text Symbol: NB2 = Number of documents changed
Text Symbol: NB1 = Number of documents selected
Text Symbol: BE2 = Document changed
Text Symbol: BE1 = Document selected
Text Symbol: B01 = Additional log
Text Symbol: 002 = Company code
Text Symbol: 001 = G/L account


INCLUDES used within this REPORT RFSEPA01

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:

BAL_LOG_CREATE CALL FUNCTION 'BAL_LOG_CREATE' EXPORTING i_s_log = xs_log IMPORTING e_log_handle = xs_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 = gs_log_handle i_msgty = gc_i i_probclass = gc_4 i_text = iv_free_text EXCEPTIONS log_not_found = 1 msg_inconsistent = 2 log_is_full = 3 OTHERS = 4.

BAL_DSP_PROFILE_SINGLE_LOG_GET CALL FUNCTION 'BAL_DSP_PROFILE_SINGLE_LOG_GET' IMPORTING e_s_display_profile = xs_display_profile EXCEPTIONS OTHERS = 1.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_structure_name = gc_structure 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_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = gv_repid i_callback_pf_status_set = gc_formname_alv_status i_callback_user_command = gc_formname_user_command it_fieldcat = gt_fieldcat it_events = gt_events TABLES t_outtab = it_output EXCEPTIONS program_error = 1 OTHERS = 2.

REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING it_list_commentary = lt_list_top_of_page.

BAL_DSP_LOG_DISPLAY CALL FUNCTION 'BAL_DSP_LOG_DISPLAY' EXPORTING i_s_display_profile = is_display_profile EXCEPTIONS profile_inconsistent = 1 internal_error = 2 no_data_available = 3 no_authority = 4 OTHERS = 5.

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



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