SAP C107TS_ENTRY Function Module for
C107TS_ENTRY is a standard c107ts entry 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 c107ts entry FM, simply by entering the name C107TS_ENTRY into the relevant SAP transaction such as SE37 or SE38.
Function Group: C107TS
Program Name: SAPLC107TS
Main Program: SAPLC107TS
Appliation area: M
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function C107TS_ENTRY 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 'C107TS_ENTRY'".
EXPORTING
I_ACTYPE = "Current Activity Type
I_TRTYPE = "Current Transaction Type
I_KEYPATH = "
I_ADDINF = "Additional information
* I_RECNTVA = "Sequential Number of Data Record
* I_CUA_SET_FUNC = 'C101_CUA_SET' "
* I_FLG_REF_ALLOWED = ESP1_TRUE "
* I_FLG_SIN_INST_POP = ESP1_FALSE "
* I_FLG_SUBSCR_CALL = ESP1_FALSE "
IMPORTING
E_FLG_CHANGED = "
E_OKCODE = "
E_DYNNR = "ABAP Program, Current Screen Number
E_REPID = "
E_ACTYPE = "Activity Type in the Transaction
E_KEYPATH = "EHS: 'Key' path substance/list/property for FM call
EXCEPTIONS
REFERENCE_CONFLICT = 1 NO_AUTHORITY = 2 SUBST_UPD_FIELDS_SET_ERROR = 3 CONVMODE_SET_FAILED = 4
IMPORTING Parameters details for C107TS_ENTRY
I_ACTYPE - Current Activity Type
Data type: RCGDIALCTR-ACTYPEOptional: No
Call by Reference: No ( called with pass by value option)
I_TRTYPE - Current Transaction Type
Data type: RCGDIALCTR-TRTYPEOptional: No
Call by Reference: No ( called with pass by value option)
I_KEYPATH -
Data type: RCGKPATHOptional: No
Call by Reference: No ( called with pass by value option)
I_ADDINF - Additional information
Data type: RCGADDINFOptional: No
Call by Reference: No ( called with pass by value option)
I_RECNTVA - Sequential Number of Data Record
Data type: ESERECNOptional: Yes
Call by Reference: No ( called with pass by value option)
I_CUA_SET_FUNC -
Data type: TFDIR-FUNCNAMEDefault: 'C101_CUA_SET'
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_FLG_REF_ALLOWED -
Data type: ESP1_BOOLEANDefault: ESP1_TRUE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_FLG_SIN_INST_POP -
Data type: ESP1_BOOLEANDefault: ESP1_FALSE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_FLG_SUBSCR_CALL -
Data type: ESP1_BOOLEANDefault: ESP1_FALSE
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for C107TS_ENTRY
E_FLG_CHANGED -
Data type: ESP1_BOOLEANOptional: No
Call by Reference: No ( called with pass by value option)
E_OKCODE -
Data type: ESP1_OKCODE_TYPEOptional: No
Call by Reference: No ( called with pass by value option)
E_DYNNR - ABAP Program, Current Screen Number
Data type: SY-DYNNROptional: No
Call by Reference: No ( called with pass by value option)
E_REPID -
Data type: SY-REPIDOptional: No
Call by Reference: No ( called with pass by value option)
E_ACTYPE - Activity Type in the Transaction
Data type: RCGDIALCTR-ACTYPEOptional: No
Call by Reference: No ( called with pass by value option)
E_KEYPATH - EHS: 'Key' path substance/list/property for FM call
Data type: RCGKPATHOptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
REFERENCE_CONFLICT -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
NO_AUTHORITY - No Authorization
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
SUBST_UPD_FIELDS_SET_ERROR -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
CONVMODE_SET_FAILED -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for C107TS_ENTRY 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_i_actype | TYPE RCGDIALCTR-ACTYPE, " | |||
| lv_e_flg_changed | TYPE ESP1_BOOLEAN, " | |||
| lv_reference_conflict | TYPE ESP1_BOOLEAN, " | |||
| lv_e_okcode | TYPE ESP1_OKCODE_TYPE, " | |||
| lv_i_trtype | TYPE RCGDIALCTR-TRTYPE, " | |||
| lv_no_authority | TYPE RCGDIALCTR, " | |||
| lv_e_dynnr | TYPE SY-DYNNR, " | |||
| lv_i_keypath | TYPE RCGKPATH, " | |||
| lv_subst_upd_fields_set_error | TYPE RCGKPATH, " | |||
| lv_e_repid | TYPE SY-REPID, " | |||
| lv_i_addinf | TYPE RCGADDINF, " | |||
| lv_convmode_set_failed | TYPE RCGADDINF, " | |||
| lv_e_actype | TYPE RCGDIALCTR-ACTYPE, " | |||
| lv_i_recntva | TYPE ESERECN, " | |||
| lv_e_keypath | TYPE RCGKPATH, " | |||
| lv_i_cua_set_func | TYPE TFDIR-FUNCNAME, " 'C101_CUA_SET' | |||
| lv_i_flg_ref_allowed | TYPE ESP1_BOOLEAN, " ESP1_TRUE | |||
| lv_i_flg_sin_inst_pop | TYPE ESP1_BOOLEAN, " ESP1_FALSE | |||
| lv_i_flg_subscr_call | TYPE ESP1_BOOLEAN. " ESP1_FALSE |
|   CALL FUNCTION 'C107TS_ENTRY' " |
| EXPORTING | ||
| I_ACTYPE | = lv_i_actype | |
| I_TRTYPE | = lv_i_trtype | |
| I_KEYPATH | = lv_i_keypath | |
| I_ADDINF | = lv_i_addinf | |
| I_RECNTVA | = lv_i_recntva | |
| I_CUA_SET_FUNC | = lv_i_cua_set_func | |
| I_FLG_REF_ALLOWED | = lv_i_flg_ref_allowed | |
| I_FLG_SIN_INST_POP | = lv_i_flg_sin_inst_pop | |
| I_FLG_SUBSCR_CALL | = lv_i_flg_subscr_call | |
| IMPORTING | ||
| E_FLG_CHANGED | = lv_e_flg_changed | |
| E_OKCODE | = lv_e_okcode | |
| E_DYNNR | = lv_e_dynnr | |
| E_REPID | = lv_e_repid | |
| E_ACTYPE | = lv_e_actype | |
| E_KEYPATH | = lv_e_keypath | |
| EXCEPTIONS | ||
| REFERENCE_CONFLICT = 1 | ||
| NO_AUTHORITY = 2 | ||
| SUBST_UPD_FIELDS_SET_ERROR = 3 | ||
| CONVMODE_SET_FAILED = 4 | ||
| . " C107TS_ENTRY | ||
ABAP code using 7.40 inline data declarations to call FM C107TS_ENTRY
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 ACTYPE FROM RCGDIALCTR INTO @DATA(ld_i_actype). | ||||
| "SELECT single TRTYPE FROM RCGDIALCTR INTO @DATA(ld_i_trtype). | ||||
| "SELECT single DYNNR FROM SY INTO @DATA(ld_e_dynnr). | ||||
| "SELECT single REPID FROM SY INTO @DATA(ld_e_repid). | ||||
| "SELECT single ACTYPE FROM RCGDIALCTR INTO @DATA(ld_e_actype). | ||||
| "SELECT single FUNCNAME FROM TFDIR INTO @DATA(ld_i_cua_set_func). | ||||
| DATA(ld_i_cua_set_func) | = 'C101_CUA_SET'. | |||
| DATA(ld_i_flg_ref_allowed) | = ESP1_TRUE. | |||
| DATA(ld_i_flg_sin_inst_pop) | = ESP1_FALSE. | |||
| DATA(ld_i_flg_subscr_call) | = ESP1_FALSE. | |||
Search for further information about these or an SAP related objects