Skip to Content
avatar image
Former Member

month and year individually print

Hi Friends,

I want to know we having any system field to print date and month individually print on

the smartform.

Have u any suggestion for it.

Waiting for ur response.

Regards,

Swapnika

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • avatar image
    Former Member
    Dec 30, 2008 at 10:26 AM

    sysf-date--->for date

    sysf-month--->for month

    SELECT SINGLE ltx

    FROM t247

    INTO text

    WHERE spras = sy-langu

    AND mnr = SFSY-MONTH.

    above is to get the text of the month

    Edited by: shan palani on Dec 30, 2008 4:02 PM

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Dec 30, 2008 at 10:30 AM

    hi,

    you have &sysf-date& for date and you need to get the month value from date and use the T247 table to get the Month text or FM MONTH_NAMES_GET.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Dec 30, 2008 at 10:32 AM

    Hi,

    &SFSY-DATE+0(2)&------For day

    &SFSY-DATE+3(2)&-----For Month

    &SFSY-DATE+6(4)&---For Year

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      My problem is resolved . I have wasted alot of time to solve this problem

      But u guys have solve very quick.

      Heartly Thanks Dear

  • avatar image
    Former Member
    Dec 30, 2008 at 10:39 AM

    Thank u alot

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      >

      > Thank u alot

      Swapnika, there is no harm in alloting points to people who helped your issue resolve so fast and made life easy. All these points are going for a good cause.

      Vishwa.