You could try and give him dog food when he asks for your food, or ignore his begging, maybe eventually he will stop.
I gave my dogs a treat each time they went out potty- well they learned quickly to trick me... they would run out, squat and do nothing, run back in and wait for their treat.... took me a while to figure out why they needed to go out so much.
Yes, I still let them get away with it... but I have cut their treats down to real small pieces... very small.
It is amazing how smart they are