Ansicht
Dokumentation
LIST_ALLOW_SEQUENCE_OF_HYPHENS - Control of the character for which the ULINE automation is valid
BAL Application Log Documentation CPI1466 during BackupThis documentation is copyright by SAP AG.
Functionality
The function module LIST_ALLOW_SEQUENCE_OF_HYPHENS allows you to display a continuous line of several hyphens. Normally, a sequence of more than two hyphens is converted into a graphical underline (ULINE).
The function module applies to the entire output of the report in which you use it.
You must call it before the first list output in the relevant report (that is, before WRITE, ULINE, ...), and you must call it in list level 0 (basic list).
From a technical point of view, the list processor service that links hyphens into a continuous line is adjusted by LIST_ALLOW_SEQUENCE_OF_LINES to link another character instead (by default, the underscore character). Therefore, if the list contains a sequence of at least two consecutive underscores, these are now converted into a continuous graphical underline. If you want to use sequences of both hyphens and underscores, you can use the CHARACTER parameter to name any character that is not used in sequences in the relevant report. The sequential combination method is then transferred to this character.
Example
REPORT HYPHENS.
CALL FUNCTION 'LIST_ALLOW_SEQUENCE_OF_HYPHENS'.
write: 'String--with-----Sequences-of--------Hyphens' color 2.
Notes
The effect of the function module extends to external subroutines, but not to programs started using SUBMIT. It is the programmer's responsibility to ensure that all lists are created with the same value of SY-ULINE with which they will be displayed. Consequently, you cannot use the function module for the first time in a detail list, since SY-ULINE would then have a changed value on returning to the basic list, which would seriously affect the way in which it was displayed.
Further information
Parameters
CHARACTERExceptions
Function Group
SYSFAddresses (Business Address Services) Addresses (Business Address Services)
This documentation is copyright by SAP AG.
Length: 2044 Date: 20240604 Time: 052142 sap01-206 ( 54 ms )