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

RFSUMB16 SAP ABAP INCLUDE - documentation and ABAP source code







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

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:

RE_FI_SPEC_GL_CLASS CALL FUNCTION 'RE_FI_SPEC_GL_CLASS' EXPORTING i_bukrs = wbukrs i_umskz = wfattd i_koart = wkoart IMPORTING e_shb_immo = l_shb_immo.

RE_FI_SPEC_GL_CLASS CALL FUNCTION 'RE_FI_SPEC_GL_CLASS' EXPORTING i_bukrs = wbukrs i_umskz = wfatta i_koart = wkoart IMPORTING e_shb_immo = l_shb_immo.

POSTING_INTERFACE_DOCUMENT CALL FUNCTION 'POSTING_INTERFACE_DOCUMENT' EXPORTING i_tcode = wtcode IMPORTING e_subrc = local_sy_subrc e_msgid = sy-msgid e_msgty = sy-msgty e_msgno = sy-msgno e_msgv1 = sy-msgv1 e_msgv2 = sy-msgv2 e_msgv3 = sy-msgv3 e_msgv4 = sy-msgv4 TABLES t_ftpost = ftpost t_blntab = xblntab t_fttax = fttax EXCEPTIONS account_missing = 01 company_code_missing = 02 posting_key_invalid = 03 posting_key_missing = 04 record_type_invalid = 05 transaction_code_invalid = 06.

G_FIELD_READ * CALL FUNCTION 'G_FIELD_READ' * EXPORTING * table = 'ACCCR' * fieldname = 'WRBTR' * IMPORTING * field_attr = ls_attributes * EXCEPTIONS * not_found = 1 * OTHERS = 2.

G_FIELD_READ * CALL FUNCTION 'G_FIELD_READ' * EXPORTING * table = 'ACCIT' * fieldname = 'MENGE' * IMPORTING * field_attr = ls_attributes * EXCEPTIONS * not_found = 1 * OTHERS = 2.

FAGL_CHECK_GLFLEX_ACTIVE CALL FUNCTION 'FAGL_CHECK_GLFLEX_ACTIVE' EXPORTING ID_BUKRS = ls_t001-bukrs IMPORTING E_GLFLEX_ACTIVE = lf_fagl_glflex_active EXCEPTIONS ERROR_IN_SETUP = 1 OTHERS = 2.

FAGL_MIG_GET_MGPLN_FOR_BUKRS CALL FUNCTION 'FAGL_MIG_GET_MGPLN_FOR_BUKRS' EXPORTING IT_BUKRS = lt_bukrs IMPORTING ET_FAGL_MIG_002 = lt_fagl_mig_002 ET_MGPLN = lt_fagl_mgpln EXCEPTIONS NO_DATA_FOUND = 1 OTHERS = 2.

FAGL_GET_LEADING_LEDGER CALL FUNCTION 'FAGL_GET_LEADING_LEDGER' "n1808314 EXPORTING "n1808314 I_CLIENT = sy-mandt "n1808314 IMPORTING "n1808314 E_RLDNR = lf_leading_rldnr "n1808314 EXCEPTIONS "n1808314 NOT_FOUND = 1 "n1808314 MORE_THAN_ONE = 2 "n1808314 OTHERS = 3. "n1808314

FAGL_GET_DATA_FOR_MGPLN CALL FUNCTION 'FAGL_GET_DATA_FOR_MGPLN' EXPORTING I_MGPLN = ls_fagl_mgpln IMPORTING ET_FAGL_MIG_001 = lt_fagl_mig_001_mgpln EXCEPTIONS MGPLN_NOT_FOUND = 1 OTHERS = 2.



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