ADPOC1 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 ADPOC1 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_HIER = Hierarchy
Selection Text: P_PER1 = Period from
Selection Text: P_PER2 = Period to
Selection Text: P_TIME = Time line
INCLUDE ADEVA2D01.
No SAP DATABASE tables are accessed within this REPORT code!
K_KOKRS_SET CALL FUNCTION 'K_KOKRS_SET' IMPORTING E_KOKRS = RKAUF-KOKRS EXCEPTIONS NOT_FOUND = 1 OTHERS = 2.
RS_REFRESH_FROM_SELECTOPTIONS CALL FUNCTION 'RS_REFRESH_FROM_SELECTOPTIONS' EXPORTING CURR_REPORT = SY-CPROG TABLES SELECTION_TABLE = LT_RSPARAMS.
PS06_TCNDB_TCNDS_IMPORT CALL FUNCTION 'PS06_TCNDB_TCNDS_IMPORT' IMPORTING E_TCNDB = LS_TCNDB E_TCNDS = LS_TCNDS.
CJDB_FREE_MEMORY_LDB_PSJ CALL FUNCTION 'CJDB_FREE_MEMORY_LDB_PSJ'.
CJDB_GET_PROJECT_FROM_LDB_PSJ CALL FUNCTION 'CJDB_GET_PROJECT_FROM_LDB_PSJ' EXPORTING I_PSJ_CALLER = SY-CPROG I_TCNDB = LS_TCNDB I_TCNDS = LS_TCNDS I_FLG_NO_HIERARCHY = ' ' I_FLG_OBJECT_LIST_ONLY = ' ' TABLES T_RSPARAMS = LT_RSPARAMS T_RSTHIE_M = GT_RSTHIE_M EXCEPTIONS NO_SELECTION_POSSIBLE = 1 NO_DATA_FOUND = 2 RSTHIE_M_EMPTY = 3.
CJDB_FREE_MEMORY_LDB_PSJ CALL FUNCTION 'CJDB_FREE_MEMORY_LDB_PSJ'.
OBJECT_IDENTIFICATION_GET CALL FUNCTION 'OBJECT_IDENTIFICATION_GET' EXPORTING OBJNR = L_OBJ IMPORTING IDENTIFICATION = L_IDENT.
OBJECT_IDENTIFICATION_GET CALL FUNCTION 'OBJECT_IDENTIFICATION_GET' EXPORTING OBJNR = L_OBJ IMPORTING IDENTIFICATION = L_IDENT.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.