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: 

Use of function module

Former Member
0 Kudos

can anyone explain me the use and the purpose of the following FM.

1. EXIT_RSAQEXCE_001

please explain it will be a great help for me.

thanks,

Phyrose

4 REPLIES 4

Former Member
0 Kudos

Hello,

Check this...


 
 Function Module EXIT_RSAQEXCE_001 

This section describes which parameters are transferred to the EXIT_RSAQEXCE_001 function module and how the values they contain are interpreted or processed. The following example is used:



In client 03, user group RX, a user has created query X1. This query consists of a single-line basic list, a statistic, and a ranked list.

In the basic list, the fields are displayed in the following sequence:

KNA1-KUNNR
 Customer number
 
KNA1-NAME1
 Name
 
KNC1-FYEAR
 Fiscal year
 
KNC1-UM01U
 Sales in posting period 1
 
T001-CURRK
 Currency key
 


 

In the statistics, the fields are displayed in the following sequence. For the field KNC1-UM01U, additional details are required about the number of records that have been read, the percentage share, and the average value.

KNA1-CNTY1
 Country key
 
KNC1-UM01U
 Sales in posting period 1
 


 

In the ranked list, the fields are displayed in the following sequence:

KNA1-KUNNR
 Customer number
 
KNA1-NAME1
 Name
 
KNC1-UM01U
 Sales in posting period 1
 


 

Parameters of the EXIT_RSAQEXCE_001 function module 

The function module EXIT_RSAQEXCE_001 has the following parameters:


PROGRAM 
 The program that triggers the transfer
 
LIST_ID
 The ID of the transferred sublist
 
LISTTEXT
 The title of the transferred sublist
 
DATATAB
 The data table
 
LISTDESC
 The description table for the fields of the data table
 


See also:

Example: Implementing EXIT_RSAQEXCE_001

 

Regards,

Vasanth

Former Member
0 Kudos

Chceck out enhancement SQUE0001 in SMOD. This function module acts as user exit for SAP Query: Private data file.

Thanks,

Shweta

0 Kudos

Hi,

From the name it looks as if this is an user exit for a Function module exit.

You need to create a function module in the correspoding function group which starts with X. Then you can call your FM using CALL CUSTOMER-FUNCTION.

Regards,

Sesh