http://forums.sdn.sap.com/thread.jspa?threadID=877989
Log In
Register
About Us
How to Contribute
Store
Welcome Guest
SDN Community
Home Forums Wiki Blogs
BPX Community
Articles eLearning
Business Analytics
Downloads
University Alliances
Career Center
SAP EcoHub
InnoCentive Idea Place
Code Exchange
Events
SAP Community Network Forums ABAP Development ABAP, General Thread: Slis_t_listheader-typ
Welcome, Guest
Want to post to the Expert Forums? Reply to this Thread Search Forum Back to Thread List
Replies: 1 - Pages: 1 - Last Post: May 25, 2008 12:49 PM Last Post By: RUDHIR KUMAR BH...
Mathew Parera
Posts: 173 Registered: 9/7/07
Slis_t_listheader-typ
Posted: May 25, 2008 6:45 AM
Reply
Forum Points: 0
Re: Slis_t_listheader-typ
Posted: May 25, 2008 12:49 PM in response to: Mathew Parera
Reply
1 of 2
7/20/2011 11:42 AM
http://forums.sdn.sap.com/thread.jspa?threadID=877989
hi, There are three types of slis_listheader-typ 1. Typ H is for displaying header data. Ex. wa_list_header-typ = 'H'. wa_list_header-info = 'Capgemini Mumbai'. APPEND wa_list_header TO LIST_HEADER. CLEAR WA_LIST_HEADER. output: Capgemini Mumbai It displays data in normal font with bold and big character. wherever you define this in a sequence of typ S and typ A, it always holds the top line in alv report list header area. If two typ H are there than according to the triggering they get displayed in successive lines. There is no use of list_header-key with typ H. 2. Typ S is for selection. We use typ S to display text as well as its value in a single line. We can't display text and value in a single line by using typ H or typ A. Ex. WA_list_header-typ = 'S'. wa_list_header-KEY = 'Date::'. wa_list_header-INFO = sy-datum. APPEND wa_list_header TO LIST_HEADER. CLEAR WA_LIST_HEADER. output: Date:: 20080525 ( you can change the above showing date format by concatenate or any formatting options) The key text displays in normal bold font and info value displays in normal font. These two have font size just half of the font size of typ H.For this reason we prefer only typ H to display header data in header area of alv report like company name, purpose of the report etc. 3. Typ A is for action. WA_list_header-typ = 'A'. concatenate 'typ' 'A' into wa_list_header-info separated by space. APPEND wa_list_header TO LIST_HEADER. CLEAR WA_LIST_HEADER. or WA_list_header-typ = 'A'. wa_list_header-info = 'typ A'. APPEND wa_list_header TO LIST_HEADER. CLEAR WA_LIST_HEADER. output: typ A It displays data in normal italic font with font size same as font size of typ S. wherever you define this, it always hold the bottom line in alv report list header area. There is no use of list_header-key with this typ A. so according to our requirement we chose typ.
Pages: 1
Powered by Jive Software Contact Us Site Index Marketing Opportunities Powered by SAP NetWeaver Legal Terms Privacy Impressum
2 of 2
7/20/2011 11:42 AM