Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>I strongly suspect that the only way to get these values is through the kernel directly. some of them can vary depending on the application server, so you probably won't be able to find them in the database. You could try this:</p> <pre><code>TYPE-POOLS abap. TYPES: BEGIN OF t_directory, log_name TYPE dirprofilenames, phys_path TYPE dirname_al11, END OF t_directory. DATA: lt_int_list TYPE TABLE OF abaplist, lt_string_list TYPE list_string_table, lt_directories TYPE TABLE OF t_directory, ls_directory TYPE t_directory. FIELD-SYMBOLS: &lt;l_line&gt; TYPE string. START-OF-SELECTION-OR-FORM-OR-METHOD-OR-WHATEVER. * get the output of the program as string table SUBMIT rswatch0 EXPORTING LIST TO MEMORY AND RETURN. CALL FUNCTION 'LIST_FROM_MEMORY' TABLES listobject = lt_int_list. CALL FUNCTION 'LIST_TO_ASCI' EXPORTING with_line_break = abap_true IMPORTING list_string_ascii = lt_string_list TABLES listobject = lt_int_list. * remove the separators and the two header lines DELETE lt_string_list WHERE table_line CO '-'. DELETE lt_string_list INDEX 1. DELETE lt_string_list INDEX 1. * parse the individual lines LOOP AT lt_string_list ASSIGNING &lt;l_line&gt;. * If you're on a newer system, you can do this in a more elegant way using regular expressions CONDENSE &lt;l_line&gt;. SHIFT &lt;l_line&gt; LEFT DELETING LEADING '|'. SHIFT &lt;l_line&gt; RIGHT DELETING TRAILING '|'. SPLIT &lt;l_line&gt;+1 AT '|' INTO ls_directory-log_name ls_directory-phys_path. APPEND ls_directory TO lt_directories. ENDLOOP. </code></pre>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload