RPCADIFF 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 RPCADIFF into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
KEE0 - PCA: Generate Line Item Difference
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.
Selection Text: SYEAR = Fiscal year
Selection Text: SVERS = EC-PCA: Plan version
Selection Text: SKOKRS = Controlling area
Selection Text: NOWRITE = Check line item table
Selection Text: DBWRITE = Adjust line item table
Title: EC-PCA: Generate Difference Line Items
Text Symbol: 022 = "Only line items are archived"
Text Symbol: 021 = "Archiving with database update"
Text Symbol: 020 = 1 and 3
Text Symbol: 019 = Archiving type:
Text Symbol: 018 = Selection parameters for transaction KE71:
Text Symbol: 017 = General processing:
Text Symbol: 016 = Archive the existing line items with transaction KE71.
Text Symbol: 015 = However, plan line items exist for this version.
Text Symbol: 014 = The version is therefore consistent.
Text Symbol: 013 = No plan line items exist for this version.
Text Symbol: 012 = Line item update is not active in this version.
Text Symbol: 011 = It is recommended that you restart 'Adjust line item table' in the background
Text Symbol: 010 = Record type:
Text Symbol: 009 = Line item table adjusted using difference line items.
Text Symbol: 008 = identical to the balances in the corresponding plan line items
Text Symbol: 007 = Summary records in table GLPCT not
Text Symbol: 006 = Fiscal year:
Text Symbol: 005 = EC-PCA plan version:
Text Symbol: 004 = Controlling area:
Text Symbol: 003 = Check line item table
Text Symbol: 002 = Adjust line item table
Text Symbol: 001 = Clearing line item generated by report RPCADIFF
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
G_PCA_1_POSTING CALL FUNCTION 'G_PCA_1_POSTING' TABLES INT_GLPCP = NEW_GLPCP_DATA INT_GLPCP_ADD = INT_GLPCP_ADD.
POPUP_DISPLAY_TEXT_WITH_PARAMS CALL FUNCTION 'POPUP_DISPLAY_TEXT_WITH_PARAMS' EXPORTING * LANGUAGE = SY-LANGU POPUP_TITLE = TEXT-002 * START_COLUMN = 10 * START_ROW = 3 TEXT_OBJECT = 'PCA_DIFF_WRITE' * HELP_MODAL = 'X' * IMPORTING * CANCELLED = TABLES PARAMETERS = PARA_TAB * EXCEPTIONS * ERROR_IN_TEXT = 1 * TEXT_NOT_FOUND = 2 * OTHERS = 3 .
POPUP_DISPLAY_TEXT_WITH_PARAMS CALL FUNCTION 'POPUP_DISPLAY_TEXT_WITH_PARAMS' EXPORTING * LANGUAGE = SY-LANGU POPUP_TITLE = TEXT-003 * START_COLUMN = 10 * START_ROW = 3 TEXT_OBJECT = 'PCA_DIFF_ANALIZE' * HELP_MODAL = 'X' * IMPORTING * CANCELLED = TABLES PARAMETERS = PARA_TAB * EXCEPTIONS * ERROR_IN_TEXT = 1 * TEXT_NOT_FOUND = 2 * OTHERS = 3 .
POPUP_DISPLAY_TEXT_WITH_PARAMS CALL FUNCTION 'POPUP_DISPLAY_TEXT_WITH_PARAMS' EXPORTING * LANGUAGE = SY-LANGU POPUP_TITLE = TEXT-003 * START_COLUMN = 10 * START_ROW = 3 TEXT_OBJECT = 'PCA_EP_NOT_ACTIVE_OK' * HELP_MODAL = 'X' * IMPORTING * CANCELLED = TABLES PARAMETERS = PARA_TAB * EXCEPTIONS * ERROR_IN_TEXT = 1 * TEXT_NOT_FOUND = 2 * OTHERS = 3 .
POPUP_DISPLAY_TEXT_WITH_PARAMS CALL FUNCTION 'POPUP_DISPLAY_TEXT_WITH_PARAMS' EXPORTING * LANGUAGE = SY-LANGU POPUP_TITLE = TEXT-003 * START_COLUMN = 10 * START_ROW = 3 TEXT_OBJECT = 'PCA_EP_NOT_ACTIVE_NOT_OK' * HELP_MODAL = 'X' * IMPORTING * CANCELLED = TABLES PARAMETERS = PARA_TAB * EXCEPTIONS * ERROR_IN_TEXT = 1 * TEXT_NOT_FOUND = 2 * OTHERS = 3 .
PCA_DOCUMENT_TYPE_CHECK CALL FUNCTION 'PCA_DOCUMENT_TYPE_CHECK' EXPORTING i_docty = 'P0' i_plact = '1' I_RBUKRS = BUKRS I_RYEAR = YEAR IMPORTING E_NRIV = l_nriv EXCEPTIONS DOCTY_NOT_VALID = 01 WRONG_PLACT = 02 OBJECT_NOT_VALID = 03 NO_RANGE_FOUND = 04 DOCNR_ALREADY_EXIST = 05 INTERNAL_NUMBER_RANGE = 06 MISSING_DOCNR = 07 EXTERNAL_NUMBER_NOT_ALLOWED = 08 WRONG_PARAMETER = 09 OTHERS = 10 .
NUMBER_GET_NEXT CALL FUNCTION 'NUMBER_GET_NEXT' EXPORTING OBJECT = l_nriv-object " note 320315 * OBJECT = 'GL_LOCAL' " note 320315 SUBOBJECT = BUKRS NR_RANGE_NR = L_nriv-NRRANGENR " note 320315 * NR_RANGE_NR = '01' " note 320315 TOYEAR = YEAR QUANTITY = QUANTITY IMPORTING NUMBER = DOCNR QUANTITY = QUANTITY RETURNCODE = RETURNCODE EXCEPTIONS INTERVAL_NOT_FOUND = 01 NUMBER_RANGE_NOT_INTERN = 02 OBJECT_NOT_FOUND = 03 QUANTITY_IS_0 = 04 OTHERS = 08.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
RPCADIFF - EC-PCA: Generate Difference Line Items RPCADIFF - EC-PCA: Generate Difference Line Items RPCADIC1 - documentation and ABAP source code RPCADIC0 - HR-CH: General accounting functions - Switzerland RPCADEL3 - EC-PCA: Auxiliary Program for Deleting Converted Plan Line Items RPCADEL3 - EC-PCA: Auxiliary Program for Deleting Converted Plan Line Items