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: 

Spaces deleting

Former Member
0 Kudos

Hi experts,

i'm using the FM HR_99S_INTERVAL_BETWEEN_DATES when i get the number of days between my two dates i get a value as folowing:

days_nbre = 14.

I need to delete the spaces...any suggestions

Regards.

Soufiane

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

Data: var(5) type c.

Write Days_nbre to var.
Condence VAR.

Move Var to Days_nbre.

Regards

Sudheer

3 REPLIES 3

Former Member
0 Kudos

Hi,

Not sure if this what you want..

SHIFT days_nbre LEFT DELETING LEADING space.

Thanks,

Naren

suresh_datti
Active Contributor
0 Kudos

MOVE it to CHAR field & use CONDENSE.

~Suresh

Former Member
0 Kudos

Hi,

Data: var(5) type c.

Write Days_nbre to var.
Condence VAR.

Move Var to Days_nbre.

Regards

Sudheer