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

RPCADOCR SAP ABAP Report - EC-PCA: Reverse Local Profit Center Document







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

9KED - EC-PCA: Reverse Local Actual Doc.


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 RPCADOCR. "Basic submit
SUBMIT RPCADOCR AND RETURN. "Return to original report after report execution complete
SUBMIT RPCADOCR 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_BUDAT = D Posting Date
Selection Text: P_BUKRS = D Company Code
Selection Text: P_DOCTY = D Document Type
Selection Text: P_PERIOD = D Special Period
Selection Text: P_YEAR = D Fiscal Year
Selection Text: R_DOCNR = D Document Number
Title: EC-PCA: Reverse Local Profit Center Document
Text Symbol: 001 = Document Details
Text Symbol: 002 = Document Number
Text Symbol: 003 = To
Text Symbol: 004 = Reverse Document Details
Text Symbol: 280 = Wrong Transaction Code


INCLUDES used within this REPORT RPCADOCR

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:

RK_KOKRS_FIND call function 'RK_KOKRS_FIND' exporting bukrs = p_bukrs importing kokrs = kokrs.

CONVERSION_EXIT_ALPHA_INPUT call function 'CONVERSION_EXIT_ALPHA_INPUT' exporting input = r_docnr-low importing output = r_docnr-low.

CONVERSION_EXIT_ALPHA_INPUT call function 'CONVERSION_EXIT_ALPHA_INPUT' exporting input = r_docnr-low importing output = r_docnr-low.

PCA_ACTUAL_DOCUMENT_REVERSE call function 'PCA_ACTUAL_DOCUMENT_REVERSE' exporting i_rbukrs = P_bukrs i_ryear = p_year i_docty = p_docty I_BUDAT = p_budat i_authcheck = 'X' "note 425837 i_soper = p_period "note667370 TABLES t_docnr = lth_docnr EXCEPTIONS OTHERS = 1.

K_KOKRS_READ CALL FUNCTION 'K_KOKRS_READ' EXPORTING * GJAHR = '0000' kokrs = kokrs IMPORTING * E_TKA00 = e_tka01 = l_tka01 EXCEPTIONS not_found = 1 not_found_gjahr = 2 OTHERS = 3.

G_PERIOD_GET CALL FUNCTION 'G_PERIOD_GET' EXPORTING date = p_budat variant = l_tka01-lmona IMPORTING anzbp = anzbp anzsp = anzsp period = ld_buper year = ld_gjahr EXCEPTIONS OTHERS = 4.

G_PERIODS_OF_YEAR_GET CALL FUNCTION 'G_PERIODS_OF_YEAR_GET' EXPORTING variant = l_tka01-lmona year = ld_gjahr IMPORTING last_normal_period = ld_last_normal_period EXCEPTIONS OTHERS = 3.



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