**Question 1**

I was curious about the phrase "What am I doing here?" in Japanese. I know
that if you want to ask someone "what is he/she doing here?", it should be
like

> ここで何をしているんの？

However, how can you make it refer to yourself? Will adding 私は at the
beginning be enough?

Furthermore, in this context what is the different between

> 何 **を** しているんの？

and

> 何 **が** しているんの？

* * *

**Question 2**

I was watching some drama and I heard the character say something, which
implies that he would like to excuse himself (based on the English subs). I
couldn't clearly hear what he said, but it is something similar to

> つりします

What is the phrase that he said exactly?
CC BY-SA 4.0
2017-01-22T11:34:33.340
42769
2022-06-20T20:08:55.977
2022-01-21T19:06:41.330
30454
19458
question
grammar translation
"What am I doing here?"/ Excuse yourself
You, very plainly, would not say 何がしているの, only 何をしているの. Furthermore,
colloquially it can become 何をしてんの, but never 何をしてるんの. I doubt you would really
use the phrase to refer to yourself.

What you heard as つりします was probably 失礼{しつれい}します.
CC BY-SA 3.0
2017-01-22T12:00:01.537
42770
2017-01-22T16:31:49.977
2017-01-22T16:31:49.977
19357
9971
42769
answer
I agree with @Nothing_at_all that the phrase you probably hear is 失礼します.

In my opinion, the phrase "What is he doing here?" Can also imply that you
dislike the presence of that person. This has the same nuance as "why is he
here?"

> なんでここにいるの?!

You can add は to specify the subject. This includes yourself.

> ここで何をしているの?

You can add は/が to specify the subject. This includes yourself.

I suggest you don't try to use slangs yet as learning how the grammar is
constructed is more vital.

> 何がしているの?

Is a weird sentence because it means "what is doing (it)?" が indicates the
subject. It's more normal to use 誰 as 何 indicates inanimate object.

> 誰がしているの?

Who is the one doing (it)?

何が used in questions...

> 何が違うの? (What is different/wrong?)
>
> 何があったの? (What happened?)
>
> 何がしたいの? (What is wantable to do? -> what do you want to do?)
CC BY-SA 3.0
2017-01-22T13:04:52.687
42771
2017-01-22T13:51:53.813
2020-06-17T08:18:27.500
-1
15891
42769
answer
in my opinion, "what am i doing here" could not be translated word by word
here since the English expression means "I'm confuzed, I don't know this
place" in Japanese this expression should be "ここは？" or "一体、ここはどこ？ここで何をしているの？"
CC BY-SA 3.0
2017-01-24T13:39:41.497
42835
2017-01-24T13:39:41.497
19524
42769
answer