Want to know is it API 5L X42 pipe is equivalent to A106 Gr B pipe? - NO
What is the equivalent ASME material for API 5L X42? - don't know, but I think you mean ASTM??
Ask your material engineer.
Remember - More details = better answers
Also: If you get a response it's polite to respond to it.