‎2005 Dec 01 12:36 PM
I need to put the date in this form: September 29, 2005 into a Smartform.
How can I do that?
‎2005 Dec 01 12:43 PM
Hi Carlos,
use the table T015M.
data : w_monam type monam.
select single monam
into w_monam
from t015m
where spras eq sy-langu (or nast-langu)
and monum eq w_date+4(2).
write : /1 w_monam, w_date+6(2), ',', w_date+0(4).Rgd
Frédéric
‎2005 Dec 01 12:43 PM
Hi Carlos,
use the table T015M.
data : w_monam type monam.
select single monam
into w_monam
from t015m
where spras eq sy-langu (or nast-langu)
and monum eq w_date+4(2).
write : /1 w_monam, w_date+6(2), ',', w_date+0(4).Rgd
Frédéric
‎2005 Dec 01 12:47 PM
Hi,
try with that sample:
PARAMETERS : date TYPE sy-datum DEFAULT '20050925'.
DATA dstr TYPE string.
* get name
SELECT SINGLE * FROM t247
WHERE spras = sy-langu
AND mnr = date+4(2).
CONCATENATE t247-ltx date+6(2) ',' date(4) INTO dstr
SEPARATED BY space.
WRITE : / dstr.Andreas
‎2005 Dec 01 12:52 PM
Hi Andreas,
funny, there are 2 differents tables in SAP that make this.
Fédéric
‎2005 Dec 01 12:58 PM
‎2005 Dec 01 1:00 PM
‎2005 Dec 01 1:05 PM
The input,
don't know if you need sy-datum or something from your NAST structure/table
Rgd
Frédérc