SAPDBCKM is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Program SAPDBCKM contains access routines for reading the fields relevant for costing from the material master record...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.
If you would like to execute this report or see the full code listing simply enter SAPDBCKM 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: MATCON = Selection List
Selection Text: KLIDCOPY = Costing Run
Selection Text: KLDTCOPY = Costing Run Date
Selection Text: KALIDCOP = Costing Run
Selection Text: KALDTCOP = Costing Run Date
Selection Text: CK_WERKS = Plant
Selection Text: CK_MTART = Material Type
Selection Text: CK_MATNR = Material Number
Selection Text: CK_DISST = Low-Level Code
Title: Logical Database for Selecting Materials for Costing Run
Text Symbol: 004 = Selection Without Costing Run and Selection List
Text Symbol: 003 = Selection Using Selection List
Text Symbol: 002 = Selection Using Reference Costing Run
Text Symbol: 001 = Selection Using Material Master
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
CKU5_KALAMATCON_HEADER_READ CALL FUNCTION 'CKU5_KALAMATCON_HEADER_READ' EXPORTING MATCONID = MATCON EXCEPTIONS NOT_FOUND = 1.
F4IF_FIELD_VALUE_REQUEST CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST' EXPORTING TABNAME = 'KALA' FIELDNAME = 'KALAID' CALLBACK_PROGRAM = REPID CALLBACK_FORM = 'VALUE_REQUEST_CALLBACK' TABLES RETURN_TAB = RETURN_VALUES EXCEPTIONS OTHERS = 1.
DYNP_VALUES_UPDATE CALL FUNCTION 'DYNP_VALUES_UPDATE' EXPORTING DYNAME = DYNAME DYNUMB = DYNUMB TABLES DYNPFIELDS = DYNPFIELDS.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
SAPDBCKM - Logical Database for Selecting Materials for Costing Run SAPDBCKC - Logical Database for Functional Location BOM SAPDBCKA - Log. Database CKA : Database Program SAPDBCIK - Archive: Cost Center SAPDBCFK - Logical Database for SAP-EIS Pool SAPDBCEK - Logical Database: Cost Center Line Items