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

RGUGGLT0 SAP ABAP Report - Generate INCLUDES for New General Ledger







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


Text pool values


Title: Generate INCLUDES for New General Ledger
Text Symbol: 001 = The following include has been generated:
Text Symbol: 002 = Generate Includes for New General Ledger
Text Symbol: 003 = Message Text


INCLUDES used within this REPORT RGUGGLT0

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:

SVRS_AFTER_CHANGED CALL FUNCTION 'SVRS_AFTER_CHANGED' EXPORTING date = gd_datum time = gd_uzeit user = sy-uname korrnum = gd_korrnum TABLES e071_tab = gt_e071.

CALL FUNCTION 0 5 'CALL FUNCTION ''BREAKDOWN_ACTIVITY_GET''' space, 0 0 'EXPORTING I_BUKRS = ITEM_O-ACCIT-BUKRS' space, 0 0 ' I_GJAHR = ITEM_O-ACCIT-GJAHR' space, 0 0 'IMPORTING E_DPRCTR = DUMMY_PRCTR.' space,

DB_COMMIT CALL FUNCTION 'DB_COMMIT'.

DB_COMMIT CALL FUNCTION 'DB_COMMIT'.

CALL FUNCTION PERFORM append_code USING: 0 2 'CALL FUNCTION ''FAGL_FIELD_USED_IN_GROUP''' space.

CALL FUNCTION PERFORM append_code USING: 0 2 'CALL FUNCTION ''JV_BUKRS_ACTIVE''' space.

CALL FUNCTION PERFORM append_code USING: 0 2 'CALL FUNCTION ''FAGL_SHLP_SPLIT_SET_TEXT''' space.

DB_COMMIT CALL FUNCTION 'DB_COMMIT'.

CALL FUNCTION 0 5 'CALL FUNCTION ''BREAKDOWN_ACTIVITY_GET''' space, 0 0 'EXPORTING I_BUKRS = ITEM_O-ACCIT-BUKRS' space, 0 0 ' I_GJAHR = ITEM_O-ACCIT-GJAHR' space, 0 0 'IMPORTING E_DPRCTR = DUMMY_PRCTR.' space,

DB_COMMIT CALL FUNCTION 'DB_COMMIT'.

CALL FUNCTION 0 5 'CALL FUNCTION ''BREAKDOWN_ACTIVITY_GET''' space, 0 0 'EXPORTING I_BUKRS = IS_ITEM_ORG-ACCIT-BUKRS' space, 0 0 ' I_GJAHR = IS_ITEM_ORG-ACCIT-GJAHR' space, 0 0 'IMPORTING E_DPRCTR = DUMMY_PRCTR.' space,

DB_COMMIT CALL FUNCTION 'DB_COMMIT'.

G_FIELD_READ CALL FUNCTION 'G_FIELD_READ' EXPORTING fieldname = i_t8g40-field table = 'ACCIT' IMPORTING field_attr = dfies EXCEPTIONS not_found = 1 OTHERS = 2.

G_FIELD_READ CALL FUNCTION 'G_FIELD_READ' EXPORTING fieldname = i_t8g40-field table = 'ACCIT_EXTENSION' IMPORTING field_attr = dfies EXCEPTIONS not_found = 1 OTHERS = 2.

G_SPLIT_LINE CALL FUNCTION 'G_SPLIT_LINE' EXPORTING input_line = unsplitted_line TABLES export_lines = splitted_code EXCEPTIONS OTHERS = 1.

BAL_LOG_CREATE CALL FUNCTION 'BAL_LOG_CREATE' EXPORTING i_s_log = ls_log IMPORTING e_log_handle = xv_log_hdl 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 = iv_log_hdl i_msgty = lv_msgty i_probclass = lv_probcls i_text = lv_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 = ls_display_profile.

BAL_DSP_LOG_DISPLAY





CALL FUNCTION 'BAL_DSP_LOG_DISPLAY' EXPORTING i_s_display_profile = ls_display_profile i_t_log_handle = lt_log_hdl * i_amodal = 'X' EXCEPTIONS profile_inconsistent = 1 internal_error = 2 no_data_available = 3 no_authority = 4 OTHERS = 5.

G_FIELDTAB_GET CALL FUNCTION 'G_FIELDTAB_GET' EXPORTING table = 'ACCIT' ftype = 'A' TABLES t_fieldtab = lt_dfies.

G_FIELD_READ CALL FUNCTION 'G_FIELD_READ' EXPORTING table = 'ACCIT' fieldname = lt_clear_fields-fieldname EXCEPTIONS OTHERS = 1.

DB_COMMIT CALL FUNCTION 'DB_COMMIT'.



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