SAP Reports / Programs

R_TP_CVPROF_DEACT SAP ABAP Report - Program R_TP_CVPROF_DEACT, Deactivation of Parallel Valuations







R_TP_CVPROF_DEACT 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 R_TP_CVPROF_DEACT 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

8KEU - Deactivate C&V Profile in CO Area


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 R_TP_CVPROF_DEACT. "Basic submit
SUBMIT R_TP_CVPROF_DEACT AND RETURN. "Return to original report after report execution complete
SUBMIT R_TP_CVPROF_DEACT 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_DEACTI = Carry out deactivation
Selection Text: P_KOKRS = D Controlling area
Selection Text: P_TEST = Check deactivation
Title: Program R_TP_CVPROF_DEACT, Deactivation of Parallel Valuations
Text Symbol: P01 = Reset operative version 0
Text Symbol: P02 = Deactivate transfer prices
Text Symbol: T01 = Deactivate


INCLUDES used within this REPORT R_TP_CVPROF_DEACT

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:

K_VERSN_ACTIVATE_VALUTYP_5 CALL FUNCTION 'K_VERSN_ACTIVATE_VALUTYP_5'.

AC_VALUATION_PRESENT CALL FUNCTION 'AC_VALUATION_PRESENT' EXPORTING i_kokrs = p_kokrs.

MESSAGES_SHOW CALL FUNCTION 'MESSAGES_SHOW' * exporting * corrections_option = ' ' * corrections_func_text = ' ' * LINE_FROM = ' ' * LINE_TO = ' ' * OBJECT = ' ' * SEND_IF_ONE = ' ' * BATCH_LIST_TYPE = 'J' * SHOW_LINNO = 'X' * SHOW_LINNO_TEXT = ' ' * SHOW_LINNO_TEXT_LEN = '3' * IMPORTING * CORRECTIONS_WANTED = EXCEPTIONS inconsistent_range = 1 no_messages = 2 OTHERS = 3.

POPUP_DISPLAY_TEXT CALL FUNCTION 'POPUP_DISPLAY_TEXT' "WK 46c EXPORTING "WK 46c popup_title = text-p02 "WK 46c text_object = 'PCA_TP_DEACTIVATE' "WK 46c IMPORTING "WK 46c cancelled = l_answer. "WK 46c

PCA_LOG_WRITE_DB CALL FUNCTION 'PCA_LOG_WRITE_DB'.

K_KOKRS_SET CALL FUNCTION 'K_KOKRS_SET' EXPORTING display = ' ' i_kokrs = ' ' popup = '1' IMPORTING e_kokrs = p_kokrs e_action = action EXCEPTIONS not_found = 1 OTHERS = 2.

AIPR_READ_TKA01 CALL FUNCTION 'AIPR_READ_TKA01' EXPORTING i_kokrs = p_kokrs IMPORTING e_tka01 = gs_tka01 EXCEPTIONS not_found = 1 OTHERS = 2.

MESSAGES_INITIALIZE CALL FUNCTION 'MESSAGES_INITIALIZE' * EXPORTING * COLLECT_AND_SEND = ' ' * RESET = 'X' * LINE_FROM = ' ' * LINE_TO = ' ' * I_IDENTIFICATION = * CHECK_ON_COMMIT = 'X' IMPORTING e_identification = g_identification EXCEPTIONS OTHERS = 0.

PCA_LOG_INIT CALL FUNCTION 'PCA_LOG_INIT' EXPORTING object = 'COP1' subobject = 'TRANSFER' EXCEPTIONS object_not_found = 01.

PCA_LOG_INIT_HEADER CALL FUNCTION 'PCA_LOG_INIT_HEADER' EXPORTING extnumber = 'Deaktivierung'(t01) repid = repid tcode = sy-tcode.

PCA_LOG_INIT_MESSAGES CALL FUNCTION 'PCA_LOG_INIT_MESSAGES' EXPORTING msgid = 'KM' m_detlevel = '2' m_probclass = '2'.

PCA_LOG_SET_MESSAGE CALL FUNCTION 'PCA_LOG_SET_MESSAGE' EXPORTING msgty = 'I' msgno = message v1 = v1.

PCA_LOG_APPEND_PARAMS CALL FUNCTION 'PCA_LOG_APPEND_PARAMS' EXPORTING para = 'TIME' value = value refresh = 'X'.

PCA_LOG_WRITE_MESSAGE CALL FUNCTION 'PCA_LOG_WRITE_MESSAGE' EXPORTING update_or_insert = 'I' EXCEPTIONS object_not_found = 01.

K_VERSN_VALUATION CALL FUNCTION 'K_VERSN_VALUATION' EXPORTING i_kokrs = p_kokrs i_ignore_flg_active = 'X' IMPORTING e_basic_valuation = l_basic_valuation EXCEPTIONS no_basic_version = 1 wrong_customizing = 2 valuation_profile_not_active = 3 OTHERS = 4.

POPUP_DISPLAY_TEXT CALL FUNCTION 'POPUP_DISPLAY_TEXT' EXPORTING popup_title = text-p01 text_object = 'PCA_TP_VERSION_RESET' IMPORTING cancelled = l_answer.



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