on 08-02-2007 1:48 PM
hi friends..
what is command for suppress the sign in sapscript
Hi,
Use the String length on that fiels, lets say that field is OUTTABLE_FIELD,
Data: length type i.
Length = STRLEN(OUTTABLE_FIELD).
Length = length - 1. " TO ignore the Minus sign, this will be there in the Last of the field
OUTTABLE_FIELD = OUTTABLE_FIELD+0(Length). " So here the Minus will not be there in the field
Regards
Sudheer
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
There si no command to suppress the sign in SAPSCRIPT, Just using the offset, write upto the last charecter, so the Minus sign will be ignored
Regards
Sudheer
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
follow this logic........
&variable&---> 1000-
<b>&variable(s)&-----> 1000</b>
&variable(<)&-----> -1000
we can use the S option to ensure that the value is formated without the sign.
regards,
Ashok Reddy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This can be done in two ways, before passing back to form try to do like this in perform statement.
IF value < 0.
value = value *-1.
ENDIF.
and pass it back to form and it dispalys with out sign.
OR
IF you pass the value with negative sign to form you can surpress the sign while display like this
&value(S)& " here S indicates surpress.
Regards,
SaiRam
User | Count |
---|---|
87 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.