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

function module

can any one tell me any function module in wich i can pass current system date and number of days. and it will return me number of working days with date.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

5 Answers

  • Posted on Dec 03, 2007 at 11:51 AM
    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 03, 2007 at 12:02 PM

    Hi.

    To Calculate the No of working days between 2 dates.

    <b>CALL FUNCTION 'RKE_SELECT_FACTDAYS_FOR_PERIOD'</b>

    EXPORTING

    i_datab = sy-datum "Begin date

    i_datbi = v_date "Enddate

    i_factid = 'GB'

    TABLES

    eth_dats = l_it_dat.

    Also check

    <b>FIMA_DAYS_AND_MONTHS_AND_YEARS

    </b>

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 03, 2007 at 12:03 PM

    Hi Pankaj,

    add no of days to the from date to get the to date.

    Use function module <b>RKE_SELECT_FACTDAYS_FOR_PERIOD</b> that gives the list of working days between 2 dates.

    Reward points if useful.

    Regards

    Megha

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 03, 2007 at 12:10 PM

    Hello Pankaj,

    You can use FM <b>RKE_SELECT_FACTDAYS_FOR_PERIOD</b> which will give you number of working days between two dates given on selection screen.

    Reward if helpful.

    Thanks,

    Lalit Kabra

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 03, 2007 at 12:16 PM

    Hi,

    Use Table TFACS , TFACD

    or try FMs

    WLB3_WEEK_GET_NR_OF_WORKDAYS

    WLB3_GET_NUMBER_OF_WORKDAYS

    Regards,

    Prashant

    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.