Shared Top Border

Enterprise Resource
Planning Portal

 

Advertise | Founder BLOG

ERPGenie.COM ABAP Tips and Tricks Database

THE ultimate
ERP website

 

Forums | Vote for us |

Google    Other Search Options

Login

Login to view more content!!!





Lost Password?
No account yet? Register

Registered Access

Poll

What area of ABAP are you interested in?
 
Home arrow Sample Code arrow ABAP Reports arrow ABAP code to display SAP icons
ABAP code to display SAP icons PDF Print E-mail
User Rating: / 0
PoorBest 
Written by Kevin Wilson   
Wednesday, 28 May 2008
Below is the ABAP code to produce a list of icons including what they look like, name and code.
Also see std. SAP program RSTXICON 

*&-----------------------------------*
*& Report  ZICON
*&-----------------------------------*
*& Author: KWILSON
*& Also see std. SAP program RSTXICON
*&-----------------------------------*

REPORT  zicon LINE-COUNT 54.

TABLESicon.

DATA: t_text(4TYPE c.

* Name
* Length
* Is button?
* Is status?
* Is message?
* Is Function?
SELECT-OPTIONS:
  so_name 
FOR icon-name,
  so_len  
FOR icon-oleng,
  so_butt 
FOR icon-button,
  so_stat 
FOR icon-status,
  so_mess 
FOR icon-message,
  so_fn   
FOR icon-function.

SELECT * FROM icon
  
WHERE
    name     
IN so_name AND
    oleng    
IN so_len  AND
    button   
IN so_butt AND
    status   
IN so_stat AND
    
message  IN so_mess AND
    
function IN so_fn.

  
WRITE: /1 icon-id+1(2), icon-name.
  
CONCATENATE '@' icon-id+1(2'@' INTO t_text.
  
WRITE35 t_text AS ICON.
  
WRITE40 icon-oleng, 50 icon-button, 60 icon-status,
         70
 icon-message80 icon-function.

ENDSELECT.

TOP-
OF-PAGE.
  
WRITE40 'Length'50 'Button'60 'Status'
         70
 'Message'80 'Function'.


Related Items:

Last Updated ( Wednesday, 28 May 2008 )
 
< Prev   Next >

Google Search

Statistics

Contribution Activity
Utilities: 38
Tips and Tricks: 333
Sample Code: 164
Total Contributions: 550

Member Activity
Members: 6175 since 2/1/2007!
New: 6 since yesterday!
Visitors: 1008731
We have 2 guests and 1 member online
  • t.veerendra

Newest Members

Welcome our newest members:

Google Ads

Shared Bottom Border

Contact Us | Polls | Add URL | Contribute | Privacy | Terms | Feedback

Discussion Forum | BLOG | Consultants: Post your resume | Companies: Advertise on ERPGenie.COM | Post Job
Financials Consultant | Consultant Review | Gallia Consulting | Supply Chain Project | SAP Financials Forum
GenieHoldings.COM, Inc. | Genie Press | WorkflowGenie | ESAGenie | ERPTopSites | ABAP Tips and Tricks | SAP Solutions Database

EDIGenie | Searching Survivor