SAP Reports / Programs | Cross-Application Components | Financial Services | Basic Market Data(CA-FS-MKD) SAP CA

/BA1/F4_FX_ARCH_WRITE SAP ABAP Report - Write Program for Archiving







/BA1/F4_FX_ARCH_WRITE 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 /BA1/F4_FX_ARCH_WRITE 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 /BA1/F4_FX_ARCH_WRITE. "Basic submit
SUBMIT /BA1/F4_FX_ARCH_WRITE AND RETURN. "Return to original report after report execution complete
SUBMIT /BA1/F4_FX_ARCH_WRITE 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: P_COMENT = D Archiving Run Comment
Selection Text: P_DELTST = D Deletion with Test Variant
Selection Text: P_MDCODE = D Market Data Area
Selection Text: P_RTYPE = D Exchange Rate Category
Selection Text: P_VALDAT = D Date
Selection Text: P_WRIPRD = D Production Mode
Selection Text: P_WRITST = D Test Mode
Title: Write Program for Archiving
Text Symbol: 002 = Archiving of Exchange Rates
Text Symbol: 003 = Select Market Data Area


INCLUDES used within this REPORT /BA1/F4_FX_ARCH_WRITE

INCLUDE ARCH_WRITE_PRG_STANDARD1.


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:

ARCHIVE_OPEN_FOR_WRITE CALL FUNCTION 'ARCHIVE_OPEN_FOR_WRITE' EXPORTING call_delete_job_in_test_mode = lv_delete_testmode create_archive_file = lv_files_create object = con_archive_object comments = p_coment * do_not_delete_data = IMPORTING archive_handle = g_handle EXCEPTIONS internal_error = 1 object_not_found = 2 open_error = 3 not_authorized = 4 OTHERS = 5.

ARCHIVE_PUT_RECORD CALL FUNCTION 'ARCHIVE_PUT_RECORD' EXPORTING archive_handle = g_handle record = l_str_fxrates_year record_flags = 'X' "enable delete record_structure = con_structure_fx EXCEPTIONS internal_error = 1 wrong_access_to_archive = 2 invalid_record_structure = 3 OTHERS = 4.

F4TOOL_CHECKTABLE_HELP CALL FUNCTION 'F4TOOL_CHECKTABLE_HELP' EXPORTING checktable = '/BA1/TF4_MDC' retfield = 'MDCODE' window_title = text-003 * VALUE = * MULTIPLE_CHOICE = * DISPLAY = * TABLES * DYNPFLD_MAPPING = * RETURN_TAB = EXCEPTIONS tabl_not_exists = 1 field_not_exists = 2 illegal_call = 3 OTHERS = 4.



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 /BA1/F4_FX_ARCH_WRITE or its description.