OIRC_CALP SAP (Sales Price Calculation: Item in a Price Calculation) Structure details
Description: Sales Price Calculation: Item in a Price Calculation
Structure field list including key, data, relationships and ABAP select examples
OIRC_CALP 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 "Sales Price Calculation: Item in a Price Calculation" 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_OIRC_CALP TYPE OIRC_CALP.
The OIRC_CALP table consists of various fields, each holding specific information or linking keys about Sales Price Calculation: Item in a Price Calculation data available in SAP. These include OIRCCONTO (Valid to date for sales conditions), OIRCKBETR (Rate (condition amount or percentage)), OIRCKPEIN (Condition pricing unit), OIRCKMEIN (Condition unit in the document).. 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: Can be enhanced (character-type or numeric)
SAP OIRC_CALP 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 |
OIRCCONFROM | Valid from date for sales conditions | OIRCCONFROM | DATS | 8 | DATUM | ||||
OIRCCONTO | Valid to date for sales conditions | OIRCCONTO | DATS | 8 | DATUM | ||||
OIRCKBETR | Rate (condition amount or percentage) | KBETR | CURR | 11(2) | WERTV6 | ||||
OIRCKPEIN | Condition pricing unit | KPEIN | DEC | 5 | KPEIN | ||||
OIRCKMEIN | Condition unit in the document | KVMEI | UNIT | 3 | Assigned to domain | CUNIT | MEINS | ||
OIRCKWAER | Currency Key | WAERS | CUKY | 5 | Assigned to domain | WAERS | FWS | ||
OIRCSPANE | Margin (net) in sales price calculation | SPANE | CURR | 11(2) | WERTV6 | ||||
OIRCSPABR | Margin (gross) in sales price calculation | SPABR | CURR | 11(2) | WERTV6 | ||||
OIRCSPANA | Current margin (net) | SPANA | CURR | 11(2) | WERTV6 | ||||
OIRCSPABA | Current margin (gross) | SPABA | CURR | 11(2) | WERTV6 | ||||
KBELN | Number of pricing document | KBELN | CHAR | 10 | Assigned to domain | ALPHA | KBELN | ||
KBELP | Item Number of Pricing Document | KBELP | NUMC | 5 | Assigned to domain | KBELP | |||
SUBRC | Subroutines for return code | SUBRC | NUMC | 2 | EK08R_RC | ||||
PROC_RESET | Checkbox | XFELD | CHAR | 1 | XFELD |
Key field | Non-key field |
How do I retrieve data from SAP structure OIRC_CALP using ABAP code?
As OIRC_CALP 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 OIRC_CALP as there is no data to select.How to access SAP table OIRC_CALP
Within an ECC or HANA version of SAP you can also view further information about OIRC_CALP 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