PRH_CONDITION SAP (Pricing Handler Condition) Structure details
Description: Pricing Handler Condition
Related tables to PRH_CONDITION
Access table PRH_CONDITION
Structure field list including key, data, relationships and ABAP select examples
PRH_CONDITION 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 "Pricing Handler Condition" 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_PRH_CONDITION TYPE PRH_CONDITION.
The PRH_CONDITION table consists of various fields, each holding specific information or linking keys about Pricing Handler Condition data available in SAP. These include MANDT (Client), KNUMV (Number of the document condition), KPOSN (Condition item number), STUNR (Step number).. 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 PRH_CONDITION 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 |
MANDT | Client | MANDT | CLNT | 3 | T000 | MANDT | |||
KNUMV | Number of the document condition | KNUMV | CHAR | 10 | KNUMV | ||||
KPOSN | Condition item number | KPOSN | NUMC | 6 | NUM6 | ||||
STUNR | Step number | STUNR | NUMC | 3 | Assigned to domain | STUNR | |||
ZAEHK | Condition counter | DZAEHK | NUMC | 2 | ZAEHK | ||||
KAPPL | Application | KAPPL | CHAR | 2 | T681A | KAPPL | KAP | ||
KSCHL | Condition type | KSCHA | CHAR | 4 | T685A | KSCHL | VKS | ||
KDATU | Condition pricing date | KDATU | DATS | 8 | DATUM | ||||
KRECH | Calculation type for condition | KRECH | CHAR | 1 | KRECH | ||||
KAWRT | Condition base value | KAWRT | CURR | 15(2) | WERTV8 | ||||
KBETR | Rate (condition amount or percentage) | KBETR | CURR | 11(2) | WERTV6 | ||||
WAERS | Currency Key | WAERS | CUKY | 5 | TCURC | WAERS | FWS | ||
KKURS | Condition exchange rate for conversion to local currency | KKURS | DEC | 9(5) | KKURS | ||||
KPEIN | Condition pricing unit | KPEIN | DEC | 5 | KPEIN | ||||
KMEIN | Condition unit in the document | KVMEI | UNIT | 3 | T006 | CUNIT | MEINS | ||
KUMZA | Numerator for converting condition units to base units | KUMZA | DEC | 5 | UMBSZ | ||||
KUMNE | Denominator for converting condition units to base units | KUMNE | DEC | 5 | UMBSN | ||||
KNTYP | Condition category (examples: tax, freight, price, cost) | KNTYP | CHAR | 1 | KNTYP | ||||
KSTAT | Condition is used for statistics | KSTAT | CHAR | 1 | XFELD | ||||
KNPRS | Scale Type | STFKZ | CHAR | 1 | STFKZ | ||||
KRUEK | Condition is Relevant for Accrual (e.g. Freight) | KRUEK | CHAR | 1 | XFELD | ||||
KRELI | Condition for invoice list | KRELI | CHAR | 1 | KRELI | ||||
KHERK | Origin of the condition | KHERK | CHAR | 1 | KHERK | ||||
KGRPE | Group condition | KGRPE | CHAR | 1 | KGRPE | ||||
KOUPD | Condition update | KOUPD | CHAR | 1 | XFELD | ||||
KOLNR | Access sequence - Access number | KOLNR | NUMC | 2 | Assigned to domain | KOLNR | |||
KNUMH | Condition record number | KNUMH | CHAR | 10 | KNUMB | ||||
KOPOS | Sequential number of the condition | KOPOS | NUMC | 2 | NUM02 | ||||
KVSL1 | Account key | KVSL1 | CHAR | 3 | T687 | KVSCHL | |||
SAKN1 | G/L Account Number | SAKNR | CHAR | 10 | SKA1 | ALPHA | SAKNR | SAK | C_SAKNR |
MWSK1 | Tax on sales/purchases code | MWSKZ | CHAR | 2 | Assigned to domain | MWSKZ | |||
KVSL2 | Account key - accruals / provisions | KVSL2 | CHAR | 3 | T687 | KVSCHL | |||
SAKN2 | Number of Provision Account | SAKNR_ACCR | CHAR | 10 | SKA1 | ALPHA | SAKNR | SAK | SAKO |
MWSK2 | Withholding tax code | WT_WITHCD | CHAR | 2 | Assigned to domain | WT_WITHCD | |||
LIFNR | Account Number of Vendor or Creditor | LIFNR | CHAR | 10 | LFA1 | ALPHA | LIFNR | LIF | KRED_C |
KUNNR | Customer number (rebate recipient) | KUNNR_KO | CHAR | 10 | KNA1 | ALPHA | KUNNR | KUN | |
KDIFF | Rounding-off difference of the condition | KDIFF | CURR | 5(2) | WERTV3 | ||||
KWERT | Condition value | KWERT | CURR | 13(2) | WERTV7 | ||||
KSTEU | Condition control | KSTEU | CHAR | 1 | KSTEU | ||||
KINAK | Condition is inactive | KINAK | CHAR | 1 | KINAK | ||||
KOAID | Condition class | KOAID | CHAR | 1 | KOAID | ||||
ZAEKO | Condition counter for (header conditions) | DZAEKO | NUMC | 2 | ZAEHK | ||||
KMXAW | Indicator for maximum condition base value | KMXAW | CHAR | 1 | KMXWR | ||||
KMXWR | Indicator for maximum condition amount | KMXWR | CHAR | 1 | KMXWR | ||||
KFAKTOR | Factor for condition base value | KFAKTOR | FLTP | 16(16) | FLTP | ||||
KDUPL | Structure condition | KDUPL | CHAR | 1 | KDUPL | ||||
KFAKTOR1 | Factor for condition basis (period) | KFAKTOR1 | FLTP | 16(16) | FLTP | ||||
KZBZG | Scale basis indicator | KZBZG | CHAR | 1 | KZBZG | ||||
KSTBS | Scale base value of the condition | KSTBS | CURR | 15(2) | WERTV8 | ||||
KONMS | Condition scale unit of measure | KONMS | UNIT | 3 | T006 | CUNIT | MEINS | ||
KONWS | Scale currency | KONWS | CUKY | 5 | TCURC | WAERS | FWS | ||
KAWRT_K | Condition base value | KAWRT | CURR | 15(2) | WERTV8 | ||||
KWAEH | Condition currency (for cumulation fields) | KWAEH | CUKY | 5 | Assigned to domain | WAERS | FWS | ||
KWERT_K | Condition value | KWERT | CURR | 13(2) | WERTV7 | ||||
KFKIV | Condition for inter-company billing | KFKIV | CHAR | 1 | XFELD | ||||
KVARC | Condition for configuration | KVARC | CHAR | 1 | XFELD | ||||
KMPRS | Condition changed manually | KMPRS | CHAR | 1 | XFELD | ||||
PRSQU | Price source | PRSQU1 | CHAR | 1 | PRSQU | ||||
VARCOND | Variant condition | VARCOND | CHAR | 26 | Assigned to domain | VARCON | |||
STUFE | Level (in multi-level BOM explosions) | HISTU | DEC | 2 | DEC2 | ||||
WEGXX | Path (for multi-level BOM explosions) | WEGXX | DEC | 4 | DEC4 | ||||
KTREL | Relevance for account assignment | KTREL | CHAR | 1 | KTREL | ||||
MDFLG | Indicator: Matrix maintenance | MDFLG | CHAR | 1 | MDFLG | ||||
TXJLV | Tax jurisdiction code level | TXJCD_LEVEL | CHAR | 1 | CHAR1 | ||||
KBFLAG | Bit encrypted flags in Pricing | KBFLAG | RAW | 2 | KBFLAG | ||||
KOLNR3 | Access Sequence - Access Number | KOLNR3 | NUMC | 3 | Assigned to domain | KOLNR3 | |||
CPF_GUID | CPF GUID for Document | CPF_GUID | CHAR | 32 | SYSUUID_C | ||||
PRSCH | Price levels | PRSCH | CHAR | 4 | CHAR4 | ||||
KOFRM | Condition formula for alternative calculation type | KOFRM | NUMC | 3 | KOFRM | ||||
STFKZ | Scale Type | STFKZ | CHAR | 1 | STFKZ | ||||
KSTBM | Incremental scale: start of interval | KSTBM_AKT | CURR | 15(2) | WERT8 | ||||
KSTBM_NEXT | Increase scale: end of interval | KSTBM_NEXT | CURR | 15(2) | WERT8 | ||||
IX_KOMT1 | Index number for internal tables | KOIDX | INT4 | 10 | KOIDX | ||||
IX_GKOMV | Index number for internal tables | KOIDX | INT4 | 10 | KOIDX | ||||
ZAEHK_IND | Condition item index | DZAEHK_IND | NUMC | 2 | ZAEHK | ||||
DRUKZ | Print ID for condition lines | DRUKZ | CHAR | 1 | DRUKZ | ||||
STUNB | From Ref. Step for Percentage Conditions | STUNB | NUMC | 3 | Assigned to domain | STUNR | |||
STUN2 | From Ref. Step for Percentage Conditions | STUNB | NUMC | 3 | Assigned to domain | STUNR | |||
KZWIW | Condition subtotal | KZWIW | CHAR | 1 | KZWIW | ||||
KOFRA | Alternative formula for condition base value | KOFRA | NUMC | 3 | KOFRM | ||||
KOFRS | Formula for scale base value | KOFRS | NUMC | 3 | KOFRM | ||||
KMANU | Making manual entries | KMANU | CHAR | 1 | KMANU | ||||
TXPRF | Rounding rule | TXPRF | CHAR | 1 | TXPRF | ||||
KNEGA | Plus/minus sign of the condition amount | KNEGA | CHAR | 1 | KNEGA | ||||
GANZZ | Indicator: Currency Translation after Multiplication | GANZZ | CHAR | 1 | XFELD | ||||
KOBLI | Condition is mandatory | KOBLI | CHAR | 1 | XFELD | ||||
KAEND_BTR | Condition rate of change for amount/percentage | KAEND_BTR | CHAR | 1 | XFELD | ||||
KAEND_WRT | Scope for changing the value | KAEND_WRT | CHAR | 1 | XFELD | ||||
KAEND_UFK | Scope for changing conversion factors | KAEND_UFK | CHAR | 1 | XFELD | ||||
KAEND_RCH | Calculation type can be changed | KAEND_RCH | CHAR | 1 | XFELD | ||||
KAEND_LOE | Delete the scope for changing rate | KAEND_LOE | CHAR | 1 | XFELD | ||||
KAEND_MEH | Condition scope of change for unit of measure | KAEND_MEH | CHAR | 1 | XFELD | ||||
KZTERM | Terms of payment ID in the condition | KZTERM | CHAR | 1 | XFELD | ||||
FXMSG | Message number | MSGNR | CHAR | 3 | Assigned to domain | MSGNR | |||
UPDKZ | Update indicator | UPDKZ_D | CHAR | 1 | UPDKZ | ||||
SELKZ | Selection flag | SELKZ | CHAR | 1 | SELKZ | ||||
BOSTA | Status of the agreement | BOSTA | CHAR | 1 | BOSTA | ||||
KSPAE | Rebate was set up retroactively | KSPAE | CHAR | 1 | XFELD | ||||
LOEVM_KO | Deletion Indicator for Condition Item | LOEVM_KO | CHAR | 1 | XFELD | ||||
KNUMA_BO | Agreement (various conditions grouped together) | KNUMA | CHAR | 10 | KONA | ALPHA | KNUMA | VMBO | |
BERGL | Calculation Base | BERGL | CHAR | 1 | BERGL | ||||
VHART | Packaging Material Type | VHIART | CHAR | 4 | TVTY | TRATY | |||
RDIFA | Rounding difference comparison | RDIFA | CHAR | 1 | XFELD | ||||
KMENG | Quantity conversion | KMENG | CHAR | 1 | XFELD | ||||
KBUFF | Condition read from buffer | KBUFF | CHAR | 1 | XFELD | ||||
BOSTA_CR | Condition Record Status (Rebate) | BOSTA_CR | CHAR | 1 | BOSTA_CR | ||||
IS_CPF_ENABLED | Condition Enabled for Config. Parameters and Formulas (CPF) | COND_IS_CPF_ENABLED | CHAR | 1 | IS_CPF_ENABLED |
Key field | Non-key field |
How do I retrieve data from SAP structure PRH_CONDITION using ABAP code?
As PRH_CONDITION 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 PRH_CONDITION as there is no data to select.How to access SAP table PRH_CONDITION
Within an ECC or HANA version of SAP you can also view further information about PRH_CONDITION 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