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

Factory Calender

Hi All,

How i know that partucular date is holiday or not. Iam using the factory calender US, how can i say that the particular date is holiday or not. can we have any FM for this Purpose.

Please suggest.

Regards,

Sreehari

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

6 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Feb 20, 2008 at 09:53 AM

    HI,

    use dis FM

    CHECK_HOLIDAY

    parameters are as below

    Import parameters Value

    I_ARBID 00000000

    I_KAPID 00000000

    I_DATE 04.07.2008

    Changing parameters Value

    X_KALID US

    X_WERK 2000

    X_KAPAR 000

    Edited by: jose on Feb 20, 2008 10:56 AM

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Feb 20, 2008 at 09:55 AM

    Try using: BKK_CHECK_HOLIDAY FM.

    Regards,

    Ravi Kanth Talagana

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Feb 20, 2008 at 09:56 AM

    You can check the Transaction code SCAL or

    Go to SDMO

    Enter Factory in the Search Text

    Execute.

    You will get all the available factory calendars.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Feb 20, 2008 at 09:57 AM

    Hi sreehari,

    BKK_CHECK_HOLIDAY

    and also the below thread

    BKK_CHECK_HOLIDAY

    about-holiday-calender

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Feb 20, 2008 at 09:57 AM

    Hi,

    Use the following fn mdl to get the holiday information

    CALL FUNCTION 'HOLIDAY_CHECK_AND_GET_INFO'

    EXPORTING

    DATE = L_DATE

    HOLIDAY_CALENDAR_ID = L_HOLIDAY_CALID

    IMPORTING

    HOLIDAY_FOUND = E_X_IS_HOLIDAY

    TABLES

    HOLIDAY_ATTRIBUTES = L_TAB_HOLIDAY_ATTR

    EXCEPTIONS

    OTHERS = 1.

    Hope this helps,

    Thanks in advance..

    rgds,

    harikrihna.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Feb 20, 2008 at 11:15 AM

    Hi,

    Factory Calendar:

    A calendar in which working days are numbered sequentially.

    The factory calendar is defined on the basis of a public holiday calendar. The validity period of a factory calendar must be within the validity period of the public holiday calendar.

    The weekdays that are working days must also be specified in this calendar.

    Example

    Monday through Friday are working days.

    Saturday, Sunday, and public holidays are non-working days.

    Check this sample:

    CALL FUNCTION 'RKE_SELECT_FACTDAYS_FOR_PERIOD'

    EXPORTING

    I_DATAB = LV_FROM

    I_DATBI = LV_TO

    I_FACTID = '01'

    TABLES

    ETH_DATS = LT_FACT.

    Regards,

    Rohini.

    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.