SAP RSAQ_EXPORT_TEMP_QUERY Function Module for









RSAQ_EXPORT_TEMP_QUERY is a standard rsaq export temp query SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.


See here to view full function module documentation and code listing for rsaq export temp query FM, simply by entering the name RSAQ_EXPORT_TEMP_QUERY into the relevant SAP transaction such as SE37 or SE38.

Function Group: AQIEXQ
Program Name: SAPLAQIEXQ
Main Program:
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function RSAQ_EXPORT_TEMP_QUERY pattern details

In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.
CALL FUNCTION 'RSAQ_EXPORT_TEMP_QUERY'"
EXPORTING
* I_W' ' = ' ' "SAP Query (S): Work Area ID
I_QUERY = "SAP Query (S): Query Name
I_USERGROUP = "SAP Query (S): Name of a user group
I_HEADQU = "SAP Query (S): HEADQU Headers for Queries
I_MAXQU_TINDX = "SAP Query (S): Text Index

TABLES
I_CLOGQU = "SAP Query (S): CLOGQU Query Changes
I_DBGR = "SAP Query (S): DBGR Control Levels
I_DBLI = "SAP Query (S): DBLI Line Output Options
I_DBFF = "SAP Query (S): DBFF Field Output Options
I_DBFM = "SAP Query (S): DBFM Formatting Templates
I_DBVH = "SAP Query (S): DBVH Statistic Headers
I_DBVS = "SAP Query (S): DBVS Fields in Statistics
I_DBRH = "SAP Query (S): DBRH Ranked List Headers
I_DBRL = "SAP Query (S): DBRL Ranked List Fields
I_DBPT = "SAP Query (S): DBPT Headers and Footers
I_DBCT = "SAP Query (S): DBCT Column Headers
I_DBOP = "SAP Query (S): DBOP Query Fields
I_QUTEXT = "SAP Query (S): QUTEXT Text Pool for Queries
I_DBSN = "SAP Query (S): DBSN Short Names
I_DBFR = "SAP Query (S): DBFR References Short Names
I_DBLF = "SAP Query (S): DBLF Local Fields
I_DBLC = "SAP Query (S): DBLC Code for Local Fields
I_DBLD = "SAP Query (S): DBLD direct coding for local fields (API)
I_DBSE = "SAP Query (S): DBSE Select-Options Query
I_DBSQ = "SAP Query (S): DBSQ Query Selection (Complete)
.



IMPORTING Parameters details for RSAQ_EXPORT_TEMP_QUERY

I_WSPACE - SAP Query (S): Work Area ID

Data type: AQADEF-WSID
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_QUERY - SAP Query (S): Query Name

Data type: AQADEF-QUNAME
Optional: No
Call by Reference: No ( called with pass by value option)

I_USERGROUP - SAP Query (S): Name of a user group

Data type: AQADEF-BGNAME
Optional: No
Call by Reference: No ( called with pass by value option)

I_HEADQU - SAP Query (S): HEADQU Headers for Queries

Data type: AQHDQU
Optional: No
Call by Reference: No ( called with pass by value option)

I_MAXQU_TINDX - SAP Query (S): Text Index

Data type: AQADEF-TINDX
Optional: No
Call by Reference: No ( called with pass by value option)

TABLES Parameters details for RSAQ_EXPORT_TEMP_QUERY

I_CLOGQU - SAP Query (S): CLOGQU Query Changes

Data type: AQCLQU
Optional: No
Call by Reference: No ( called with pass by value option)

I_DBGR - SAP Query (S): DBGR Control Levels

Data type: AQDBGR
Optional: No
Call by Reference: No ( called with pass by value option)

I_DBLI - SAP Query (S): DBLI Line Output Options

Data type: AQDBLI
Optional: No
Call by Reference: No ( called with pass by value option)

I_DBFF - SAP Query (S): DBFF Field Output Options

Data type: AQDBFF
Optional: No
Call by Reference: No ( called with pass by value option)

I_DBFM - SAP Query (S): DBFM Formatting Templates

Data type: AQDBFM
Optional: No
Call by Reference: No ( called with pass by value option)

I_DBVH - SAP Query (S): DBVH Statistic Headers

Data type: AQDBVH
Optional: No
Call by Reference: No ( called with pass by value option)

I_DBVS - SAP Query (S): DBVS Fields in Statistics

Data type: AQDBVS
Optional: No
Call by Reference: No ( called with pass by value option)

I_DBRH - SAP Query (S): DBRH Ranked List Headers

Data type: AQDBRH
Optional: No
Call by Reference: No ( called with pass by value option)

I_DBRL - SAP Query (S): DBRL Ranked List Fields

Data type: AQDBRL
Optional: No
Call by Reference: No ( called with pass by value option)

I_DBPT - SAP Query (S): DBPT Headers and Footers

Data type: AQDBPT
Optional: No
Call by Reference: No ( called with pass by value option)

I_DBCT - SAP Query (S): DBCT Column Headers

Data type: AQDBCT
Optional: No
Call by Reference: No ( called with pass by value option)

I_DBOP - SAP Query (S): DBOP Query Fields

Data type: AQDBOP
Optional: No
Call by Reference: No ( called with pass by value option)

I_QUTEXT - SAP Query (S): QUTEXT Text Pool for Queries

Data type: AQTXQU
Optional: No
Call by Reference: No ( called with pass by value option)

