SAP TRINT_ANALYSE_TRBAT_DATNAME Function Module for
TRINT_ANALYSE_TRBAT_DATNAME is a standard trint analyse trbat datname 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 trint analyse trbat datname FM, simply by entering the name TRINT_ANALYSE_TRBAT_DATNAME into the relevant SAP transaction such as SE37 or SE38.
Function Group: STRS
Program Name: SAPLSTRS
Main Program:
Appliation area: S
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function TRINT_ANALYSE_TRBAT_DATNAME 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 'TRINT_ANALYSE_TRBAT_DATNAME'".
EXPORTING
* IV_DATNAME = ' ' "
IMPORTING
EV_HOSTNAME = "
EV_DIRTYPE = "
EV_SUBDIR = "
EV_FILENAME = "
EV_PROCESS_COUNT = "
EV_PATH = "
IMPORTING Parameters details for TRINT_ANALYSE_TRBAT_DATNAME
IV_DATNAME -
Data type: TRBAT-DATNAMEDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for TRINT_ANALYSE_TRBAT_DATNAME
EV_HOSTNAME -
Data type: SY-HOSTOptional: No
Call by Reference: No ( called with pass by value option)
EV_DIRTYPE -
Data type: TSTRF01-DIRTYPEOptional: No
Call by Reference: No ( called with pass by value option)
EV_SUBDIR -
Data type: TSTRF01-SUBDIROptional: No
Call by Reference: No ( called with pass by value option)
EV_FILENAME -
Data type: TSTRF01-FILENAMEOptional: No
Call by Reference: No ( called with pass by value option)
EV_PROCESS_COUNT -
Data type: TSTRF01-NUM_PROCSOptional: No
Call by Reference: No ( called with pass by value option)
EV_PATH -
Data type: TSTRF01-FILEOptional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for TRINT_ANALYSE_TRBAT_DATNAME 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_iv_datname | TYPE TRBAT-DATNAME, " SPACE | |||
| lv_ev_hostname | TYPE SY-HOST, " | |||
| lv_ev_dirtype | TYPE TSTRF01-DIRTYPE, " | |||
| lv_ev_subdir | TYPE TSTRF01-SUBDIR, " | |||
| lv_ev_filename | TYPE TSTRF01-FILENAME, " | |||
| lv_ev_process_count | TYPE TSTRF01-NUM_PROCS, " | |||
| lv_ev_path | TYPE TSTRF01-FILE. " |
|   CALL FUNCTION 'TRINT_ANALYSE_TRBAT_DATNAME' " |
| EXPORTING | ||
| IV_DATNAME | = lv_iv_datname | |
| IMPORTING | ||
| EV_HOSTNAME | = lv_ev_hostname | |
| EV_DIRTYPE | = lv_ev_dirtype | |
| EV_SUBDIR | = lv_ev_subdir | |
| EV_FILENAME | = lv_ev_filename | |
| EV_PROCESS_COUNT | = lv_ev_process_count | |
| EV_PATH | = lv_ev_path | |
| . " TRINT_ANALYSE_TRBAT_DATNAME | ||
ABAP code using 7.40 inline data declarations to call FM TRINT_ANALYSE_TRBAT_DATNAME
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 DATNAME FROM TRBAT INTO @DATA(ld_iv_datname). | ||||
| DATA(ld_iv_datname) | = ' '. | |||
| "SELECT single HOST FROM SY INTO @DATA(ld_ev_hostname). | ||||
| "SELECT single DIRTYPE FROM TSTRF01 INTO @DATA(ld_ev_dirtype). | ||||
| "SELECT single SUBDIR FROM TSTRF01 INTO @DATA(ld_ev_subdir). | ||||
| "SELECT single FILENAME FROM TSTRF01 INTO @DATA(ld_ev_filename). | ||||
| "SELECT single NUM_PROCS FROM TSTRF01 INTO @DATA(ld_ev_process_count). | ||||
| "SELECT single FILE FROM TSTRF01 INTO @DATA(ld_ev_path). | ||||
Search for further information about these or an SAP related objects