SAP Reports / Programs | Enterprise Controlling | Profit Center Accounting(EC-PCA) SAP EC

RPCLTREO SAP ABAP Report - Profit Center Accounting: Delete Long Texts

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

7KEQ - EC-PCA: Reorganize Long Texts
9KEQ - Reorg. of Actual EC-PCA Long Texts

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 RPCLTREO. "Basic submit
SUBMIT RPCLTREO AND RETURN. "Return to original report after report execution complete
SUBMIT RPCLTREO 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: TEST = Test Run
Selection Text: R_WERKS = Plant
Selection Text: R_TDLUSE = Changed by
Selection Text: R_TDLDAT = Date of Last Change
Selection Text: R_TDFDAT = Created on
Selection Text: R_STAGR = Statistical key figure
Selection Text: R_SPRCTR = Partner profit center
Selection Text: R_RYEAR = Fiscal Year
Selection Text: R_RVERS = Version
Selection Text: R_RPRCTR = Profit Center
Selection Text: R_REPMAT = Representative Material
Selection Text: R_RBUKRS = Company Code
Selection Text: R_RACCT = Account
Selection Text: P_PLIKZ = Plan/Actual Indicator
Selection Text: P_KOKRS = Controlling Area
Title: Profit Center Accounting: Delete Long Texts
Text Symbol: 615 = Plan/Actual Indicator
Text Symbol: 007 = Profit Center Accounting: Delete Long Texts
Text Symbol: 006 = Number of long texts deleted:
Text Symbol: 005 = Number of long texts found:
Text Symbol: 004 = Test run: no changes made to database!
Text Symbol: 003 = Control Parameters
Text Symbol: 002 = Further Restrictions
Text Symbol: 001 = General Data Selections



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_KOKRS_READ CALL FUNCTION 'K_KOKRS_READ' EXPORTING kokrs = p_kokrs IMPORTING e_tka01 = tka01 EXCEPTIONS not_found = 1 not_found_gjahr = 2 OTHERS = 3.

K_PCA_RESP_AUTHORITY_CHECK CALL FUNCTION 'K_PCA_RESP_AUTHORITY_CHECK' EXPORTING i_kokrs = tka01-kokrs i_pcgrp = help_setname i_kstar = '*' "note 313327 i_vorgn = r_activ-low i_actvt = actvt_delete i_no_dialog_message = cross EXCEPTIONS no_authority = 1 data_missing = 2 OTHERS = 3.

SELECT_TEXT CALL FUNCTION 'SELECT_TEXT' EXPORTING client = sy-mandt id = tdid_ltxt language = '*' name = '*' object = tdobject_pcpp TABLES selections = itthead.

DELETE_TEXT CALL FUNCTION 'DELETE_TEXT' EXPORTING client = sy-mandt id = tdid_ltxt language = '*' name = itthead-tdname object = tdobject_pcpp savemode_direct = 'X'.

BAL_LOG_CREATE CALL FUNCTION 'BAL_LOG_CREATE' EXPORTING i_s_log = ls_log IMPORTING e_log_handle = xv_log_hdl EXCEPTIONS log_header_inconsistent = 1 OTHERS = 2.

BAL_LOG_MSG_ADD_FREE_TEXT CALL FUNCTION 'BAL_LOG_MSG_ADD_FREE_TEXT' EXPORTING i_log_handle = iv_log_hdl i_msgty = lv_msgty i_probclass = lv_probcls i_text = lv_text EXCEPTIONS log_not_found = 1 msg_inconsistent = 2 log_is_full = 3 OTHERS = 4.


BAL_DSP_LOG_DISPLAY CALL FUNCTION 'BAL_DSP_LOG_DISPLAY' EXPORTING i_s_display_profile = ls_display_profile i_t_log_handle = lt_log_hdl i_amodal = ' ' EXCEPTIONS profile_inconsistent = 1 internal_error = 2 no_data_available = 3 no_authority = 4 OTHERS = 5.

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