Skip to Content
0
Former Member
Feb 20, 2010 at 09:39 AM

Sign '-' Left Alignment in Script

42 Views

Dera All,

I have field REGUD-WRBTR which is Type CURR in my Print Program and Form.

I want to Display the value as -96 but I am getting value as 96-.

I have tried &REGUD-WRBTR(15) (<)& , Not working.

Used SET SIGN LEFT Command ,Not working.

It's an issue with CURR field , Please suggest how to resole this issue. Find below my Code for reference.

IF WA_REGUP-SHKZG = 'S'.

WA_REGUP-WRBTR = WA_REGUP-WRBTR * '-1'.

MOVE: WA_REGUP-WRBTR TO REGUD-WRBTR.

ELSE.

MOVE: WA_REGUP-WRBTR TO REGUD-WRBTR.

ENDIF.

Regards,

Vikas Badhan