RKPU2BAT 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 RKPU2BAT into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
KPUB - Revaluate Plan in Background
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: VERSN = Version
Selection Text: UMWRT = Revaluation
Selection Text: TOPER = To Period
Selection Text: TESTFLG = Test Run
Selection Text: TAB = Table
Selection Text: SCMA_ST = Reverse
Selection Text: LISTFLG = Detail List
Selection Text: KOKRS = Controlling Area
Selection Text: GJAHR = Fiscal Year
Selection Text: FRPER = From Period
Selection Text: BATCHFLG = Background Processing
Title: Batch Report for Plan Revaluation
INCLUDE RKASMAWF.
No SAP DATABASE tables are accessed within this REPORT code!
K_LOGSYSTEM_CHECK CALL FUNCTION 'K_LOGSYSTEM_CHECK' EXPORTING I_KOKRS = KOKRS.
K_VRGNG_AUTHORITY_CHECK CALL FUNCTION 'K_VRGNG_AUTHORITY_CHECK' EXPORTING ACTVT = '16' "Aktivität für Berechtigung VRGNG = 'KPUW' "Umwertung KOKRS = KOKRS.
CO_PERIOD_BLOCKING_CHECK CALL FUNCTION 'CO_PERIOD_BLOCKING_CHECK' EXPORTING KOKRS = KOKRS GJAHR = GJAHR PERAB = FRPER PERBI = TOPER VERSN = VERSN VRGNG = 'KPUW'. "Umwertung
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.