SAP RKE_OBJECTS_ALLOCATE Function Module for









RKE_OBJECTS_ALLOCATE is a standard rke objects allocate 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 rke objects allocate FM, simply by entering the name RKE_OBJECTS_ALLOCATE into the relevant SAP transaction such as SE37 or SE38.

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



Function RKE_OBJECTS_ALLOCATE 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 'RKE_OBJECTS_ALLOCATE'"
EXPORTING
* IGN_FLNOREC = ' ' "
* IGN_ZERVAL = ' ' "
* ONLY_FLNOREC = ' ' "
* ALG_NEG_VAL = '1' "

TABLES
TDCONNECT = "
TDERRO = "
TDFNAM = "
TDPERIO = "
TDVALUES = "
* TDUNITS = "

EXCEPTIONS
PROGRAM_ERROR = 1
.



IMPORTING Parameters details for RKE_OBJECTS_ALLOCATE

IGN_FLNOREC -

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

IGN_ZERVAL -

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

ONLY_FLNOREC -

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

ALG_NEG_VAL -

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

TABLES Parameters details for RKE_OBJECTS_ALLOCATE

TDCONNECT -

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

TDERRO -

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

TDFNAM -

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

TDPERIO -

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

TDVALUES -

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

TDUNITS -

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

EXCEPTIONS details

PROGRAM_ERROR -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for RKE_OBJECTS_ALLOCATE 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_tdconnect  TYPE STANDARD TABLE OF CEPLTD2, "   
lv_ign_flnorec  TYPE CEPLTD2, "   ' '
lv_program_error  TYPE CEPLTD2, "   
lt_tderro  TYPE STANDARD TABLE OF CEPLTD3, "   
lv_ign_zerval  TYPE CEPLTD3, "   ' '
lt_tdfnam  TYPE STANDARD TABLE OF CEPLTD5, "   
lv_only_flnorec  TYPE CEPLTD5, "   ' '
lt_tdperio  TYPE STANDARD TABLE OF CEPLTD4, "   
lv_alg_neg_val  TYPE RKE_ALGNEGVAL, "   '1'
lt_tdvalues  TYPE STANDARD TABLE OF CEPLTD3, "   
lt_tdunits  TYPE STANDARD TABLE OF LMEIN. "   

  CALL FUNCTION 'RKE_OBJECTS_ALLOCATE'  "
    EXPORTING
         IGN_FLNOREC = lv_ign_flnorec
         IGN_ZERVAL = lv_ign_zerval
         ONLY_FLNOREC = lv_only_flnorec
         ALG_NEG_VAL = lv_alg_neg_val
    TABLES
         TDCONNECT = lt_tdconnect
         TDERRO = lt_tderro
         TDFNAM = lt_tdfnam
         TDPERIO = lt_tdperio
         TDVALUES = lt_tdvalues
         TDUNITS = lt_tdunits
    EXCEPTIONS
        PROGRAM_ERROR = 1
. " RKE_OBJECTS_ALLOCATE




ABAP code using 7.40 inline data declarations to call FM RKE_OBJECTS_ALLOCATE

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_ign_flnorec) = ' '.
 
 
 
DATA(ld_ign_zerval) = ' '.
 
 
DATA(ld_only_flnorec) = ' '.
 
 
DATA(ld_alg_neg_val) = '1'.
 
 
 


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!