FM for list of holidays

Hi Friends,
i need a Function module for knowing the list og holidays based on emplyoee subgrouping and personnel subarea grouping and workschedule as shown in PT03 transaction.
regards
Kumar M

Hi Kumar,
  Try this Fm:
HOLIDAY_CHECK_AND_GET_INFO
  Useful for determining whether or not a date is a holiday. Give the function a date, and a holiday calendar, and you can determine if the date is a holiday by checking the parameter HOLIDAY_FOUND.
With luck,
Pritam.

Similar Messages

  • How to get list of holidays in  year

    hi,
      how to get list of holidays for a calender year.
       if any body knows function modules please help me.
    thanks and regards
    sathish

    HOLIDAY_GET Provides a table of all the holidays based upon a Factory Calendar &/ Holiday Calendar.
    HOLIDAY_CHECK_AND_GET_INFO Useful for determining whether or not a date is a holiday. Give the function a date, and a holiday calendar, and you can determine if the
    date is a holiday by checking the parameter HOLIDAY_FOUND.
    Example: HOLIDAY_CHECK_AND_GET_INFO
    data: ld_date like scal-datum default sy-datum,
    lc_holiday_cal_id like scal-hcalid default 'CA',
    ltab_holiday_attributes like thol occurs 0 with header line,
    lc_holiday_found like scal-indicator.
    CALL FUNCTION 'HOLIDAY_CHECK_AND_GET_INFO'
    EXPORTING
    date = ld_date
    holiday_calendar_id = lc_holiday_cal_id
    WITH_HOLIDAY_ATTRIBUTES = 'X'
    IMPORTING
    HOLIDAY_FOUND = lc_holiday_found
    tables
    holiday_attributes = ltab_holiday_attributes
    EXCEPTIONS
    CALENDAR_BUFFER_NOT_LOADABLE = 1
    DATE_AFTER_RANGE = 2
    DATE_BEFORE_RANGE = 3
    DATE_INVALID = 4
    HOLIDAY_CALENDAR_ID_MISSING = 5
    HOLIDAY_CALENDAR_NOT_FOUND = 6
    OTHERS = 7.
    if sy-subrc = 0 and
    lc_holiday_found = 'X'.
    write: / ld_date, 'is a holiday'.
    else.
    write: / ld_date, 'is not a holiday, or there was an error calling the function'.
    endif.

  • Break Up of Actual Costs in a report for list of orders

    Hi All,
    SAP standard reports displays only the total planned & total actual costs.
    Is there any standard report available which can display break up of planned & actual costs along with total costs, for list of orders (e.g: time, material and external resources consumption).
    Thanks in advance
    JK

    hi
    you can find the material cost,external service etc in the standard cost report itself select the change layout and select the items you want to display ,you can get the result
    regards
    thyagarajan

  • Report For list of material Master with PO text

    Hi all,
    I need a report whether it is available in Standard SAP or a customized, for List of Material Master with their PO text.
    If any one can help, please reply to this theard.
    Regards,
    Kapil Kulkarni

    To get the material number combined with the PO text you will need the help of an ABAP programmer.  The programmer can create a report for you using the function module READ_TEXT in the function group STXD.  The tables to use are:
    STXH - STXD SAPscript text file header
    STXL - STXD SAPscript text file lines
    The selection screen should have at least the following:
    OBJECT - STXH-TDOBJECT
    NAME - STXH-TDNAME
    LANGUAGE - STXH-TDSPRAS
    TEXTID - STXH-TDID
    You find the information for these fields by going to the PO text entry screen and displaying the header information under Goto -> Header.  For materials, the object is MATERIAL, the name is "material number", the language is "EN", and the text ID is BEST.  You can use this program to get long text in lots of places like information records, purchase order texts, etc.
    Hope this helps.

  • Report for List of Transfer orders in warehouse management

    hi,
    i want generate a report for list of transfer order orders in warehouse management
    is there any report with you guys kindly help me,
    or any standard report is there to display list of transfer orders in warehouse management
    Thanks,
    Rajesh
    Edited by: rajesh kumar kandagatla on Feb 11, 2009 9:27 PM

    Hi,
    If it is one time requirement, you can run the report LT23 and download the data to excel sheet and donwload material details in another sheet and you can match the temperature column in excel file.
    If it is permanent requirement, create a query and attach transaction code to that or write a seperate report for this requirement.
    Please let me know.
    Thanks
    Nagarajan

  • Report for list of POs for with Invoice has not been posted

    Hi All
    Can anybody tell me the report for list of PO' for which GR has already been done but Invoice is not posted
    Thnks
    Ranjith

    Hi
    Try Report ME2M,
    With input selection parameter  "WE101".
    Hope this helps.
    Harish

  • Report on delivery data in item level for list of po

    Dear all
             How to take Report on delivery data in item level for list of po
    regards
    M.Chandra mohan

    You can check any of the standard reports like ME2M with the selection variant as "PO where GR exists"

  • Report for List of Park Doc in FB60

    What Want a report for  List of Park Doc in FB60?

    Hi
    You can see the it in FBV3 and click on the list , here you can see the complete list based on the parameters entered by you.
    you can post it using FBV0.
    Anand

  • Create search refiner for list name in sharepoint 2013

    Hi everybody!
    How could I create a search refiner for list name in SharePoint 2013?? I think I can create a search refiner for list ID but how could I show list name base on list id to users in refinement webpart??

    you can create your custom Manged property and use content enrichment to fill the managed property 
    http://blogs.msdn.com/b/richard_dizeregas_blog/archive/2013/06/19/advanced-content-enrichment-in-sharepoint-2013-search.aspx
    Hope that helps|Amr Fouad|MCTS,MCPD sharePoint 2010

  • How to get the list of users who has access for list of tcodes.

    How to get the list of users who has access for list of tcodes.

    Go to transaction SUIM, this has a number of reports for users/authorisations
    open the Where used>Autorization Values>In Users
    and double click to execute
    in authorisation object, enter S_TCODE
    then press the "Enter Values" button
    It will offer entry boxes to put the transaction code you are interesed in.
    Then execute and the list of users with access to this transaciton code will be returned.

  • Report for list of locked pernrs problem..

    Hi,
    the requirement is like need to generate a report for list of locked pernrs with the following fields as pernr,fullname,PA(text and code),EG and ESG(text and code),changed on,changed by,position text and also quering any of the fields...
    Through SQ01 i did generated the report but its not giving the complete output such as the code and text is not showing in one report, the changed by and changed on column cant be queried as it doesnt exit....there should be one report with all the mentioned details of an employee....please provide me the solution...!
    Thanks

    Hi, you have to use switch in your infoset (or in a copy of the infoset):
    *$HR$ [COMMON]
    *$HR$ PROCESS_LOCKED_RECORDS = 'X'
    (go to-> coding- > data, then generate the infoset and regenerate a query if its already created).

  • Report for list of po

    Dear all
          Let me know for List of PO,How to get the following data.
    1. OPen PO
    2.List of Good receipts,With GR done, total GR quantity,
    3.IR done

    Hi,
    Try with T.Code ME2N and selection parameters RECHNUNG. You may also try transaction ME2M or ME2L, you choose selection parameter WE101.
    You can check also PO's Number by following T.Code:
    ME2B POs by Requirement Tracking Number
    ME2C Purchase Orders by Material Group
    ME2J Purchase Orders for Project
    ME2K Purch. Orders by Account Assignment
    ME2L Purchase Orders by Vendor
    ME2M Purchase Orders by Material
    ME2N Purchase Orders by PO Number
    ME2O SC Stock Monitoring (Vendor)
    ME2S Services per Purchase Order
    ME2V Goods Receipt Forecast
    ME2W Purchase Orders for Supplying Plant
    If helpful then rewards.
    Regards,
    Biju K

  • How to set item level permission for list item in SharePoint 2013

    Hi we had a custom List "ABC".
    List had 2 columns:
    Project Name: (P1, P2, P3, P4, P5, P6)
    Project Leads: (PL1, PL2, PL3, PL4, PL5, PL6).
    All project Leads can have permission to edit only their Project (P1, P2, P3) like
    PL1 can edit P1
    PL2 Can edit P2.....
    But my Question is how to restrict PL2 cannot have permission to edit P1
    is it possible to set permission for this through OOTB in SharePoint 2013.
    Any help will be appreciated......

    Hi
    check this similar post
    http://social.technet.microsoft.com/Forums/ro-RO/e1ea3655-0c6f-4b3d-a336-c42e8eb54c09/rights-to-edit-own-items-for-list-residing-on-publishing-site?forum=sharepointdevelopmentprevious
    Romeo Donca, Orange Romania (MCSE, MCITP, CCNA) Please Mark As Answer if my post solves your problem or Vote As Helpful if the post has been helpful for you.

  • Function Modules, for listing Cost centers Under a manager

    Hi All,
    1. Can any one please suggest me any Function Module available for listing the cost center under a manager, given only the Manager's username or pernr.
    2. And also the Function Group which has the collection of Function Modules which deals with operations and reporting on Cost centers from a Manager's Role (basically on budjet Monitoring aspects).
    Thanks and Regards,
    Girimurugan

    If this is the followup of the previous post (responsible person) and you wanted to get a list of cost centers based on that using a FM , i doubt that there is a FM available for that. You have to read the table to get the info.
    When you say manager, he could be a manager for a HR organisation but the cost organization may be different. in a typical set up it would be a cost center group (which will have set of cost centers under it) and this will be linked to a hr organization.
    All this is purely based on how cost center hierarchy (standard hierarchy) and hr organization maintained and how they are linked.
    Regards
    Raja

  • Alert is not working for mutiple times for list "select" function in sapui5 XML view

    Hello All,
    I am trying to open an alert for multiple times for list "select" function. But it's opening for only one time .
    Please find code below.
    View Part
    <List id="contactedit" select="somefunction">
        <CustomListItem id="custom1" type="Inactive" >
    <content>
    <Label text="this is label" />
    </content>
    </CustomListItem>
    </List>
    Controller Part
    somefunction: function(oEvent){
    alert("this is an alert");
    Thanks in Advance
    D.Mohanbabu

    I think I saw this question in stack overflow. And I answered it :-)
    I believe that it is because you can only one item in the list and once the item is selected, re-selecting it will not fire the event.
    Try adding more items to the list and select different items.
    Thanks
    -D

