Application Development and Automation 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: 
Read only

UPGRADE /WS_QUERY

Former Member
0 Likes
830

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
Read only

Former Member
0 Likes
792

Hi Sranjana,

use CALL METHOD CL_GUI_FRONTEND_SERVICES=>DIRECTORY_GET_CURRENT

search before post a query in SCN,

Thanks and Regards,

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.

4 REPLIES 4
Read only

brad_bohn
Active Contributor
0 Likes
792

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

Read only

Former Member
0 Likes
792

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

Read only

Former Member
0 Likes
792

Hi Ranjna,

Kindly check below thread and also search before you post

Cheerz

Ram

Read only

Former Member
0 Likes
793

Hi Sranjana,

use CALL METHOD CL_GUI_FRONTEND_SERVICES=>DIRECTORY_GET_CURRENT

search before post a query in SCN,

Thanks and Regards,