SAP RKE_COIXID_GET Function Module for Obtains new COIX-ID









RKE_COIXID_GET is a standard rke coixid get SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Obtains new COIX-ID processing and below is the pattern details for this FM, 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 coixid get FM, simply by entering the name RKE_COIXID_GET into the relevant SAP transaction such as SE37 or SE38.

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



Function RKE_COIXID_GET 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_COIXID_GET'"Obtains new COIX-ID
EXPORTING
APPL = "Application class (TAPPL)
DTYPE = "Datentype (see domain CFDTYPE)
* PAKOM = '000000' "Parameter combination
REPID = "Report name
SUBCL = "Subclass
TABLE = "Table name
* IDVERS = '00' "

IMPORTING
COIXID = "New COIX-ID
.



IMPORTING Parameters details for RKE_COIXID_GET

APPL - Application class (TAPPL)

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

DTYPE - Datentype (see domain CFDTYPE)

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

PAKOM - Parameter combination

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

REPID - Report name

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

SUBCL - Subclass

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

TABLE - Table name

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

IDVERS -

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

EXPORTING Parameters details for RKE_COIXID_GET

COIXID - New COIX-ID

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

Copy and paste ABAP code example for RKE_COIXID_GET 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_appl  TYPE CFCOKEY-APPL, "   
lv_coixid  TYPE RKB1I-COIX_ID, "   
lv_dtype  TYPE CFCOKEY-DTYPE, "   
lv_pakom  TYPE CFCOKEY-PAKOM, "   '000000'
lv_repid  TYPE CFCOKEY-REPID, "   
lv_subcl  TYPE CFCOKEY-SUBCL, "   
lv_table  TYPE CFCOKEY-TABLE, "   
lv_idvers  TYPE RKB1D-DVERS. "   '00'

  CALL FUNCTION 'RKE_COIXID_GET'  "Obtains new COIX-ID
    EXPORTING
         APPL = lv_appl
         DTYPE = lv_dtype
         PAKOM = lv_pakom
         REPID = lv_repid
         SUBCL = lv_subcl
         TABLE = lv_table
         IDVERS = lv_idvers
    IMPORTING
         COIXID = lv_coixid
. " RKE_COIXID_GET




ABAP code using 7.40 inline data declarations to call FM RKE_COIXID_GET

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 APPL FROM CFCOKEY INTO @DATA(ld_appl).
 
"SELECT single COIX_ID FROM RKB1I INTO @DATA(ld_coixid).
 
"SELECT single DTYPE FROM CFCOKEY INTO @DATA(ld_dtype).
 
"SELECT single PAKOM FROM CFCOKEY INTO @DATA(ld_pakom).
DATA(ld_pakom) = '000000'.
 
"SELECT single REPID FROM CFCOKEY INTO @DATA(ld_repid).
 
"SELECT single SUBCL FROM CFCOKEY INTO @DATA(ld_subcl).
 
"SELECT single TABLE FROM CFCOKEY INTO @DATA(ld_table).
 
"SELECT single DVERS FROM RKB1D INTO @DATA(ld_idvers).
DATA(ld_idvers) = '00'.
 


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!