Zero mm, i.e. bolted direct to the flange on a nozzle?? I'm not aware of any minimum piping distance in the codes as this would not make sense. There may be practical reasons or guidelines from certain vendors,, but no mandatory requirement to have a minimum distance AFAIK.
Remember - More details = better answers
Also: If you get a response it's polite to respond to it.