Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Ws_query function module obsolete in ECC 6.0

former_member396896
Participant
0 Kudos

HI experts,

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.

form process_selections_filen.

call function 'WS_QUERY'

exporting

filename = p_filen

query = 'FE'

importing

return = g_subrc

exceptions

others = 1.

check syst-subrc ne 0 or g_subrc ne 1.

message e000(zz) with p_filen text-e01.

endform.

1 REPLY 1

Former Member
0 Kudos

You must OO ABAP.

You can use a method of CL_GUI_FRONTEND_SERVICES class to do the same process. This is the new class for handling files.