ABAP ICON

本文介绍了在ABAP编程中输出图标的三种方法,并提供了图标定义的代码参考,帮助开发者更好地在ABAP环境中实现图形展示。
摘要由CSDN通过智能技术生成

1、输出图标的3种方法

 

WRITE: / '@09@'. "id
WRITE: / icon_yellow_light. "name
WRITE: / '@S_TL_Y@'. "内部名称//可以通过se38 执行showicon 查看icon的内部名称

附录:图标定义代码

TYPE-POOL ICON.
INCLUDE >ICON<.
*
*                     DEFINITION OF ICONS
*
*Icon_Length                           ID
*      Name                                     Quickinfo
ICON_2 ICON_DUMMY                     '@00@'."  Placeholder icon
ICON_2 ICON_CHECKED                   '@01@'."  Checked; Okay
ICON_2 ICON_INCOMPLETE                '@02@'."  Incomplete; Critical
ICON_2 ICON_FAILURE                   '@03@'."  Failure
ICON_2 ICON_POSITIVE                  '@04@'."  Positive; Good
ICON_2 ICON_NEGATIVE                  '@05@'."  Negative; Bad
ICON_2 ICON_LOCKED                    '@06@'."  Locked
ICON_2 ICON_UNLOCKED                  '@07@'."  Unlocked
ICON_4 ICON_GREEN_LIGHT               '@08@'."  Green light; Go; OK
ICON_4 ICON_YELLOW_LIGHT              '@09@'."  Yellow light; Caution
ICON_4 ICON_RED_LIGHT                 '@0A@'."  Red light; Negative
ICON_2 ICON_TOTAL_LEFT                '@0B@'."  Move to far left; First...
ICON_2 ICON_TOTAL_RIGHT               '@0C@'."  Move to far right; Last...
ICON_2 ICON_COLUMN_LEFT               '@0D@'."  One column to left; Previous...
ICON_2 ICON_COLUMN_RIGHT              '@0E@'."  One column to right; Next...
ICON_2 ICON_PAGE_RIGHT                '@0F@'."  Page right
ICON_2 ICON_PAGE_LEFT                 '@0G@'."  Page left
ICON_2 ICON_PREVIOUS_VALUE            '@0H@'."  Previous value; Next entry
ICON_2 ICON_NEXT_VALUE                '@0I@'."  Next value; Previous entry
ICON_2 ICON_ANNOTATION                '@0J@'."  Note; Change note
ICON_2 ICON_CREATE_NOTE               '@0K@'."  Create note
ICON_2 ICON_DISPLAY_NOTE              '@0L@'."  Display note
ICON_2 ICON_CALCULATION               '@0M@'."  Calculate
ICON_2 ICON_GRAPHICS                  '@0N@'."  Graphic
ICON_2 ICON_CREATE_TEXT               '@0O@'."  Create text
ICON_2 ICON_DISPLAY_TEXT              '@0P@'."  Display text
ICON_2 ICON_CHANGE_TEXT               '@0Q@'."  Change text; Long text
ICON_2 ICON_VARIANTS                  '@0R@'."  Variants
ICON_2 ICON_INFORMATION               '@0S@'."  Information
ICON_2 ICON_ADDRESS                   '@0T@'."  Address
ICON_2 ICON_VIEWER_OPTICAL_ARCHIVE    '@0U@'."  Optical archive viewer
ICON_2 ICON_OKAY                      '@0V@'."  OK; Continue; Choose Value
ICON_2 ICON_CANCEL                    '@0W@'."  Cancel
ICON_2 ICON_PRINT                     '@0X@'."  Print
ICON_2 ICON_CREATE                    '@0Y@'."  Create
ICON_2 ICON_CHANGE                    '@0Z@'."  Change
ICON_2 ICON_DISPLAY                   '@10@'."  Display
ICON_2 ICON_DELETE                    '@11@'."  Delete
ICON_2 ICON_TEST                      '@12@'."  Test
ICON_2 ICON_SEARCH                    '@13@'."  Find
ICON_2 ICON_COPY_OBJECT               '@14@'."  Copy Object
ICON_2 ICON_EXECUTE_OBJECT            '@15@'."  Execute Object
ICON_2 ICON_SELECT_DETAIL             '@16@'."  Choose Object's Details
ICON_2 ICON_INSERT_ROW                '@17@'."  Insert row
ICON_2 ICON_DELETE_ROW                '@18@'."  Delete row
ICON_4 ICON_MESSAGE_INFORMATION       '@19@'."  Information message
ICON_4 ICON_MESSAGE_WARNING           '@1A@'."  Warning
ICON_4 ICON_MESSAGE_ERROR             '@1B@'."  Error message
ICON_4 ICON_MESSAGE_QUESTION          '@1C@'."  Question
ICON_4 ICON_MESSAGE_CRITICAL          '@1D@'."  Critical message
ICON_2 ICON_DISPLAY_MORE              '@1E@'."  Multiple selection (active)
ICON_2 ICON_ENTER_MORE                '@1F@'."  Multiple selection
ICON_2 ICON_EQUAL                     '@1G@'."  Equal to
ICON_2 ICON_NOT_EQUAL                 '@1H@'."  Not equal to
ICON_2 ICON_GREATER                   '@1I@'."  Greater than
ICON_2 ICON_LESS                      '@1J@'."  Less than
ICON_2 ICON_GREATER_EQUAL             '@1K@'."  Greater than or equal to
ICON_2 ICON_LESS_EQUAL                '@1L@'."  Less than or equal to
ICON_2 ICON_INTERVAL_INCLUDE          '@1M@'."  Include interval
ICON_2 ICON_INTERVAL_EXCLUDE          '@1N@'."  Exclude interval
ICON_2 ICON_PATTERN_INCLUDE           '@1O@'."  Include pattern
ICON_2 ICON_PATTERN_EXCLUDE           '@1P@'."  Exclude pattern
ICON_2 ICON_PHONE                     '@1Q@'."  Telephone number
ICON_2 ICON_FAX                       '@1R@'."  Fax number
ICON_2 ICON_MAIL                      '@1S@'."  Send message; Mail
ICON_2 ICON_TIME                      '@1T@'."  Time of day
ICON_2 ICON_DATE                      '@1U@'."  Date
ICON_2 ICON_ALARM                     '@1V@'."  Alarm
ICON_2 ICON_PROSHARE                  '@1W@'."  Activate ProShare
ICON_2 ICON_VIDEO                     '@1X@'."  Video
ICON_2 ICON_VOICE_INPUT               '@1Y@'."  Voice input
ICON_2 ICON_VOICE_OUTPUT              '@1Z@'."  Voice output
ICON_2 ICON_EQUAL_GREEN               '@20@'."  Select: Equal to
ICON_2 ICON_NOT_EQUAL_GREEN           '@21@'."  Select: Not equal to
ICON_2 ICON_GREATER_GREEN             '@22@'."  Select: Greater than
ICON_2 ICON_LESS_GREEN                '@23@'."  Select: Less than
ICON_2 ICON_GREATER_EQUAL_GREEN       '@24@'."  Select: Greater than or equal t
ICON_2 ICON_LESS_EQUAL_GREEN          '@25@'."  Select: Less than or equal to
ICON_2 ICON_INTERVAL_INCLUDE_GREEN    '@26@'."  Select: Include interval
ICON_2 ICON_INTERVAL_EXCLUDE_GREEN    '@27@'."  Select: Exclude interval
ICON_2 ICON_PATTERN_INCLUDE_GREEN     '@28@'."  Select: Include pattern
ICON_2 ICON_PATTERN_EXCLUDE_GREEN     '@29@'."  Select: Exclude pattern
ICON_2 ICON_EQUAL_RED                 '@2A@'."  Do not select: Equal to
ICON_2 ICON_NOT_EQUAL_RED             '@2B@'."  Do not select: Not equal to
ICON_2 ICON_GREATER_RED               '@2C@'."  Do not select: Greater than
ICON_2 ICON_LESS_RED                  '@2D@'."  Do not select: Less than
ICON_2 ICON_GREATER_EQUAL_RED         '@2E@'."  Do not select: Greater than/equ
ICON_2 ICON_LESS_EQUAL_RED            '@2F@'."  Do not select: Less than/equal
ICON_2 ICON_INTERVAL_INCLUDE_RED      '@2G@'."  Do not select: Include interval
ICON_2 ICON_INTERVAL_EXCLUDE_RED      '@2H@'."  Do not select: Exclude interval
ICON_2 ICON_PATTERN_INCLUDE_RED       '@2I@'."  Do not select: Include sample
ICON_2 ICON_PATTERN_EXCLUDE_RED       '@2J@'."  Do not select: Exclude sample
ICON_2 ICON_SYSTEM_OKAY               '@2K@'."  OK
ICON_2 ICON_SYSTEM_SAVE               '@2L@'."  Save
ICON_2 ICON_SYSTEM_BACK               '@2M@'."  Back
ICON_2 ICON_SYSTEM_END                '@2N@'."  Exit
ICON_2 ICON_SYSTEM_CANCEL             '@2O@'."  Cancel
ICON_2 ICON_SYSTEM_PRINT              '@2P@'."  Print
ICON_2 ICON_OTHER_OBJECT              '@2Q@'."  Other Object
ICON_2 ICON_PREVIOUS_OBJECT           '@2R@'."  Previous screen
ICON_2 ICON_NEXT_OBJECT               '@2S@'."  Next screen
ICON_2 ICON_SYSTEM_CUT                '@2T@'."  Cut
ICON_2 ICON_SYSTEM_COPY               '@2U@'."  Copy
ICON_2 ICON_SYSTEM_PASTE              '@2V@'."  Paste
ICON_2 ICON_SYSTEM_UNDO               '@2W@'."  Undo
ICON_2 ICON_SYSTEM_MARK               '@2X@'."  Selection mode; Select
ICON_2 ICON_FIRST_PAGE                '@2Y@'."  First page
ICON_2 ICON_PREVIOUS_PAGE             '@2Z@'."  Previous page
ICON_2 ICON_NEXT_PAGE                 '@30@'."  Next page
ICON_2 ICON_LAST_PAGE                 '@31@'."  Last page
ICON_2 ICON_SYSTEM_MODUS_CREATE       '@32@'."  Create session
ICON_2 ICON_SYSTEM_MODUS_DELETE       '@33@'."  Delete session
ICON_2 ICON_SYSTEM_USERMENU           '@34@'."  Session Manager
ICON_2 ICON_SYSTEM_HELP               '@35@'."  Help
ICON_2 ICON_TABLE_SETTINGS            '@36@'."  Call report from report
ICON_2 ICON_REPLACE                   '@37@'."  Replace
ICON_2 ICON_CHECK                     '@38@'."  Check
ICON_2 ICON_GENERATE                  '@39@'."  Generate
ICON_2 ICON_REFERENCE_LIST            '@3A@'."  Where-used list
ICON_2 ICON_STACK                     '@3B@'."  Stack
ICON_2 ICON_ACTIVATE                  '@3C@'."  Activate
ICON_2 ICON_ICON_LIST                 '@3D@'."  Icon list; Legend
ICON_2 ICON_SORT_UP                   '@3E@'."  Sort in ascending order
ICON_2 ICON_SORT_DOWN                 '@3F@'."  Sort in descending order
ICON_2 ICON_LAYOUT_CONTROL            '@3G@'."  Print preview
ICON_2 ICON_CONVERT                   '@3H@'."  Convert
ICON_2 ICON_TOGGLE_DISPLAY_CHANGE     '@3I@'."  Display or Change
ICON_2 ICON_SET_STATE                 '@3J@'."  Set status
ICON_2 ICON_PREVIOUS_NODE             '@3K@'."  Previous node
ICON_2 ICON_NEXT_NODE                 '@3L@'."  Next node
ICON_2 ICON_TREE                      '@3M@'."  Hierarchy
ICON_2 ICON_INSERT_RELATION           '@3N@'."  Insert relationship
ICON_2 ICON_FINAL_DATE                '@3O@'."  Finish date; Date
ICON_2 ICON_HEADER                    '@3P@'."  Header; Basic data
ICON_2 ICON_OVERVIEW                  '@3Q@'."  Overview; List screen
ICON_2 ICON_DETAIL                    '@3R@'."  Detail view
ICON_2 ICON_EXPAND                    '@3S@'."  Expand
ICON_2 ICON_COLLAPSE                  '@3T@'."  Collapse
ICON_2 ICON_BREAKPOINT                '@3U@'."  Breakpoint
ICON_2 ICON_FOREIGN_KEY               '@3V@'."  Foreign key
ICON_2 ICON_LIST                      '@3W@'."  List
ICON_2 ICON_CLOSE                     '@3X@'."  Close
ICON_2 ICON_POSITION                  '@3Y@'."  Position; Other entry
ICON_2 ICON_SUM                       '@3Z@'."  Display sum
ICON_2 ICON_MOVE                      '@40@'."  Move
ICON_2 ICON_RETRIEVE                  '@41@'."  Retrieve
ICON_2 ICON_REFRESH                   '@42@'."  Refresh
ICON_2 ICON_SKIP                      '@43@'."  Skip
ICON_2 ICON_SYSTEM_SETTINGS           '@44@'."  User settings
ICON_2 ICON_TOOLS                     '@45@'."  Tools
ICON_2 ICON_COMPARE                   '@46@'."  Compare
ICON_2 ICON_SHORT_MESSAGE             '@47@'."  Short message
ICON_2 ICON_IMPORT                    '@48@'."  Import
ICON_2 ICON_EXPORT                    '@49@'."  Export
ICON_2 ICON_TRANSPORT                 '@4A@'."  Transport
ICON_2 ICON_SELECT_ALL                '@4B@'."  Select all
ICON_2 ICON_SELECT_BLOCK              '@4C@'."  Select block
ICON_2 ICON_DESELECT_ALL              '@4D@'."  Deselect all
ICON_2 ICON_SEARCH_NEXT               '@4E@'."  Find next
ICON_2 ICON_RENAME                    '@4F@'."  Rename
ICON_2 ICON_FILTER                    '@4G@'."  Filter
ICON_2 ICON_NEXT_HIERARCHY_LEVEL      '@4H@'."  Subordinate level
ICON_2 ICON_PREVIOUS_HIERARCHY_LEVEL  '@4I@'."  Superior level
ICON_2 ICON_SYSTEM_POSSIBLE_ENTRIES   '@4J@'."  Possible entries
ICON_2 ICON_INTENSIFY                 '@4K@'."  Highlight
ICON_2 ICON_PERSONAL_HELP             '@4L@'."  Individual help
ICON_2 ICON_VARIABLE                  '@4M@'."  Variable
ICON_2 ICON_SYSTEM_LOCAL_CUT          '@4N@'."  Local cut
ICON_2 ICON_SYSTEM_LOCAL_COPY         '@4O@'."  Local copy
ICON_2 ICON_SYSTEM_LOCAL_PASTE        '@4P@'."  Local paste
ICON_2 ICON_SYSTEM_LOCAL_MARK         '@4Q@'."  Local select mode
ICON_2 ICON_SYSTEM_REDO               '@4R@'."  Redo
ICON_2 ICON_BUSINAV_PROCESS           '@4S@'."  Process
ICON_2 ICON_BUSINAV_PROCESSMATRIX     '@4T@'."  Process selection matrix
ICON_2 ICON_BUSINAV_SYSORGI           '@4U@'."  System organization diagram
ICON_2 ICON_BUSINAV_SZENARIO          '@4V@'."  Scenario
ICON_2 ICON_BUSINAV_OBJECTS           '@4W@'."  Business object
ICON_2 ICON_BUSINAV_INFODIAG          '@4X@'."  Information flow diagram
ICON_2 ICON_BUSINAV_ENTITY            '@4Y@'."  Entity type
ICON_2 ICON_BUSINAV_PROC_EXIST        '@4Z@'."  Process exists
ICON_2 ICON_BUSINAV_COMMDIAG          '@50@'."  Communication diagram
ICON_2 ICON_BUSINAV_DATAMODEL         '@51@'."  Data model
ICON_2 ICON_ALIGN                     '@52@'."  Align
ICON_2 ICON_CUT_RELATION              '@53@'."  Cut relationship
ICON_2 ICON_FIX_COLUMN                '@54@'."  Freeze column
ICON_2 ICON_RELEASE_COLUMN            '@55@'."  Unfreeze columns
ICON_2 ICON_NET_GRAPHIC               '@56@'."  Network graphic
ICON_2 ICON_PLANNING_TABLE            '@57@'."  Bar chart; Planning board
ICON_2 ICON_PERIOD                    '@58@'."  Period screen; Breakdown over t
ICON_2 ICON_ZOOM_IN                   '@59@'."  Zoom in
ICON_2 ICON_ZOOM_OUT                  '@5A@'."  Zoom out
ICON_2 ICON_LED_GREEN                 '@5B@'."  Green LED; go; OK
ICON_2 ICON_LED_RED                   '@5C@'."  Red LED; stop; error
ICON_2 ICON_LED_YELLOW                '@5D@'."  Yellow LED; caution
ICON_2 ICON_SYSTEM_EXTENDED_HELP      '@5E@'."  Application help
ICON_2 ICON_SPACE                     '@5F@'."  Space
ICON_2 ICON_BUSINAV_VALUE_CHAIN       '@5G@'."  Value chain
ICON_2 ICON_WORKFLOW_ACTIVITY         '@5H@'."  Activity
ICON_2 ICON_WORKFLOW_CONDITION        '@5I@'."  Condition
ICON_2 ICON_WORKFLOW_DECISION         '@5J@'."  User decision
ICON_2 ICON_WORKFLOW_CONT_OPERATION   '@5K@'."  Container operation
ICON_2 ICON_WORKFLOW_EXTERNAL_EVENT   '@5L@'."  External event
ICON_2 ICON_WORKFLOW_INTERNAL_EVENT   '@5M@'."  Internal event
ICON_2 ICON_WORKFLOW_MULT_CONDITION   '@5N@'."  Multiple condition
ICON_2 ICON_WORKFLOW_FORK             '@5O@'."  Go to Workflow
ICON_2 ICON_WORKFLOW_EVENT_PRODUCER   '@5P@'."  Event creator
ICON_2 ICON_WORKFLOW_FLOW_OF_CONTROL  '@5Q@'."  Process control
ICON_2 ICON_WORKFLOW_INDEFINITE_STEP  '@5R@'."  Undefined step
ICON_2 ICON_WORKFLOW_UNTIL            '@5S@'."  UNTIL loop
ICON_2 ICON_WORKFLOW_WAIT_FOR_EVENTS  '@5T@'."  Wait for events
ICON_2 ICON_WORKFLOW_WHILE            '@5U@'."  WHILE loop
ICON_2 ICON_INTERMEDIATE_SUM          '@5V@'."  Subtotal
ICON_2 ICON_EMPLOYEE                  '@5W@'."  Employee
ICON_2 ICON_TIME_ZONE                 '@5X@'."  Time zone
ICON_2 ICON_RELEASE                   '@5Y@'."  Enter
ICON_2 ICON_QUALIFY                   '@5Z@'."  Auszeichnen
ICON_2 ICON_ISO_CODE                  '@60@'."  ISO code
ICON_2 ICON_MODIFY                    '@61@'."  Modify; Enhance
ICON_2 ICON_GET_AREA                  '@62@'."  Environment analysis
ICON_2 ICON_INTERFACE                 '@63@'."  Interface
ICON_2 ICON_ROUTING_OPERATION         '@64@'."  Operation
ICON_2 ICON_ROUTING_REF_OPERATION     '@65@'."  Reference operation
ICON_2 ICON_ROUTING_TASK              '@66@'."  Work center operation step
ICON_2 ICON_ROUTING_TODO              '@67@'."  To-do list
ICON_2 ICON_EXPAND_ALL                '@68@'."  Expand all
ICON_2 ICON_COLLAPSE_ALL              '@69@'."  Collapse all
ICON_2 ICON_SYSTEM_SAP_MENU           '@6A@'."  SAP menu
ICON_2 ICON_SYSTEM_COMP_MENU          '@6B@'."  Enterprise menu
ICON_2 ICON_SYSTEM_USER_MENU          '@6C@'."  User menu
ICON_2 ICON_SYSTEM_FAVORITES          '@6D@'."  User favorites
ICON_2 ICON_BIW_INFO_SOURCE           '@6E@'."  InfoSource
ICON_2 ICON_BIW_APPLICATION           '@6F@'."  Application
ICON_2 ICON_BIW_INFO_AREA             '@6G@'."  InfoArea
ICON_2 ICON_BIW_INFO_CUBE             '@6H@'."  InfoCube
ICON_2 ICON_BIW_RULES_INA             '@6I@'."  Update rules (inactive)
ICON_2 ICON_BIW_SOURCE_SYS_GEN        '@6J@'."  Source system (general)
ICON_2 ICON_BIW_SOURCE_SYS_R3         '@6K@'."  Source system (R/3 System)
ICON_2 ICON_BIW_SOURCE_SYS_EXT        '@6L@'."  Source system (external)
ICON_2 ICON_BIW_SOURCE_SYS_FILE       '@6M@'."  Source system file
ICON_2 ICON_BIW_INFO_CATALOG          '@6N@'."  InfoCatalog
ICON_2 ICON_BIW_INFO_OBJECT           '@6O@'."  InfoObject
ICON_2 ICON_BIW_MONITOR               '@6P@'."  Monitor
ICON_2 ICON_BIW_SCHEDULER             '@6Q@'."  Scheduler
ICON_2 
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值