GOODWILL (Details) $ in Millions |
3 Months Ended | |||
|---|---|---|---|---|
|
Aug. 31, 2017
USD ($)
| ||||
| Goodwill [Line Items] | ||||
| Balances at period start | $ 43,045 | |||
| Goodwill adjustments, net | (25) | [1] | ||
| Balances at period end | 43,020 | |||
| Cloud and On-Premise Software [Member] | ||||
| Goodwill [Line Items] | ||||
| Balances at period start | 38,791 | |||
| Goodwill adjustments, net | (25) | [1] | ||
| Balances at period end | 38,766 | |||
| Hardware [Member] | ||||
| Goodwill [Line Items] | ||||
| Balances at period start | 2,367 | |||
| Goodwill adjustments, net | 0 | [1] | ||
| Balances at period end | 2,367 | |||
| Services [Member] | ||||
| Goodwill [Line Items] | ||||
| Balances at period start | 1,887 | |||
| Goodwill adjustments, net | 0 | [1] | ||
| Balances at period end | $ 1,887 | |||
| ||||