Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Justification in Classical report

Hi,

I am using following code for justification in classical report, but it not working. Please guide me.

WRITE:/20 'TEST',

/20 'TEST' RIGHT-JUSTIFIED NO-GAP,

/20 'TEST' LEFT-JUSTIFIED NO-GAP,

/20 'TEST' CENTERED NO-GAP.

result of this code is :

TEST

TESTr

TEST

TEST

I need it like

Position 20 is here <>

TEST

TEST

TEST

Regards

Rajiv singh.

Tags:
Former Member
Former Member replied

data : a(20) type c.

a = 'TEST'.

WRITE:/20 a ,

/ a RIGHT-JUSTIFIED NO-GAP,

/ a LEFT-JUSTIFIED NO-GAP,

/ a CENTERED NO-GAP.

use like this..

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question