Skip to Content
author's profile photo Former Member
Former Member

Data element for Month and Year

Hello All,

Is there any data element which will have only Month and Year.

I have to introduce this field in a table. It should have convesion exits also.

Ex: If i give 092009, it sould come like 09.2009

Thank you.

Best Regards,

Sasidhar Reddy Matli.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

5 Answers

  • Best Answer
    Posted on Oct 16, 2009 at 09:27 AM

    Hi,

    Check data element SPMON.

    Regards,

    Vinod

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Feb 03, 2012 at 05:45 AM

    Kindly Try this code for Month and year as input and having standard F4 help..

    INCLUDE RMCS0F0M.

    TYPES : BEGIN OF TY_SELECT,

    MONTH TYPE FTI_MONTH_YEAR,

    END OF TY_SELECT.

    DATA : WA_SELECT TYPE TY_SELECT.

    SELECTION-SCREEN : BEGIN OF BLOCK SANDEEP WITH FRAME.

    SELECT-OPTIONS : S_MONTH FOR WA_SELECT-MONTH OBLIGATORY NO INTERVALS NO-EXTENSION.

    SELECTION-SCREEN : END OF BLOCK SANDEEP.

    AT SELECTION-SCREEN ON VALUE-REQUEST FOR S_MONTH-LOW.

    PERFORM MONAT_F4.

    SANDEEP JAIN

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 16, 2009 at 09:32 AM

    Data element /BI0/OICALMONTH,it has std F4 also

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 16, 2009 at 09:33 AM

    FTI_MONTH_YEAR - but you must give the data year and month say 200909 (having conversion exits) then it converts into 09-2009.

    RSCALMONTH,

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 23, 2011 at 10:14 AM

    Dear Sasi,

    You can make use of the table /BI0/SCALMONTH

    and the field name is CALMONTH

    Using of this will give you F4 help also

    For Ex:-

    TABLES:/BI0/SCALMONTH.

    SELECT-OPTIONS :DATE FOR /BI0/SCALMONTH-CALMONTH.

    WRITE :DATE-LOW ,'to' , DATE-HIGH.

    With Thanks and Regards,

    Siva Subramanian.A

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.