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: 

How to reduce text size

Former Member
0 Kudos

Hi,

I have to reduce the size of a text I found a function module ' STRING_CONDENSE' but it is not working I suppose SAP has de-activated this.

My requirement is that when i printing a form in french language the table alignment is getting disturbed because the first column of serial number heading is increasing and we are required not to touch the script as it dynamic and handling many languages.

Please help me if any idea on this.

Thanks.

Regards,

Lokesh

4 REPLIES 4

roberto_vacca2
Active Contributor
0 Kudos

Hi.

STRING_CONDENSE is not released.

For your needs you should try with SCP_REPLACE_STRANGE_CHARS function module.

See this note 776507 if you need special chars.

Hope to help

Bye

0 Kudos

Thanks Roberto for the quick response.

Actually my requirement is that to reduce the text size e.g. if text size 'Testing' is taking 7 space then it should be reduced to 5 spaces instead of 7 spaces.

Please let me know if you need more clarification if I am not able to clearly put my requirement.

Thanks in advance.

Regards,

Lokesh.

0 Kudos

Hi.

But if you need the first "X" digits, you should use

your_string  = your_string(5).

Is that your goal?

Hope to help

Bye

raymond_giuseppi
Active Contributor
0 Kudos

Define reduce size, do you want to change dynamically CPI or a wizard tool to convert 'Acceptance Test Procedure' to 'Accept. Test. proc' or 'ATP'

Regards,

Raymond