SAP Reports / Programs

RPRCOUDE SAP ABAP Report - Delete/Restore Trip Country Data







RPRCOUDE is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for According to trip provision variant, the program deletes the data for all countries in the current client which have not been stored in Customizing...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 RPRCOUDE 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

PRCD - Delete/Copy Trip Countries


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 RPRCOUDE. "Basic submit
SUBMIT RPRCOUDE AND RETURN. "Return to original report after report execution complete
SUBMIT RPRCOUDE 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: COUUP = Restore country data
Selection Text: C_MOREI = Trip prov.var. in curr.client
Selection Text: MOREI = Trip prov.var. in curr.client
Selection Text: PASSWORD = Password
Selection Text: PROT = Log
Selection Text: Q_MOREI = from trip prov.var.(client000)
Selection Text: TEST = Test run
Selection Text: Z_MANDT = In client
Title: Delete/Restore Trip Country Data
Text Symbol: 028 = Accommod.per diems and maximum rates:
Text Symbol: 020 = Input tax for international per diems
Text Symbol: 019 = Country groups:
Text Symbol: 015 = Per diems for meals according to time:
Text Symbol: 010 = There are no entries to delete.
Text Symbol: 009 = would be deleted.
Text Symbol: 008 = was deleted
Text Symbol: 003 = It is not possible to delete in this client.
Text Symbol: 053 = was copied.
Text Symbol: 054 = would be copied.
Text Symbol: 057 = overwrote active data.
Text Symbol: 058 = would overwrite active data.
Text Symbol: 200 = Reduction of Business Trip Management views to countries/regions in
Text Symbol: 201 = view V T7060
Text Symbol: 300 = Following countries/regions would be overwritten:
Text Symbol: 301 = Data was copied
Text Symbol: 306 = Table entries will be deleted from the following tables:
Text Symbol: 305 = Table entries would be deleted from the following tables:
Text Symbol: 304 = Please select countries to be copied:
Text Symbol: 303 = restored.
Text Symbol: 302 = Data of dark off-set countries/regions was
Text Symbol: 029 = Meals per diems and maximum rates:
Text Symbol: 040 = Country and region texts:
Text Symbol: 041 = Country regions:
Text Symbol: 050 = restored.
Text Symbol: 051 = for trip prov.var.
Text Symbol: 350 = Restore country data
Text Symbol: 351 = There are no entries for the selected countries
Text Symbol: 352 = copied:





Text Symbol: Y01 = Data selection
Text Symbol: 307 = (Client 000 -> Client
Text Symbol: 308 = ):
Text Symbol: 309 = Table entries from the following tables (client 000) would be
Text Symbol: 310 = Table entires from the following tables (client 000) will be
Text Symbol: 311 = For accounting area
Text Symbol: 312 = superfluous data was deleted
Text Symbol: 313 = in the country-independent Bus.Trip Man.tables
Text Symbol: 314 = superfluous data would be
Text Symbol: 345 = The data of the selected countries from trip prov.var.
Text Symbol: 346 = would in trip prov.var.
Text Symbol: 347 = were in trip prov.var.
Text Symbol: 348 = (Client 000)
Text Symbol: 349 = Delete country data


INCLUDES used within this REPORT RPRCOUDE

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:

TR_OBJECT_CHECK CALL FUNCTION 'TR_OBJECT_CHECK' EXPORTING wi_ko200 = ko200_tab IMPORTING * we_order = * we_task = we_ko200 = ko200_tab we_object_appendable = corr_activ TABLES wt_e071k = e071k_tab EXCEPTIONS * QIZK064796 begin...

TR_ORDER_CHOICE_CORRECTION CALL FUNCTION 'TR_ORDER_CHOICE_CORRECTION' EXPORTING iv_category = 'CUST' "= 'SYST' iv_cli_dep = space IMPORTING ev_order = task_no ev_task = task_sub_no EXCEPTIONS invalid_category = 01 no_correction_selected = 02.

TR_APPEND_TO_COMM_OBJS_KEYS CALL FUNCTION 'TR_APPEND_TO_COMM_OBJS_KEYS' EXPORTING wi_simulation = ' ' wi_suppress_key_check = ' ' wi_trkorr = task_sub_no TABLES wt_e071 = e071_tab wt_e071k = e071k_tab EXCEPTIONS key_char_in_non_char_field = 01 key_check_keysyntax_error = 02 key_inttab_table = 03 key_longer_field_but_no_generc = 04 key_missing_key_master_fields = 05 key_missing_key_tablekey = 06 key_non_char_but_no_generic = 07 key_no_key_fields = 08 key_string_longer_char_key = 09 key_table_has_no_fields = 10 key_table_not_activ = 11 key_unallowed_key_function = 12 key_unallowed_key_object = 13 key_unallowed_key_objname = 14 key_unallowed_key_pgmid = 15 key_without_header = 16 ob_check_obj_error = 17 ob_devclass_no_exist = 18 ob_empty_key = 19 ob_generic_objectname = 20 ob_ill_delivery_transport = 21 ob_ill_lock = 22 ob_ill_parts_transport = 23 ob_ill_source_system = 24 ob_ill_system_object = 25 ob_ill_target = 26 ob_inttab_table = 27 ob_local_object = 28 ob_locked_by_other = 29 ob_modif_only_in_modif_order = 30 ob_name_too_long = 31 ob_no_append_of_corr_entry = 32 ob_no_append_of_c_member = 33 ob_no_consolidation_transport = 34 ob_no_original = 35 ob_no_shared_repairs = 36 ob_no_systemname = 37 ob_no_systemtype = 38 ob_no_tadir = 39 ob_no_tadir_not_lockable = 40 ob_privat_object = 41 ob_repair_only_in_repair_order = 42 ob_reserved_name = 43 ob_syntax_error = 44 ob_table_has_no_fields = 45 ob_table_not_activ = 46 tr_enqueue_failed = 47 tr_errors_in_error_table = 48 tr_ill_korrnum = 49 tr_lockmod_failed = 50 tr_lock_enqueue_failed = 51 tr_not_owner = 52 tr_no_systemname = 53 tr_no_systemtype = 54 tr_order_not_exist = 55 tr_order_released = 56 tr_order_update_error = 57 tr_wrong_order_type = 58 ob_invalid_target_system = 59 tr_no_authorization = 60 ob_wrong_tabletyp = 61 ob_wrong_category = 62 ob_system_error = 63 ob_unlocal_objekt_in_local_ord = 64 tr_wrong_client = 65 ob_wrong_client = 66 key_wrong_client = 67.

VIEW_ENQUEUE CALL FUNCTION 'VIEW_ENQUEUE' EXPORTING action = 'E' enqueue_mode = 'E' view_name = act_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.



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