|**STOCK-BASED COMPENSATION PLANS (Tables)**                                                  | 12 Months Ended                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 
|-------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
|**Share-Based Payment Arrangement, Noncash Expense [Abstract]**                              |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 
|Schedule of Employee Service Share-based Compensation, Allocation of Recognized Period Costs | Compensation cost and the related income tax benefit recognized for stock-based compensation plans were classified as indicated below for the fiscal years ended June 30:202220212020Cost of products sold$6$6$5Selling and administrative expenses424041Research and development costs444Total compensation costs$52$50$50Related income tax benefit$12$12$12                                                                                                                                                                                                                                                                  
|                                                                                             |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 
|                                                                                             | 2022                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
|Cost of products sold                                                                        | $                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               
|Selling and administrative expenses                                                          | 42                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
|Research and development costs                                                               | 4                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               
|Total compensation costs                                                                     | $                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               
|                                                                                             |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 
|Related income tax benefit                                                                   | $                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               
|Schedule of Share-based Payment Award, Stock Options, Valuation Assumptions                  | The fair value of each stock option award granted during fiscal years 2022, 2021 and 2020 was estimated on the date of grant using the Black-Scholes valuation model and assumptions noted in the following table:202220212020Expected life5.4 years5.3 to 5.4 years5.4 yearsWeighted-average expected life5.4 years5.4 years5.4 yearsExpected volatility21.7% to 25.0%21.4% to 23.2%18.7%Weighted-average volatility21.8%21.9%18.7%Risk-free interest rate0.9% to 2.1%0.3% to 0.5%1.7%Weighted-average risk-free interest rate0.9%0.3%1.7%Dividend yield2.9% to 3.7%2.1% to 2.3%2.8%Weighted-average dividend yield2.9%2.1%2.8%
|                                                                                             |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 
|                                                                                             | 2022                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
|Expected life                                                                                | 5.4 years                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       
|Weighted-average expected life                                                               | 5.4 years                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       
|Expected volatility                                                                          | 21.7% to 25.0%                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  
|Weighted-average volatility                                                                  | 21.8%                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           
|Risk-free interest rate                                                                      | 0.9% to 2.1%                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    
|Weighted-average risk-free interest rate                                                     | 0.9%                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
|Dividend yield                                                                               | 2.9% to 3.7%                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    
|Weighted-average dividend yield                                                              | 2.9%                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
|Schedule of Share-based Compensation, Stock Options, Activity                                | Details of the Company’s stock option activities are summarized below:Number ofShares(In thousands)Weighted-AverageExercisePriceper ShareAverageRemainingContractualLifeAggregateIntrinsicValueOptions outstanding as of June 30, 20214,020$1396 years$179Granted669163Exercised317110Canceled174165Options outstanding as of June 30, 20224,198$1445 years$49Options vested as of June 30, 20222,861$1314 years$49                                                                                                                                                                                                             
|                                                                                             |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 
|                                                                                             | Number ofShares(In thousands)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   
|Options outstanding as of June 30, 2021                                                      | 4,020                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           
|Granted                                                                                      | 669                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             
|Exercised                                                                                    | 317                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             
|Canceled                                                                                     | 174                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             
|Options outstanding as of June 30, 2022                                                      | 4,198                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           
|                                                                                             |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 
|Options vested as of June 30, 2022                                                           | 2,861                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           
|Schedule of Share-based Compensation, Restricted Stock Units Award Activity                  | A summary of the status of the Company’s restricted stock awards is presented below:Number ofShares(In thousands)Weighted-AverageGrant DateFair Valueper ShareRestricted stock awards as of June 30, 2021315$178Granted261157Vested118167Forfeited46177Restricted stock awards as of June 30, 2022412$168                                                                                                                                                                                                                                                                                                                       
|                                                                                             |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 
|                                                                                             | Number ofShares(In thousands)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   
|Restricted stock awards as of June 30, 2021                                                  | 315                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             
|Granted                                                                                      | 261                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             
|Vested                                                                                       | 118                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             
|Forfeited                                                                                    | 46                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
|Restricted stock awards as of June 30, 2022                                                  | 412                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             
|Share-based Compensation, Performance Shares Award Outstanding Activity                      | A summary of the status of the Company’s performance share awards is presented below:Number ofShares(In thousands)Weighted-AverageGrant DateFair Valueper SharePerformance share awards as of June 30, 2021353$146Granted117$162Distributed129$118Forfeited28$169Performance share awards as of June 30, 2022313$162Performance shares vested and deferred as of June 30, 202258$110                                                                                                                                                                                                                                            
|                                                                                             |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 
|                                                                                             | Number ofShares(In thousands)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   
|Performance share awards as of June 30, 2021                                                 | 353                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             
|Granted                                                                                      | 117                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             
|Distributed                                                                                  | 129                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             
|Forfeited                                                                                    | 28                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
|Performance share awards as of June 30, 2022                                                 | 313                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             
|Performance shares vested and deferred as of June 30, 2022                                   | 58                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              

