SAP Reports / Programs | Financial Accounting | General Ledger Accounting | Basic Functions(FI-GL-GL) SAP FI

SAPF181B SAP ABAP INCLUDE - documentation and ABAP source code







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

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:

FI_POSTINGS_ALV CALL FUNCTION 'FI_POSTINGS_ALV' * EXPORTING * I_HEADLINE = * IS_VARIANT = ' ' * IS_LAYOUT = TABLES t_doc_hdr = header_tab t_doc_lines = line_tab t_fields_hdr = fields_header t_fields_lines = fields_lines CHANGING ie_bhdgd = bhdgd.

MOVE_BSEG_TO_COBL CALL FUNCTION 'MOVE_BSEG_TO_COBL' EXPORTING i_bseg = p_bseg CHANGING c_cobl = p_cobl.

REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' IMPORTING et_events = events_tab EXCEPTIONS OTHERS = 1.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_internal_tabname = 'ITEM_TAB' i_structure_name = 'F181_FIELDS_ALV' CHANGING ct_fieldcat = fieldcat_tab EXCEPTIONS OTHERS = 1.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = ls_variant-report * i_callback_pf_status_set = h_set_pf_status * i_callback_user_command = h_user_command i_default = 'X' * is_layout = t_slis_layout_alv * is_print = t_slis_print_alv it_events = events_tab it_fieldcat = fieldcat_tab i_save = 'A' is_variant = ls_variant TABLES t_outtab = item_tab EXCEPTIONS program_error = 1 OTHERS = 2.

REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING it_list_commentary = commentary_tab.



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