Financial Instruments (Derivatives Not Designated As Hedges) (Details) - USD ($) $ in Millions |
3 Months Ended | 9 Months Ended | ||
|---|---|---|---|---|
Apr. 28, 2024 |
Apr. 30, 2023 |
Apr. 28, 2024 |
Apr. 30, 2023 |
|
| Derivative Instruments, Gain (Loss) [Line Items] | ||||
| Amount of (Gain) or Loss Recognized in Earnings on Derivatives | $ (14) | $ 18 | $ (13) | $ 5 |
| Foreign Exchange Contract [Member] | Cost Of Products Sold [Member] | ||||
| Derivative Instruments, Gain (Loss) [Line Items] | ||||
| Amount of (Gain) or Loss Recognized in Earnings on Derivatives | 0 | 0 | 0 | (1) |
| Commodity Derivative Contracts [Member] | Cost Of Products Sold [Member] | ||||
| Derivative Instruments, Gain (Loss) [Line Items] | ||||
| Amount of (Gain) or Loss Recognized in Earnings on Derivatives | (13) | 18 | (9) | 7 |
| Equity Contracts [Member] | General and Administrative Expense [Member] | ||||
| Derivative Instruments, Gain (Loss) [Line Items] | ||||
| Amount of (Gain) or Loss Recognized in Earnings on Derivatives | $ (1) | $ 0 | $ (4) | $ (1) |