<?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 Re: About System function in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/about-system-function/m-p/906626#M56227</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Of course, I know that... and I read the document for it.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;I try to check out who's come and out in my system.&lt;/P&gt;&lt;P&gt;so, I am tring to proram using customer exit, "SUSR0001".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and I need some information about user.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;that's why I try to call 'THUSRINFO'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;anyway, I want to know what does "list-&lt;STRONG&gt;sys&lt;/STRONG&gt;" mean?&lt;/P&gt;&lt;P&gt;I've never seen like this. please, if you know this,&lt;/P&gt;&lt;P&gt;explain to me~~^^&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;kyung woo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 28 Apr 2005 09:15:05 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-04-28T09:15:05Z</dc:date>
    <item>
      <title>About System function</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/about-system-function/m-p/906624#M56225</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;let me ask you something.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to get some information about users. so, I tri to&lt;/P&gt;&lt;P&gt;use cfuntion 'ThUsrInfo'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I found some example like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data: begin of list occurs 0.
        include structure uinfo.
data: end   of list.

call 'ThUsrInfo' id 'OPCODE' field opcode_list
                 id 'TAB'    field list-*sys*.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;would you explain how to use this. and &lt;/P&gt;&lt;P&gt;what does "list-&lt;STRONG&gt;sys&lt;/STRONG&gt;" mean? when I look at the structure&lt;/P&gt;&lt;P&gt;list... there is no field like that~~&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Apr 2005 07:42:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/about-system-function/m-p/906624#M56225</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-04-28T07:42:57Z</dc:date>
    </item>
    <item>
      <title>Re: About System function</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/about-system-function/m-p/906625#M56226</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Kyung Woo Nam,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You &amp;lt;b&amp;gt;MUST&amp;lt;/b&amp;gt; not use the C - Functions in your program. SAP mentions the fact very very clearsly in the Online Documentation as well as in the Key Word Documentation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can see that you have obtained this piece of code from the Function Module THUSRINFO. Why don't you use the function module instead ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, if you are asking this just for the sake of curiousity, then you must refer to the Keyword documentation in SAP. Just place your curcor on the word CALL and hit F1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anand Mandalika.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Apr 2005 08:16:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/about-system-function/m-p/906625#M56226</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-04-28T08:16:16Z</dc:date>
    </item>
    <item>
      <title>Re: About System function</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/about-system-function/m-p/906626#M56227</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Of course, I know that... and I read the document for it.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;I try to check out who's come and out in my system.&lt;/P&gt;&lt;P&gt;so, I am tring to proram using customer exit, "SUSR0001".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and I need some information about user.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;that's why I try to call 'THUSRINFO'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;anyway, I want to know what does "list-&lt;STRONG&gt;sys&lt;/STRONG&gt;" mean?&lt;/P&gt;&lt;P&gt;I've never seen like this. please, if you know this,&lt;/P&gt;&lt;P&gt;explain to me~~^^&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;kyung woo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Apr 2005 09:15:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/about-system-function/m-p/906626#M56227</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-04-28T09:15:05Z</dc:date>
    </item>
    <item>
      <title>Re: About System function</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/about-system-function/m-p/906627#M56228</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Okay...got that...but I would still recommend that you use the FM(s).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Coming to your question, I hope this answer will be satisfactory...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CALL 'ThUsrInfo' ID 'OPCODE' FIELD OPCODE
                 ID 'TAB' FIELD USR_TABL-*SYS*.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The above statement, as you know is a direct call to the SAP Kernel. There will be a Function that is written in C somewhere deep inside the kernel and the above statement is going to call that function and get you the result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, if you have consider the part &amp;lt;b&amp;gt;ID 'TAB' FIELD USR_TABL-&lt;STRONG&gt;SYS&lt;/STRONG&gt;&amp;lt;/b&amp;gt;, USR_TABL is a tables parameter for a function module in this case. So USR_TABL itself actually stands for the header line of the table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the C function that you are calling is going to return you a &amp;lt;i&amp;gt;table&amp;lt;/i&amp;gt; of users. So you will have to specify a table in your C-Call too. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Normally, you will refer to the table part as &amp;lt;b&amp;gt;USR_TABL[]&amp;lt;/b&amp;gt;. And here, that works equally well. In fact, in your own program, you can actually replace USR_TABL-&lt;STRONG&gt;SYS&lt;/STRONG&gt; with USR_TABL[].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;USR_TABL-&lt;STRONG&gt;SYS&lt;/STRONG&gt; is just another way of referring to the body of an internal table, exclusively for the purposes of the C-Function call. You can see some other examples like :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;  CALL 'ThSysInfo' ID 'OPCODE'      FIELD OPCODE_SEND_ADM_MSG
                   ID 'LEVEL'       FIELD ILEVEL
                   ID 'SEND_MODE'   FIELD SEND_MODE
                   ID 'SERVER_NAME' FIELD SERVER_NAME
                   ID 'TYPES'       FIELD SERVER_TYPES
                   ID 'WAIT'        FIELD WAIT
                   ID 'REQ_TBL'     FIELD IN_DATA-*SYS*
                   ID 'RSP_TBL'     FIELD OUT_DATA-*SYS*.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You do not find it documented  because it is not supposed to be used by a programmer. Personally, I had done some research some time back (when I got the same doubt as you have got now) and have shared with you what I found.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anand Mandalika.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Apr 2005 09:50:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/about-system-function/m-p/906627#M56228</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-04-28T09:50:05Z</dc:date>
    </item>
    <item>
      <title>Re: About System function</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/about-system-function/m-p/906628#M56229</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is an old post by now; but thanks Anand for posting the extra info. It really helped answer a curious question of mine also &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Nov 2005 00:48:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/about-system-function/m-p/906628#M56229</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-03T00:48:56Z</dc:date>
    </item>
  </channel>
</rss>

