Preface: Source 2 quoted this same passage but in English. As I can read French, I quoted the French original but please command me to post the English translation if I should have.
Source 1: p 94, L'être et le néant (édition Gallimard de 1976) by JP Sartre
Un épicier qui rêve est offensant pour l'acheteur, parce qu'il n'est plus tout à fait un épicier. La politesse exige qu'il se contienne dans sa fonction d'épicier, comme le soldat au garde-à-vous se fait chose-soldat avec un regard direct mais qui ne voit point, qui n'est plus fait pour voir, puisque c'est le règlement et non l'intérêt du moment qui détermine le point qu'il doit fixer (le regard « fixé à dix pas ») . Voilà bien des précautions pour emprisonner l'homme dans ce qu'il est. Comme si nous vivions dans la crainte perpétuelle qu'il n'y échappe, qu'il ne déborde et n'élude tout à coup sa condition.
Source 2: p 194, Philosophy: A Complete Introduction (2012) by Prof. Sharon Kaye MA PhD (in Philosophy, U. Toronto)
The waiter, the grocer and you may as well be androids. While Wittgenstein is content to accept this, Sartre is not.
To me, Sartre appears to treat the professions above as Means, and not Ends. So does Sartre's disdain and objectification of the above professions, contradict Kant's Categorical Imperative to treat people as means and not ends?
I understand that for a typical day on the job, as means to an income, grocers do not dream, and a (low-ranking) solder standing at attention does not contemplate the world. But if we consider them both as humans (as ends after receiving income), then the grocer CAN dream (e.g. maybe the grocer is rich and does math in her spare time), and the soldier can contemplate the world (e.g. maybe she composes literature about her military experiences).