SAP CATSXT_START_GUI Function Module for NOTRANSL: Arbeitszeitblatt - Detailbild fuer Anzeige/Aenderungsmodus









CATSXT_START_GUI is a standard catsxt start gui SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for NOTRANSL: Arbeitszeitblatt - Detailbild fuer Anzeige/Aenderungsmodus 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 catsxt start gui FM, simply by entering the name CATSXT_START_GUI into the relevant SAP transaction such as SE37 or SE38.

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



Function CATSXT_START_GUI 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 'CATSXT_START_GUI'"NOTRANSL: Arbeitszeitblatt - Detailbild fuer Anzeige/Aenderungsmodus
EXPORTING
IM_TIME_SHEET_OBJECT = "DE-EN-LANG-SWITCH-NO-TRANSLATION
IM_EMPLOYEE_OBJECT = "DE-EN-LANG-SWITCH-NO-TRANSLATION
IM_BUSINESS_ADD_IN = "DE-EN-LANG-SWITCH-NO-TRANSLATION
IM_PROCESS_MODE = "Time Sheet Processing Mode
IM_USER_DEFAULTS = "User Settings for the Time Sheet (CATSXT)
IM_MYLIST = "DE-EN-LANG-SWITCH-NO-TRANSLATION
IM_CONTROL = "DE-EN-LANG-SWITCH-NO-TRANSLATION
IM_PERNR_OF_UNAME = "User Personnel Number SY-UNAME
* IM_CUSTOMER_FIELDS = "Customer fields

CHANGING
CH_TIMES_TAB_POINTER = "DE-EN-LANG-SWITCH-NO-TRANSLATION
CH_CATSXT_POINTER = "DE-EN-LANG-SWITCH-NO-TRANSLATION
CH_CATSXT_PERIODS_POINTER = "DE-EN-LANG-SWITCH-NO-TRANSLATION

EXCEPTIONS
TIME_SHEET_OBJECT_NOT_CREATED = 1 EMPLOYEE_OBJECT_NOT_CREATED = 2 INVALID_PROCESS_MODE = 3 BADI_OBJECT_NOT_CREATED = 4
.



IMPORTING Parameters details for CATSXT_START_GUI

IM_TIME_SHEET_OBJECT - DE-EN-LANG-SWITCH-NO-TRANSLATION

Data type: CL_TIME_SHEET_CATSXT
Optional: No
Call by Reference: Yes

IM_EMPLOYEE_OBJECT - DE-EN-LANG-SWITCH-NO-TRANSLATION

Data type: CL_EMPLOYEE_CATSXT
Optional: No
Call by Reference: Yes

IM_BUSINESS_ADD_IN - DE-EN-LANG-SWITCH-NO-TRANSLATION

Data type: IF_EX_CATSXT_EVENT
Optional: No
Call by Reference: Yes

IM_PROCESS_MODE - Time Sheet Processing Mode

Data type: CATSXT_PROCESS_MODE
Optional: No
Call by Reference: Yes

IM_USER_DEFAULTS - User Settings for the Time Sheet (CATSXT)

Data type: CATSXT_USER_DEFAULT
Optional: No
Call by Reference: Yes

IM_MYLIST - DE-EN-LANG-SWITCH-NO-TRANSLATION

Data type: CATSXT_MYLIST_ITAB
Optional: No
Call by Reference: Yes

IM_CONTROL - DE-EN-LANG-SWITCH-NO-TRANSLATION

Data type: CATSXT_INIT_CHANGE
Optional: No
Call by Reference: Yes

IM_PERNR_OF_UNAME - User Personnel Number SY-UNAME

Data type: PERNR_D
Optional: No
Call by Reference: Yes

IM_CUSTOMER_FIELDS - Customer fields

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

CHANGING Parameters details for CATSXT_START_GUI

CH_TIMES_TAB_POINTER - DE-EN-LANG-SWITCH-NO-TRANSLATION

