/OPT/CP_T904 SAP (BDC Transaction Data) Table details
Dictionary Type: Table
Description: BDC Transaction Data
Description: BDC Transaction Data
Table field list including key, data, relationships and ABAP select examples
/OPT/CP_T904 is a standard SAP Table which is used to store BDC Transaction Data data and is available within R/3 SAP systems depending on the version and release level.
The /OPT/CP_T904 table consists of various fields, each holding specific information or linking keys about BDC Transaction Data data available in SAP. These include BDCID (BDC Configuration Id), DATAIDX (BDC Configuration Data Index), STEPL (BDC line item counter), VALTYPE (Field Value Determination Type).. See below for full list along with technical details, documentation, text table, check tables, foreign key relationships, conversion routines, relevant tcodes and example ABAP select code etc. .
Delivery Class: C - Customising table, maintenance only by custDisplay/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Not classified
SAP /OPT/CP_T904 table fields - Full list of fields found in SAP data dictionary
Field | Description | Data Element | Data Type | length (Dec) | Check table | Conversion Routine | Domain Name | MemoryID | SHLP |
MANDT | Client | MANDT | CLNT | 3 | Assigned to domain | MANDT | |||
BDCID | BDC Configuration Id | /OPT/CP_BDCID | NUMC | 5 | /OPT/CP_T902 | /OPT/CP_BDCID | |||
DATAIDX | BDC Configuration Data Index | /OPT/CP_BDCDIDX | NUMC | 3 | NUMC3 | ||||
STEPL | BDC line item counter | /OPT/CP_NUMC5 | NUMC | 5 | NUMC5 | ||||
VALTYPE | Field Value Determination Type | /OPT/CP_VALTYPE | CHAR | 1 | /OPT/CP_VALTYPE | ||||
BDCPROG | BDC module pool | BDC_PROG | CHAR | 40 | PROGNAME | ||||
BDCDYNP | BDC Screen number | BDC_DYNR | NUMC | 4 | NUM04 | ||||
BDCDYNB | BDC screen start | BDC_START | CHAR | 1 | CHAR1 | ||||
BDCFNAM | BDC field name | BDC_FNAM | CHAR | 132 | DYNFNAM | ||||
BDCFVAL | BDC field value | BDC_FVAL | CHAR | 132 | F4CHAR132 |
Key field | Non-key field |
How do I retrieve data from SAP table /OPT/CP_T904 using ABAP code
The following ABAP code Example will allow you to do a basic selection on /OPT/CP_T904 to SELECT all data from the tableDATA: WA_/OPT/CP_T904 TYPE /OPT/CP_T904.
SELECT SINGLE *
FROM /OPT/CP_T904
INTO CORRESPONDING FIELDS OF WA_/OPT/CP_T904
WHERE...
How to access SAP table /OPT/CP_T904
Within an ECC or HANA version of SAP you can also view further information about /OPT/CP_T904 and the data within it using relevant transactions such asSE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).
Search for further information about these or an SAP related objects