V r upgrading system from 4.6 to ecc 6.0 . In one of the programs FM ws_query is obsole, pls let me know the replacement of it.
call function 'WS_QUERY'
filename = p_filen
query = 'FE'
return = g_subrc
others = 1.
check syst-subrc ne 0 or g_subrc ne 1.
message e000(zz) with p_filen text-e01.