2007 Jan 18 2:08 PM
hI ALL.
I want Validation like Right justify amount decimal point and 2 decimal places.
this is Work area
TYPES: BEGIN OF T_DATATAB,
COL01(60) TYPE C,
COL02(60) TYPE C,
COL03(60) TYPE C,
end of T_datatab.
data: g_t_dbt like table of dbt initial size 10,
wa_dbt type dbt.
DATA : VAL TYPE STRING.
Now i want move value from VAL to wa_DBT-CURRENCY as follows,
move wa_datatab-col07 to wa_DBT-CURRENCY.
MOVE VAL TO wa_DBT-CURRENCY.
so if i give input 100, i need display like 100.00
Help me
helpful answers will be get rewarded.it is very urgent
Regards.
Bhanu
Message was edited by:
bhanu
hI ALL.
I want Validation like Right justify amount decimal point and 2 decimal places.
this is Work area
TYPES: BEGIN OF T_DATATAB,
COL01(60) TYPE C,
COL02(60) TYPE C,
COL03(60) TYPE C,
end of T_datatab.
data: g_t_dbt like table of dbt initial size 10,
wa_dbt type dbt.
DATA : VAL TYPE STRING.
Now i want move value from VAL to wa_DBT-CURRENCY as follows,
move wa_datatab-col07 to wa_DBT-CURRENCY.
MOVE VAL TO wa_DBT-CURRENCY.
so if i give input 100, i need display like 100.00
Help me
helpful answers will be get rewarded.it is very urgent
Regards.
Bhanu
Message was edited by:
bhanu
2007 Jan 18 2:13 PM
2007 Jan 18 2:14 PM
Hi bhanu,
1. simple
2. just use
WRITE numberfield to charfield.
(it will put the field
in the SAME FORMAT as DISPLAY FORMAT)
eg. YYYYMMDD will put as dd.mm.yyyyy
256 will put as 256.00
regards,
amit m.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |