SAP Reports / Programs | Financial Accounting | Consolidation | Basic Functions(FI-LC-LC) SAP FI

RGCDOW40 SAP ABAP Report - Download for Decentralized Data Entry with MS Access







RGCDOW40 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 RGCDOW40 into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

OCDN - Download MS ACCESS


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 RGCDOW40. "Basic submit
SUBMIT RGCDOW40 AND RETURN. "Return to original report after report execution complete
SUBMIT RGCDOW40 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: PA_CPERD = Period
Selection Text: PA_CVERS = Version
Selection Text: PA_CYEAR = Fiscal year
Selection Text: PA_FNAME = File description
Selection Text: PA_GDATU = Valid from date
Selection Text: PA_KURST = Exchange rate indicator
Selection Text: PA_LANGU = Language
Selection Text: PA_PERID = Period
Selection Text: PA_RLDNR = Ledger
Selection Text: PA_RSUBD = Subgroup
Selection Text: PA_RYEAR = Fiscal year
Selection Text: SO_RCOMP = Company/ies
Selection Text: SO_RVERS = Version(s)
Title: Download for Decentralized Data Entry with MS Access
Text Symbol: V03 = No description maintained for DE form "
Text Symbol: V02 = No currency text maintained
Text Symbol: V01 = Default validation group
Text Symbol: T10 = Parameters
Text Symbol: T09 = Translation:
Text Symbol: T08 = General:
Text Symbol: T07 = Valid-from date:
Text Symbol: T06 = Exchange rate ind.:
Text Symbol: 001 = Legal Consolidation
Text Symbol: 003 = Companies declined because of other transfer methods
Text Symbol: 004 = Companies using transfer method ACCESS Upload
Text Symbol: 005 = Logical filename: "
Text Symbol: 006 = Directory: "
Text Symbol: 007 = Number of files:
Text Symbol: 008 = Problems occurred in the following
Text Symbol: 009 = validation steps:
Text Symbol: 010 = No data was downloaded because the following errors were found: ;
Text Symbol: 011 = Companies not assign to the subgroup
Text Symbol: P01 = General selections
Text Symbol: P02 = Exchange rates
Text Symbol: P03 = Comparison values
Text Symbol: P04 = Control data
Text Symbol: S01 = Year
Text Symbol: S02 = Select control parameters ...





Text Symbol: T00 = Download control parameters
Text Symbol: T01 = Subgroup:
Text Symbol: T02 = Version(s):
Text Symbol: T03 = Fiscal year:
Text Symbol: T04 = Period:
Text Symbol: T05 = Language:


INCLUDES used within this REPORT RGCDOW40

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:

G_GET_FILENAME * CALL FUNCTION 'G_GET_FILENAME' * EXPORTING * e_rcomp = it_edit_comp-rcomp ** e_rvers = pa_rvers "XHE073745a * e_rvers = it_edit_comp-rvers "XHE073745a * e_param1 = it_edit_comp-rcomp "xhe011197 * e_param2 = it_edit_comp-rvers "xhe011197 ** e_use_pserver = 'X' "XHE073745a * e_use_pserver = ld_pserver "XHE073745a * IMPORTING * i_filename = it_edit_comp-path.

SAPGUI_PROGRESS_INDICATOR * CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' * EXPORTING ** PERCENTAGE = 0 * text = text-s02 * EXCEPTIONS * OTHERS = 1.

WS_DOWNLOAD * CALL FUNCTION 'WS_DOWNLOAD' * EXPORTING * filename = r_pc_name * filetype = 'ASC' * TABLES * data_tab = r_pc_tab * EXCEPTIONS * file_open_error = 01 * file_write_error = 02 * invalid_filesize = 03 * invalid_table_width = 04 * invalid_type = 05 * no_batch = 06 * unknown_error = 07.

LC_GET_SET_INFO * CALL FUNCTION 'LC_GET_SET_INFO' "hah140161 * EXPORTING "hah140161 * e_setnr = r_setnr "hah140161 * IMPORTING "hah140161 * i_setid = ld_setid "hah140161 * EXCEPTIONS "hah140161 * OTHERS = 1. "hah140161