X- DefinitionTabular disclosure of allocation of amount expensed and capitalized for award under share-based payment arrangement to statement of income or comprehensive income and statement of financial position. Includes, but is not limited to, corresponding line item in financial statement.
+ ReferencesReference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (h)(1) -URI https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901
+ Details**Name:**
us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTextBlock**Namespace Prefix:**
us-gaap_**Data Type:**
dtr-types:textBlockItemType**Balance Type:**
na**Period Type:**
duration X- DefinitionTabular disclosure of the number and weighted-average grant date fair value for restricted stock units that were outstanding at the beginning and end of the year, and the number of restricted stock units that were granted, vested, or forfeited during the year.
+ ReferencesReference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (c)(1) -URI https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901
+ Details**Name:**
us-gaap_ScheduleOfShareBasedCompensationRestrictedStockUnitsAwardActivityTableTextBlock**Namespace Prefix:**
us-gaap_**Data Type:**
dtr-types:textBlockItemType**Balance Type:**
na**Period Type:**
duration X- DefinitionTabular disclosure for stock option plans. Includes, but is not limited to, outstanding awards at beginning and end of year, grants, exercises, forfeitures, and weighted-average grant date fair value.
+ ReferencesReference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (d) -URI https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (e) -URI https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (c)(1) -URI https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901
+ Details**Name:**
us-gaap_ScheduleOfShareBasedCompensationStockOptionsActivityTableTextBlock**Namespace Prefix:**
us-gaap_**Data Type:**
dtr-types:textBlockItemType**Balance Type:**
na**Period Type:**
duration X- DefinitionTabular disclosure of the significant assumptions used during the year to estimate the fair value of stock options, including, but not limited to: (a) expected term of share options and similar instruments, (b) expected volatility of the entity's shares, (c) expected dividends, (d) risk-free rate(s), and (e) discount for post-vesting restrictions.
+ ReferencesReference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (f)(2) -URI https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901
+ Details**Name:**
us-gaap_ScheduleOfShareBasedPaymentAwardStockOptionsValuationAssumptionsTableTextBlock**Namespace Prefix:**
us-gaap_**Data Type:**
dtr-types:textBlockItemType**Balance Type:**
na**Period Type:**
duration X- ReferencesNo definition available.
+ Details**Name:**
us-gaap_ShareBasedCompensationAbstract**Namespace Prefix:**
us-gaap_**Data Type:**
xbrli:stringItemType**Balance Type:**
na**Period Type:**
duration X- DefinitionTabular disclosure of the number and weighted-average grant date fair value for outstanding performance shares.
+ ReferencesReference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (c) -URI https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901
+ Details**Name:**
us-gaap_ShareBasedCompensationPerformanceSharesAwardOutstandingActivityTableTextBlock**Namespace Prefix:**
us-gaap_**Data Type:**
dtr-types:textBlockItemType**Balance Type:**
na**Period Type:**
duration