SAP RSPO_ISELECT_SPOOLREQS Function Module for









RSPO_ISELECT_SPOOLREQS is a standard rspo iselect spoolreqs 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 rspo iselect spoolreqs FM, simply by entering the name RSPO_ISELECT_SPOOLREQS into the relevant SAP transaction such as SE37 or SE38.

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



Function RSPO_ISELECT_SPOOLREQS 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 'RSPO_ISELECT_SPOOLREQS'"
EXPORTING
* RFCSYSTEM = "
* RQNONE = 'X' "
* RQPROC = 'X' "
* RQSUCC = 'X' "
* RQERR = 'X' "
* ACCESS = ' ' "
* PROTO = ' ' "
* NONEX_DEV = ' ' "General Flag
* RFCDEST = "

IMPORTING
RQ_NO_ACCESS = "
RQ_ACCESS = "

TABLES
* S_RQIDEN = "
* S_RQCOPI = "
* S_RQPRIO = "
* S_RQPAPE = "
* S_RQPJRE = "
* S_RQTITL = "
* S_RQRECE = "
* S_RQDIVI = "
* S_RQAUTH = "
* S_RQTLAN = "
* S_RQTNUM = "
* S_RQCLIE = "
* S_RQCRED = "
* S_RQDELD = "
* S_RQDESTL = "
* S_RQPAGE = "
* S_RQSAPT = "
* S_RQUNXT = "
* S_RQADESL = "
* S_RQSYST = "
* RESULT_TSP01 = "
* S_RQ0NAM = "
* S_RQ1NAM = "
* S_RQ2NAM = "
* S_RQOWNE = "
* S_RQ1DIS = "
* S_RQ2DIS = "
* S_RQFIN = "

EXCEPTIONS
ERROR = 1
.



IMPORTING Parameters details for RSPO_ISELECT_SPOOLREQS

RFCSYSTEM -

Data type: SY-SYSID
Optional: Yes
Call by Reference: No ( called with pass by value option)

RQNONE -

Data type: RSPOTYPE-MODE
Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)

RQPROC -

Data type: RSPOTYPE-MODE
Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)

RQSUCC -

Data type: RSPOTYPE-MODE
Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)

RQERR -

Data type: RSPOTYPE-MODE
Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)

ACCESS -

Data type: AUTHB-SPOACTION
Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)

PROTO -

Data type: RSPOTYPE-MODE
Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)

NONEX_DEV - General Flag

Data type: RSPOTYPE-MODE
Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)

RFCDEST -

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

EXPORTING Parameters details for RSPO_ISELECT_SPOOLREQS

RQ_NO_ACCESS -

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

RQ_ACCESS -

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

TABLES Parameters details for RSPO_ISELECT_SPOOLREQS

S_RQIDEN -

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

S_RQCOPI -

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

S_RQPRIO -

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

S_RQPAPE -

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

S_RQPJRE -

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

S_RQTITL -

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

S_RQRECE -

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

S_RQDIVI -

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

S_RQAUTH -

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

S_RQTLAN -

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

S_RQTNUM -

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

S_RQCLIE -

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

S_RQCRED -

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

S_RQDELD -

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

S_RQDESTL -

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

S_RQPAGE -

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

S_RQSAPT -

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

S_RQUNXT -

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

S_RQADESL -

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

S_RQSYST -

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

RESULT_TSP01 -

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

S_RQ0NAM -

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

S_RQ1NAM -

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

S_RQ2NAM -

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

S_RQOWNE -

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

S_RQ1DIS -

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

S_RQ2DIS -

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

S_RQFIN -

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

EXCEPTIONS details

ERROR -

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

