SAP Reports / Programs | Financial Accounting | Special Purpose Ledger | Basic Functions(FI-SL-SL) SAP FI

RGUCHEFI SAP ABAP Report - Check currency settings for FI-GL fixed ledgers







RGUCHEFI 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 RGUCHEFI 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 RGUCHEFI. "Basic submit
SUBMIT RGUCHEFI AND RETURN. "Return to original report after report execution complete
SUBMIT RGUCHEFI 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: TESTLAUF = Test Run
Title: Check currency settings for FI-GL fixed ledgers
Text Symbol: 001 = Program control
Text Symbol: 100 = Entries that must be changed
Text Symbol: 101 = Entries that were changed
Text Symbol: 110 = Entries that must be inserted
Text Symbol: 111 = Entries that were inserted
Text Symbol: 120 = Entries that must be deleted
Text Symbol: 121 = Entries that were deleted
Text Symbol: 130 = Ledger
Text Symbol: 140 = COCD
Text Symbol: 150 = Data Part


INCLUDES used within this REPORT RGUCHEFI

INCLUDE MGCU0COM.


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:

G_ADMI_AUTHORITY_CHECK CALL FUNCTION 'G_ADMI_AUTHORITY_CHECK' EXPORTING activity = '05'.

G_READ_FIXED_LEDGERS CALL FUNCTION 'G_READ_FIXED_LEDGERS' EXPORTING table = 'GLT0' with_parallel_ledgers = ' ' TABLES ledgers = it881.

K_CURRTYP_AND_VAL_GET CALL FUNCTION 'K_CURRTYP_AND_VAL_GET' EXPORTING i_cvtyp = it881-curt1 IMPORTING e_currtyp = tcval_curr.

G_CURRENCY_FROM_CT_GET CALL FUNCTION 'G_CURRENCY_FROM_CT_GET' EXPORTING ct = tcval_curr bukrs = t001-bukrs rldnr = it881-rldnr no_buffer = 'X' IMPORTING currency = it882v-curr1.

K_CURRTYP_AND_VAL_GET CALL FUNCTION 'K_CURRTYP_AND_VAL_GET' EXPORTING i_cvtyp = it881-curt2 IMPORTING e_currtyp = tcval_curr.

G_CURRENCY_FROM_CT_GET CALL FUNCTION 'G_CURRENCY_FROM_CT_GET' EXPORTING ct = tcval_curr bukrs = t001-bukrs rldnr = it881-rldnr no_buffer = 'X' IMPORTING currency = it882v-curr2.

VIEW_MARK_WRITE CALL FUNCTION 'VIEW_MARK_WRITE' EXPORTING objname = object_ledger(30) begin = 'X'.

G_T882_UPDATE CALL FUNCTION 'G_T882_UPDATE' TABLES i_flag = itabflag i_t882 = it882v.

VIEW_MARK_WRITE CALL FUNCTION 'VIEW_MARK_WRITE' EXPORTING objname = object_ledger(30) begin = space.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_pf_status_set = gc_setpfstatus i_callback_program = g_repid is_layout = is_layout it_fieldcat = it_fieldcat it_events = it_eventtab TABLES t_outtab = it_outtab EXCEPTIONS program_error = 1 OTHERS = 2.

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

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

REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING it_list_commentary = gt_top_of_page.



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