on 07-08-2011 4:27 AM
Hello Expert,
In my script, I defined as below:
/: IF &VBDKR-VKORG& = 'WCAO'
= ,,&KOMVD-KAWRT(I11.4<)&,,&KOMVD-AWEIN&
/: ENDIF
Then I run the report which will trigger the script. In the debug mode, I find the values are as below
VBDKR-VKORG: WCAO
KOMVD-KAWRT: 97.74
KOMVD-AWEIN: STN
In my expection, the output should be 97.7400 STN, but actuall the output displays 9.7740 STN. It's off by one decimal point conversion. This is quite confusing.
CAn any expert help on this and tell how to fix the issue?
Thanks in advacne,
Regards, Yongbo
Moderator message: please choose more descriptive subject lines for your posts.
Edited by: Thomas Zloch on Jul 8, 2011 9:38 AM
Edited by: Yongbo Wu on Jul 8, 2011 10:31 AM
Hello,
SAPSCRIPT isn`t able to interpret more than 2 decimal places.
I have the problem also and uses a workaround.
I have defined a text attribute in my print program, where I move the value and print the value as text
Regards,
Christian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.