ECATT_LOG_QUERY_NEW is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.
See here to view full function module documentation and code listing, simply by entering the name ECATT_LOG_QUERY_NEW into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
ECATT_LOG
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'ECATT_LOG_QUERY_NEW' "
* EXPORTING
* im_system = "
* im_batch = "
* im_status = SPACE " etlog_gui_status
* im_archshow = "
* im_maxrows = 1 " rseumod-tbmaxsel
* im_type = " etcall_type
* im_obj_desc = " twb_title
* im_show_log = 'X' " etonoff
IMPORTING
et_loghead_tab = " etlog_hidx_tabtype
* TABLES
* im_logkey = "
* im_startusr = "
* im_startdat = "
* im_starttim = "
* im_expires = "
* im_objtext = "
* im_func = "
* im_object = "
* im_archflag = "
* im_tconfig = "
* im_tvarid = "
* im_tscript = "
* im_tvalida = "
* im_date = "
* im_time = "
. " ECATT_LOG_QUERY_NEW
The ABAP code below is a full code listing to execute function module ECATT_LOG_QUERY_NEW including all data declarations. The code uses 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 original method of declaring data variables up front. 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).
| ld_et_loghead_tab | TYPE ETLOG_HIDX_TABTYPE , |
| it_im_logkey | TYPE STANDARD TABLE OF STRING,"TABLES PARAM |
| wa_im_logkey | LIKE LINE OF it_im_logkey , |
| it_im_startusr | TYPE STANDARD TABLE OF STRING,"TABLES PARAM |
| wa_im_startusr | LIKE LINE OF it_im_startusr , |
| it_im_startdat | TYPE STANDARD TABLE OF STRING,"TABLES PARAM |
| wa_im_startdat | LIKE LINE OF it_im_startdat , |
| it_im_starttim | TYPE STANDARD TABLE OF STRING,"TABLES PARAM |
| wa_im_starttim | LIKE LINE OF it_im_starttim , |
| it_im_expires | TYPE STANDARD TABLE OF STRING,"TABLES PARAM |
| wa_im_expires | LIKE LINE OF it_im_expires , |
| it_im_objtext | TYPE STANDARD TABLE OF STRING,"TABLES PARAM |
| wa_im_objtext | LIKE LINE OF it_im_objtext , |
| it_im_func | TYPE STANDARD TABLE OF STRING,"TABLES PARAM |
| wa_im_func | LIKE LINE OF it_im_func , |
| it_im_object | TYPE STANDARD TABLE OF STRING,"TABLES PARAM |
| wa_im_object | LIKE LINE OF it_im_object , |
| it_im_archflag | TYPE STANDARD TABLE OF STRING,"TABLES PARAM |
| wa_im_archflag | LIKE LINE OF it_im_archflag , |
| it_im_tconfig | TYPE STANDARD TABLE OF STRING,"TABLES PARAM |
| wa_im_tconfig | LIKE LINE OF it_im_tconfig , |
| it_im_tvarid | TYPE STANDARD TABLE OF STRING,"TABLES PARAM |
| wa_im_tvarid | LIKE LINE OF it_im_tvarid , |
| it_im_tscript | TYPE STANDARD TABLE OF STRING,"TABLES PARAM |
| wa_im_tscript | LIKE LINE OF it_im_tscript , |
| it_im_tvalida | TYPE STANDARD TABLE OF STRING,"TABLES PARAM |
| wa_im_tvalida | LIKE LINE OF it_im_tvalida , |
| it_im_date | TYPE STANDARD TABLE OF STRING,"TABLES PARAM |
| wa_im_date | LIKE LINE OF it_im_date , |
| it_im_time | TYPE STANDARD TABLE OF STRING,"TABLES PARAM |
| wa_im_time | LIKE LINE OF it_im_time . |
The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.
DATA:
| ld_et_loghead_tab | TYPE ETLOG_HIDX_TABTYPE , |
| ld_im_system | TYPE STRING , |
| it_im_logkey | TYPE STANDARD TABLE OF STRING , |
| wa_im_logkey | LIKE LINE OF it_im_logkey, |
| ld_im_batch | TYPE STRING , |
| it_im_startusr | TYPE STANDARD TABLE OF STRING , |
| wa_im_startusr | LIKE LINE OF it_im_startusr, |
| it_im_startdat | TYPE STANDARD TABLE OF STRING , |
| wa_im_startdat | LIKE LINE OF it_im_startdat, |
| ld_im_status | TYPE ETLOG_GUI_STATUS , |
| ld_im_archshow | TYPE STRING , |
| it_im_starttim | TYPE STANDARD TABLE OF STRING , |
| wa_im_starttim | LIKE LINE OF it_im_starttim, |
| ld_im_maxrows | TYPE RSEUMOD-TBMAXSEL , |
| it_im_expires | TYPE STANDARD TABLE OF STRING , |
| wa_im_expires | LIKE LINE OF it_im_expires, |
| ld_im_type | TYPE ETCALL_TYPE , |
| it_im_objtext | TYPE STANDARD TABLE OF STRING , |
| wa_im_objtext | LIKE LINE OF it_im_objtext, |
| ld_im_obj_desc | TYPE TWB_TITLE , |
| it_im_func | TYPE STANDARD TABLE OF STRING , |
| wa_im_func | LIKE LINE OF it_im_func, |
| ld_im_show_log | TYPE ETONOFF , |
| it_im_object | TYPE STANDARD TABLE OF STRING , |
| wa_im_object | LIKE LINE OF it_im_object, |
| it_im_archflag | TYPE STANDARD TABLE OF STRING , |
| wa_im_archflag | LIKE LINE OF it_im_archflag, |
| it_im_tconfig | TYPE STANDARD TABLE OF STRING , |
| wa_im_tconfig | LIKE LINE OF it_im_tconfig, |
| it_im_tvarid | TYPE STANDARD TABLE OF STRING , |
| wa_im_tvarid | LIKE LINE OF it_im_tvarid, |
| it_im_tscript | TYPE STANDARD TABLE OF STRING , |
| wa_im_tscript | LIKE LINE OF it_im_tscript, |
| it_im_tvalida | TYPE STANDARD TABLE OF STRING , |
| wa_im_tvalida | LIKE LINE OF it_im_tvalida, |
| it_im_date | TYPE STANDARD TABLE OF STRING , |
| wa_im_date | LIKE LINE OF it_im_date, |
| it_im_time | TYPE STANDARD TABLE OF STRING , |
| wa_im_time | LIKE LINE OF it_im_time. |
Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name ECATT_LOG_QUERY_NEW or its description.