RESTRUCTURING, ACQUISITION AND INTEGRATION RELATED EXPENSES - Schedule of Restructuring Liabilities (Details) - USD ($) $ in Millions |
12 Months Ended | |
|---|---|---|
Aug. 01, 2026 |
Aug. 02, 2025 |
|
| Severance and other employee separation costs | ||
| Restructuring Reserve [Roll Forward] | ||
| Restructuring reserve, beginning balance | $ 10 | $ 16 |
| Restructuring and related charges | 11 | 20 |
| Cash settlements | (13) | (26) |
| Restructuring reserve, ending balance | 8 | 10 |
| Contract termination charges and costs | ||
| Restructuring Reserve [Roll Forward] | ||
| Restructuring reserve, beginning balance | 35 | 0 |
| Restructuring and related charges | 0 | 53 |
| Cash settlements | (35) | (18) |
| Restructuring reserve, ending balance | $ 0 | $ 35 |