‎2007 Nov 20 9:39 AM
Hi,
How can i remove a quantity variable in SAPScript / report??
Regards,
Kit
‎2007 Nov 20 9:42 AM
Hi
use CONDENSE keyword.
in Script you can apply formatting techniques...
&VAR& = 1,356.470
&VAR(.1)& = 1,356.5
&VAR(.4)& = 1,356.4700
&VAR(.0)& = 1,357
Message was edited by:
Perez C
‎2007 Nov 20 9:43 AM
Hi!
Removing the easies with the following:
SHIFT gv_quantity LEFT DELETING LEADING space.
But with this the aligns will be messed up. The best way during report writing is this:
WRITE:/ 10 gv_matnr, 40(10) gv_quantity RIGHT-JUSTIFIED, 50 gv_meins.
And for SAPScript, you might use tabulators for right justify.
Regards
Tamá
‎2007 Nov 20 9:44 AM
Hi,
Define one variable with character type pass ur quntity value into that variable
use condense statement and pass again that value to ur old quantity field.
EX.
DATA NAME (30).
Name = quantity.
CONDENSE NAME.
quantity = name
WRITE quantity.
Reward Points
Reagrds,
Prashant
‎2007 Nov 20 9:47 AM
Move the value to a character field and then use Condense.
In SAP Script use character field for display purpose.
It will work.
Lokesh
‎2007 Nov 20 10:28 AM
Hi,
You can do as below :
SHIFT gv_quantity left deleting leading '0'.Thanks,
Sriram Ponna.