Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

seletion screen

Former Member
0 Likes
509

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.

4 REPLIES 4
Read only

Former Member
0 Likes
493

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.

Read only

0 Likes
493

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.

Read only

0 Likes
493

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.

Read only

0 Likes
493

where there is any way to change or any other method is there for moving the text to the top right of the page.