cancel
Showing results for 
Search instead for 
Did you mean: 

how to remove "," in display

Former Member
0 Kudos

hi,

i have a requirement to display the weight field without comma ie, if weight is 12000 i am getting 12,000 IN OUT PUT.

i dont want to disply ",".

note : i can't change the system default settings.

pradeep

Edited by: pradeep kandgal on Aug 18, 2008 5:23 PM

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Pradeep,

Assign the weight field as a character and then dispaly .

weight type c length 10.

Regards,

Vvieks

Former Member
0 Kudos

in this case i may get char also as input... so i may get short dump ..

Edited by: pradeep kandgal on Aug 18, 2008 5:53 PM

Former Member
0 Kudos

Hi.

why cant you use an intermediate variable to avoid dump and getting data as per requirement.

Regards,

Aswini.

Answers (5)

Answers (5)

Former Member
0 Kudos

i got the solution

former_member196280
Active Contributor
0 Kudos

Build a small logic, it will solve you problem.

DO.

REPLACE ',' WITH ' ' IN QTY.

IF sy-subrc NE 0.

CONDENSE QTY NO-GAPS.

Exit.

Endif.

ENDDO.

This logic will remove all ','.

Close thread once your question is answered.

Regards,

Sairam

Former Member
0 Kudos

Hi,

use formatting options when you display the data...

&<fieldname>(T)&

regards

padma

former_member745780
Active Participant
0 Kudos

Hello

check FM

PS_CONVERT_QUANTITY

Thanks

Anirudh

Former Member
0 Kudos

USE FM "CONVERSION_EXIT_NUMCV_OUTPUT"