SAP STRALAN_GET_OBJECT_POOL Function Module for









STRALAN_GET_OBJECT_POOL is a standard stralan get object pool 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 stralan get object pool FM, simply by entering the name STRALAN_GET_OBJECT_POOL into the relevant SAP transaction such as SE37 or SE38.

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



Function STRALAN_GET_OBJECT_POOL 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 'STRALAN_GET_OBJECT_POOL'"
EXPORTING
* IM_OBJECT_SELECTION = ' ' "User-Defined Key in Table INDX
* IM_RFC_CONNECTION = 'NONE' "Logical Destination (Specified in Function Call)

IMPORTING
EX_TOTAL_SELECTION = "Overall selection

TABLES
* OT_OBJECT_POOL = "Language Export: Structure for ALV Grid
* OT_OBJECT_POOL_K = "Change & Transport System: Key Entries of Requests/Tasks
* OT_COMPONENTS = "Language Export: Component

EXCEPTIONS
SELECTION_CORRUPTED = 1 RFC_CONNECTION_ERROR = 2
.



IMPORTING Parameters details for STRALAN_GET_OBJECT_POOL

IM_OBJECT_SELECTION - User-Defined Key in Table INDX

Data type: INDX_SRTFD
Default: SPACE
Optional: Yes
Call by Reference: Yes

IM_RFC_CONNECTION - Logical Destination (Specified in Function Call)

Data type: RFCDEST
Default: 'NONE'
Optional: Yes
Call by Reference: Yes

EXPORTING Parameters details for STRALAN_GET_OBJECT_POOL

EX_TOTAL_SELECTION - Overall selection

Data type: SKT9_TOTAL_SELECTION
Optional: No
Call by Reference: Yes

TABLES Parameters details for STRALAN_GET_OBJECT_POOL

OT_OBJECT_POOL - Language Export: Structure for ALV Grid

Data type: SLANPOOL
Optional: Yes
Call by Reference: Yes

OT_OBJECT_POOL_K - Change & Transport System: Key Entries of Requests/Tasks

Data type: E071K
Optional: Yes
Call by Reference: Yes

OT_COMPONENTS - Language Export: Component

Data type: SLANCOMP
Optional: Yes
Call by Reference: Yes

EXCEPTIONS details

SELECTION_CORRUPTED -

Data type:
Optional: No
Call by Reference: Yes

RFC_CONNECTION_ERROR -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for STRALAN_GET_OBJECT_POOL 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_ot_object_pool  TYPE STANDARD TABLE OF SLANPOOL, "   
lv_ex_total_selection  TYPE SKT9_TOTAL_SELECTION, "   
lv_im_object_selection  TYPE INDX_SRTFD, "   SPACE
lv_selection_corrupted  TYPE INDX_SRTFD, "   
lt_ot_object_pool_k  TYPE STANDARD TABLE OF E071K, "   
lv_im_rfc_connection  TYPE RFCDEST, "   'NONE'
lv_rfc_connection_error  TYPE RFCDEST, "   
lt_ot_components  TYPE STANDARD TABLE OF SLANCOMP. "   

  CALL FUNCTION 'STRALAN_GET_OBJECT_POOL'  "
    EXPORTING
         IM_OBJECT_SELECTION = lv_im_object_selection
         IM_RFC_CONNECTION = lv_im_rfc_connection
    IMPORTING
         EX_TOTAL_SELECTION = lv_ex_total_selection
    TABLES
         OT_OBJECT_POOL = lt_ot_object_pool
         OT_OBJECT_POOL_K = lt_ot_object_pool_k
         OT_COMPONENTS = lt_ot_components
    EXCEPTIONS
        SELECTION_CORRUPTED = 1
        RFC_CONNECTION_ERROR = 2
. " STRALAN_GET_OBJECT_POOL




ABAP code using 7.40 inline data declarations to call FM STRALAN_GET_OBJECT_POOL

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_im_object_selection) = ' '.
 
 
 
DATA(ld_im_rfc_connection) = 'NONE'.
 
 
 


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!