Data type: DATA
Optional: No
Call by Reference: Yes

CH_CATSXT_POINTER - DE-EN-LANG-SWITCH-NO-TRANSLATION

Data type: DATA
Optional: No
Call by Reference: Yes

CH_CATSXT_PERIODS_POINTER - DE-EN-LANG-SWITCH-NO-TRANSLATION

Data type: DATA
Optional: No
Call by Reference: Yes

EXCEPTIONS details

TIME_SHEET_OBJECT_NOT_CREATED - DE-EN-LANG-SWITCH-NO-TRANSLATION

Data type:
Optional: No
Call by Reference: Yes

EMPLOYEE_OBJECT_NOT_CREATED - DE-EN-LANG-SWITCH-NO-TRANSLATION

Data type:
Optional: No
Call by Reference: Yes

INVALID_PROCESS_MODE - DE-EN-LANG-SWITCH-NO-TRANSLATION

Data type:
Optional: No
Call by Reference: Yes

BADI_OBJECT_NOT_CREATED - DE-EN-LANG-SWITCH-NO-TRANSLATION

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for CATSXT_START_GUI 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_ch_times_tab_pointer  TYPE DATA, "   
lv_im_time_sheet_object  TYPE CL_TIME_SHEET_CATSXT, "   
lv_time_sheet_object_not_created  TYPE CL_TIME_SHEET_CATSXT, "   
lv_ch_catsxt_pointer  TYPE DATA, "   
lv_im_employee_object  TYPE CL_EMPLOYEE_CATSXT, "   
lv_employee_object_not_created  TYPE CL_EMPLOYEE_CATSXT, "   
lv_im_business_add_in  TYPE IF_EX_CATSXT_EVENT, "   
lv_invalid_process_mode  TYPE IF_EX_CATSXT_EVENT, "   
lv_ch_catsxt_periods_pointer  TYPE DATA, "   
lv_im_process_mode  TYPE CATSXT_PROCESS_MODE, "   
lv_badi_object_not_created  TYPE CATSXT_PROCESS_MODE, "   
lv_im_user_defaults  TYPE CATSXT_USER_DEFAULT, "   
lv_im_mylist  TYPE CATSXT_MYLIST_ITAB, "   
lv_im_control  TYPE CATSXT_INIT_CHANGE, "   
lv_im_pernr_of_uname  TYPE PERNR_D, "   
lv_im_customer_fields  TYPE CATS_CI_CA. "   

  CALL FUNCTION 'CATSXT_START_GUI'  "NOTRANSL: Arbeitszeitblatt - Detailbild fuer Anzeige/Aenderungsmodus
    EXPORTING
         IM_TIME_SHEET_OBJECT = lv_im_time_sheet_object
         IM_EMPLOYEE_OBJECT = lv_im_employee_object
         IM_BUSINESS_ADD_IN = lv_im_business_add_in
         IM_PROCESS_MODE = lv_im_process_mode
         IM_USER_DEFAULTS = lv_im_user_defaults
         IM_MYLIST = lv_im_mylist
         IM_CONTROL = lv_im_control
         IM_PERNR_OF_UNAME = lv_im_pernr_of_uname
         IM_CUSTOMER_FIELDS = lv_im_customer_fields
    CHANGING
         CH_TIMES_TAB_POINTER = lv_ch_times_tab_pointer
         CH_CATSXT_POINTER = lv_ch_catsxt_pointer
         CH_CATSXT_PERIODS_POINTER = lv_ch_catsxt_periods_pointer
    EXCEPTIONS
        TIME_SHEET_OBJECT_NOT_CREATED = 1
        EMPLOYEE_OBJECT_NOT_CREATED = 2
        INVALID_PROCESS_MODE = 3
        BADI_OBJECT_NOT_CREATED = 4
. " CATSXT_START_GUI




ABAP code using 7.40 inline data declarations to call FM CATSXT_START_GUI

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.

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 


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!