I assume you mean that you cut into the sewer line, and branched
off with a 2" drain, and then put a trap in with a short standpipe. I
suppose I've done it too, in a pinch, but the venting problems for an
unprotected trap like that are numerous.
You didn't mean that you put a 3" or4" house trap on the line, right?