Application Development and Automation 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: 
Read only

condense function

Former Member
0 Likes
709

Please explain about the "Condense" function.

no links or source code, just explain the functionality.

with regards,

Hema Sundara.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
620

Hi Hema,

The CONDENSE statement deletes redundant spaces from a string:

CONDENSE c NO-GAPS.

This statement removes any leading blanks in the field c and replaces other sequences of blanks by exactly one blank. The result is a left-justified sequence of words, each separated by one blank. If the addition NO-GAPS is specified, all blanks are removed.

Thanks,

Vinay

3 REPLIES 3
Read only

Former Member
0 Likes
621

Hi Hema,

The CONDENSE statement deletes redundant spaces from a string:

CONDENSE c NO-GAPS.

This statement removes any leading blanks in the field c and replaces other sequences of blanks by exactly one blank. The result is a left-justified sequence of words, each separated by one blank. If the addition NO-GAPS is specified, all blanks are removed.

Thanks,

Vinay

Read only

matt
Active Contributor
0 Likes
620

Wouldn't it just be quicker to type "CONDENSE" in the abap editor and press the F1 key?

matt

Read only

Former Member
0 Likes
620

solved.