Hi Ramesh,
Based on 3.x routine, you need change or write the same routine by using bw 7.x concepts.
COMM_STRUCTURE - its 3.x statement. so its not useful in 7.x
What kind of routine is that ? is it start or end routine or field routine.
if its start routine - You need to use "SOURCE_PACKAGE" instead of that statement
for end routine - Use statement "RESULT_PACKAGE."
Thanks