cancel
Showing results for 
Search instead for 
Did you mean: 

How to modify ABAP List's column size

walkerist
Participant
0 Kudos
517

The column width per item line on my ABAP list does not have the same width. The ABAP list were created using a custom program that was executed in the background. 

 

 

 

 

Accepted Solutions (0)

Answers (1)

Answers (1)

Sandra_Rossi
Active Contributor
0 Kudos

You didn't say what code you have used to generate this ABAP List (WRITE, ALV, etc.)

The shift may happen if you have full-width/double-byte characters (CJK East-Asian, etc.) You may have to use the class CL_ABAP_LIST_UTILITIES to calculate the output lengths, etc. (see its documentation).

 

walkerist
Participant
0 Kudos
Does the formatting affects the column width? Example this is the formatting of the output X_65_80
Sandra_Rossi
Active Contributor
0 Kudos

No. What code did you use to generate this ABAP List (WRITE, ALV, etc.) Do you have full-width/double-byte characters (CJK East-Asian, etc.) in the column (*) where the shift starts?

(*) This column:

Sandra_Rossi_0-1721129709432.png

 

walkerist
Participant
0 Kudos
@Sandra_Rossi, I'm using REUSE_ALV_BLOCK_LIST_APPEND, and REUSE_ALV_BLOCK_LIST_DISPLAY.