SAP Reports / Programs

RFEWUCE1 SAP ABAP Report - Euro: Comparison of all Ledgers with the Accompanying Export Ledgers







RFEWUCE1 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Program RFEWUCE1 is used during changeover to the euro to compare the balances of all ledgers distributed via ALE with the balances of the accompanying export ledgers...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 RFEWUCE1 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 RFEWUCE1. "Basic submit
SUBMIT RFEWUCE1 AND RETURN. "Return to original report after report execution complete
SUBMIT RFEWUCE1 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Euro: Comparison of all Ledgers with the Accompanying Export Ledgers


INCLUDES used within this REPORT RFEWUCE1

INCLUDE EWUSTDDD.
INCLUDE EWUSTEPR.
INCLUDE EWUSTDLD.


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_GET_ORGANIZATIONAL_DATA CALL FUNCTION 'G_GET_ORGANIZATIONAL_DATA' EXPORTING I_RLDNR = t_t881-rldnr I_ORGUNIT = IMPORTING ORGANIZATIONAL_INFO = s_org_info EXCEPTIONS OTHERS = 1.

G_PERIOD_GET CALL FUNCTION 'G_PERIOD_GET' EXPORTING DATE = H_EURODATUM VARIANT = s_org_info-periv IMPORTING YEAR = h_RYEAR EXCEPTIONS OTHERS = 1.

G_TABLE_FETCH CALL FUNCTION 'G_TABLE_FETCH' EXPORTING I_CURSOR = H_b_CURSOR I_PACKAGE_SIZE = C_PACKAGE_SIZE CHANGING C_T_data = EXCEPTIONS NO_MORE_DATA = 1.

G_TABLE_FETCH CALL FUNCTION 'G_TABLE_FETCH' EXPORTING I_CURSOR = H_C_CURSOR I_PACKAGE_SIZE = C_PACKAGE_SIZE CHANGING C_T_data = EXCEPTIONS NO_MORE_DATA = 1.

DB_COMMIT CALL FUNCTION 'DB_COMMIT'.

ALE_MODEL_INFO_GET CALL FUNCTION 'ALE_MODEL_INFO_GET' EXPORTING MESSAGE_TYPE = C_FI_ROLLUP_MESTYP TABLES MODEL_DATA = MODEL_DATA EXCEPTIONS NO_MODEL_INFO_FOUND = 01 OWN_SYSTEM_NOT_DEFINED = 02.

ALE_MODEL_INFO_GET CALL FUNCTION 'ALE_MODEL_INFO_GET' EXPORTING MESSAGE_TYPE = C_RCL_ROLLUP_MESTYP TABLES MODEL_DATA = MODEL_DATA EXCEPTIONS NO_MODEL_INFO_FOUND = 01 OWN_SYSTEM_NOT_DEFINED = 02.

RK_BUKRS_OF_KOKRS CALL FUNCTION 'RK_BUKRS_OF_KOKRS' EXPORTING KOKRS = t_tka01-kokrs TABLES T_BUKRS = h_t_bukrs EXCEPTIONS OTHERS = 1.

ALE_MODEL_INFO_GET CALL FUNCTION 'ALE_MODEL_INFO_GET' EXPORTING MESSAGE_TYPE = C_PCA_ROLLUP_MESTYP TABLES MODEL_DATA = MODEL_DATA EXCEPTIONS NO_MODEL_INFO_FOUND = 01 OWN_SYSTEM_NOT_DEFINED = 02.

ALE_MODEL_INFO_GET CALL FUNCTION 'ALE_MODEL_INFO_GET' EXPORTING MESSAGE_TYPE = C_LC_ROLLUP_MESTYP TABLES MODEL_DATA = MODEL_DATA EXCEPTIONS NO_MODEL_INFO_FOUND = 01 OWN_SYSTEM_NOT_DEFINED = 02.

ALE_MODEL_INFO_GET CALL FUNCTION 'ALE_MODEL_INFO_GET' EXPORTING MESSAGE_TYPE = C_ROLLUP_MESTYP TABLES MODEL_DATA = MODEL_DATA EXCEPTIONS NO_MODEL_INFO_FOUND = 01 OWN_SYSTEM_NOT_DEFINED = 02.

G_FIELD_READ CALL FUNCTION 'G_FIELD_READ' EXPORTING TABLE = oc_t800a-tab FIELDNAME = 'RACCT' EXCEPTIONS OTHERS = 1.

G_FIELD_READ CALL FUNCTION 'G_FIELD_READ' EXPORTING TABLE = oc_t800a-tab FIELDNAME = 'RBUSA' EXCEPTIONS OTHERS = 1.

G_FIELD_READ CALL FUNCTION 'G_FIELD_READ' EXPORTING TABLE = oc_t800a-tab FIELDNAME = 'RFAREA' EXCEPTIONS OTHERS = 1.

G_TABLE_OPEN_CURSOR CALL FUNCTION 'G_TABLE_OPEN_CURSOR' EXPORTING I_TABNAME = oc_t881-tab I_SELECTION = T_SELECTION i_fieldlist = t_fields i_aggregation = 'X' I_sorted = 'X' I_WITH_HOLD = 'X' IMPORTING E_CURSOR = oc_CURSOR.



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