SAP Reports / Programs

KPP7UT02 SAP ABAP Report - CO Planning: Conversion Program for Code Changes







KPP7UT02 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 KPP7UT02 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 KPP7UT02. "Basic submit
SUBMIT KPP7UT02 AND RETURN. "Return to original report after report execution complete
SUBMIT KPP7UT02 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: CO Planning: Conversion Program for Code Changes
Text Symbol: PP0 = CO Planning Processor


INCLUDES used within this REPORT KPP7UT02

INCLUDE RKCDEUPL_DATA.
INCLUDE LKPP7D02.
INCLUDE KPPXI001.
INCLUDE OFFICEINTEGRATIONINCLUDE.
INCLUDE DEMOOFFICEINTEGRATIONUTILS.


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_ORDER_CHOICE_CORRECTION CALL FUNCTION 'TR_ORDER_CHOICE_CORRECTION' EXPORTING iv_category = 'CUST' "'SYST' früher * IV_CLI_DEP = 'X' IMPORTING ev_order = l_order ev_task = l_task EXCEPTIONS invalid_category = 1 no_correction_selected = 2 OTHERS = 3.

KPP_XL_TEMPLATE_GET_COPY CALL FUNCTION 'KPP_XL_TEMPLATE_GET_COPY' EXPORTING is_tka52 = gth_tka52 I_TEMPLATE_LANGU = L_LANGU i_modus = 'U' IMPORTING e_document_url = l_document_url e_subrc = l_subrc.

KPP_XL_TEMPLATE_CHECKIN CALL FUNCTION 'KPP_XL_TEMPLATE_CHECKIN' EXPORTING is_tka52 = gth_tka52 * I_BILDTYP = 6 I_TEMPLATE_LANGU = L_LANGU TABLES it_file_content_binary = lt_file_content_binary it_file_access_info = lth_file_access_info et_transporting_objects = gt_transporting_objects EXCEPTIONS function_canceled = 1 OTHERS = 2.

TR_APPEND_TO_COMM_OBJS_KEYS CALL FUNCTION 'TR_APPEND_TO_COMM_OBJS_KEYS' EXPORTING * WI_SIMULATION = ' ' * WI_SUPPRESS_KEY_CHECK = ' ' wi_trkorr = l_task TABLES wt_e071 = gt_transporting_objects wt_e071k = lth_e071k EXCEPTIONS key_char_in_non_char_field = 1 key_check_keysyntax_error = 2 key_inttab_table = 3 key_longer_field_but_no_generc = 4 key_missing_key_master_fields = 5 key_missing_key_tablekey = 6 key_non_char_but_no_generic = 7 key_no_key_fields = 8 key_string_longer_char_key = 9 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 OTHERS = 68.

CONTROL_EXIT CALL FUNCTION 'CONTROL_EXIT'.

SDOK_LOIO_FIND_BY_QUERY CALL FUNCTION 'SDOK_LOIO_FIND_BY_QUERY' EXPORTING object_class = c_template_class_logical TABLES query = lt_query RESULT = lt_obj_id_log properties_request = lt_prop_req[] properties_result = lt_properties[] EXCEPTIONS bad_class = 1 bad_query = 2 not_authorized = 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 KPP7UT02 or its description.