‎2008 Apr 02 8:04 AM
Hi,
What does (14.2) means in the code in the command line below from a sapscript window?
= ,,&RF140-SALDO(14.2)&
Also, I need to show the itab-kidno in the form having a maximum length of 9 characters, how am I going to do that?
Thanks a lot!
‎2008 Apr 02 8:10 AM
Hi,
1) = ,,&RF140-SALDO(14.2)&
means, total 14 character space is allotted for printing of &RF140-SALDO& in which 2 digits are meant for deciamal places.
2) if you want to show only 9 characters for itab-kidno, then you can use like this
&itab-kidno(9)&, Provided itab-kidno should be character type.
thanks & regards
Kishore Kumar Maram
‎2008 Apr 02 8:07 AM
hi Mark,
14.2 means that the variable will be printed 14 characters long and with two decimals.
hope this helps
ec
‎2008 Apr 02 8:10 AM
Hi,
1) = ,,&RF140-SALDO(14.2)&
means, total 14 character space is allotted for printing of &RF140-SALDO& in which 2 digits are meant for deciamal places.
2) if you want to show only 9 characters for itab-kidno, then you can use like this
&itab-kidno(9)&, Provided itab-kidno should be character type.
thanks & regards
Kishore Kumar Maram