10-10-2008 8:48 AM
HAI FRENZ...
WE VE SY-DATUM TO GET CURRENT DATE BUT ITS LIKE
FOR E.G., 10.09.2008
LIKE THAT IS THEIR ANY OTHER WAY TO GET CURRENT MONTH LIKE SEPTEMBER AS MY VALUE...
HELP ME...
REGARDS
MEENA
10-10-2008 8:52 AM
10-10-2008 8:54 AM
Hi ,
You can use :
DATA: w_t247 TYPE t247,
w_spras TYPE sy-langu VALUE 'E',
w_month TYPE month.
w_month = wa_final3-month+4(2).
*the value of w_month will come from offset calculation of sy-datum.
CALL FUNCTION 'IDWT_READ_MONTH_TEXT'
EXPORTING
langu = w_spras
month = w_month
IMPORTING
t247 = w_t247.
month = w_t247-ltx.
10-10-2008 8:54 AM
Hello
data: monum type monum.
monum = sy-datum+4(2).
select single * from t015m where spras eq sy-langu and monum eq monum.
write: t015m-monam.
10-10-2008 11:42 AM
Hi.
Please use proper english for all postings. Please do not write everything in upper case letters. Please search before posting. Please read the rules of engagement.
And for everyone else: Don't answer postings that violate our rules of engagement.
Best regards,
Jan Stallkamp
PS: If your system returns 'September' as the current month you should contact your basis guys...