SAP SCT2_GET_T000_ENTRY_RFC Function Module for Get t000 (also: sy-langu, codepage, endian, sy-sysid, sy-mandt, sy-sap









SCT2_GET_T000_ENTRY_RFC is a standard sct2 get t000 entry rfc SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Get t000 (also: sy-langu, codepage, endian, sy-sysid, sy-mandt, sy-sap 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 sct2 get t000 entry rfc FM, simply by entering the name SCT2_GET_T000_ENTRY_RFC into the relevant SAP transaction such as SE37 or SE38.

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



Function SCT2_GET_T000_ENTRY_RFC 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 'SCT2_GET_T000_ENTRY_RFC'"Get t000 (also: sy-langu, codepage, endian, sy-sysid, sy-mandt, sy-sap
IMPORTING
ES_T000 = "
EV_AUTH = "
EV_USER_NAME = "
EV_LANGUAGE = "
EV_CODEPAGE = "
EV_ENDIAN_CHECK_NUMBER = "
EV_SYSID = "
EV_SAPRL = "
EV_MANDT = "
EV_SUBRC_SYSTEM_FORMAT = "
EV_CLIENT_NOT_FOUND = "
.



EXPORTING Parameters details for SCT2_GET_T000_ENTRY_RFC

ES_T000 -

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

EV_AUTH -

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

EV_USER_NAME -

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

EV_LANGUAGE -

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

EV_CODEPAGE -

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

EV_ENDIAN_CHECK_NUMBER -

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

EV_SYSID -

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

EV_SAPRL -

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

EV_MANDT -

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

EV_SUBRC_SYSTEM_FORMAT -

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

EV_CLIENT_NOT_FOUND -

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

Copy and paste ABAP code example for SCT2_GET_T000_ENTRY_RFC 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_es_t000  TYPE T000_RFC, "   
lv_ev_auth  TYPE NTAB_CMP-FLAG, "   
lv_ev_user_name  TYPE SY-UNAME, "   
lv_ev_language  TYPE SY-LANGU, "   
lv_ev_codepage  TYPE TCP00-CPCODEPAGE, "   
lv_ev_endian_check_number  TYPE TCP00-CPCODEPAGE, "   
lv_ev_sysid  TYPE SY-SYSID, "   
lv_ev_saprl  TYPE SY-SAPRL, "   
lv_ev_mandt  TYPE SY-MANDT, "   
lv_ev_subrc_system_format  TYPE SY-SUBRC, "   
lv_ev_client_not_found  TYPE NTAB_CMP-FLAG. "   

  CALL FUNCTION 'SCT2_GET_T000_ENTRY_RFC'  "Get t000 (also: sy-langu, codepage, endian, sy-sysid, sy-mandt, sy-sap
    IMPORTING
         ES_T000 = lv_es_t000
         EV_AUTH = lv_ev_auth
         EV_USER_NAME = lv_ev_user_name
         EV_LANGUAGE = lv_ev_language
         EV_CODEPAGE = lv_ev_codepage
         EV_ENDIAN_CHECK_NUMBER = lv_ev_endian_check_number
         EV_SYSID = lv_ev_sysid
         EV_SAPRL = lv_ev_saprl
         EV_MANDT = lv_ev_mandt
         EV_SUBRC_SYSTEM_FORMAT = lv_ev_subrc_system_format
         EV_CLIENT_NOT_FOUND = lv_ev_client_not_found
. " SCT2_GET_T000_ENTRY_RFC




ABAP code using 7.40 inline data declarations to call FM SCT2_GET_T000_ENTRY_RFC

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 FLAG FROM NTAB_CMP INTO @DATA(ld_ev_auth).
 
"SELECT single UNAME FROM SY INTO @DATA(ld_ev_user_name).
 
"SELECT single LANGU FROM SY INTO @DATA(ld_ev_language).
 
"SELECT single CPCODEPAGE FROM TCP00 INTO @DATA(ld_ev_codepage).
 
"SELECT single CPCODEPAGE FROM TCP00 INTO @DATA(ld_ev_endian_check_number).
 
"SELECT single SYSID FROM SY INTO @DATA(ld_ev_sysid).
 
"SELECT single SAPRL FROM SY INTO @DATA(ld_ev_saprl).
 
"SELECT single MANDT FROM SY INTO @DATA(ld_ev_mandt).
 
"SELECT single SUBRC FROM SY INTO @DATA(ld_ev_subrc_system_format).
 
"SELECT single FLAG FROM NTAB_CMP INTO @DATA(ld_ev_client_not_found).
 


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!