Menu

SAP Function Module WS_QUERY

OBSOLETE: Execute Query Functions on Presentation Server

Recommended Now

Fire TV Stick Lite Essentials Bundle

This bundle contains Amazon Fire TV Stick Lite and Mission USB Power Cable. The USB power cable eliminates the need to find an AC outlet near your TV by powering Amazon Fire TV directly from your TV's USB port. Includes special power management circuitry that enhances the peak power capability of the USB port by storing excess energy and then releasing it as needed.

Check it out on amazon.com →

The Function Module WS_QUERY (OBSOLETE: Execute Query Functions on Presentation Server) is a standard Function Module in SAP ERP and is part of the function group GRAP within the package SGRP.

Technical Information

Function Module WS_QUERY
Short Text OBSOLETE: Execute Query Functions on Presentation Server
Function Group GRAP
Package SGRP
Module Type Normal Module

Importing Parameters

These are the IMPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
ENVIRONMENT TYPE C Variable name for environment query ('EN')
FILENAME TYPE C File name for existence ('FE') and length ('FL')
QUERY TYPE C Query command : 'CD' 'FE' 'FL' 'EN' 'WI' 'WS' ...
WINID TYPE C Window ID for window query ('WI')

Exporting Parameters

These are the EXPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
RETURN LIKE Result of the query

Changing Parameters

This function module does not define any CHANGING parameters.

Table Parameters

This function module does not define any TABLE parameters.

Exceptions

These are the Exceptions of this function module.

Exception Name Short Text
FRONTEND_ERROR
INV_QUERY Incorrect value for parameter QUERY or FILENAME
NO_BATCH Front-End Function Cannot Be Executed in Backgrnd