AD03PHV1 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 AD03PHV1 into the relevant SAP transactions such as SE38 or SE80
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: P_DETAIL = Detailed list
Selection Text: P_TSTRUN = Test Run
Selection Text: P_VERSN = Version
Selection Text: P_VTYPE = Version Type
Title: Plan data handling WBS object type version setting
Text Symbol: 001 = Version type
Text Symbol: 002 = Process with
Text Symbol: 003 = Number of rows have been inserted:
Text Symbol: 004 = Number of rows have been updated :
Text Symbol: 005 = Name
Text Symbol: 006 = Count
Text Symbol: 007 = Object
INCLUDE AD032D01.
INCLUDE AD032S01.
No SAP DATABASE tables are accessed within this REPORT code!
K_KOKRS_SET CALL FUNCTION 'K_KOKRS_SET' IMPORTING E_KOKRS = CN_KOKRS.
K_VERSN_READ CALL FUNCTION 'K_VERSN_READ' EXPORTING I_KOKRS = CN_KOKRS I_VERSN = P_VERSN EXCEPTIONS NOT_FOUND = 1 NOT_FOUND_GJAHR = 2 NO_AUTHORITY = 3 OTHERS = 4.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.