Second screen in second program not getting called

Hello All,

I have generated services for two programs.The first screen calls a screen in second program.But it is not displaying the second screen.The error in ST22 says the screen template not found.But i have created template in SE80 and published in SICF also.what is the right approach?