cancel
Showing results for 
Search instead for 
Did you mean: 

How to modify ABAP List's column size

walkerist
Participant
0 Kudos
322

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. 

 

 

 

 

Sandra_Rossi
Active Contributor
0 Kudos
I don't understand what you're talking about. Your image is not ABAP List, or at least it's not a screenshot. Could you show the actual ABAP list please? (if needed, you may obfuscate sensitive text with simple software like Greenshot)
walkerist
Participant
0 Kudos
@Sandra_Rossi modified my question
walkerist
Participant
0 Kudos

@Sandra_Rossiok will check on that. It's weird though since in the dev system, there's no issue but in QA system, the issue occurs. Although they have the same code version.

Sandra_Rossi
Active Contributor
0 Kudos
You didn't understand. The shift depends on the texts displayed in the column. The bug will probably happen in the DEV system with the same texts.

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.