Hi Harsha,
This is the SAPUI5 forum, for future reference try posting questions to one of the Gateway discussion forums.
If you want to know the Technical Name of a gateway service at runtime,
1. reset the model cache for all services /IWFND/CACHE_CLEANUP
2. put an external break point in /IWBEP/CL_MGW_ABS_MODEL ->/IWBEP/IF_MGW_MED_LOAD~LOAD_META_DATA this gets called just prior to the metadata define method of the service - field IV_TECHNICAL_NAME.
3. run the service
HtH
John P