LKOPVT01 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 LKOPVT01 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.
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
K_PLANVERSION_COPY CALL FUNCTION 'K_PLANVERSION_COPY' EXPORTING KOKRS = %_IKOKRS V_GJAHR = %_IV_GJAHR V_FROM_PERIOD = %_IV_FROM_PERIOD V_TO_PERIOD = %_IV_TO_PERIOD Z_GJAHR = %_IZ_GJAHR Z_FROM_PERIOD = %_IZ_FROM_PERIOD Z_TO_PERIOD = %_IZ_TO_PERIOD V_VERSN = %_IV_VERSN Z_VERSN = %_IZ_VERSN X_COST = %_IX_COST X_ERLOESE = %_IX_ERLOESE X_GESAMT = %_IX_GESAMT X_EINZKALK = %_IX_EINZKALK X_NO_CHANGE = %_IX_NO_CHANGE X_STATKZ = %_IX_STATKZ X_DETAIL = %_IX_DETAIL TABLES T_OBJNR = %_OT_OBJNR EXCEPTIONS INVALID_PARAMETERS = 001.
K_PLANVERSION_COPY CALL FUNCTION 'K_PLANVERSION_COPY' DESTINATION DESTI EXPORTING KOKRS = %_IKOKRS V_GJAHR = %_IV_GJAHR V_FROM_PERIOD = %_IV_FROM_PERIOD V_TO_PERIOD = %_IV_TO_PERIOD Z_GJAHR = %_IZ_GJAHR Z_FROM_PERIOD = %_IZ_FROM_PERIOD Z_TO_PERIOD = %_IZ_TO_PERIOD V_VERSN = %_IV_VERSN Z_VERSN = %_IZ_VERSN X_COST = %_IX_COST X_ERLOESE = %_IX_ERLOESE X_GESAMT = %_IX_GESAMT X_EINZKALK = %_IX_EINZKALK X_NO_CHANGE = %_IX_NO_CHANGE X_STATKZ = %_IX_STATKZ X_DETAIL = %_IX_DETAIL TABLES T_OBJNR = %_OT_OBJNR EXCEPTIONS INVALID_PARAMETERS = 001.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.