I_DBSN - SAP Query (S): DBSN Short Names

Data type: AQDBSN
Optional: No
Call by Reference: No ( called with pass by value option)

I_DBFR - SAP Query (S): DBFR References Short Names

Data type: AQDBFR
Optional: No
Call by Reference: No ( called with pass by value option)

I_DBLF - SAP Query (S): DBLF Local Fields

Data type: AQDBLF
Optional: No
Call by Reference: No ( called with pass by value option)

I_DBLC - SAP Query (S): DBLC Code for Local Fields

Data type: AQDBLC
Optional: No
Call by Reference: No ( called with pass by value option)

I_DBLD - SAP Query (S): DBLD direct coding for local fields (API)

Data type: AQDBLD
Optional: No
Call by Reference: No ( called with pass by value option)

I_DBSE - SAP Query (S): DBSE Select-Options Query

Data type: AQDBSE
Optional: No
Call by Reference: No ( called with pass by value option)

I_DBSQ - SAP Query (S): DBSQ Query Selection (Complete)

Data type: AQDBSQ
Optional: No
Call by Reference: No ( called with pass by value option)

Copy and paste ABAP code example for RSAQ_EXPORT_TEMP_QUERY Function Module

The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the newer method of declaring data variables on the fly. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8), which i why i have stuck to the origianl for this example.

DATA:
lt_i_clogqu  TYPE STANDARD TABLE OF AQCLQU, "   
lv_i_wspace  TYPE AQADEF-WSID, "   SPACE
lt_i_dbgr  TYPE STANDARD TABLE OF AQDBGR, "   
lt_i_dbli  TYPE STANDARD TABLE OF AQDBLI, "   
lt_i_dbff  TYPE STANDARD TABLE OF AQDBFF, "   
lt_i_dbfm  TYPE STANDARD TABLE OF AQDBFM, "   
lt_i_dbvh  TYPE STANDARD TABLE OF AQDBVH, "   
lt_i_dbvs  TYPE STANDARD TABLE OF AQDBVS, "   
lt_i_dbrh  TYPE STANDARD TABLE OF AQDBRH, "   
lt_i_dbrl  TYPE STANDARD TABLE OF AQDBRL, "   
lt_i_dbpt  TYPE STANDARD TABLE OF AQDBPT, "   
lt_i_dbct  TYPE STANDARD TABLE OF AQDBCT, "   
lt_i_dbop  TYPE STANDARD TABLE OF AQDBOP, "   
lv_i_query  TYPE AQADEF-QUNAME, "   
lt_i_qutext  TYPE STANDARD TABLE OF AQTXQU, "   
lt_i_dbsn  TYPE STANDARD TABLE OF AQDBSN, "   
lv_i_usergroup  TYPE AQADEF-BGNAME, "   
lt_i_dbfr  TYPE STANDARD TABLE OF AQDBFR, "   
lv_i_headqu  TYPE AQHDQU, "   
lt_i_dblf  TYPE STANDARD TABLE OF AQDBLF, "   
lv_i_maxqu_tindx  TYPE AQADEF-TINDX, "   
lt_i_dblc  TYPE STANDARD TABLE OF AQDBLC, "   
lt_i_dbld  TYPE STANDARD TABLE OF AQDBLD, "   
lt_i_dbse  TYPE STANDARD TABLE OF AQDBSE, "   
lt_i_dbsq  TYPE STANDARD TABLE OF AQDBSQ. "   

  CALL FUNCTION 'RSAQ_EXPORT_TEMP_QUERY'  "
    EXPORTING
         I_WSPACE = lv_i_wspace
         I_QUERY = lv_i_query
         I_USERGROUP = lv_i_usergroup
         I_HEADQU = lv_i_headqu
         I_MAXQU_TINDX = lv_i_maxqu_tindx
    TABLES
         I_CLOGQU = lt_i_clogqu
         I_DBGR = lt_i_dbgr
         I_DBLI = lt_i_dbli
         I_DBFF = lt_i_dbff
         I_DBFM = lt_i_dbfm
         I_DBVH = lt_i_dbvh
         I_DBVS = lt_i_dbvs
         I_DBRH = lt_i_dbrh
         I_DBRL = lt_i_dbrl
         I_DBPT = lt_i_dbpt
         I_DBCT = lt_i_dbct
         I_DBOP = lt_i_dbop
         I_QUTEXT = lt_i_qutext
         I_DBSN = lt_i_dbsn
         I_DBFR = lt_i_dbfr
         I_DBLF = lt_i_dblf
         I_DBLC = lt_i_dblc
         I_DBLD = lt_i_dbld
         I_DBSE = lt_i_dbse
         I_DBSQ = lt_i_dbsq
. " RSAQ_EXPORT_TEMP_QUERY




ABAP code using 7.40 inline data declarations to call FM RSAQ_EXPORT_TEMP_QUERY

The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.

 
"SELECT single WSID FROM AQADEF INTO @DATA(ld_i_wspace).
DATA(ld_i_wspace) = ' '.
 
 
 
 
 
 
 
 
 
 
 
 
"SELECT single QUNAME FROM AQADEF INTO @DATA(ld_i_query).
 
 
 
"SELECT single BGNAME FROM AQADEF INTO @DATA(ld_i_usergroup).
 
 
 
 
"SELECT single TINDX FROM AQADEF INTO @DATA(ld_i_maxqu_tindx).
 
 
 
 
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!