on 02-22-2009 9:55 AM
hi experts,
how to print date as 21/feb/2008 in smartforms.
thanks in advance
by using EDIT MASK OR
By using Function Module that is CONVERSION_EXIT_LDATE_OUTPUT
We can change Date formats..AND also see this Link below you will find different DATE FORMATS
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi
try this.
in global definisions declare
G_BLDAT TYPE CHAR11
WRITE l_date TO g_bldat USING EDIT MASK '==SDATE'.
Cheers
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Create program lines in your smartform, use function module 'CONVERSION_EXIT_SDATE_OUTPUT' to change the date to your required format.
Close the thread once your question is answered.
Regards,
SaiRam
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Use the FM CONVERSION_EXIT_SDATE_OUTPUT
DATA: int_datum LIKE sy-datum VALUE '19940102',
ext_datum(11) TYPE c.
CALL FUNCTION 'CONVERSION_EXIT_SDATE_OUTPUT'
EXPORTING
input = int_datum
IMPORTING
output = ext_datum.
WRITE 😕 ext_datum.
Result
02.JAN.1994
Regards
Bala Krishna
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
search in se37 with CONVERSIONEXITDATE* hit an F4 u'll get some conversion exits like the one chennakesava has already specified, scripts have a command call set date mask but i dont think it will work in smartforms
кu03B1ятu03B9к
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.