Copy and paste ABAP code example for RSPO_ISELECT_SPOOLREQS 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:
lv_error  TYPE STRING, "   
lt_s_rqiden  TYPE STANDARD TABLE OF RQIDEN_T, "   
lv_rfcsystem  TYPE SY-SYSID, "   
lv_rq_no_access  TYPE TSP01-RQIDENT, "   
lt_s_rqcopi  TYPE STANDARD TABLE OF RQCOPI_T, "   
lt_s_rqprio  TYPE STANDARD TABLE OF RQPRIO_T, "   
lt_s_rqpape  TYPE STANDARD TABLE OF RQPAPE_T, "   
lt_s_rqpjre  TYPE STANDARD TABLE OF RQPJRE_T, "   
lt_s_rqtitl  TYPE STANDARD TABLE OF RQTITL_T, "   
lt_s_rqrece  TYPE STANDARD TABLE OF RQRECE_T, "   
lt_s_rqdivi  TYPE STANDARD TABLE OF RQDIVI_T, "   
lt_s_rqauth  TYPE STANDARD TABLE OF RQAUTH_T, "   
lt_s_rqtlan  TYPE STANDARD TABLE OF RQTLAN_T, "   
lt_s_rqtnum  TYPE STANDARD TABLE OF RQTNUM_T, "   
lv_rqnone  TYPE RSPOTYPE-MODE, "   'X'
lt_s_rqclie  TYPE STANDARD TABLE OF RQCLIE_T, "   
lv_rq_access  TYPE TSP01-RQIDENT, "   
lt_s_rqcred  TYPE STANDARD TABLE OF RQCRED_T, "   
lt_s_rqdeld  TYPE STANDARD TABLE OF RQDELD_T, "   
lt_s_rqdestl  TYPE STANDARD TABLE OF RQDESTL_T, "   
lt_s_rqpage  TYPE STANDARD TABLE OF RQPAGE_T, "   
lt_s_rqsapt  TYPE STANDARD TABLE OF RQSAPT_T, "   
lt_s_rqunxt  TYPE STANDARD TABLE OF RQUNXT_T, "   
lt_s_rqadesl  TYPE STANDARD TABLE OF RQDESTL_T, "   
lt_s_rqsyst  TYPE STANDARD TABLE OF RQSYST_T, "   
lt_result_tsp01  TYPE STANDARD TABLE OF TSP01SYS, "   
lv_rqproc  TYPE RSPOTYPE-MODE, "   'X'
lt_s_rq0nam  TYPE STANDARD TABLE OF RQ0NAM_T, "   
lv_rqsucc  TYPE RSPOTYPE-MODE, "   'X'
lt_s_rq1nam  TYPE STANDARD TABLE OF RQ1NAM_T, "   
lv_rqerr  TYPE RSPOTYPE-MODE, "   'X'
lt_s_rq2nam  TYPE STANDARD TABLE OF RQ2NAM_T, "   
lv_access  TYPE AUTHB-SPOACTION, "   ' '
lt_s_rqowne  TYPE STANDARD TABLE OF RQOWNE_T, "   
lv_proto  TYPE RSPOTYPE-MODE, "   ' '
lt_s_rq1dis  TYPE STANDARD TABLE OF RQ1DIS_T, "   
lt_s_rq2dis  TYPE STANDARD TABLE OF RQ2DIS_T, "   
lv_nonex_dev  TYPE RSPOTYPE-MODE, "   ' '
lv_rfcdest  TYPE RFCDEST, "   
lt_s_rqfin  TYPE STANDARD TABLE OF RQFIN_T. "   

  CALL FUNCTION 'RSPO_ISELECT_SPOOLREQS'  "
    EXPORTING
         RFCSYSTEM = lv_rfcsystem
         RQNONE = lv_rqnone
         RQPROC = lv_rqproc
         RQSUCC = lv_rqsucc
         RQERR = lv_rqerr
         ACCESS = lv_access
         PROTO = lv_proto
         NONEX_DEV = lv_nonex_dev
         RFCDEST = lv_rfcdest
    IMPORTING
         RQ_NO_ACCESS = lv_rq_no_access
         RQ_ACCESS = lv_rq_access
    TABLES
         S_RQIDEN = lt_s_rqiden
         S_RQCOPI = lt_s_rqcopi
         S_RQPRIO = lt_s_rqprio
         S_RQPAPE = lt_s_rqpape
         S_RQPJRE = lt_s_rqpjre
         S_RQTITL = lt_s_rqtitl
         S_RQRECE = lt_s_rqrece
         S_RQDIVI = lt_s_rqdivi
         S_RQAUTH = lt_s_rqauth
         S_RQTLAN = lt_s_rqtlan
         S_RQTNUM = lt_s_rqtnum
         S_RQCLIE = lt_s_rqclie
         S_RQCRED = lt_s_rqcred
         S_RQDELD = lt_s_rqdeld
         S_RQDESTL = lt_s_rqdestl
         S_RQPAGE = lt_s_rqpage
         S_RQSAPT = lt_s_rqsapt
         S_RQUNXT = lt_s_rqunxt
         S_RQADESL = lt_s_rqadesl
         S_RQSYST = lt_s_rqsyst
         RESULT_TSP01 = lt_result_tsp01
         S_RQ0NAM = lt_s_rq0nam
         S_RQ1NAM = lt_s_rq1nam
         S_RQ2NAM = lt_s_rq2nam
         S_RQOWNE = lt_s_rqowne
         S_RQ1DIS = lt_s_rq1dis
         S_RQ2DIS = lt_s_rq2dis
         S_RQFIN = lt_s_rqfin
    EXCEPTIONS
        ERROR = 1
. " RSPO_ISELECT_SPOOLREQS




ABAP code using 7.40 inline data declarations to call FM RSPO_ISELECT_SPOOLREQS

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 SYSID FROM SY INTO @DATA(ld_rfcsystem).
 
"SELECT single RQIDENT FROM TSP01 INTO @DATA(ld_rq_no_access).
 
 
 
 
 
 
 
 
 
 
 
"SELECT single MODE FROM RSPOTYPE INTO @DATA(ld_rqnone).
DATA(ld_rqnone) = 'X'.
 
 
"SELECT single RQIDENT FROM TSP01 INTO @DATA(ld_rq_access).
 
 
 
 
 
 
 
 
 
 
"SELECT single MODE FROM RSPOTYPE INTO @DATA(ld_rqproc).
DATA(ld_rqproc) = 'X'.
 
 
"SELECT single MODE FROM RSPOTYPE INTO @DATA(ld_rqsucc).
DATA(ld_rqsucc) = 'X'.
 
 
"SELECT single MODE FROM RSPOTYPE INTO @DATA(ld_rqerr).
DATA(ld_rqerr) = 'X'.
 
 
"SELECT single SPOACTION FROM AUTHB INTO @DATA(ld_access).
DATA(ld_access) = ' '.
 
 
"SELECT single MODE FROM RSPOTYPE INTO @DATA(ld_proto).
DATA(ld_proto) = ' '.
 
 
 
"SELECT single MODE FROM RSPOTYPE INTO @DATA(ld_nonex_dev).
DATA(ld_nonex_dev) = ' '.
 
 
 


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!