He doesn't like my/me ordering Latte [duplicate]
Solution 1:
What was implied in the last sentence of Greybeard's answer deserves to be unpacked.
By specifying that ordering is a gerund, the question forces the answer that my is correct, and me incorrect. The me version of the sentence could, however, be regarded as syntactically correct, if ordering is taken as a participle. In other words, 'He doesn't like me ordering latte' could be treated as roughly an equivalent of 'He doesn't like me, when I order latte'. In that version of the sentence the object of not liking is 'me', the person, but only when I engage in that action. That is syntactically different from the gerund version, in which the object of not liking is the action of ordering latte, when performed by me. As the difference between the meanings of the two versions is too subtle to make much practical difference in everyday contexts, it is not unnatural that many people treat them as interchangeable.
Solution 2:
I would say:
He doesn't like me ordering Latte.
but
My ordering Latte is very important to the owner of that coffee shop.
'Me ordering' as a subject is definitely incorrect.
However, you could come across such uses as:
Have you ever seen me ordering Latte?
Hope this helps.