DERIVATIVES - Interest Rate Swap Contracts (Details) - USD ($) $ in Millions |
3 Months Ended | 9 Months Ended | ||
|---|---|---|---|---|
May 02, 2026 |
May 03, 2025 |
May 02, 2026 |
May 03, 2025 |
|
| Derivative Instruments and Hedging Activities Disclosure [Abstract] | ||||
| Total amounts of expense line items presented in the Condensed Consolidated Statements of Operations in which the effects of cash flow hedges are recorded | $ 31 | $ 36 | $ 97 | $ 110 |
| Gain on cash flow hedging relationships: | ||||
| Gain reclassified from comprehensive income (loss) into earnings | $ 0 | $ 1 | $ 2 | $ 7 |