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

SApscript command line query

Former Member
0 Likes
452

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!

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
420

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

2 REPLIES 2
Read only

JozsefSzikszai
Active Contributor
0 Likes
420

hi Mark,

14.2 means that the variable will be printed 14 characters long and with two decimals.

hope this helps

ec

Read only

Former Member
0 Likes
421

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