SIGNIFICANT ACCOUNTING POLICIES (Details) - USD ($) $ in Millions |
3 Months Ended | 9 Months Ended | |
|---|---|---|---|
May 02, 2026 |
May 02, 2026 |
Aug. 02, 2025 |
|
| Accounting Policies [Line Items] | |||
| Cybersecurity incident, expenses | $ 1 | $ 22 | |
| Cybersecurity incident expense included in gross profit | 1 | 20 | |
| Gain from cybersecurity insurance recoveries | 20 | 40 | |
| Net book overdrafts | 216 | 216 | $ 267 |
| LIFO reserve | $ 367 | 367 | $ 349 |
| Disaggregation of Income Statement Expense, Caption, Identifier [Axis]: us-gaap:OperatingCostsAndExpenses | |||
| Accounting Policies [Line Items] | |||
| Cybersecurity incident, expenses | $ 2 |