G_SET_GET_ALL_VALUES * CALL FUNCTION 'G_SET_GET_ALL_VALUES' * EXPORTING ** setnr = r_setnr "hah140161 * setnr = ld_setid "hah140161 * table = 'FILCT' * TABLES * set_values = i_setvalues * EXCEPTIONS * set_not_found = 01.

LC_GET_SET_INFO * CALL FUNCTION 'LC_GET_SET_INFO' "hah140161 * EXPORTING "hah140161 * e_setnr = v_setname "hah140161 * IMPORTING "hah140161 * i_setid = ld_setid "hah140161 * EXCEPTIONS "hah140161 * OTHERS = 1. "hah140161

G_SET_GET_ALL_VALUES * CALL FUNCTION 'G_SET_GET_ALL_VALUES' * EXPORTING ** setnr = v_setname "hah140161 * setnr = ld_setid "hah140161 * table = 'FILCT' * TABLES * set_values = it_setvalues * EXCEPTIONS * set_not_found = 01.

GLVA_ACCESS * CALL FUNCTION 'GLVA_ACCESS' * EXPORTING * e_langu = pa_langu * TABLES * it_rcomp = it_rcomp * it_cpval = it_cpval * it_valgrp = it_valgrp * it_valgrp_t = it_valgrp_t * it_valgrprl = it_valgrprl * it_valrl = it_valrl * it_valrlms = it_valrlms * it_valmess = it_valmess * it_valprot = it_valprot * EXCEPTIONS * too_much_validations = 1 * OTHERS = 2.

MESSAGES_INITIALIZE * CALL FUNCTION 'MESSAGES_INITIALIZE' * EXPORTING * collect_and_send = ' ' * reset = con_x * line_from = '000' * line_to = '999' * EXCEPTIONS * OTHERS = 1.

MESSAGES_STOP * CALL FUNCTION 'MESSAGES_STOP' * EXCEPTIONS * a_message = 1 * e_message = 2 * i_message = 3 * w_message = 4 * OTHERS = 5.

MESSAGE_STORE * CALL FUNCTION 'MESSAGE_STORE' * EXPORTING * arbgb = v_arbgb ** EXCEPTION_IF_NOT_ACTIVE = 'X' * msgty = v_msgty * msgv1 = v_msgv1 * msgv2 = v_msgv2 * msgv3 = v_msgv3 * msgv4 = v_msgv4 * txtnr = v_msgnr * zeile = '001' * IMPORTING * act_severity = ld_act_severity * max_severity = ld_max_severity * EXCEPTIONS * message_type_not_valid = 1 * not_active = 2 * OTHERS = 3.

MESSAGES_GIVE * CALL FUNCTION 'MESSAGES_GIVE' * TABLES * t_mesg = it_mesg * EXCEPTIONS * OTHERS = 1.

FCXL_GET_PROGRAM_TEXTS * CALL FUNCTION 'FCXL_GET_PROGRAM_TEXTS' * TABLES * e_program_texts = ld_pgmtxt * EXCEPTIONS * OTHERS = 1.

FCXL_050_GET_ASPECT_DEFINITION * CALL FUNCTION 'FCXL_050_GET_ASPECT_DEFINITION' * EXPORTING * aspect_id = '050' * TABLES * e_aspect_definition = ld_chardef * e_dependent_bindings = it_dummy * EXCEPTIONS * OTHERS = 1.

FCXL_050_GET_CHAR_VALUES * CALL FUNCTION 'FCXL_050_GET_CHAR_VALUES' * EXPORTING * aspect_id = '050' * char_id = 'KEYFIG' * text_type = space * TABLES * i_dependent_bindings = it_dummy * e_characteristic_values = ld_keydef * e_message = it_message * EXCEPTIONS * characteristic_not_found = 2 * dependent_not_specified = 3 * OTHERS = 4.






FCXL_050_GET_CONSOLIDATION_ASP * CALL FUNCTION 'FCXL_050_GET_CONSOLIDATION_ASP' * TABLES e_consolidation_aspects = it_consasps.



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