Skip to Content

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

removing comma

Hi experts,

DATA:G_LIFTS(20).

Using G_LIFTS variable iam trying to display some numbers like 2,12,<b>13,</b>

Here i want to remove ',' in the last.

SHIFT G_LIFTS RIGHT DELETING TRAILING ','.

why the above statement is not working...

thanks

kaki

Tags:
Former Member
Former Member replied

Hi,

Just write these lines,

data: var type i.

i = strlen( G_LIFTS ).

i = i - 1.

G_LIFTS = G_LIFTS+0(i).

write: G_LIFTS.

this will work.

please close this if this solves the Problem

thanks

Sudheer

0 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question