Maybe you are looking for

  • How can i send more than one signal to DMA FIFO?

    Hello, I'm trying to send more than one signal to DMA FIFO, but i don't know how to do. When i send one signal i don't have problems. I try to use one block DMA FIFO for one signal. For example if i have 3 signal i use · DMA FIFO but whe i want to wa

  • Handoff switch not showing on iPad settings?

    I Have just updated my 3rd generation iPad to iOS 8.0, and the first thing I looked for was the handoff feature, but the switch is not showing. I turned it on on my iPhone 5s running iOS 8. I thought it'd work after turning Bluetooth on, but nothing

  • Start up disc problems and my imac will not boot from the cd.

    Hi All, I have a start up disc that needs repaired, according to ONYX so then reading the apple support guide it seems I boot from my OSX CD that came with my iMac and use First Aid. However when I insert my OSX CD my imac reads it fine, as it does w

  • Can't start virtualbox windows 7 32 bit image anymore please h[SOLVED]

    Hello guys, Just recently, I upgraded my system by executing "sudo pacman -Syu". It upgraded my kernel and kernel header files and mesa devu etc... including virtualbox-ose 3.2.10-3. Someoutputs that could be useful: (Please note I picked up only ins

  • Ethernet Link in OS 10.5.4

    Dear Forum, Can someone please outline the proceedure for hooking up 2 computers, a G5 dual 1.8 Ghz Powermac and an intel Macbook Pro via ethernet? Both computers have OS 10.5.4 installed.To facilitate the transfer of software and files from one comp