SAP ABAP Data Element PIQ_PREP_KEY_SOURCE_TYPE (Pricing Preparation: Source Type for DB Key Fields)
Hierarchy
SAP_APPL (Software Component) Logistics and Accounting
   SD-BF-PR (Application Component) Pricing and Conditions
     VF_PRC_PRICEINQUIRY (Package) Mass Processing of Price Inquiries
Basic Data
Data Element PIQ_PREP_KEY_SOURCE_TYPE
Short Description Pricing Preparation: Source Type for DB Key Fields  
Data Type
Category of Dictionary Type D   Domain
Type of Object Referenced     No Information
Domain / Name of Reference Type PIQ_PREP_KEY_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 SrceType 
Medium 15 Source Type 
Long 20 Source Type 
Heading 10 SrceType 
Documentation

Definition

The data source from which key field of a database table is taken in order to select additional master data tables (such as KNVV or MARA), for example.

Use

A rule must be defined for each field of the primary key of a database table, so that the fields can be filled at runtime. The fields can be filled with data such as customer or material, for example, which is provided on the selection screen.

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

Before the database selection takes place, the Global data, Head data, Item data and HeadItem 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, Head data and Item data. Technically, it is a data reference to an arbitrary structure.

Dependencies

Example

History
Last changed by/on SAP  20140121 
SAP Release Created in 618