Application Development 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: 

Running a program syntax ULINE but ULINE can not display

tuyentran205
Explorer
0 Kudos

Hello,

I have a problem when running a syntax ULINE. When I runs the program the Underline couldn't display.
Is that problem of setting? Could you please help me with this issue?
Thank you!

REPORT z_employee_list_02 LINE-SIZE 132 .

TABLES ZEMPLOYEES_tuyen.

*************************************************
SELECT * FROM ZEMPLOYEES_tuyen.
WRITE ZEMPLOYEES_tuyen.
ENDSELECT.

ULINE.

SELECT * FROM ZEMPLOYEES_tuyen. "basic select loop with a line-break
WRITE / ZEMPLOYEES_tuyen.
ENDSELECT.

ULINE.


SELECT * FROM ZEMPLOYEES_tuyen. "basic select loop with a line-break
WRITE ZEMPLOYEES_tuyen. "after the first row is output.
WRITE /.
ENDSELECT.

ULINE.

SKIP 2.
SELECT * FROM ZEMPLOYEES_tuyen. "basic select loop with a skip statement
WRITE / ZEMPLOYEES_tuyen.
ENDSELECT.


SKIP 2.
SELECT * FROM ZEMPLOYEES_tuyen. " basic select loop with individual fields
WRITE / ZEMPLOYEES_tuyen-surname. "being output
WRITE ZEMPLOYEES_tuyen-forename. "being output
WRITE ZEMPLOYEES_tuyen-dob. "being output
endselect.


SKIP 2.
SELECT * FROM ZEMPLOYEES_tuyen. " chain statements
WRITE: / ZEMPLOYEES_tuyen-surname,
ZEMPLOYEES_tuyen-forename,
ZEMPLOYEES_tuyen-dob.

endselect.

7 REPLIES 7

TarunTakshak
Participant
0 Kudos

once try changing theme of logon

AdilBasha1SAP
Explorer
0 Kudos

Hey,
Kindly check this wiki.
Selection Screen screenelements - ABAP Development - Support Wiki (sap.com)

Eg: SELECTION-SCREEN ULINE /1(30).

0 Kudos

Question seems more related to statement ULINE than SELECTION-SCREEN, ULINE?

Sandra_Rossi
Active Contributor
0 Kudos

Maybe an issue with the underscore character as a line in CJK fonts in Windows system. Did you check the SAP notes?

Sandra_Rossi
Active Contributor

Better shorten your code, we don't need to know the details, and by shortening your code it's more likely to compile on any system e.g. :

REPORT.
ULINE.
WRITE 'HELLO'.
ULINE.
WRITE 'WORLD'.

raymond_giuseppi
Active Contributor
0 Kudos

Check your SAP GUI configuration (e.g. which fonts are used)

NB: You could perform a test, add a FORMAT FRAMES OFF, so '-' and '|' wont be converted into line elements.

0 Kudos

I checked it, but it couldn't fix