Application Development 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: 

MINUS SIGN IN FRNT OF AMOUNT INSTEAD OF LAST

Former Member
0 Kudos
139

HI

I want minus '-' sign in front of amount

currntly it is showing 12345.45-

but i want -12345.45.

pls help me on this

Regards

Rajan.

1 ACCEPTED SOLUTION

Former Member
0 Kudos
94

Try using FM: CLOI_PUT_SIGN_IN_FRONT.

Regards

Eswar

10 REPLIES 10

former_member184657
Active Contributor
0 Kudos
94

Use the Concatenate statement.

pk

0 Kudos
94

what happened today you answered a basic question?

I cant believe it.You are not pk right

Edited by: K.P.N on Sep 19, 2008 3:05 PM

0 Kudos
94

> Use the Concatenate statement.

>

> pk

But he need to Use Spilit statement too for removing the last sign

than concatenate

Cheers

Edited by: Ámit Güjärgoüd on Sep 19, 2008 11:43 AM

0 Kudos
94

>

> what happened today you answered a basic question?

>

> I cant believe it.You are not pk right

No K.P.N,

He is Pk only.

All depends on mood .Check my reply [Here |/thread/1053306 [original link is broken]; same thing happen to Pk also.

Cheers

0 Kudos
94

>

> what happened today you answered a basic question?

>

> I cant believe it.You are not pk right

>

> Edited by: K.P.N on Sep 19, 2008 3:05 PM

Quite honestly, I was expecting a reply from OP on the lines of:

Can you send me a sample code

Fortunately or unfortunately, it never came

pk

0 Kudos
94

>

>

Can you send me a sample code

> Fortunately or unfortunately, it never came

>

> pk

Cause i gave him a hint to use SPILIT also

May be other wise he would come

Cheers

0 Kudos
94

wanted to give the FM intially, then thought it would be an easy freebie

pk

former_member705122
Active Contributor
0 Kudos
94

Check FM

CLOI_PUT_SIGN_IN_FRONT

Link:

Former Member
0 Kudos
95

Try using FM: CLOI_PUT_SIGN_IN_FRONT.

Regards

Eswar

Former Member
0 Kudos
94

hii

use Fm CLOI_PUT_SIGN_IN_FRONT

DATA: WA_VALUE(6) TYPE C VALUE '20.00-'.

CALL FUNCTION 'CLOI_PUT_SIGN_IN_FRONT'
CHANGING
value = WA_VALUE.
.
WRITE: / WA_VALUE.

regards

twinkal