ABAP关键字一览

Posted china_wangxiaowen

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了ABAP关键字一览相关的知识,希望对你有一定的参考价值。

    O                            Relational operator: Byte positions occupied by 1
    OBJECT                       External object
      CREATE OBJECT              Generate
      FREE OBJECT                Release
    OCCURS                       Defines an
      TYPES                      internal table type
      DATA                       internal table object
    ON CHANGE                    Control break
    OPEN                         Open file/cursor
    OR                           Relational operator: OR
    ORDER BY                     Order lines (SELECT)
    OVERLAY                      Overlay strings
    PACK                         Conversion
    PARAMETER                    Parameter in global SAP memory
      GET                        Read parameter
      SET                        Set parameter
    PARAMETERS                   Define report parameters
    PERFORM                      Execute subroutine
    PF-STATUS                    Set GUI status
    POSITION                     List processing: Define output position
    PRINT                        Print formatting (NEW-PAGE)
    PRINT-CONTROL                Define print format
    PROGRAM                      Introduce program
      LEAVE PROGRAM              Leave program
    PROPERTY                     Object property
      GET PROPERTY               Get property
      SET PROPERTY               Set property
    PROVIDE                      Internal tables: Interval-related processing
    PUT                          (logical database)Trigger event
    RADIOBUTTON                  Radio button (PARAMETERS)
    RAISE                        Raise exception in function module
    RAISING                      Raise error message in function module
    RANGES                       Define internal table for selection criterion
    READ                         Read tables or objects
    RECEIVE                      Receive results (RFC)
    REFRESH                      Delete internal table
    REFRESH CONTROL              Initialize control
    REFRESH SCREEN               Refresh SAPGUI
    REJECT                       Do not process current database line further
    REPLACE                      Replace strings
    REPORT                       Introduce report (program)
      DELETE REPORT             Delete program
      EDITOR-CALL FOR REPORT     Call ABAP/4 program editor
      INSERT REPORT             Insert program in library
      READ REPORT               Read program
    RESERVE                      List processing: Conditional new page
    RESET                        Output format: Reset all formats (FORMAT)
    RIGHT-JUSTIFIED              Output format: Right justified (WRITE)
    ROLLBACK                     Roll back database changes
    ROUND                        Output format: Scaled (WRITE)
    RUN TIME ANALYZER            Switch runtime analysis on/off (SET)
    SCAN                         Analyze ABAP/4 source code
    SCREEN                       Screen
      CALL SCREEN                Call screen
      SET SCREEN                 Set next screen
      LEAVE SCREEN               Leave screen
      LEAVE TO SCREEN            Branch to a screen
      LOOP AT SCREEN             Loop through screen fields
      MODIFY SCREEN              Modify screen fields
          REFRESH SCREEN         Refresh the SAPGUI
    SCROLL                       List processing: Scroll
    SCROLL-BOUNDARY              List processing: Fix lead columns (SET)
    SEARCH                       Find string
    SELECT                       Read database table
    SELECT-OPTIONS               Define selection criterion
    SELECTION-SCREEN             Design selection screen
      AT SELECTION-SCREEN        Event: After editing of selection screen
    SHARED BUFFER                Cross-transaction application buffer
      DELETE FROM SHARED BUFFER     delete from application buffer
      EXPORT ... TO SHARED BUFFER   store data in application buffer
      IMPORT ... FROM SHARED BUFFER read from application buffer
    SELECTION-TABLE              Selection table (SUBMIT)
    SET                          Set different processing parameters
    SHIFT                        Move string
    SIGN                         Mathematical function: Sign (COMPUTE)
    SIN                          Mathematical function: Sine (COMPUTE)
    SELECT SINGLE                Select single record
    SINH                         Mathematical function: Hyperbola sine (COMPUTE)
    SKIP                         List processing: Output blank line
    SORT                         Sort internal table or extract dataset
    SORTED TABLE                 Table type for internal tables that are always kept sorted
    SPLIT                        Split string
    SQRT                         Mathematical function: Square root (COMPUTE)
    STANDARD TABLE               Table type for standard internal tables
    START-OF-SELECTION           Event: Before first access to LDB
    STATICS                      Define static data
    STOP                         Stop data selection (LDB)
    STRLEN                       String function: Current length (COMPUTE)
    STRUCTURE                    Data structure
      INCLUDE STRUCTURE          Use structure
    SUBMIT                       Program call
    SUBTRACT                     Subtract
    SUBTRACT-CORRESPONDING       Field string subtraction
    SUM                          Calculate control total
      SELECT ... SUM             Aggregate expression: Total
    SUPPRESS DIALOG              Suppress dialog
    SYMBOL                       Output as symbol (WRITE)
    SYNTAX-CHECK                 Syntax check for programs and screens
    SYNTAX-TRACE                 Syntax check log
    SYSTEM-CALL                  Call to various system services
    SYSTEM-EXCEPTIONS            Catch runtime errors (CATCH)
    TABLES                       Declare database table
    TABLE                        Set or array operations for database tables
      DELETE ... FROM TABLE      Delete block of lines
      INSERT ... FROM TABLE      Insert block of lines
      MODIFY ... FROM TABLE      Insert/update block of lines
      UPDATE ... FROM TABLE      Update block of lines
      SELECT ... INTO TABLE      Copy block of lines to internal table
    TAN                          Mathematical function: Tangent (COMPUTE)
    TANH                         Mathematical function: Hyperbola tangent (COMPUTE)
    TEXT                         Locale-specific
      CONVERT TEXT               Set format
      SORT itab AS TEXT          Sort an internal table
      SORT AS TEXT               Sort an extract dataset
    TEXTPOOL                     Text elements
      DELETE TEXTPOOL            Delete
      INSERT TEXTPOOL            Insert
      READ TEXTPOOL              Read
    TIME                         Time measurement
      GET RUN TIME               Get runtime
      GET TIME                   Get time
      SET RUN TIME ANALYZER     Switch runtime analysis on/off
    TITLEBAR                     Set screen title (SET)
    TOP-OF-PAGE                  Event: Top of page handling in lists
    TRANSACTION                  SAP transaction
      CALL TRANSACTION           Call
      LEAVE TO TRANSACTION       Leave to
    TRANSFER                     Output to file
    TRANSLATE                    Character conversion in strings
    TRANSPORTING                 Selective field transport
      MODIFY ... TRANSPORTING   Modify lines of an internal table
      READ   ... TRANSPORTING   Read lines of an internal table
      LOOP   ... TRANSPORTING   Loop through an internal table
    TRUNC                        Mathematical function: Whole number part (COMPUTE)
    TYPE                         Define a type
      TYPES ... TYPE             Define a type
      DATA ... TYPE              Define a field
    TYPE-POOL                    Introduce type group
    TYPE-POOLS                   Integrate a type group
    TYPES                        Define types
    ULINE                        List processing: Underscore
    UNDER                        Output format: One under the other (WRITE)
    UNIQUE                       Define an
      TYPES                      internal table type
      DATA                       internal table object
    UNIT                         Output format: Unit (WRITE)
    UNPACK                       Conversion
    UPDATE                       Update database table
    USER-COMMAND                 List processing: Execute command immediately (SET)
    USING                        Use parameter or format
      USING                      Parameter of a subroutine
      USING EDIT MASK            Output format: Use template (WRITE)
    VALUE-REQUEST                Self-programmed value help (F4)
      PARAMETERS ... VALUE-REQUEST        for parameters
      SELECT-OPTIONS ... VALUE-REQUEST    for selection options
    WHEN                         Case distinction
      SELECT ... WHERE           when reading from database tables
      UPDATE ... WHERE           when changing database tables
      DELETE ... WHERE           when deleting database tables
      LOOP AT ... WHERE          when looping at internal tables
      DELETE ... WHERE           when deleting from internal tables

    WHILE                        Loop
    WINDOW                       List processing: Output in window
    WITH-TITLE                   Output standard page header (NEW-PAGE)
    WORK                         Processing unit
      COMMIT WORK                Close unit
      ROLLBACK WORK              Close unit, but undo changes
    WRITE                        List processing: Output
    WRITE TO                     Correct type output in a variable
    Z                            Relational operator: Byte positions occupied by 0

以上是关于ABAP关键字一览的主要内容,如果未能解决你的问题,请参考以下文章

怎样判断一个单词是否ABAP中的关键字

SAP ABAP 编辑器不显示关键字是啥原因?

第一篇SAP ABAP7.50新语法之预定义数据结构

ABAP的include关键字,Java的import, C的include和C4C ABSL 的i

ABAP中的报出消息语句的关键字是啥?请至少说出三种消息类型.消息文本使用哪个TC

ABAP的include关键字,Java的import, C的include和C4C ABSL 的import比较