BAPI_CPE_FORMREF SAP (CPE Formula - Reference Document) Structure details
Description: CPE Formula - Reference Document
Related tables to BAPI_CPE_FORMREF
Access table BAPI_CPE_FORMREF
Structure field list including key, data, relationships and ABAP select examples
BAPI_CPE_FORMREF is a standard SAP Structure so does not store data like a database table does. It can be used to define the fields of other actual tables or to process "CPE Formula - Reference Document" Information within sap ABAP programs.
This is done by declaring abap internal tables, work areas or database tables based on this Structure. These can then be used to store and process the required data appropriately.
i.e. DATA: wa_BAPI_CPE_FORMREF TYPE BAPI_CPE_FORMREF.
The BAPI_CPE_FORMREF table consists of various fields, each holding specific information or linking keys about CPE Formula - Reference Document data available in SAP. These include REFDOC (CPE Term - Reference Document Number), REFITEM (CPE Term - Reference Document Item Number), REFGUID (CPE Term - GUID of Reference Document Item), REFCOND (CPE Term - Reference Condition 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:Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Cannot Be Enhanced
SAP BAPI_CPE_FORMREF structure 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 |
REFDOCCAT | CPE Term - Reference Document Category | CPET_REFDOCCAT | NUMC | 3 | CPE_DOCCATEGORY | ||||
REFDOC | CPE Term - Reference Document Number | CPET_REFDOC | CHAR | 10 | CPE_DOCUMENT | ||||
REFITEM | CPE Term - Reference Document Item Number | CPET_REFITEM | CHAR | 10 | CPE_DOCITEM | ||||
REFGUID | CPE Term - GUID of Reference Document Item | CPET_REFGUID | RAW | 16 | SYSUUID | ||||
REFCOND | CPE Term - Reference Condition Type | CPET_REFCOND | CHAR | 4 | Assigned to domain | KSCHL | |||
FORMRATE | CPE Formula - Rate in Formula Currency | CPET_FORMRATE | CURR | 15(2) | CPE_AMOUNT | ||||
FORMCURR | CPE Formula - Currency | CPET_FORMCURR | CUKY | 5 | TCURC | WAERS | |||
FORMPRUN | CPE Formula - Price Unit | CPET_FORMPRUN | DEC | 5 | CPE_PRUN | ||||
FORMUOM | CPE Formula - Unit of Measure | CPET_FORMUOM | UNIT | 3 | T006 | CUNIT | MEINS |
Key field | Non-key field |
How do I retrieve data from SAP structure BAPI_CPE_FORMREF using ABAP code?
As BAPI_CPE_FORMREF is a database structure and not a table it does not store any data in the SAP data dictionary. The ABAP SELECT statement is therefore not appropriate and can not be performed on BAPI_CPE_FORMREF as there is no data to select.How to access SAP table BAPI_CPE_FORMREF
Within an ECC or HANA version of SAP you can also view further information about BAPI_CPE_FORMREF 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