SAP Reports / Programs | Financial Accounting | Travel Management | Travel Expenses(FI-TV-COS) SAP FI

RPR_UPDATE_COMCODENR_FROM_FILE SAP ABAP Report - Community Code Numbers: Update from File







RPR_UPDATE_COMCODENR_FROM_FILE is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Report for uploading Austrian community code numbers to table T706_CITY_CD_D...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 RPR_UPDATE_COMCODENR_FROM_FILE 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 RPR_UPDATE_COMCODENR_FROM_FILE. "Basic submit
SUBMIT RPR_UPDATE_COMCODENR_FROM_FILE AND RETURN. "Return to original report after report execution complete
SUBMIT RPR_UPDATE_COMCODENR_FROM_FILE 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: I_MOREI = D .
Selection Text: I_BEGDA = D .
Selection Text: I_UPPER = Fill City in Uppercase
Selection Text: I_TRANS = Transport Connection
Selection Text: I_TEST = Simulation
Selection Text: I_MODI = Reconcile Database (Delta)
Selection Text: I_FULL = Rebuild Database
Title: Community Code Numbers: Update from File
Text Symbol: P11 = Entries to be changed:
Text Symbol: P12 = Entries to be inserted:
Text Symbol: P13 = Entries after rebuilding database:
Text Symbol: P15 = Deleted entries:
Text Symbol: P16 = Changed entries:
Text Symbol: P17 = Inserted entries:
Text Symbol: P40 = Table T706_CITY_CD_D has been rebuilt from the upload data
Text Symbol: P41 = Table T706_CITY_CD_D has been reconciled with the upload data
Text Symbol: P42 = Number of Entries Inserted:
Text Symbol: P43 = Number of Entries Changed:
Text Symbol: P44 = Number of Identical Entries:
Text Symbol: SB1 = Format of Upload Data
Text Symbol: SB2 = Validity Range
Text Symbol: SB3 = Program Parameters
Text Symbol: SC1 = Towns by Community Code No., CSV Format (comma-separated values)
Text Symbol: SC2 = Towns by Community Code No., XLS Format (Microsoft Excel)
Text Symbol: T01 = Total Number of Changed Entries:
Text Symbol: T02 = No entries changed
Text Symbol: U01 = Upload Data Selection
Text Symbol: U02 = File upload running...
Text Symbol: U03 = File upload finished
Text Symbol: P10 = Entries to be deleted:
Text Symbol: 003 = Internal error in ASSIGN of
Text Symbol: 400 = Upload error
Text Symbol: 401 = Conversion error
Text Symbol: 402 = Invalid table width
Text Symbol: 403 = Cannot run front-end function in background
Text Symbol: 404 = Invalid file type
Text Symbol: 405 = Unknown error
Text Symbol: 406 = Unknown error





Text Symbol: D01 = No entries deleted
Text Symbol: D02 = Number of Deleted Entries:
Text Symbol: D03 = Number of Inconsistent Entries:
Text Symbol: DB1 = Database update running...
Text Symbol: DB2 = Database update finished...
Text Symbol: E01 = Error opening the file:
Text Symbol: E02 = Nothing was selected
Text Symbol: E03 = Incorrect key value:
Text Symbol: E04 = Error while writing to table T706_CITY_CD_D
Text Symbol: E05 = Key:
Text Symbol: E06 = Error while changing table:
Text Symbol: E07 = Enter a valid value
Text Symbol: E08 = Select a trip provision variant
Text Symbol: E09 = Enter a start date
Text Symbol: E13 = No GUI available
Text Symbol: E14 = Not supported by GUI
Text Symbol: E15 = Internal error in ASSIGN of
Text Symbol: E16 = Selected file has the wrong format; see documentation
Text Symbol: P01 = Simulation: Table T706_CITY_CD_D has not been modified
Text Symbol: P03 = Update: Table T706_CITY_CD_D modified as follows
Text Symbol: P04 = Select the entries to be reconciled (use Shift and Ctrl for multiple selections)


INCLUDES used within this REPORT RPR_UPDATE_COMCODENR_FROM_FILE

INCLUDE RPR_LCL_CUSTOMIZING_REQUEST.


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:

PTRM_TEST_MESSAGES_SHOW_PBO CALL FUNCTION 'PTRM_TEST_MESSAGES_SHOW_PBO' CHANGING it_return = gt_message.

KCD_EXCEL_OLE_TO_INT_CONVERT * CALL FUNCTION 'KCD_EXCEL_OLE_TO_INT_CONVERT' * EXPORTING * filename = filename * i_begin_col = c_begin_col * i_begin_row = help_begin_row * i_end_col = c_end_col * i_end_row = help_end_row * TABLES * intern = itab.

VIEW_ENQUEUE CALL FUNCTION 'VIEW_ENQUEUE' EXPORTING action = p_action enqueue_mode = 'E' view_name = p_tabname enqueue_range = ' ' EXCEPTIONS client_reference = 1 foreign_lock = 2 invalid_action = 3 invalid_enqueue_mode = 4 system_failure = 5 table_not_found = 6 OTHERS = 7.

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING percentage = 5 text = text-u02.

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING percentage = 100 text = text-u03.

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING percentage = 5 text = text-db1.

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING percentage = 100 text = text-db2.

ICON_CREATE





CALL FUNCTION 'ICON_CREATE' EXPORTING name = icon_id info = quick_info add_stdinf = ' ' IMPORTING RESULT = d2000_icon_test_prod.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = icon_id info = quick_info add_stdinf = ' ' IMPORTING RESULT = d2000_icon_red_light.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = icon_id info = quick_info add_stdinf = ' ' IMPORTING RESULT = d2000_icon_green_light.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = icon_id info = quick_info add_stdinf = ' ' IMPORTING RESULT = d2000_icon_red_light.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = icon_id info = quick_info add_stdinf = ' ' IMPORTING RESULT = d2000_icon_yellow_light.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = icon_id info = quick_info add_stdinf = ' ' IMPORTING RESULT = d2000_icon_green_light.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = icon_id info = quick_info add_stdinf = ' ' IMPORTING RESULT = d2000_icon_equal.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = icon_id info = quick_info add_stdinf = ' ' IMPORTING RESULT = d2000_icon_sum.



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