Common ABAP Variables

Source: Internet
Author: User

tag: cpage OS data art Re C

SY-ABCDE constant, A-Z alphabet
SY-BATCH background program running
SY-COLNO: column Number of the currently selected column
current display page of The SY-CPAGE list
SY-CUCOL screen, horizontal cursor position of PAI
SY-CUROW: select a row cursor column position
sy-DATAR: In Pai, if at least one input field value is changed by the user or another data transmission, it is "X", otherwise it is the initial value.
sy-datlo: User's current date
SY-DATUM server date
SY-DYNNR current screen number
Number of SY-INDEX loops (do while)
SY-LANGU current logon language
SY-LILLI: select a row cursor row position
SY-LINCT current report length (line-count set in reprot Statement)
row number of the row currently selected by the SY-LINNO
SY-LINSZ current report width (line-size set in the reprot statement)
contents of the row selected by the SY-LISEL, 255-length
index of a list on the SY-LISTI
SY-LOOPC: Total number of rows on the screen of the current table control
SY-LSIND: Current List Index, level 1 List is 1
SY-MSGID message, message class
SY-MSGTY message, Message Type
SY-MSGNO message, message number
SY-MSGV1 message, message variable 1
SY-MSGV2 message, message variable 2
SY-MSGV3 message, message variable 3
SY-MSGV4 message, message variable 4
SY-PAGNO current page number
SY-SCOLS: Number of list columns in the current window
SY-SLSET select the variable name of the screen
SY-SROWS: number of rows in the current window
SY-STARO real number
SY-STEPL: returns the number of rows on the screen for the current operation (Table Control)
SY-SUBRC execution status
SY-TABIX index of the inner table currently processed
SY-TCODE current transaction Code
SY-UCOMM: function Code of PAI
SY-ULINE horizontal line
SY-UNAME username
SY-UZEIT server time
SY-VLINE vertical line


common functions
21. Shift string: Left-shifted string. Length minus 1.
22. concatenate: connection string.
23. Split: Split string.
24. Search: query string.
25. Replace: Replace the string.
26. Condense: Delete unnecessary spaces.
27. Translate: Convert the character format. For example, convert 'abc' to 'abc'.
28. convert text: Create a sortable string.
29. Overlay: overlay another string with one string.
30. strlen: String Length.
31. Abs: returns the absolute value.
32. Cos, sin, and Tan: trigonometric function value.
33. ACOs, asin, and atan: inverse trigonometric function.
34. cosh, Sinh, And Tanh: hyperbolic functions.
35. Exp: power function of E.
36. Log: The base number is the logarithm of E.
37. log10: base number is the logarithm of 10.
38. SQRT: square root.
39. Sign: The parameter symbol is returned.
40. trunc: return the integer part of the parameter.
41. frac: fractional part of the input parameter.
42. Ceil: return the smallest integer not less than the parameter.
43. Floor: return a minimum integer not greater than the value of the parameter.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.