08-20-2007 7:10 AM
08-20-2007 7:24 AM
Hi,
<b>QEGR_HISTOGRAM_FOR_QASE</b>
<b>Text</b>
Histogram for Quantitative Single Results
<b>Functionality</b>
A display of the frequency distribution of inspection results as a histogram using the SAP statistics graphics. The inspection results must have already been transferred to one of the two interface tables. The class division in the function module is based on the following algorithm.
First, the system calculates a preliminary class width using the following formula:
I = (x-max - x-min) / (2n)**1/3
In this formula, I corresponds to the class width, n represents the number of valid values, x-max is the largest valid value, and x-min is the smallest valid value. The system then rounds off the class width and the lower boundary of the class is changed to a multiple of the new interval length. This may cause the number of classes to change. For display purposes, the system expands the class divisions so that the lower specification limit, upper specification limit, and target value for the characteristic can be plotted.
The function module also allows the graphic to remain active in the background, instead of being closed. By calling up function module QRKD_CANCEL_GRAPHICS , you can close these open windows and programs for the graphic at a later time.
<b>Example</b>
You can call up this function module in results recording or in an evaluation report that uses the logical database PGQ.
<b>Notes</b>
The system can call up a histogram for classed values using another function module in this function group.
<b>Parameters</b>
E_GRAPHICS_STILL_ACTIVE
I_KTEXTMAT
I_KURZTEXT
I_MASSEINHSW3
I_MASSEINHSW6
I_MERKNR
I_SCALING
I_SOLLWERT
I_SOLLWNI
I_STELLEN
I_TOLERANZOB
I_TOLERANZUN
I_TOLOBNI
I_TOLUNNI
T_QASERTAB
T_QASETAB
<b>Exceptions</b>
INCONSISTENT_DATA
<b>Meaning</b>
The data found is inconsistent (program error).
<b>Type of exception creation</b>
If the exception is not dealt with by the calling program, the following applies:
(X) An error message is sent.
( ) A termination message is sent.
( ) A run_time error is triggered.
<b>Function Group</b>
QEGR
Regards,
Padmam.