<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic AL11 - table behind in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/al11-table-behind/m-p/6722761#M1455696</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;which table is behind AL11? Table user_dir contains only some entries from AL11.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 02 Mar 2010 11:02:35 GMT</pubDate>
    <dc:creator>rainer_hbenthal</dc:creator>
    <dc:date>2010-03-02T11:02:35Z</dc:date>
    <item>
      <title>AL11 - table behind</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/al11-table-behind/m-p/6722761#M1455696</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;which table is behind AL11? Table user_dir contains only some entries from AL11.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Mar 2010 11:02:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/al11-table-behind/m-p/6722761#M1455696</guid>
      <dc:creator>rainer_hbenthal</dc:creator>
      <dc:date>2010-03-02T11:02:35Z</dc:date>
    </item>
    <item>
      <title>Re: AL11 - table behind</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/al11-table-behind/m-p/6722762#M1455697</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you look at program RSWATCH0 (AL11)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
  CALL 'C_SAPGPARAM' ID 'NAME'  FIELD 'DIR_ATRA'
                     ID 'VALUE' FIELD searchpoints-dirname.

  MOVE: 'DIR_ATRA'           TO gs_outtab-sap_dir,
        searchpoints-dirname TO gs_outtab-dirname.
  APPEND gs_outtab TO gt_outtab.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;a®&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Mar 2010 11:10:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/al11-table-behind/m-p/6722762#M1455697</guid>
      <dc:creator>former_member194669</dc:creator>
      <dc:date>2010-03-02T11:10:57Z</dc:date>
    </item>
    <item>
      <title>Re: AL11 - table behind</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/al11-table-behind/m-p/6722763#M1455698</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check program &lt;STRONG&gt;RSWATCH0&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
* get name of directory with the error files
  CALL 'C_SAPGPARAM' ID 'NAME'  FIELD 'DIR_HOME'
                     ID 'VALUE' FIELD searchpoints-dirname.

  MOVE: 'DIR_HOME'           TO gs_outtab-sap_dir,
        searchpoints-dirname TO gs_outtab-dirname.
  APPEND gs_outtab TO gt_outtab.
  CLEAR gs_outtab.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All directories are hard coded  directly  in different paths.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table &lt;STRONG&gt;USER_DIR&lt;/STRONG&gt; will store the directories only which we have created.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Mar 2010 11:13:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/al11-table-behind/m-p/6722763#M1455698</guid>
      <dc:creator>GauthamV</dc:creator>
      <dc:date>2010-03-02T11:13:19Z</dc:date>
    </item>
    <item>
      <title>Re: AL11 - table behind</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/al11-table-behind/m-p/6722764#M1455699</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Rainer,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had debugged the program RSWATCH0 which is behind AL11 tcode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will be surprised except the entries in USER_DIR all the other directories viz. DIR_DATA, DIR_DBMS, DIR_EXECUTABLE etc. are hardcoded by SAP &lt;SPAN __jive_emoticon_name="wink"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The kernel call is used like this to get the directory details:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CALL 'C_SAPGPARAM' ID 'NAME'  FIELD 'DIR_TEMP'
                    ID 'VALUE' FIELD searchpoints-dirname.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the user defined directories the code is like this :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;* get the name and aliases of ALL userdefined directories
    SELECT * FROM user_dir INTO isearchpoints
      WHERE svrname = my_name.
      APPEND isearchpoints.
    ENDSELECT.
    SELECT * FROM user_dir INTO isearchpoints
      WHERE svrname = 'all'.
      APPEND isearchpoints.
    ENDSELECT.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Suhas&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS: Not a good coding practice by SAP to hard code the app server directories. I am sure there might be some for this though &lt;SPAN __jive_emoticon_name="wink"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Suhas Saha on Mar 2, 2010 4:45 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Mar 2010 11:13:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/al11-table-behind/m-p/6722764#M1455699</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2010-03-02T11:13:43Z</dc:date>
    </item>
  </channel>
</rss>

