Hi,
1.Please may check your 40EPF feature's return value in the following format:
3/Er.Ref.No/Er.Pens.Ref.no
2.Also please may try with custom contribution type name range in 'A' to 'Z' instead of number '3' in configuration table v_t7inf3.
regards,
Bala.