SAP RSPO_ISELECT_OUTREQS Function Module for









RSPO_ISELECT_OUTREQS is a standard rspo iselect outreqs 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 outreqs FM, simply by entering the name RSPO_ISELECT_OUTREQS 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_OUTREQS 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_OUTREQS'"
EXPORTING
RFCSYSTEM = "
PJPROC = "
PJSUCC = "
PJPROB = "
PJERR = "

IMPORTING
PJ_NO_ACCESS = "
PJ_ACCESS = "

TABLES
* S_PJIDEN = "
* S_PJTNUM = "
* S_PJERRP = "
* S_PJCRED = "
* S_PJSERV = "
* S_PJDESTL = "
* S_PJTERM = "
* RESULT_TSP02 = "
* S_PJCLIE = "
* S_PJOWNE = "
* S_PJCOPI = "
* S_PJPRIO = "
* S_PJPAPE = "
* S_PJTITL = "
* S_PJRECE = "
* S_PJDIVI = "

EXCEPTIONS
ERROR = 1
.



IMPORTING Parameters details for RSPO_ISELECT_OUTREQS

RFCSYSTEM -

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

PJPROC -

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

PJSUCC -

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

PJPROB -

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

PJERR -

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

EXPORTING Parameters details for RSPO_ISELECT_OUTREQS

PJ_NO_ACCESS -

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

PJ_ACCESS -

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

TABLES Parameters details for RSPO_ISELECT_OUTREQS

S_PJIDEN -

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

S_PJTNUM -

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

S_PJERRP -

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

S_PJCRED -

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

S_PJSERV -

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

S_PJDESTL -

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

S_PJTERM -

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

RESULT_TSP02 -

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

S_PJCLIE -

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

S_PJOWNE -

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

S_PJCOPI -

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

S_PJPRIO -

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

S_PJPAPE -

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

S_PJTITL -

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

S_PJRECE -

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

S_PJDIVI -

Data type: RQDIVI_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_OUTREQS 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_pjiden  TYPE STANDARD TABLE OF RQIDEN_T, "   
lv_rfcsystem  TYPE SY-SYSID, "   
lv_pj_no_access  TYPE TSP01-RQIDENT, "   
lt_s_pjtnum  TYPE STANDARD TABLE OF RQTNUM_T, "   
lt_s_pjerrp  TYPE STANDARD TABLE OF PJERRP_T, "   
lt_s_pjcred  TYPE STANDARD TABLE OF RQCRED_T, "   
lt_s_pjserv  TYPE STANDARD TABLE OF PJSERV_T, "   
lt_s_pjdestl  TYPE STANDARD TABLE OF RQDESTL_T, "   
lt_s_pjterm  TYPE STANDARD TABLE OF PJTERM_T, "   
lt_result_tsp02  TYPE STANDARD TABLE OF TSP02SYS, "   
lv_pjproc  TYPE RSPOTYPE-MODE, "   
lt_s_pjclie  TYPE STANDARD TABLE OF RQCLIE_T, "   
lv_pj_access  TYPE TSP01-RQIDENT, "   
lv_pjsucc  TYPE RSPOTYPE-MODE, "   
lt_s_pjowne  TYPE STANDARD TABLE OF RQOWNE_T, "   
lv_pjprob  TYPE RSPOTYPE-MODE, "   
lt_s_pjcopi  TYPE STANDARD TABLE OF RQCOPI_T, "   
lv_pjerr  TYPE RSPOTYPE-MODE, "   
lt_s_pjprio  TYPE STANDARD TABLE OF RQPRIO_T, "   
lt_s_pjpape  TYPE STANDARD TABLE OF RQPAPE_T, "   
lt_s_pjtitl  TYPE STANDARD TABLE OF RQTITL_T, "   
lt_s_pjrece  TYPE STANDARD TABLE OF RQRECE_T, "   
lt_s_pjdivi  TYPE STANDARD TABLE OF RQDIVI_T. "   

  CALL FUNCTION 'RSPO_ISELECT_OUTREQS'  "
    EXPORTING
         RFCSYSTEM = lv_rfcsystem
         PJPROC = lv_pjproc
         PJSUCC = lv_pjsucc
         PJPROB = lv_pjprob
         PJERR = lv_pjerr
    IMPORTING
         PJ_NO_ACCESS = lv_pj_no_access
         PJ_ACCESS = lv_pj_access
    TABLES
         S_PJIDEN = lt_s_pjiden
         S_PJTNUM = lt_s_pjtnum
         S_PJERRP = lt_s_pjerrp
         S_PJCRED = lt_s_pjcred
         S_PJSERV = lt_s_pjserv
         S_PJDESTL = lt_s_pjdestl
         S_PJTERM = lt_s_pjterm
         RESULT_TSP02 = lt_result_tsp02
         S_PJCLIE = lt_s_pjclie
         S_PJOWNE = lt_s_pjowne
         S_PJCOPI = lt_s_pjcopi
         S_PJPRIO = lt_s_pjprio
         S_PJPAPE = lt_s_pjpape
         S_PJTITL = lt_s_pjtitl
         S_PJRECE = lt_s_pjrece
         S_PJDIVI = lt_s_pjdivi
    EXCEPTIONS
        ERROR = 1
. " RSPO_ISELECT_OUTREQS




ABAP code using 7.40 inline data declarations to call FM RSPO_ISELECT_OUTREQS

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_pj_no_access).
 
 
 
 
 
 
 
 
"SELECT single MODE FROM RSPOTYPE INTO @DATA(ld_pjproc).
 
 
"SELECT single RQIDENT FROM TSP01 INTO @DATA(ld_pj_access).
 
"SELECT single MODE FROM RSPOTYPE INTO @DATA(ld_pjsucc).
 
 
"SELECT single MODE FROM RSPOTYPE INTO @DATA(ld_pjprob).
 
 
"SELECT single MODE FROM RSPOTYPE INTO @DATA(ld_pjerr).
 
 
 
 
 
 


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!