Hi Akriti,
UMG_READ_LANG_INFO does the trick. (It is remote enabled.)
Note that the export parameter EX_LANG_VEC contains the one-letter SAP language (one character for each active language), while the first column of EX_LANGCP_ITAB gives you the two-letter ISO language.
Best Regards, Ulrich