what have you been doing?
what have you been doing up to now? e.g. a general enquiry about your current situation or work.
or if someone was caught doing something naughty or suspicious ... (in a more immediate situation) then this question may be asked to enquire what the person was doing because it was a suspicious behaviour.
Student or Learner