SAP SPI_LS_PARALLEL_READ_ALL Function Module for









SPI_LS_PARALLEL_READ_ALL is a standard spi ls parallel read all 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 spi ls parallel read all FM, simply by entering the name SPI_LS_PARALLEL_READ_ALL into the relevant SAP transaction such as SE37 or SE38.

Function Group: SPILSI
Program Name: SAPLSPILSI
Main Program: SAPLSPILSI
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:



Function SPI_LS_PARALLEL_READ_ALL 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 'SPI_LS_PARALLEL_READ_ALL'"
EXPORTING
IP_RFCDEST = "
* IP_PROCID = ' ' "
* IP_CLIENT = "
* IP_MAX = 1000 "
* IT_AGENTS = "
* IP_TRANSID = "
IP_TSTTO = "
* IP_LOG = 'X' "
* IP_UPD = 'X' "
* IP_JOB = 'SPI_TRANSPORT' "

IMPORTING
ET_RECORDS = "
ET_PROTOCOL = "
ET_AGENT_TRANSP_STAT = "
ES_NET_STAT = "
EP_INSERTS = "
EP_FAILURES = "

CHANGING
CT_SERVER = "
.



IMPORTING Parameters details for SPI_LS_PARALLEL_READ_ALL

IP_RFCDEST -

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

IP_PROCID -

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

IP_CLIENT -

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

IP_MAX -

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

IT_AGENTS -

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

IP_TRANSID -

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

IP_TSTTO -

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

IP_LOG -

Data type: CHAR1
Default: 'X'
Optional: No
Call by Reference: No ( called with pass by value option)

IP_UPD -

Data type: CHAR1
Default: 'X'
Optional: No
Call by Reference: No ( called with pass by value option)

IP_JOB -

Data type: BTCJOB
Default: 'SPI_TRANSPORT'
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for SPI_LS_PARALLEL_READ_ALL

ET_RECORDS -

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

ET_PROTOCOL -

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

ET_AGENT_TRANSP_STAT -

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

ES_NET_STAT -

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

EP_INSERTS -

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

EP_FAILURES -

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

CHANGING Parameters details for SPI_LS_PARALLEL_READ_ALL

CT_SERVER -

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

Copy and paste ABAP code example for SPI_LS_PARALLEL_READ_ALL 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_ct_server  TYPE TSPISTST, "   
lv_et_records  TYPE TSPIROX2, "   
lv_ip_rfcdest  TYPE SPITRDEST, "   
lv_ip_procid  TYPE SPIPROCTP, "   SPACE
lv_ip_client  TYPE MANDT, "   
lv_et_protocol  TYPE TSPISMPROT, "   
lv_ip_max  TYPE I, "   1000
lv_et_agent_transp_stat  TYPE TSPIAGTPST, "   
lv_it_agents  TYPE TSPIAGID, "   
lv_es_net_stat  TYPE SSPITPNETST, "   
lv_ep_inserts  TYPE INT4, "   
lv_ip_transid  TYPE CHAR32, "   
lv_ip_tstto  TYPE TIMESTAMPL, "   
lv_ep_failures  TYPE INT4, "   
lv_ip_log  TYPE CHAR1, "   'X'
lv_ip_upd  TYPE CHAR1, "   'X'
lv_ip_job  TYPE BTCJOB. "   'SPI_TRANSPORT'

  CALL FUNCTION 'SPI_LS_PARALLEL_READ_ALL'  "
    EXPORTING
         IP_RFCDEST = lv_ip_rfcdest
         IP_PROCID = lv_ip_procid
         IP_CLIENT = lv_ip_client
         IP_MAX = lv_ip_max
         IT_AGENTS = lv_it_agents
         IP_TRANSID = lv_ip_transid
         IP_TSTTO = lv_ip_tstto
         IP_LOG = lv_ip_log
         IP_UPD = lv_ip_upd
         IP_JOB = lv_ip_job
    IMPORTING
         ET_RECORDS = lv_et_records
         ET_PROTOCOL = lv_et_protocol
         ET_AGENT_TRANSP_STAT = lv_et_agent_transp_stat
         ES_NET_STAT = lv_es_net_stat
         EP_INSERTS = lv_ep_inserts
         EP_FAILURES = lv_ep_failures
    CHANGING
         CT_SERVER = lv_ct_server
. " SPI_LS_PARALLEL_READ_ALL




ABAP code using 7.40 inline data declarations to call FM SPI_LS_PARALLEL_READ_ALL

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.

 
 
 
DATA(ld_ip_procid) = ' '.
 
 
 
DATA(ld_ip_max) = 1000.
 
 
 
 
 
 
 
 
DATA(ld_ip_log) = 'X'.
 
DATA(ld_ip_upd) = 'X'.
 
DATA(ld_ip_job) = 'SPI_TRANSPORT'.
 


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!