on 06-20-2007 8:12 AM
hi all ,
in one of my out field the result was '-5.0000000000000000E+00' and then i made it short to ' 5,00 - ' now i want to shif that negative sign before 5 so wht should i do in order to do that
thanxz
himanshu sharma
Hi,
You may use &VARIABLE(<)& to print the sign in front in the SAP Ecript.
e.g. If your VARIABLE = 5.0- then if you use &VARIABLE(<)& in your SAP Script it will print it as -5.0.
I hope this helps,
Regrads
Raju Chitale
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
is there no other option other than using for perform becoz to make it short i just create two local variable in constant.
c_len VALUE 4,
c_deci VALUE 2,
and
DATA: v_rqlow TYPE p LENGTH c_len DECIMALS c_deci,
v_rqhigh TYPE p LENGTH c_len DECIMALS c_deci.
n then eqate the variables with the value is it necessary to use form perform to shift the sign ..................
thanxz
himanshu sharma
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You need to write the PERFORM and ENDPERFORM using this Variable andf Chaning a Variable ...
This Changing variable should be a Charecter variable. then in the FORM and ENDFORM ... you need to use the function module CLOI_PUT_SIGN_IN_FRONT
Regards
Sudheer
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.