i checked sy-saprl filed in my program. it showing output as 640. is it ECC6 version or anything else? what means of ECC?
I think 640 means you are running on Netweaver 6.40 which runs with ECC5.0
700 -> Netweaver 7.0 runs with ECC 6.0.
Which means you are using ECC 5.0
ECC is nothing but Enterprise core COMPONENT. (Version of SAP) previously known as SAP r/3