SAP TCHECK_100 Function Module for









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

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



Function TCHECK_100 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 'TCHECK_100'"
EXPORTING
TYPE = "
SNAME = "
* LASTNAME = "
* FIRSTNAME = "
* PHONE = "
* HOUSE = "
* ROOM = "
* EXCEPTION_ONLY = "

IMPORTING
ID = "
ADDON = "
SNAME = "
LASTNAME = "
FIRSTNAME = "
XNAME = "Character Field of Length 40
PHONE = "
EXC_PHONE = "
HOUSE = "
ROOM = "

TABLES
* STAB = "Copy of EMTCID Table
* TB_CRMAHR = "Check Results Management: Personal Data

EXCEPTIONS
ID_NOT_FOUND = 1 NAME_NOT_FOUND = 2 NOTHING_FOUND = 3 ILLEGAL_TYPE = 4
.



IMPORTING Parameters details for TCHECK_100

TYPE -

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

SNAME -

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

LASTNAME -

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

FIRSTNAME -

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

PHONE -

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

HOUSE -

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

ROOM -

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

EXCEPTION_ONLY -

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

EXPORTING Parameters details for TCHECK_100

ID -

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

ADDON -

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

SNAME -

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

LASTNAME -

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

FIRSTNAME -

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

XNAME - Character Field of Length 40

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

PHONE -

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

EXC_PHONE -

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

HOUSE -

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

ROOM -

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

TABLES Parameters details for TCHECK_100

STAB - Copy of EMTCID Table

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

TB_CRMAHR - Check Results Management: Personal Data

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

EXCEPTIONS details

ID_NOT_FOUND -

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

NAME_NOT_FOUND -

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

NOTHING_FOUND -

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

ILLEGAL_TYPE -

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

Copy and paste ABAP code example for TCHECK_100 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_id  TYPE CRMEMTCID-SAPNAME, "   
lt_stab  TYPE STANDARD TABLE OF CRMEMTCID, "   
lv_type  TYPE CHAR1, "   
lv_id_not_found  TYPE CHAR1, "   
lv_addon  TYPE CHAR80, "   
lv_sname  TYPE CRMEMTCID-SAPNAME, "   
lv_sname  TYPE CRMEMTCID-SAPNAME, "   
lt_tb_crmahr  TYPE STANDARD TABLE OF CRMAHR, "   
lv_name_not_found  TYPE CRMAHR, "   
lv_lastname  TYPE CRMEMTCID-LASTNAME, "   
lv_lastname  TYPE CRMEMTCID-LASTNAME, "   
lv_nothing_found  TYPE CRMEMTCID, "   
lv_firstname  TYPE CRMEMTCID-FIRSTNAME, "   
lv_firstname  TYPE CRMEMTCID-FIRSTNAME, "   
lv_illegal_type  TYPE CRMEMTCID, "   
lv_phone  TYPE CRMEMTCID-PHONE, "   
lv_xname  TYPE CHAR40, "   
lv_house  TYPE CRMEMTCID-HOUSE, "   
lv_phone  TYPE CRMEMTCID-PHONE, "   
lv_room  TYPE CRMEMTCID-ROOM, "   
lv_exc_phone  TYPE CHAR20, "   
lv_house  TYPE CRMEMTCID-HOUSE, "   
lv_exception_only  TYPE CHAR1, "   
lv_room  TYPE CRMEMTCID-ROOM. "   

  CALL FUNCTION 'TCHECK_100'  "
    EXPORTING
         TYPE = lv_type
         SNAME = lv_sname
         LASTNAME = lv_lastname
         FIRSTNAME = lv_firstname
         PHONE = lv_phone
         HOUSE = lv_house
         ROOM = lv_room
         EXCEPTION_ONLY = lv_exception_only
    IMPORTING
         ID = lv_id
         ADDON = lv_addon
         SNAME = lv_sname
         LASTNAME = lv_lastname
         FIRSTNAME = lv_firstname
         XNAME = lv_xname
         PHONE = lv_phone
         EXC_PHONE = lv_exc_phone
         HOUSE = lv_house
         ROOM = lv_room
    TABLES
         STAB = lt_stab
         TB_CRMAHR = lt_tb_crmahr
    EXCEPTIONS
        ID_NOT_FOUND = 1
        NAME_NOT_FOUND = 2
        NOTHING_FOUND = 3
        ILLEGAL_TYPE = 4
. " TCHECK_100




ABAP code using 7.40 inline data declarations to call FM TCHECK_100

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 SAPNAME FROM CRMEMTCID INTO @DATA(ld_id).
 
 
 
 
 
"SELECT single SAPNAME FROM CRMEMTCID INTO @DATA(ld_sname).
 
"SELECT single SAPNAME FROM CRMEMTCID INTO @DATA(ld_sname).
 
 
 
"SELECT single LASTNAME FROM CRMEMTCID INTO @DATA(ld_lastname).
 
"SELECT single LASTNAME FROM CRMEMTCID INTO @DATA(ld_lastname).
 
 
"SELECT single FIRSTNAME FROM CRMEMTCID INTO @DATA(ld_firstname).
 
"SELECT single FIRSTNAME FROM CRMEMTCID INTO @DATA(ld_firstname).
 
 
"SELECT single PHONE FROM CRMEMTCID INTO @DATA(ld_phone).
 
 
"SELECT single HOUSE FROM CRMEMTCID INTO @DATA(ld_house).
 
"SELECT single PHONE FROM CRMEMTCID INTO @DATA(ld_phone).
 
"SELECT single ROOM FROM CRMEMTCID INTO @DATA(ld_room).
 
 
"SELECT single HOUSE FROM CRMEMTCID INTO @DATA(ld_house).
 
 
"SELECT single ROOM FROM CRMEMTCID INTO @DATA(ld_room).
 


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!