SAP ABAP Data Element QFORMELP (Formula Field for the Number of Samples)
Hierarchy
SAP_APPL (Software Component) Logistics and Accounting
   QM-IM-SM (Application Component) Sample Management
     QPR (Package) QM sample management
Basic Data
Data Element QFORMELP
Short Description Formula Field for the Number of Samples  
Data Type
Category of Dictionary Type D   Domain
Type of Object Referenced     No Information
Domain / Name of Reference Type QFORMEL    
Data Type CHAR   Character String 
Length 60    
Decimal Places 0    
Output Length 60    
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 Formula 
Medium 15 Formula 
Long 20 Formula 
Heading 55 Formula 
Documentation

Use

Enter a formula in this field, to calculate the number of samples. The formula is evaluated in the following places using the SAP formula interpreter:

  • In the sample-drawing procedure at syntactical correctness
  • At lot creation, if the number of physical samples has to be calculated

The following formula parameters are available:

  • P1 Lot quantity
  • P2 Number of containers
  • P3 Number of primary samples

You can only use formula parameter P3 in a formula to calculate the number of pooled samples.

Dependencies

Example

The number of primary samples results, for example, from the proportion of whole numbers (square root of the number of containers + 1)

The formula can (using the standard settings) be built up then, for example, in the following way:

FORMULA = TRUNC(SQRT(P2)+1)

For example, with 10 containers there are 4 primary samples.

History
Last changed by/on SAP  19990301 
SAP Release Created in