Function Module Related to Holiday Calender

Hi Experts,
Please provide me with FM's pertaining to Holiday Calender.
Regards,
IFF

DATA : IT_HOLIDAYS TYPE TABLE OF ISCAL_DAY.
CALL FUNCTION 'HOLIDAY_GET'
EXPORTING
   HOLIDAY_CALENDAR                 = 'IT'
  FACTORY_CALENDAR                 = ' '
   DATE_FROM                        = '20080101'
   DATE_TO                          = SY-DATUM
IMPORTING
  YEAR_OF_VALID_FROM               =
  YEAR_OF_VALID_TO                 =
  RETURNCODE                       =
  TABLES
    HOLIDAYS                         = IT_HOLIDAYS
EXCEPTIONS
  FACTORY_CALENDAR_NOT_FOUND       = 1
  HOLIDAY_CALENDAR_NOT_FOUND       = 2
  DATE_HAS_INVALID_FORMAT          = 3
  DATE_INCONSISTENCY               = 4
  OTHERS                           = 5
IF SY-SUBRC EQ 0.
  WRITE 'Done'.
ENDIF.

Similar Messages

  • Function module related to procurement type and special procurement type

    Hi Gurus,
    Is there any function module related to procurement type and special procurement type?
    Regards
    Rajib

    Dear Rajib,
    What is your exact requirment?do you want to find out the list of materials based on procurement type
    and special procurement type?
    You can get the details from the table MARC.
    Regards
    Mangalraj.S

  • Function modules related to header and item GUID

    Hi,
    Please tell me the function modules related to header and item GUID.
    Thanq
    brahmaji

    You will need to be clearer about what you want to do. Try searching for function modules with names like "GUID". Also try searching forums first.
    Cheers
    Graham Robbo

  • How to find out the Functional module related to a T-code

    Hi All ,
    Please tell how to find out the Functional module related to a T-code.
    i want it for the T-code RSZDELETE.

    Hi
    There is no direct way to see this.
    You need to Pick the Program(Se37/38) and tables (SE16/11)and to see where its been used
    The FM for RSZDELETE is RSZ_DB_COMP_REORG_AS_POPUP.
    Hope it helps

  • Function module to get holiday class from work schedule for current day

    I need to determine what the public holiday class value is for the current day in a user exit.  Is there an SAP function module that can return me this data?  This would be the information that is displayed when pressing the work schedule button from infotype 0007

    Function module HOLIDAY_CHECK_AND_GET_INFO is closer to what I need.  This function module returns an X if the day is a holiday.  I will create a Z program and instead of returning an X for a holiday I will return the THOL-KLASS (holiday class) value.

  • Need function module related to PCL2.

    Hi,
    Is there any function module that gives me all the related entries in PCL2 for any personnel number (PERNR) that i enter?
    I will reward all the useful answers.
    Thanks,
    Mohit.
    Edited by: mohit goel on Feb 28, 2008 2:51 PM

    Hi,
    This is not the one I want.
    This FM does not exist : RP_PRINT_PCL (Is the name write?)
    The other FM does not suffice to my requirement. It does not mention anywhere PERNR.
    Thanks,
    Mohit.

  • Function module related to release transport request

    Hello experts,
    I am working on product management system hierarchy. The hierarchy is like
      PRODUCTSSUBPRODUCTVERSIONPACKAGE
    we can create transport for VERSION directly from CONTEXT MENU. Next step is download transport to client PC I have done with it. FInal stage to release transport directly from context menu. For this i am searching for appropriate function module. If anybody know which function module to be used for transport request release please share it with me.
    Thanks,
    Avadhut

    Hi,
    You can use TR_RELEASE_REQUEST to release a transport request directly.
    The class CL_CTS_REQUEST is also worth looking at.

  • Function Modules related to BOM

    Hi BW Gurus,
    I am having a requirement to extract data from the function module for the PP module for the standard BOM.
    I found out some function modules for my requirement csap_mat_bom_read and my problem here when i am trying to create a generic data source on using this function module it displays a error msg " The specified table  does not exist ".
    I am working first on function modules please let me know whether these function modules useful to fetch data in BW or not.
    Give me your input of how to proceed further.
    Regards,
    Syed

    Hi Shahid
    You cannot create a generic datasource directly on a SAP standard function module, you should either create a custom FM and use the standard FM to get the data to a internal table and pass the values to a structure of datasource. Or use SAP tables to extract data to ITAB.
    Rahul

  • Doubt in function module relating to delta upload

    Hi,
        Is there any ABAPer alive around who can tell me how i can write a funtion module to update data to BW side.
    They only tell me data is not going to BW side. Can anyone throw light as to how function module should be structured. I  have a function module that works very finely for full update mode in RSA3. What should be done in my function module for delta update mode to work on BW side?????
    <h1> THIS IS CRITICAL </h1>
    Regards,
    Prakash.K

    Critical?  Why?  Should I respond faster because you've a problem that's urgent for you?
    Does full extraction work when you run the extraction from BW?  Extraction only stops when you return an empty package.  Hence, RSA3 won't tell you if you've made this mistake. RSA3 will work fine, but the extraction will never end when run from BW.  I refer you to this discussion I had earlier. [Re: Transport Organ9izer]  I'll emphasise one important point: Also SAP supply RSAX_BIW_GET_DATA_SIMPLE as an example of how to write FM extractors 
    If your FM is actually working with full, then to get your function module to work as a delta load, you need to be able to determine which data records have changed with since the last extraction, and only send those.  How you do this depends very much on the data.  You'll also have to define the datasource as Generic.
    matt

  • FUNCTION MODULE RELATED TO CUSTOM IDOC

    HI ALL,
    i have an requirement to create a catsdb custom idoc with four fields
           1.Personnel Number
            2. Date
            3. Activity Type
            4. Counter
       I created a custom idoc and had successfully send to receiver. now that idoc should be updated into databse tables.  here my problem is how to create a function module which should take care of updating data into database table at receiver side and also when i checked using WE02 at receiver side its showing an error 'Function module not allowed: IDOC_INPUT_STATUS' . for creating a process code i used IDOC_INPUT_STATUS function module at receiver side.
    is there any fm that automatically takes data and updates into databse table ctasdb at receiver side or if u want to create a custom Fm how to do it.
    any help will be highly appreciated.
    with regards,
    Suresh.A

    Hi,
    So for creating a process code you used IDOC_INPUT_STATUS function module at receiver side. whats that?
    Process code is created using tcode: we42 isn't it?
    What did you do please tell me.
    Thanks
    Dan

  • Creating function module related to total length of lay

    how to total the planned lengths for all work orders for lay and abandon opertions separatly

    Hi all,
             I am still seraching for the perfect solution, I am looking for the function module to get summarized actual and planned data from COPA, if any idea, Please replay ASAP.
    Thanks
    -Anmol

  • Function Module Related to SD

    what is the function module to convert Sales unit of measure (  VRKME ) to base unit of measure ( MEINS)

    Sri,
    'MD_CONVERT_MATERIAL_UNIT'
    also you can search in se37 by giving unitconversion* than pressing F4.
    choose any one of them.
    Amit.

  • Function module related to Personnal info

    Dear gurus,
           Is there any function module to getdetails of wbselements,costcenter,activity type of a given personal number. Please help me regrding this because iam new to PS,HR modules.
    Thanks and Regards

    hi
    good
    go through this link hope help you to solve your probelm
    http://help.sap.com/saphelp_nw04/helpdata/en/33/6db6385443bd7ae10000009b38f8cf/content.htm
    thanks
    mrutyun^

  • Function Module related....

    Hi Sap Folks,
           Could any one please tell me where exacly can we find different function Modules for different purposes in BW.
    I mean i want to know in which Tcode can we able to get all function modules and there descriptions.
    Points will be rewarded for all active members.
    Regards
    Sujan...

    Hi:
    Go to SE37.
    There, use * and look up Function Modules with their descriptions.
    Foe example, if you want to look up Function Module that raises events,
    SE37
    Type:EVENTRAISE*
    And open the dialog box and you will get a drop-down values.
    Chamarthy
    Message was edited by:
            U.P. Chamarthy

  • What are other functional modules related to HRIS ?

    Hello friends,
    I have been handling HRIS and now wish to expand my knowledge to related modules.  So any suggestions as to which module or functional areas in SAP I should consider ?
    Thanks,
    - Chetan

    Varies per install, since you might not be using a given feature of lvm. add 'break=postmount' to your kernel cmdline and look at the output of lsmod. Those are the modules you're using.

Maybe you are looking for

  • Partial Refresh for Chart Region

    Hi all, I am using Application Express 4.0.1.00.03. I need to know whether partial refresh is available for Flash Charts or not? If yes how? Thanks in advance... Edited by: jyothi on Aug 17, 2011 9:06 PM

  • URGENT HELP How Can I clone the database only?

    Hi all I have two database, oracle9.2.0.6 running on RHEL4 one is testing server and the other for the production server how can i clone the testing DATABSE on the productioin DATABASE? please help me urgent Thank You Regards

  • Photo's Gone

    I have a Lacie back up hard drive that contains my iPhoto collection.  Several weeks ago I lost all my pictures on my iMac in iPhoto.  Since then I have been taking pictures daily and adding them to my iPhoto which was empty. Yesterday I opened the p

  • How do you sync Windows Live Mail Calender with iPhone 4 Calender?

    How do you sync Windows Live Mail Calender with iPhone 4 Calender?

  • I HAVE A QUESTION FRO GOODNESS SAKES!!!!

    i can't find the serial number to enter for free my trial PS6 Photoshop...and quite frankly ithis keps up much longer no matter how super PS6 is i am not going to buy anything from Adobe...i just asked 1 simple guestion and you are making me go throu