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

Alignment issue in a report

Former Member
0 Likes
531

Hi team,

I have a variable (string) of type character which is left aligned and I want to display it as right aligned in the ALV display.

Please tell me, how to do it.

Its a report programming.

Thanks and regards,

Sameep

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
503

Hi,

Build your fieldcat of require column:


gs_fieldcat-just = 'R'. "right alignment

hope that help,

Thien

3 REPLIES 3
Read only

Former Member
0 Likes
504

Hi,

Build your fieldcat of require column:


gs_fieldcat-just = 'R'. "right alignment

hope that help,

Thien

Read only

0 Likes
503

Thanks a lot for the help.

Read only

Former Member
0 Likes
503

hi,

you can use the field JUST of the fieldcatalog.

that should solve your problem.