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: 

UPGRADE /WS_QUERY

Former Member
0 Kudos

hI,

How I will replace function module : WS_QUERY and with what parameters .

CALL FUNCTION 'WS_QUERY'

EXPORTING

  • ENVIRONMENT = ' '

FILENAME = PF_FNAME

QUERY = PF_QUERY

  • WINID = ' '

IMPORTING

RETURN = RC_SUBRC

EXCEPTIONS

INV_QUERY = 1

NO_BATCH = 2

FRONTEND_ERROR = 3

OTHERS = 4.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi Sranjana,

use CALL METHOD CL_GUI_FRONTEND_SERVICES=>DIRECTORY_GET_CURRENT

search before post a query in SCN,

Thanks and Regards,

4 REPLIES 4

brad_bohn
Active Contributor
0 Kudos

Did you search the forum or read the upgrade release notes?

Former Member
0 Kudos

Check the function module documenation:


OBSOLETE: Execute Query Functions on Presentation Server

This module is obsolete. Use the appropriate module from the function group SFES.

Brenda

former_member1245113
Active Contributor
0 Kudos

Hi Ranjna,

Kindly check below thread and also search before you post

Cheerz

Ram

Former Member
0 Kudos

Hi Sranjana,

use CALL METHOD CL_GUI_FRONTEND_SERVICES=>DIRECTORY_GET_CURRENT

search before post a query in SCN,

Thanks and Regards,