SAP Function Modules

RSSEARCHLOGS_LIST_ABAP_DUMP SAP Function module - Reading and editing of an ABAP short dump







RSSEARCHLOGS_LIST_ABAP_DUMP 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 RSSEARCHLOGS_LIST_ABAP_DUMP into the relevant SAP transaction such as SE37 or SE80.

Associated Function Group: RSSEARCHLOGS
Released Date: Not Released
Processing type: Normal fucntion module
Normal function module settings


Pattern for FM RSSEARCHLOGS_LIST_ABAP_DUMP - RSSEARCHLOGS LIST ABAP DUMP





CALL FUNCTION 'RSSEARCHLOGS_LIST_ABAP_DUMP' "Reading and editing of an ABAP short dump
  EXPORTING
    ahost =                     " snap-ahost    Host Name
    datum =                     " snap-datum    Short dumps up to this date only
    mandt =                     " snap-mandt    Client
    modno =                     " snap-modno    Number of alternative sessions
    uname =                     " snap-uname    User Name
    uzeit =                     " snap-uzeit    Short dumps only up to this time
  TABLES
    it_dump_tbl =               " sugrs3        Short dump in a processed form
  EXCEPTIONS
    NO_ENTRY_FOUND = 1          "               No entriy with this key
    .  "  RSSEARCHLOGS_LIST_ABAP_DUMP

ABAP code example for Function Module RSSEARCHLOGS_LIST_ABAP_DUMP





The ABAP code below is a full code listing to execute function module RSSEARCHLOGS_LIST_ABAP_DUMP 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).

DATA:
it_it_dump_tbl  TYPE STANDARD TABLE OF SUGRS3,"TABLES PARAM
wa_it_dump_tbl  LIKE LINE OF it_it_dump_tbl .


SELECT single AHOST
FROM SNAP
INTO @DATA(ld_ahost).


SELECT single DATUM
FROM SNAP
INTO @DATA(ld_datum).


SELECT single MANDT
FROM SNAP
INTO @DATA(ld_mandt).


SELECT single MODNO
FROM SNAP
INTO @DATA(ld_modno).


SELECT single UNAME
FROM SNAP
INTO @DATA(ld_uname).


SELECT single UZEIT
FROM SNAP
INTO @DATA(ld_uzeit).


"populate fields of struture and append to itab
append wa_it_dump_tbl to it_it_dump_tbl. . CALL FUNCTION 'RSSEARCHLOGS_LIST_ABAP_DUMP' EXPORTING ahost = ld_ahost datum = ld_datum mandt = ld_mandt modno = ld_modno uname = ld_uname uzeit = ld_uzeit TABLES it_dump_tbl = it_it_dump_tbl EXCEPTIONS NO_ENTRY_FOUND = 1 . " RSSEARCHLOGS_LIST_ABAP_DUMP
IF SY-SUBRC EQ 0. "All OK ELSEIF SY-SUBRC EQ 1. "Exception "Add code for exception here ENDIF.







ABAP code to compare 7.40 inline data declaration with original syntax

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_ahost  TYPE SNAP-AHOST ,
it_it_dump_tbl  TYPE STANDARD TABLE OF SUGRS3 ,
wa_it_dump_tbl  LIKE LINE OF it_it_dump_tbl,
ld_datum  TYPE SNAP-DATUM ,
ld_mandt  TYPE SNAP-MANDT ,
ld_modno  TYPE SNAP-MODNO ,
ld_uname  TYPE SNAP-UNAME ,
ld_uzeit  TYPE SNAP-UZEIT .


SELECT single AHOST
FROM SNAP
INTO ld_ahost.


"populate fields of struture and append to itab
append wa_it_dump_tbl to it_it_dump_tbl.

SELECT single DATUM
FROM SNAP
INTO ld_datum.


SELECT single MANDT
FROM SNAP
INTO ld_mandt.


SELECT single MODNO
FROM SNAP
INTO ld_modno.


SELECT single UNAME
FROM SNAP
INTO ld_uname.


SELECT single UZEIT
FROM SNAP
INTO ld_uzeit.

Contribute (Add Comments)

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 RSSEARCHLOGS_LIST_ABAP_DUMP or its description.