‎2006 Mar 21 6:58 AM
In the alvlist i included a header,
by using this code.
FORM BUILD_COMMENT USING P_HEADING TYPE SLIS_T_LISTHEADER.
DATA: HLINE TYPE SLIS_LISTHEADER,
TEXT(60) TYPE C.
CLEAR: HLINE, TEXT.
HLINE-TYP = 'H'.
WRITE: TEXT-101 TO TEXT+3.
HLINE-INFO = TEXT.
APPEND HLINE TO P_HEADING.
CLEAR TEXT.
WRITE: 'User: ' TO TEXT,
SY-UNAME TO TEXT+6,
'Date: ' TO TEXT+35,
SY-DATUM TO TEXT+40,
'Page: ' TO TEXT+52,
SY-PAGNO TO TEXT+56.
HLINE-INFO = TEXT.
APPEND HLINE TO P_HEADING.
ENDFORM. " BUILD_COMMENT
If i change the text size to someother for ex text(100),and give text+70 means the text is not displayed.
‎2006 Mar 21 7:23 AM
The structure SLIS_T_LISTHEADER has the field INFO of length only 60. That is the reason why it is not printing the extra characters after 60.
‎2006 Mar 21 7:25 AM
I had changed the text size to text(100) and then only changed the data to text+70...but after changing also i am not able to display.
‎2006 Mar 21 7:30 AM
Even though you have increased the length of TEXT, the target field slis*-INFO can't accept more than 60 chars.
As the final text u r working with is in INFO and not in TEXT, only 60 chars appear.
If you put a break point and check out at this point.
‎2006 Mar 21 7:32 AM
where there is any way to change or any other method is there for moving the text to the top right of the page.