SAP Reports / Programs | Add-ons for Actual Costs / Time Recording | Aerospace & Defence Industry Solution | Add-ons for Actual Costs / Time Recording(IS-AD-ALC) SAP IS

AD02ACHK SAP ABAP INCLUDE - Data validation routine







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


ABAP code to call this SAP report using the submit statement

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.






SUBMIT AD02ACHK. "Basic submit
SUBMIT AD02ACHK AND RETURN. "Return to original report after report execution complete
SUBMIT AD02ACHK VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Data validation routine


INCLUDES used within this REPORT AD02ACHK

No INCLUDES are used within this REPORT code!


TABLES used within REPORT and the associated SELECT statement:





No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

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.



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.







The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name AD02ACHK or its description.