AD02ACHK is a standard ABAP INCLUDE 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 AD02ACHK 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.
Title: Data validation routine
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
MESSAGES_INITIALIZE CALL FUNCTION 'MESSAGES_INITIALIZE'.
AD1C_CONV_EXIT_INPUT * CALL FUNCTION 'AD1C_CONV_EXIT_INPUT' * EXPORTING * EXTERNAL = H_INPUT_EXTERNAL * FIELDNAME = FIELDNAME * IMPORTING * INTERNAL = H_VAL_FROM.
READ_COSTCENTER * CALL FUNCTION 'READ_COSTCENTER' * EXPORTING * DATAB = P_ACTV_TAB-DOC_DATE * DATBI = P_ACTV_TAB-DOC_DATE * KOKRS = P_ACTV_TAB-CO_AREA * KOSTL = P_ACTV_TAB-SEND_CCTR * IMPORTING * SUBRC = l_subrc "SY-SUBRC CM 03/2003 KH * TABLES * SEL_INT = SEL_CSKS.
AD1C_CONV_EXIT_INPUT * CALL FUNCTION 'AD1C_CONV_EXIT_INPUT' * EXPORTING * EXTERNAL = H_INPUT_EXTERNAL * FIELDNAME = FIELDNAME * IMPORTING * INTERNAL = H_VAL_FROM.
READ_COSTCENTER * CALL FUNCTION 'READ_COSTCENTER' * EXPORTING * DATAB = P_ACTV_TAB-DOC_DATE * DATBI = P_ACTV_TAB-DOC_DATE * KOKRS = P_ACTV_TAB-CO_AREA * KOSTL = P_ACTV_TAB-REC_CCTR * IMPORTING * SUBRC = l_subrc "SY-SUBRC CM 03/2003 KH * TABLES * SEL_INT = SEL_CSKS.
CJPN_GET_WBS_ELEMENT CALL FUNCTION 'CJPN_GET_WBS_ELEMENT' EXPORTING I_POSID = P_ACTV_TAB-REC_WBS * importing * e_prps = l_prps EXCEPTIONS NOT_FOUND = 01.
CATS_CHECK_EMPLOYEE_ACTIVE CALL FUNCTION 'CATS_CHECK_EMPLOYEE_ACTIVE' EXPORTING PERNR = P_ACTV_TAB-PERNR * DATE = P_ACTV_TAB-DOC_DATE begda = P_ACTV_TAB-DOC_DATE endda = P_ACTV_TAB-DOC_DATE EXCEPTIONS PERNR_NOT_FOUND = 1 PERNR_NOT_ACTIVE = 2 OTHERS = 3.
READ_ACTIVITY CALL FUNCTION 'READ_ACTIVITY' EXPORTING DATAB = P_ACTV_TAB-DOC_DATE DATBI = P_ACTV_TAB-DOC_DATE KOKRS = P_ACTV_TAB-CO_AREA LSTAR = P_ACTV_TAB-ACTIVITY TABLES SEL_INT = SEL_CSKS EXCEPTIONS CSLA_NOT_COMPLETE = 1 CSLA_NOT_FOUND = 2.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.