Skip to Content
Most scripting languages have nice tools for string processing…Specially Perl.
I know of course, that ABAP is not an scripting language…But why it lacks on string processing tools? I don’t know…That’s why in the last 4 years, I have developed some tools to help myself on different projects.

CAPITALIZE_LETTER

FILL_CHARACTER_RIGHT

TEXT_OCCURENCES

DECIMAL_TO_ROMAN

FILL_NUMERICS

This might not be that useful, but they help me a lot of times.

To report this post you need to login first.

5 Comments

You must be Logged on to comment or reply to a post.

  1. Sergio Ferrari
    Hi Alvaro,
    something similar to your methods is available in same standard methods of an ECC 6.0.
    For example I found:
    –  CL_BSP_FLIGHT_DEMO->CAPITALIZE_STRING()
    –  CL_RSR_SERVICE->INTEGER_TO_ROMAN()
    I agrre with you that it would be nice to have a powerful ABAP class providing all this kind of staff.

    Sergio

    (0) 
    1. Alvaro Tejada Galindo Post author
      Hi Sergio:

      So long buddy! Thank you for pointing me that…I wasn’t aware of those methods…I have MiniSAP 4.6D in my home…and R/3 4.7 at work…

      As you said…Yes, it would be nice to have an ABAP class with all the related functionality…

      Take care,

      Blag.

      (0) 
  2. MT A
    Thankx for sharing..

    i tried to use your function text_occurences to search blank space in a text.

    How can we use function text_occurences to search spaces in a string.

    Thank you,

    Tausif

    (0) 

Leave a Reply