‎2007 May 08 5:42 AM
Hi all,
Can anybody tell me, what is the replacement for obsolete function module STRING_MOVE_RIGHT.
Thanx.
‎2007 May 08 5:52 AM
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
‎2007 May 08 5:55 AM
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.
‎2013 Sep 02 9:16 AM
‎2007 May 08 5:58 AM
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.