Hierarchy

⤷

⤷

Basic Data
Data Element | PIQ_PREP_FLD_SOURCE_TYPE |
Short Description | Pricing Prepare: Source Type for KOMK/KOMP Fields |
Data Type
Category of Dictionary Type | D | Domain |
Type of Object Referenced | No Information | |
Domain / Name of Reference Type | PIQ_PREP_FLD_SOURCE_TYPE | |
Data Type | CHAR | Character String |
Length | 1 | |
Decimal Places | 0 | |
Output Length | 1 | |
Value Table |
Further Characteristics
Search Help: Name | ||
Search Help: Parameters | ||
Parameter ID | ||
Default Component name | ||
Change document | ||
No Input History | ||
Basic direction is set to LTR | ||
No BIDI Filtering |
Field Label
Length | Field Label | |
Short | 10 | SrcType |
Medium | 15 | Source Type |
Long | 20 | Source Type |
Heading | 2 | ST |
Documentation
Definition
The data source from which KOMK or KOMP field has to be filled prior to the pricing call itself. This is similar to the PRICING_PREPARE logic in sales order processing, for example.
Use
A rule must be defined for each KOMK and KOMP field so that the fields can be filled at runtime with data selected from KNVV or MARA database tables, for example.
The following data sources are possible:
- Global data which mainly contain organizational data, the document type or the pricing date
- Head data which can be derived from the customer
- Item data which can be derived from the material
- HeadItem data which can be derived from the combination of customer and material
- Direct Value which is a constant
- Database Table Alias if a selection to the database is needed
- Postprocessing BAdI if the BADI_PIQ_PREPARE (method ADAPT_KOMK_KOMP_DATA) is called. Note that this option should only be used in cases when the other data sources are not sufficient.
- HeadItem Prefilled
Before the data sources for all KOMK and KOMP fields are evaluated, the global data, header data, item data, and headeritem data is prefilled. These prefilled structures are generally used as data sources.
However, it is possible that you will need additional data (which is transferred from the price list selection). This is possible for global data, header data, and item data. Technically, it is a data reference to an arbitrary structure. The Business Add-In BAdI: Prepare Price Inquiry (BADI_PIQ_PREPARE) (method ADAPT_HEAD_ITEM_DATA) can be used to store any necessary additional data.
Dependencies
Example
History
Last changed by/on | SAP | 20140121 |
SAP Release Created in | 618 |