SAP Reports / Programs

RPR706VC SAP ABAP Report - documentation and ABAP source code







RPR706VC is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This report can facilitate maintenance of views V_T706V, U_706V_B considerably...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 RPR706VC 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

GLO_PRVA - Scale Local Transport
GLO_PRVT - Scale Public Transport
PRVH - Scale Maximum Amounts for Meals
PRVK - Scale Pocket Money Per Diems
PRVP - Scale Per Diems for Meals


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 RPR706VC. "Basic submit
SUBMIT RPR706VC AND RETURN. "Return to original report after report execution complete
SUBMIT RPR706VC 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: DATUM1 = Start of Validity
Selection Text: DATUM2 = End of Validity
Selection Text: KZRUN_FA = Rounding Indicator (Ent.-Spec)
Selection Text: KZRUN_ST = Rounding Indicator (Statutory)
Selection Text: PAU_HOE = Per Diem/Maximum Amounts
Selection Text: P_ALV = ALV Display
Selection Text: TESTLAUF = Test Run
Selection Text: BEREI = D .
Selection Text: ER_GR = D .
Selection Text: ER_KL = D .
Selection Text: KZREA = D .
Selection Text: KZTKT = D .
Selection Text: LAND = D .
Selection Text: MOREI = D .
Selection Text: RGION = D .
Text Symbol: K11 = After supplementing calc.g.lines, please
Text Symbol: K04 = List of Entries Changed:
Text Symbol: K03 = List of New Entries:
Text Symbol: K02 = calc.g.lines:
Text Symbol: K01 = List of basic entries without
Text Symbol: F34 = Simulation - No Database Changes
Text Symbol: E12 = Nothing was selected
Text Symbol: E07 = PRVK (Scaling of Pocket Money) or
Text Symbol: E06 = PRVA (Scaling of Journey)
Text Symbol: E05 = PRVM (Scaling of Local Public Transport) or
Text Symbol: E04 = PRVK (Scaling of Pocket Money)
Text Symbol: E03 = PRVH (Scaling of Maximum Rates) or
Text Symbol: E02 = PRVP (Scaling of Per Diem Rates) or
Text Symbol: E01 = Please start the report using the transactions
Text Symbol: A11 = Hrs
Text Symbol: A10 = Dy
Text Symbol: A09 = M/A
Text Symbol: K12 = scale the relevant entries
Text Symbol: K13 = scale again!
Text Symbol: OB1 = Entries for TrProv.Var. &1
Text Symbol: OB2 = List of Basic Entries W/o Calc.Guidelines
Text Symbol: PTA = Journey
Text Symbol: PTH = Maximum Amounts for Meals





Text Symbol: PTK = Pocket Money Per Diems
Text Symbol: PTM = Local Public Transport
Text Symbol: PTP = Per Diems for Meals
Text Symbol: RST = Rem.
Text Symbol: UB0 = Generate Scaled Meals Rates
Text Symbol: UB1 = P Cty Rgion S E T RM/A Curr. Number Validity Tax-fr Reimbur. Customer
Text Symbol: UB2 = M t t a s e Dy Hrs from to amount amount amount
Text Symbol: UB3 = Generate Pocket Money
Text Symbol: UB4 = Generate Local Public Transport
Text Symbol: UB5 = Generate Journey
Text Symbol: VAR = Entries for TrProv.Var.
Text Symbol: Y01 = Data Selection
Text Symbol: A08 = Re
Text Symbol: 051 = Trip Activity Type
Text Symbol: 050 = Trip Type S
Text Symbol: 040 = Rounding indicator is not allowed
Text Symbol: 026 = List of countries whose maximum rates
Text Symbol: 025 = Ctry Region
Text Symbol: 024 = were scaled:
Text Symbol: 023 = List of countries whose per-diem rates
Text Symbol: 022 = Entries for TrProv.Var.
Text Symbol: 021 = System found no table entries to be scaled.
Text Symbol: 020 = Scaled Countries
Text Symbol: 019 = Generated Rates
Text Symbol: 018 = Original Rates
Text Symbol: 017 = edited.
Text Symbol: 016 = to
Text Symbol: 015 = for the interval
Text Symbol: 014 = (were)
Text Symbol: 010 = ReGrp M/A Entp
Text Symbol: 009 = ReGrp M/A Statut
Text Symbol: 008 = Type Enterprise
Text Symbol: 007 = TripProvVar
Text Symbol: 005 = Per-Diem Amounts for
Text Symbol: 002 = to
Text Symbol: 001 = Selection Interval
Text Symbol: A07 = Rt
Text Symbol: A06 = RU
Text Symbol: A05 = Rg





Text Symbol: A04 = Rgion
Text Symbol: A03 = Unchanged
Text Symbol: A02 = Changed
Text Symbol: A01 = Created
Text Symbol: A00 = Status
Text Symbol: 407 = List of Countries, Their Journey
Text Symbol: 406 = List of Countries, Their Public Transport
Text Symbol: 405 = The journey for
Text Symbol: 404 = The public transport for
Text Symbol: 403 = Travel Management Switch 03 Is Not Active
Text Symbol: 402 = List of Countries, Their Pocket Money PDs
Text Symbol: 401 = The pocket money per diems for
Text Symbol: 400 = Transaction PRVK is for CZ and SK only
Text Symbol: 305 = The maximum amounts for
Text Symbol: 207 = No maintenance authorization for table T702V
Text Symbol: 205 = No display authorization for table T702V
Text Symbol: 107 = No maintenance authorization for table T706V
Text Symbol: 105 = No display authorization for table T706V
Text Symbol: 0B2 = 2. Block
Text Symbol: 0B1 = 1. Block
004 M t t a s e dy hrs from to amount amount amount
003 P Ctr Rgion S E T Reim Curr Number Validity Tax-fr Reimbur. Customer
002 .
001 .


INCLUDES used within this REPORT RPR706VC

INCLUDE GLO_RPR706VC_DEF.
INCLUDE GLO_RPR706VC.


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:

REUSE_ALV_BLOCK_LIST_INIT CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_INIT' EXPORTING i_callback_program = sy-repid i_callback_user_command = 'USER_COMMAND' i_callback_pf_status_set = 'PF_STATUS_SET'.

REUSE_ALV_BLOCK_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_DISPLAY' EXPORTING is_print = gt_print.

ROUND CALL FUNCTION 'ROUND' EXPORTING decimals = decimals_n input = betrag_in sign = kzrun_r IMPORTING output = betrag_out EXCEPTIONS input_invalid = 1 overflow = 2 type_invalid = 3 OTHERS = 4.

TR_OBJECT_CHECK CALL FUNCTION 'TR_OBJECT_CHECK' EXPORTING wi_ko200 = ko200_tab IMPORTING 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' 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 = objs_hits-objectname 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 RPR706VC or its description.