‎2008 Jul 03 5:27 PM
Hi all,
Can anybody let me know, What is the command we use to format the varialbles in script layouts?
like if i want to delete leading or trailing spaces(condence) from a variable in the layout, there are some command like (c) for condence
But, i dont remember how to use it exactly. Can anybody help me on this?
thanks
‎2008 Jul 03 5:39 PM
Space Compression
The symbol value is viewed as a sequence of u2018wordsu2019, each separated from the next by either one or a string of space characters. The C option has the effect of replacing each string of space characters with a single space and shifting the u2018wordsu2019 to the left as necessary to close up the gaps. Leading spaces are completely removed. The results are the same as those of the ABAP command CONDENSE.
Syntax:
&symbol(C)&
Assuming ' Albert Einstein ' is the symbol value,
&symbol& -> Albert Einstein
&symbol(C)& -> Albert Einstein
Regards,
Joy.
‎2008 Jul 03 5:39 PM
Space Compression
The symbol value is viewed as a sequence of u2018wordsu2019, each separated from the next by either one or a string of space characters. The C option has the effect of replacing each string of space characters with a single space and shifting the u2018wordsu2019 to the left as necessary to close up the gaps. Leading spaces are completely removed. The results are the same as those of the ABAP command CONDENSE.
Syntax:
&symbol(C)&
Assuming ' Albert Einstein ' is the symbol value,
&symbol& -> Albert Einstein
&symbol(C)& -> Albert Einstein
Regards,
Joy.
‎2008 Jul 03 6:37 PM
Hi,
Check this link for all formatting options of SAP SCRIPT...
http://it.toolbox.com/wiki/index.php/Sap_script#7.6.09Formatting_Options
Hope this would really help you.
Regards
Narin Nandivada.