cancel
Showing results for 
Search instead for 
Did you mean: 

Right Alignment In Script

Former Member
0 Kudos

Hello all

I am working with Script

where i want output of certain field as right aligned.

but problem is that my output appears like

123.00

111.00-

whenever negative sign appears the alignment get changes,if there is any function module to take the

negative sign in the starting of the figure?

Please help me regarding the same.

Thnaks in advance.

Jaideep.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi

This is the FM you are looking for: CLOI_PUT_SIGN_IN_FRONT.

You can put the negative sign in the front.

P.S: please search once before posting a questin.

Vishwa.

Answers (2)

Answers (2)

former_member181995
Active Contributor
0 Kudos

Keep the Tab Position Right For Numeric Field.

If still Not working than use

/: SET SIGN LEFT command for keeping sign left.

If still Not working

Than Use &symbol(R)& Right justified

Former Member
0 Kudos

HI,

Convert the Currency field to text field and display in the Sap script. Then the Right alinment will work properly.

You can use the FM specified by Vishwa.