No, US dollar holder is not criminal

It's ok to hold US dollar inside my country

but because hotels, malls, strores, aint gonna do US dollar anymore
all you have todo is exchange it first . . .

Hotels will not let you exchange USD for Indonesian currency? That is a bad move for tourism/business though the US is a very small source of international travel because we all work 60 hr weeks and take very little time off.