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: 

Don't trim automatically text in ALV

Former Member
0 Kudos

Hi everybody,

I have a transparent table and one string column, I want to add some space in front of text. Ex: " hello". But it trims space when I display this column in ALV by function module REUSE_ALV_LIST_DISPLAY (ex: "hello").

Please help me to pass suitable parameter for fieldcat or layout object or use another way (by ALV) to display actual value in table (value have space) at screen.

Many thanks in advance.

Edited by: Ngoc Vuong Kim on Aug 8, 2008 12:07 PM

3 REPLIES 3

former_member188685
Active Contributor
0 Kudos

You need to use FIELDCAT-JUST = 'R'.

for that field.

Former Member
0 Kudos

Declare your field with fixed length in your final internal table

Like

field(40) type c

rgds

rajesh

0 Kudos

I tried to fix problem by the way of answers but it's still incorrect.

I just want system not to move blanks at the left of string in ALV.