‎2007 Jun 26 7:42 AM
Hi,
can anyone letme know how can we create two headers in ALV
thnx in advance
‎2007 Jun 26 7:45 AM
‎2007 Jun 26 7:45 AM
‎2007 Jun 26 7:45 AM
Hi,
Try this in the LISTHEADER
FORM Z_LISTHEADER USING P_I_LISTHEADER TYPE SLIS_T_LISTHEADER.
DATA: L_LISTHEADER TYPE SLIS_LISTHEADER.
REFRESH P_I_LISTHEADER.
CLEAR L_LISTHEADER.
L_LISTHEADER-TYP = 'H'.
L_LISTHEADER-INFO = TEXT-001.
APPEND L_LISTHEADER TO P_I_LISTHEADER.
CLEAR L_LISTHEADER.
L_LISTHEADER-TYP = 'H'.
L_LISTHEADER-INFO = TEXT-002.
APPEND L_LISTHEADER TO P_I_LISTHEADER.
and write the header texts in the text-001 and text-002 by double clicking
Try with all these.
Check this link:
http://abap4.tripod.com/download/alvstub.txt
http://www.sapdevelopment.co.uk/reporting/alv/alvgrid_endlist.htm
Regards,
Priyanka.
‎2007 Jun 26 7:45 AM
hi,
in blocked alv it's possible.
reward points if helpful,
regards,
seshu.
‎2007 Jun 26 7:46 AM
‎2007 Jun 26 7:47 AM
HI,
YOU CANOT HAVE TEO HEDERS IN ALV TOP OF PAGE CAN BE USED ONLY ONCE IN THE EVENTS
‎2007 Jun 26 9:13 AM
Hi nishu
u can have three headers in the following way.
********begin of code*************
FORM build_header .
CLEAR wa_header.
wa_header-typ = 'H'.
DATA:WA_TEMP2(60) TYPE C.
CONCATENATE 'PROJECT:' WA_POST1 INTO WA_TEMP2.
wa_header-info = WA_TEMP2.
APPEND wa_header TO i_header.
**********end of code*************
in this code i have given the hader type as "H"
u can have two more headers of type "S" and "A".
define them and use them in ur code.
Reward if useful.