<?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 general in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/general/m-p/2175385#M461901</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what is the use of SY-DBCNT system variable .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 30 Apr 2007 09:24:05 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-04-30T09:24:05Z</dc:date>
    <item>
      <title>general</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/general/m-p/2175385#M461901</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what is the use of SY-DBCNT system variable .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Apr 2007 09:24:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/general/m-p/2175385#M461901</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-30T09:24:05Z</dc:date>
    </item>
    <item>
      <title>Re: general</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/general/m-p/2175386#M461902</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;sy-dbcnt - number of records processed in database table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;also chk this link&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="313603"&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Apr 2007 09:26:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/general/m-p/2175386#M461902</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-30T09:26:47Z</dc:date>
    </item>
    <item>
      <title>Re: general</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/general/m-p/2175387#M461903</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;PLEASE STOP MULTI-POSTING !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ASK YOUR QUESTIONS IN ONE THREAD !!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Stéphane.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Post Scriptum : Use "F1" key ....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Apr 2007 09:26:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/general/m-p/2175387#M461903</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-30T09:26:52Z</dc:date>
    </item>
    <item>
      <title>Re: general</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/general/m-p/2175388#M461904</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pinky, &lt;/P&gt;&lt;P&gt;  This system variable gives the count for number of records retrived from the database after a select query&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kasi S&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Apr 2007 09:27:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/general/m-p/2175388#M461904</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-30T09:27:37Z</dc:date>
    </item>
    <item>
      <title>Re: general</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/general/m-p/2175389#M461905</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi d_pinky,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-DBCNT - DB operations, number of table lines processed&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Apr 2007 09:27:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/general/m-p/2175389#M461905</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-30T09:27:45Z</dc:date>
    </item>
    <item>
      <title>Re: general</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/general/m-p/2175390#M461906</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;chk here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_46c/helpdata/en/7b/fb96c8882811d295a90000e8353423/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_46c/helpdata/en/7b/fb96c8882811d295a90000e8353423/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Reshma&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Apr 2007 09:28:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/general/m-p/2175390#M461906</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-30T09:28:00Z</dc:date>
    </item>
    <item>
      <title>Re: general</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/general/m-p/2175391#M461907</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is a system variable that holds the value of the number of records that were processed in the database. This variable is generally used in a program to get the no records read /updated via SELECT , INSERT &amp;amp; other db statements.&lt;/P&gt;&lt;P&gt;ex:&lt;/P&gt;&lt;P&gt;select count(*) from pa0001 where&lt;/P&gt;&lt;P&gt;                      endda = '99991231'/.&lt;/P&gt;&lt;P&gt;if sy-dbcnt eq 0.&lt;/P&gt;&lt;P&gt;write: / 0,  'employees selected'(t01).&lt;/P&gt;&lt;P&gt;else:&lt;/P&gt;&lt;P&gt;write: / sy-dbcnt,  'employees selected'(t01).&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;~Suresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Apr 2007 09:30:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/general/m-p/2175391#M461907</guid>
      <dc:creator>suresh_datti</dc:creator>
      <dc:date>2007-04-30T09:30:10Z</dc:date>
    </item>
    <item>
      <title>Re: general</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/general/m-p/2175392#M461908</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;AWARD POINTS and CLOSE THREADS....&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_46c/helpdata/en/7b/fb96c8882811d295a90000e8353423/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_46c/helpdata/en/7b/fb96c8882811d295a90000e8353423/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ABAP System Fields  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The ABAP system fields are active in all ABAP programs. They are filled by the runtime environment, and you can query their values in a program to find out particular states of the system. Although they are variables, you should not assign your own values to them, since this may overwrite information that is important for the normal running of the program. However, there are some isolated cases in which you may need to overwrite a system variable. For example, by assigning a new value to the field SY-LSIND, you can control navigation within details lists. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The names and data types of the system fields are contained in the ABAP Dictionary structure SYST. To address them in an ABAP program, use the form SY-. If you have deleted sessions, the system fills free numbers before increasing the count further. Sessions started using CALL TRANSACTION &amp;#133; STARTING NEW TASK begin again at 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-UNAME&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Username of the current user, such as KELLERH, BC400-01&amp;#133;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Information About Current Date and Time&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following system fields are always set automatically. The GET TIME statement synchronizes the time on the application server with the time on the database server and writes it to the field SY-UZEIT. SY-DATUM and the system fields for the local timezone (SY-TIMLO, SY-DATLO, and SY-ZONLO) are also reset. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-DATLO&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;User&amp;#146;s local date, for example 19981129, 19990628, &amp;#133;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-DATUM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Current application server date, for example 19981130, 19990627, &amp;#133;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-DAYST&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;X during summertime, otherwise space. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-FDAYW&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Factory calendar day of the week: Monday = 1 &amp;#133; Friday = 5.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-TIMLO&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;User&amp;#146;s local time, for example 154353, 225312, &amp;#133;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-TZONE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Time difference in seconds between local time and Greenwich Mean Time (UTC), for example, 360, 10800.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-UZEIT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Current application server time. for example 164353, 215312, &amp;#133;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-ZONLO&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;User&amp;#146;s time zone, for example, EST, UTC, &amp;#133;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Information About the Current ABAP Program&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-CALLD&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;X if the program was started using CALL TRANSACTION, CALL DIALOG, or SUBMIT &amp;#133; &lt;A href="AND RETURN"&gt;&lt;/A&gt;. Space if the program was started using LEAVE TO TRANSACTION or using a transaction code from a screen. SY-CALLD is always space when a batch input session is being processed. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-CPROG&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The name of the calling program in an external routine, otherwise the name of the current program. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-DBNAM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The name of the logical database linked to an executable program. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-DYNGR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Screen group to which the current screen belongs. You can assign several screens to one screen group, for example, to allow you to modify them all identically. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-DYNNR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Number of the current screen. During selection screen processing, SY-DYNNR contains the screen number of the current selection screen. During list processing, it contains the number of the container screen. During subscreen processing, SY-DYNNR contains the number of the subscreen. This also applies to tabstrip controls. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-LDBPG&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In executable programs, the database program of the associated logical database. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-REPID&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Name of the current ABAP program. For externally-called procedures, it is the name of the main program of the procedure. If you pass SY-REPID as an actual parameter to an external procedure, the formal parameter does not contain the name of the caller, but that of the main program of the procedure. To avoid this, assign SY-REPID to an auxiliary variable and use that in the call, or use the system field SY-CPROG.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-TCODE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The current transaction code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Background Processing&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-BATCH&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;X if the ABAP program is running in the background, otherwise space&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Batch Input&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-BINPT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;X while a batch input session is running and when an ABAP program is called using CALL TRANSACTION USING, otherwise space. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OPTIONS FROM in the CALL TRANSACTION USING statement can set SY-BINPT to space either for the entire duration of the program, or at the end of the BDC data. &lt;/P&gt;&lt;P&gt;SY-BINPT is always space during a CATT procedure.&lt;/P&gt;&lt;P&gt;                                                                                ABAP Programming&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Constants&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-ABCDE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Contains the alphabet. You can use this field with offset to retrieve a letter of the alphabet regardless of codepage. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-ULINE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Contains a horizontal line with length 255 that you can use when creating lists. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-VLINE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Contains a vertical line (|) that you can use when creating lists. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Loops&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-INDEX&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In a DO or WHILE loop, SY-INDEX contains the number of loop passes including the current pass.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Strings&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-FDPOS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Location of hit in string operations. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you use CO,CN, CA, NA, CS, NS, CP, and NP, offset values are assigned to SY-FDPOS depending on the search result.&lt;/P&gt;&lt;P&gt;SEARCH &amp;#133; FOR &amp;#133; sets SY-FDPOS to the offset of the search string. &lt;/P&gt;&lt;P&gt;Internal Tables&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-TABIX&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Current line of an internal table. SY-TABIX is set by the statements below, but only for index tables. The field is either not set or is set to 0 for hashed tables. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;APPEND sets SY-TABIX to the index of the last line of the table, that is, it contains the overall number of entries in the table. &lt;/P&gt;&lt;P&gt;COLLECT sets SY-TABIX to the index of the existing or inserted line in the table. If the table has the type HASHED TABLE, SY-TABIX is set to 0.&lt;/P&gt;&lt;P&gt;LOOP AT sets SY-TABIX to the index of the current line at the beginning of each loop lass. At the end of the loop, SY-TABIX is reset to the value that it had before entering the loop. It is set to 0 if the table has the type HASHED TABLE. &lt;/P&gt;&lt;P&gt;READ TABLE sets SY-TABIX to the index of the table line read. If you use a binary search, and the system does not find a line, SY-TABIX contains the total number of lines, or one more than the total number of lines. SY-INDEX is undefined if a linear search fails to return an entry. &lt;/P&gt;&lt;P&gt;SEARCH  0. The field is automatically increased by one in each interactive list event. You may change the value of SY-LSIND yourself in the program to enable you to navigate between lists. Changes to SY-LSIND do not take effect until the end of a list event. It is therefore a good idea to place the relevant statement at the end of the corresponding processing block. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-LSTAT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Program-controlled name for list levels. You can assign values to SY-LSTAT during list creation. The value of SY-LSTAT when the list is finished is saved with the list. In an interactive list event, SY-LSTAT is set to the value assigned to it during creation of the list in which the event occurred. SY-LSTAT is no longer maintained, and you should not use it in your programs. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-STACO&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Number of the first displayed column of the list from which the event was triggered. The counter begins at 1. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-STARO&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Number of the topmost displayed line of the topmost displayed page of the list from which the event was triggered. The counter begins at 1, not including the page header. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Printing Lists&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you print lists, the spool and runtime systems require certain internal information that is set in the following system fields when you start printing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-CALLR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Contains a value indicating where printing was started, for example, NEW-PAGE for program-controlled printing, or RSDBRUNT for printing from a selection screen. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-PRDSN&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Contains the name of the spool file during printing. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-SPONO&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Contains the spool number during printing. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-MAROW, SY-MACOL&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The SET MARGIN statement fills the system fields SY-MAROW and SY-MACOL. These determine the number of lines in the top margin and the number of columns in the left-hand margin respectively.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Print Parameters&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The print parameters are passed to the spool system by the runtime environment, using a structure with the ABAP Dictionary type PRI_PARAMS. Before this structure existed, system fields were used instead. When you start printing, some of the fields from PRI_PARAMS are still written into system fields with the same names. However, you should not use these system fields yourself. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Messages&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When the MESSAGE statement occurs, the following system fields are set. When the MESSAGE &amp;#133; RAISING statement occurs in a function module or method, these fields are also set in the calling program if it is to handle the exception. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-MSGID&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-MSGID contains the message class&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-MSGNO&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-MSGNO contains the message number&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-MSGTY&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-MSGTY contains the message type&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-MSGV1,&amp;#133;,SY-MSGV4&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-MSGV1 to SY-MSGV4 contain the fields used to replace the placeholders in the message. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Special Actions that Fill Message Fields&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you use an ENQUEUE function module to set a lock, and the FOREIGN_LOCK exception occurs, the field SY-MSGV1 contains the name of the owner of the lock. &lt;/P&gt;&lt;P&gt;When you use CALL TRANSACTION or CALL DIALOG with the USING addition, a message that occurs during the screen chain is returned in the fields SY-MSGID, SY-MSGTY, SY-MSGNO, and SY-MSGV1 ... SY-MSGV4.&lt;/P&gt;&lt;P&gt;In Remote Function Call (RFC), error messages are retrieved from the remote system and placed in the system fields SY-MSGID, SY-MSGTY, SY-MSGNO,SY-MSGV1, SY-MSGV2, SY-MSGV3, SY-MSGV4. The fields are also set when a short dump or a message with type X occurs.&lt;/P&gt;&lt;P&gt;                                                                                Internal System Fields&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Internal system fields are exclusively for internal use in the ABAP runtime environment and the system kernel. They must not be overwritten in any circumstances, and should also not be read in ABAP programs. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-CFWAE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Undocumented&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-CHWAE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Undocumented&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-DEBUG&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Undocumented&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-DSNAM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;File name for spool output&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-ENTRY&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Undocumented&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-FFILE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Flat file (USING/GENERATING DATASET).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-FLENG&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Length of a field&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-FODEC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Number of decimal places in a field&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-FOLEN&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Output length of a field &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-FTYPE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data type of a field&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-GROUP&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bundling&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-INPUT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Undocumented&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-LPASS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Undocumented&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-NEWPA&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Undocumented&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-NRPAG&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Undocumented&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-ONCOM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Undocumented&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-PAUTH&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Undocumented&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-PLAYO&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Undocumented&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-PLAYP&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Undocumented&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-PNWPA&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Undocumented&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-PRI40&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Undocumented&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-PRINI&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Undocumented&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-PRLOG&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Undocumented&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-REPI2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Undocumented&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-RSTRT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Undocumented&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-SFOFF&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Undocumented&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-SUBCS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Call status of an executable program &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-SUBTY&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Call type of an executable program &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-TABID&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Undocumented&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-TLOPC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Undocumented&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-TSTIS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Undocumented&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-XCODE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Extended function code, filled by user actions on a list (like SY-UCOMM). Before the length of SY-UCOMM was extended from 4 to 70 characters, SY-XCODE was used internally to accommodate long entries in the command field. You should always use SY-UCOMM in application programs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-XFORM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SYSTEM-EXIT subroutine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-XPROG&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SYSTEM-EXIT program.                                                                                &lt;/P&gt;&lt;P&gt;Obsolete System Fields&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Some of the system fields in the R/3 System were originally adopted from R/2, but are no longer filled with values. They are obsolete, and must not (indeed cannot) be used. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-APPLI&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;R/2 - ID for the SAP applications installed. Not filled in R/3. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-BATZD&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;R/2 - flag for daily background scheduling. Not filled in R/3. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-BATZM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;R/2 - flag for monthly background scheduling. Not filled in R/3. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-BATZO&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;R/2 - flag for one-time background scheduling. Not filled in R/3. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-BATZS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;R/2 - flag for immediate background scheduling. Not filled in R/3. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-BATZW&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;R/2 - flag for weekly background scheduling. Not filled in R/3. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-BREP4&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;R/2 - root name of the report requesting background processing. Not filled in R/3. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-BSPLD&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;R/2 - flag for spool output from background processing. Not filled in R/3. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-CCURS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;R/2 - exchange rate and result field for CURRENCY CONVERSION. Not filled in R/3. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-CCURT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;R/2 - table exchange rate for CURRENCY CONVERSION. Not filled in R/3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-CDATE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;R/2 - exchange rate date for CURRENCY CONVERSION. Not filled in R/3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-CTABL&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;R/2 - exchange rate table for CURRENCY CONVERSION. Not filled in R/3. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-CTYPE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;R/2 - exchange rate type for CURRENCY CONVERSION. Not filled in R/3. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-DCSYS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dialog system of the R/2 System. Not filled in R/3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-FMKEY&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Formerly the current function code menu. Not filled in R/3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-LOCDB&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Local database. Not implemented. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-LOCOP&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Local database operation. Not implemented. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-MACDB&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Formerly the file name for matchcode access. Not filled in R/3. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-MARKY&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Current line letter for the MARK statement. The MARK statement will not be supported for much longer. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-TMAXL&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Formerly the maximum number of entries in an internal table. Not filled in R/3. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-TFDSN&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Formerly the name of an external storage file for extracts. Not filled in R/3. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-PAGCT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;R/2 - the maximum number of pages per list. Not filled in R/3. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-PREFX&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ABAP prefix for background jobs. Not filled in R/3. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-SFNAM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Undocumented&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-SPONR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In R/2, you could process spool files with the TRANSFER statement, which also set SY-SPONR. Not filled in R/3. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-TNAME&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Formerly the name of an internal table following access. Not filled in R/3. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-TTABC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Formerly the index of the last line of an internal table to be read. Not filled in R/3. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-TTABI&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Formerly the offset of internal tables in the roll area. Not filled in R/3. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-TPAGI&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Formerly flagged whether an internal table had been moved to the paging area. Not filled in R/3. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-WAERS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Formerly the company code currency after reading a posting segment. Not filled in R/3. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-WILLI&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;R/2 - the number of the list line selected from a detail list. Use SY-LILLI instead. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-WINCO&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;R/2 - cursor position on a detail list. Use SY-CUCOL instead. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-WINDI&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;R/2 - index of the list for a detail list. Use SY-LSIND instead. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-WINRO&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;R/2 - cursor position for a detail list. Use SY-CUROW instead. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-WINSL&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;R/2 - contents of the selected line for detail list in a window. Use SY-LISEL instead. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-WINX1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;R/2 - window coordinates for a detail list in a window. No corresponding field in R/3. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-WINX2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;R/2 - window coordinates for a detail list in a window. No corresponding field in R/3. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-WINY1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;R/2 - window coordinates for a detail list in a window. No corresponding field in R/3. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-WINY2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;R/2 - window coordinates for a detail list in a window. No corresponding field in R/3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Apr 2007 09:36:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/general/m-p/2175392#M461908</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-30T09:36:40Z</dc:date>
    </item>
    <item>
      <title>Re: general</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/general/m-p/2175393#M461909</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pinky,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sy-DBCNT will give the number of database records processed.'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if it is helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sangeetha.A&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Apr 2007 09:47:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/general/m-p/2175393#M461909</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-30T09:47:32Z</dc:date>
    </item>
  </channel>
</rss>

