| **Income Taxes**                     | 12 Months Ended                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
|--------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
||
| **Income Tax Disclosure [Abstract]** |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| INCOME TAXES                         | INCOME TAXESThe provisions for current and deferred income taxes are summarized as follows: 2016 2015 2014       (In millions)Current:     United States$(27) $150 $213International19 8 11State and local(11) 13 12 (19) 171 236Deferred:     United States271 (30) 5International(22) 4 —State and local36 (2) 15 285 (28) 20 $266 $143 $256The total income tax provision is summarized as follows: 2016 2015 2014       (In millions)Continuing operations$266 $143 $256Discontinued operations(4) — (10)Total income tax provision$262 $143 $246The components of deferred income tax assets (liabilities) were as follows:  July 1, 2016 July 3, 2015      (In millions)Inventory valuations $32 $46Accruals 280 299Deferred revenue 24 38Depreciation (53) (75)Unbilled receivables (31) (34)Domestic tax loss and credit carryforwards 42 28International tax loss and credit carryforwards 68 42International research and development expense deferrals 4 12Acquired intangibles (564) (641)Share-based compensation 32 32Capital loss carryforwards 212 —Long-term debt 16 22Unremitted earnings of foreign subsidiaries (52) (59)Pension and other post-employment benefits 852 820Unrealized loss on interest rate hedges 11 12Unrecognized tax benefits 14 17All other — net 2 3  889 562Valuation allowance (300) (72)  $589 $490A reconciliation of the United States statutory income tax rate to our effective income tax rate follows: 2016 2015 2014U.S. statutory income tax rate35.0 % 35.0 % 35.0 %State taxes2.4 0.9 2.0International income(0.3) (1.7) (1.1)Nondeductible goodwill14.9 1.8 —Research and development tax credit(3.3) (1.7) (0.9)Capital loss(3.8) — —U.S. production activity benefit(0.6) (3.7) (2.7)Cash repatriation— 1.4 —Settlement of tax audits(0.4) (1.8) (0.6)Other items(0.4) (0.3) 0.5Effective income tax rate43.5 % 29.9 % 32.2 %State and local income taxes allocable to certain U.S. Government contracts are included in our operating expenses and, therefore, are not included in our provision for income taxes. We have made no provision for U.S. income taxes on $255 million of undistributed earnings of international subsidiaries because of our intention to reinvest those earnings indefinitely. Determination of unrecognized deferred U.S. tax liability for the undistributed earnings of international subsidiaries is not practicable. Tax loss and credit carryforwards as of July 1, 2016 have expiration dates ranging between one year and no expiration in certain instances. The amounts of Federal, international, and state and local net operating loss carryforwards as of July 1, 2016 were $29 million, $253 million and $216 million, respectively. The amount of U.S. capital loss carryforwards as of July 1, 2016 were $552 million. Income (loss) from continuing operations before income taxes of international subsidiaries was ($195) million, $21 million and $59 million in fiscal 2016, 2015 and 2014, respectively. Income taxes paid were $53 million, $131 million and $194 million in fiscal 2016, 2015 and 2014, respectively. The valuation allowance increased $228 million from $72 million at the end of fiscal 2015 to $300 million at the end of fiscal 2016. The valuation allowance has been established for financial reporting purposes to offset certain domestic and foreign deferred tax assets due to uncertainty regarding our ability to realize them in the future.A reconciliation of the beginning and ending amounts of unrecognized tax benefits is as follows: 2016 2015 2014       (In millions)Balance at beginning of fiscal year$124 $72 $74Additions based on tax positions taken during current fiscal year7 5 7Additions based on tax positions taken during prior fiscal years9 5 18Additions for tax positions related to acquired entities— 68 —Decreases based on tax positions taken during prior fiscal years(73) (8) (12)Decreases from lapse in statutes of limitations(1) (1) —Decreases from settlements(3) (17) (15)Balance at end of fiscal year$63 $124 $72As of July 1, 2016, we had $63 million of unrecognized tax benefits, of which $39 million would favorably impact our future tax rates in the event that the tax benefits are eventually recognized. As of July 3, 2015, we had $124 million of unrecognized tax benefits, of which $46 million would favorably impact our future tax rates in the event that the tax benefits are eventually recognized.We recognize accrued interest and penalties related to unrecognized tax benefits as part of our income tax expense. We had accrued $13 million for the potential payment of interest and penalties as of July 1, 2016 (and this amount was not included in the $63 million of unrecognized tax benefits balance at July 1, 2016 shown above) and $11 million of this total could favorably impact future tax rates. We had accrued $20 million for the potential payment of interest and penalties as of July 3, 2015 (and this amount was not included in the $124 million of unrecognized tax benefits balance at July 3, 2015 shown above) and $13 million of this total could favorably impact future tax rates.We file numerous separate and consolidated income tax returns reporting our financial results and, where appropriate, those of our subsidiaries and affiliates, in the U.S. Federal jurisdiction and various state, local and foreign jurisdictions. Pursuant to the Compliance Assurance Process, the IRS is examining our returns for fiscal 2010 through fiscal 2014 and fiscal 2016 through fiscal 2017. The Canadian Revenue Agency is currently examining our returns for fiscal 2007 through fiscal 2010, and we are appealing portions of a Canadian assessment relating to fiscal 2000 through fiscal 2006. We are currently under examination or contesting proposed adjustments by various state and international tax authorities for fiscal years ranging from 2006 through 2015. It is reasonably possible that there could be a significant decrease or increase to our unrecognized tax benefit balance during the course of the next twelve months as these examinations continue, other tax examinations commence or various statutes of limitations expire. An estimate of the range of possible changes cannot be made for remaining unrecognized tax benefits because of the significant number of jurisdictions in which we do business and the number of open tax periods. |

| X                                                                                                                                                                                                     |
|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| - References
No definition available.
+ Details**Name:**us-gaap_IncomeTaxDisclosureAbstract**Namespace Prefix:**us-gaap_**Data Type:**xbrli:stringItemType**Balance Type:**na**Period Type:**duration |
| X                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| - Definition
The entire disclosure for income taxes. Disclosures may include net deferred tax liability or asset recognized in an enterprise's statement of financial position, net change during the year in the total valuation allowance, approximate tax effect of each type of temporary difference and carryforward that gives rise to a significant portion of deferred tax liabilities and deferred tax assets, utilization of a tax carryback, and tax uncertainties information.
+ References
Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08.(h)) -URI http://asc.fasb.org/extlink&oid=26873400&loc=d3e23780-122690Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 3 -URI http://asc.fasb.org/extlink&oid=65882285&loc=d3e32559-109319Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 15 -URI http://asc.fasb.org/extlink&oid=65882285&loc=d3e32718-109319Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 9 -URI http://asc.fasb.org/extlink&oid=65882285&loc=d3e32639-109319Reference 5: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=65882285&loc=d3e32537-109319
+ Details**Name:**us-gaap_IncomeTaxDisclosureTextBlock**Namespace Prefix:**us-gaap_**Data Type:**nonnum:textBlockItemType**Balance Type:**na**Period Type:**duration |