Application Development and Automation 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: 
Read only

Set_table_for_first_display problem

Former Member
0 Likes
600

Hi all,

My problem is that when im using Set_table_for_first_display to display alv grid,

One character field is displaying with left aligned.But if the field value is " W" it is diaplying as "W" , that is removing the space.

Please let me know what to do.

Regards,

Sumanth

5 REPLIES 5
Read only

Former Member
0 Likes
554

If fieldcatalog for that field you mention JUST as 'R'

FIELDCAT-JUST = 'R'.

Read only

Former Member
0 Likes
554

Hi,

Try this

In fieldcatalog for that field you mention JUST as 'R' i.e forright justified.

FIELDCAT-JUST = 'R'.

Hope this would help you.

Regards,

Linda.

Read only

Former Member
0 Likes
554

But my problem is that if i do it in that way ie FIELDCAT-JUST = 'R' , i am not able to differentiate between " W" (with space) and "W"(without space).

I hope you understood the problem.

Read only

Former Member
0 Likes
554

Declare this field as char of 10 Characters

rgds

rajesh

Read only

Former Member
0 Likes
554

No luck......