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

replacement for obsolete function module STRING_MOVE_RIGHT

Former Member
0 Likes
832

Hi all,

Can anybody tell me, what is the replacement for obsolete function module STRING_MOVE_RIGHT.

Thanx.

4 REPLIES 4
Read only

former_member189059
Active Contributor
0 Likes
682

Here is a list of obsolete function modules and their corresponding new methods

<b>Obsolete Function Module Since version Use instead</b>

STRING_CONCATENATE

STRING_CONCATENATE_3 3.0 CONCATENATE statement

STRING_SPLIT 3.0 SPLIT statement

STRING_LENGTH 3.0 strlen() build-in function

STRING_CENTER 3.0 WRITE ... TO ... CENTERED statement

STRING_MOVE_RIGHT 3.0 WRITE ... TO ... RIGHT-JUSTIFIED statement

Read only

Former Member
0 Likes
682

Hi swati..

The ABAP/4 language element <b>WRITE ... RIGHT-JUSTIFIED TO</b> ... provides the same functionality as the function module.

You can also use the ABAP/4 language element <b>SHIFT ... RIGHT DELETING</b> TRAILING SPACE. Also refer to the ABAP/4 documentation for WRITE or SHIFT.

Read only

0 Likes
682

thanx for the above reply , it helped me alot...

Read only

Former Member
0 Likes
682

Hi,

The ABAP/4 language element WRITE ... RIGHT-JUSTIFIED TO ... provides the same functionality as the function module. You can also use the ABAP/4 language element SHIFT ... RIGHT DELETING TRAILING SPACE. Also refer to the ABAP/4 documentation for WRITE or SHIFT.

The ABAP/4 language elements provide better performance than the function module call.

Reward if it helps you.

Thanks & Regards,

Krishna chaitanya.