SAP ABAP Data Element OIB_CHGS (Conversion handling for gases)
Hierarchy
IS-OIL (Software Component) IS-OIL
   IS-OIL (Application Component) Industry Solution Oil
     OIB_QCI (Package) QCI Quantity Conversion Interface
Basic Data
Data Element OIB_CHGS
Short Description Conversion handling for gases  
Data Type
Category of Dictionary Type D   Domain
Type of Object Referenced     No Information
Domain / Name of Reference Type OIB_CHGS    
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 Gas handl. 
Medium 15 Gas handling 
Long 20 Gas handling 
Heading GHD 
Documentation

Definition

This indicator is used to determine if and how an external routine for natural gas quantity conversion calculations is called from the QCI or whether a volume correction factor of one is used instead. Any value different from '_' will lead to the external routines being called. In customizing, in Table OIB04, you must then define which routines are to be called, in what sequence and using what parameters. If you do not want to call an external routine and thus leave this indicator with the initial value of '_', you will not have to maintain table OIB04 for this particular conversion group.

If this indicator is not initial, the QCI (Quantity Conversion Interface) always calls the external function specified by its numerical value at least once in order to determine natural gas compression factors and base density values. Depending on which customer function or which AGA subroutine and method is to be called, this indicator must be set to 5, 6, 7 or 8, in order to activate the correct function.

5 -    Call AGA routines, use gross method 1 , no second external call
6 -    Call AGA routines, use gross method 2, no second external call
7 -    Call AGA routines, use detail method, no second external call
8 -    Call customer-specific function, no second external call

Next, the compression factors are determined for the observed (high) flowing pressure and flowing temperature and the base pressure and base temperature defined in the conversion group. The ratio of the two compression factors is multiplied by the ideal gas volume correction factor to convert a volume at flowing material conditions to base conditions. If the unit of measure group of the material contains several volume and/or energy units of measure at different sets of base conditions, the conversion to the quantities for those different sets will then be carried out from the volume at base conditions as defined in the conversion group using the ideal gas law volume correction factor. If the indicator is set to 1, 2, 3 or 4:

1 -    Call AGA routines, use gross method 1
2 -    Call AGA routines, use gross method 2
3 -    Call AGA routines, use detail method, using 21 comp. an.
4 -    Use a customer-specific function

The QCI will call the external functions several times. For each volume or energy unit of measure with a set of base parameters that differ from the base parameters specified in the conversion group, the QCI is also called. The compression factors may be negligibly small if the base conditions are within certain limits with respect to one another, so these settings may not be necessary.

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