Public Holiday Class field in IDOC WORKSCHED_WITH_COST

Hi Experts,
Good day..!
Well we are working on a integration project between external rostering system & CATS.
As part of the integration we are supposed to send Work Schedules (Planned hours) from external system to Cats.
On investigation we found IDOC WORKSCHED_WITH_COST which suffice the purpose.
But this IDOC doesn't have any field for Public holiday class. its having only Day type.
Where as in Infotype 2003 we could see both the fields.
Can somebody let me if I am missing something here, do we need to do any enhancements how...?
We are on
SAP ECC 6.0
SAP_HR     604     0037     Human Resources
Your help is well appriciated,
Thanks in advance,
Sai

Hi All,
We somehow tried to convience business.
What we would like to do to eliminate the fuzz of Holiday Class field is , We will process data directly to IT2003 skipping CATS as they dont use Substitutions other than for HR.
We are thing of doing as below
Insert: HR_INFOTYPE_OPERATION will use this.
Delete / Reversal: HR_INFOTYPE_OPERATION with del option this is where I doubt about. do we have any option of reversal ...? or do we need to delete the record.
Will create a BAPI & IDOC respectively.
Please suggest if this apporoach is fine as I have no clue with HR dependencies.
Cheers,
Sai

Similar Messages

  • Problem in getting public holiday class using function module

    Hi to all
    I am using function module
    HR_PERSON_READ_WORK_SCHEDULE.
    for getting the employee's actual work schedule and public holiday class FTKLA.
    But I am unable to get the correct public holiday class.
    Please guide me.
    How to do that.
    Regards
    Anubhav

    Hi,
    form build_work_schedule tables b_psp structure pdpsp
                                    b_day_psp structure pdsppsp
                                    b_employees structure pdpnr
                             using value(b_begda) like sy-datum
                                   value(b_endda) like sy-datum
                                   value(b_read_db) type c.
      data: counter type i. "Note 495298
      call function 'HR_PERSON_READ_WORK_SCHEDULE'
           exporting
                begin_date          = b_begda
                end_date            = b_endda
               grouping_dws        = motpr    "VEX Modif
               grouping_attendence = moabw
               grouping_substitute = mover
                read_from_database  = b_read_db
                im_read_no_locked_records = 'X'                 "803380
           tables
                pernr_tab           = b_employees
                psp                 = b_psp
                day_psp             = b_day_psp
           exceptions
                error_in_build_psp  = 1
                others              = 2.
      read table b_employees with key error = 'X'
                             transporting pernr.
      if sy-subrc eq 0.
        read table d3000_pers with key pernr = b_employees-pernr
                                               transporting name.
        if sy-subrc eq 0.
          message s582 with d3000_pers-name.
        else.
          message s582 with b_employees-pernr.
        endif.
      endif.
    Hope it helps you.

  • Why zero is assigned for not a public holiday in public holiday class

    why zero is assigned for not a public holiday in public holiday class

    Are you trying to accomplish the same effect as JSplitPane.setOneTouchExpandable( false ) ?

  • 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.

  • Year 2009 Malaysia Public Holidays set wrongly in SAP calendar Time Mgmt

    Dear Guru,
    I have a  scenario that the Year 2009 Malaysia Public Holidays for Hari Raya Day 1 and Hari Raya Day 2 has set wrongly in SAP calendar Time Management.
    Seeking your advice how do I change the Public Holiday dates in the SAP calendar to retify the discrepancy.    From  TCode:SCAL >  SAP Calendar Main Menu > _____
    Many thanks.
    Wai Cheng

    Hi,
    Please go to SCAL and then Public Holidays and then change and then inside the screen select the public holidays that have been wrongly assigned and then click on change now ur public holidays class and rest details comes up so change as per ur requirement.
    Let us know if u have any doubts further
    Thanks
    Swati

  • Public Holiday Calender

    Dear All,
                I want to Maintain Public Holiday Calender with the below holidays in ECC 6.Suggest me
    1.     REPUBLIC DAY     SATURDAY      26.01.2008
    2.     MAHASHIVRATRI      THURSDAY      06.03.2008
    3.     HOLIKA DAHAN      SATURDAY     22.03.2008
    4.     RAM NAVAMI     MONDAY      14.04.2008
    5.     INDEPENDENCE DAY     FRIDAY     15.08.2008
    6.     RAKSHABANDHAN     SATURDAY     16.08.2008
    7.     GANDHI JAYANTI      THURSDAY     02.10.2008
    8.     DUSSEHRA      THURSDAY      09.10.2008
    9.     DIWALI      TUESDAY      28.10.2008
    10.     GOVERDHAN POOJA      WEDNESDAY
         29.10.2008
    Thanks,
    Alam

    Go to SCAL t code
    1. Double-click with the mouse on the Execute symbol, select the option Public holidays and choose the function Display.
    2. Check whether the list of public holidays displayed contains all the public holidays that you need.
    If you want to see detailed information on any public holiday, choose the function Display def.
    3. If you need other public holidays, return to the initial screen of the maintenance transaction, and choose the function Change.
    4. Choose the function Insert, and now make the following entries:
    Public holiday type
    Date or calculation rule
    Public holiday text (short and long)
    If required: Sort criterion, religious denomination or public holiday class (for notes on this, press the F1 Help).
    Save the definition.

  • System is not stopping with warning on Public Holidays IT2001.

    Dear Experts,
    In 2015 we have generated work schedule with new holiday calendar.  After that in Testing client we tested like trying to maintain a Absence record on the date of Public holiday.  in v_t554s  WWE is the configuration in Define Absence type.  Counting rules also i've checked.  its as same as production system.  user is commenting that it should show error when we maintain iit2001 on public holidays.  where should i change.  please give me inputs,  i'll also keep trying checking the config path.
    Thanks,
    Aruna

    Dear Aruna,
    First DWS is not link with day type, day type always link with Public holiday.
    DWS class:
    0 - Week off
    1 to 9 - Working day
    Day type:
    blank --> Work/Paid (Working days)
    1--> Not work/ Paid (Week offs)
    2--> half day holiday (Any band or company holiday)
    3 to 9-->  Customer specific holiday
    Public holiday class:
    blank --> Ordinary holiday
    1--> Not a public holiday
    2--> half day holiday
    3 to 9-->  Customer specific holiday
    Ur's Mohan

  • Unpaid Public Holiday

    Hi Gurus,
    I want to change the public holidays from OFF/Paid to OFF/Unpaid, so the system should not generated any pay.
    In my company last month SAP was generating 1 days pay even for employees absent for the entire month, I think this is because of 15 August defined with public holiday class OFF/Paid.
    The system should not generate any pay for such employees.
    Please help me achieve this
    Regards
    Kiran

    Hi Kiran,
    If you want ur holidays to be unpaid u can do it with Day rule but first what if the holiday is on a Saturday or Sunday how will u consider that
    Plzz in table T553A
    make the following changes
    First Colum Rule
    Rule   D.Ty Weekday     D.TySaturday   D.tySunday
    01      b2211111111       b2211111111   b2211111111
    b here is blank and even for public half day its off and unpaid
    let me know if u want further info
    Thanks
    Swati

  • Holiday class

    hi gurus
    we can see holiday class in counting rule (T556C). what is holiday class and why we use these classes. is there any difference between holiday class 1, 2, 3,...
    please solve my doubt
    thanks
    charan

    holiday class is an important component for creating the holiday calendars. In general, the value for the holiday class denotes whether the day is a normal working day  / closed holiday i.e. ordinary public holiday / half day holiday and few are customer speicifc values.
    Public holiday classes are used only in human resources management. They can be used to define different time wage type selection, daily work schedule variants, absence counting etc. for a group of public holidays and for normal working days.

  • Public holidays calander

    Dear Experts
    actually i am an fico consultant, i know little big HR, now i need to define public holidays for 2010 in our firm.
    can any one please provide the public holidays calendar step by step config document and how to run work schedule.
    please provide the complete step by step config document. Thanks
    Regards
    AMK

    HI,
    The public holiday calendar is used in numerous SAP applications, and also plays an important role in the Human Resources (HR) component. The public holiday calendar
    Affects the definition of the organizational structure of your enterprise
    Plays a central role in the scheduling process as well in generating monthly work schedules
    Is important for Payroll
    You can Create Fixed, Movable, Floating etc.. depending on your requirement.
    for every holiday, u define holiday class which is used to define payment in payroll.
    0          Not a public holiday
    1          ordinary public holiday
    2          half-day holiday, e.g. 24.12. (Christmas Eve)
    3     to  9     customer specific public holiday classes
    If u still need any clarification, Pls feel free to revert

  • Public Holiday calendar not to be taken into account for Sick Leave

    Dear All,
    I need help.
    Public Holiday calendar not to be taken into account for Sick Leave.
    Eg -When I employee applies for sick leave, the public holiday in between the dates shouldnt be considered. How can I configure this requirement.
    Please help.
    Regards,
    Poornima

    For that group, you need 2 counting rules:
    - one for Holiday Class 0 (not a public holiday) and Day Work Schedule Class 0 (not a working day)
    - one for Holiday Class 0 (not a public holiday) and Day Work Schedule Class 1 to 9 (a working day)
    If you want, you can add an other one or two for Holiday Class 1 to 9 (public holiday)
    extract from our T556C
    2       1   10 Q      10 Sick leave deduct from quotas (incl personal/spec) XXXXX   X  X    XXXXXXXXXX  XXXXXXXXX X X        XX XX    100.00  100.00              1     1       10              
    2       1   10 Q      11 Sick leave deduct from quotas (incl personal/spec) XXXXX   X  X    XXXXXXXXXX X          X X        XX XX      0.00    0.00              1     1       10              
    2       1   30 Q      10 Special leave with pay (with quotas deduction)     XXXXX   X  X    XXXXXXXXXX  XXXXXXXXX X X        XX XX    100.00  100.00              1     1       30              
    2       1   30 Q      11 Special leave with pay (with quotas deduction)     XXXXX   X  X    XXXXXXXXXX X          X X        XX XX      0.00    0.00              1     1       30

  • Comp. Primary key class-field mapping to DB columns problem.(EJB 2.0 CMP)

    Hi!
    I have deal with EJB 2.0 CMP bean.
    I have a composite PK so use the java class to store it. And there is a corresponding field in the Entity Bean with its primary key class type.
    The problem is: when deployment tool creates sql query for the findByPrimaryKey(PKClass ck)
    where ck is an object with 3 fielde : a_id, b_id, c_id.
    it says:
    <sql>SELECT "ck" FROM "MyTable" WHERE "ck" = ? </sql>
    And it means by the "ck" simple a column in DB but NOT the composite key which has to be splited into 3 different fields. So the container can't do the proper mapping.
    Does anyone know solutions?

    I was wrong about primary key class fields, take a look at Ejb2.0 Specification (10.8.2):
    The primary key class must be public, and must have a public constructor with no parameters.
    All fields in the primary key class must be declared as public.
    The names of the fields in the primary key class must be a subset of the names of the container-managed
    fields. (This allows the container to extract the primary key fields from an instance�s container-managed
    fields, and vice versa.)
    Right now I'm using BMP and I don't have this problems. Primary keys, calculated fields and types not supported by the DB can be easily achieved. But I understand your interest on CMP, is clearly evolving!

  • Public Holiday text not displaying in PT03 (Special Days)

    Hi Experts,
    For my client, I have to configure a public holiday and restrict it to only few WSRs. This public holiday is not part of any public holiday calendar. I have configured this holiday as a special day by defining the day type selection rule & special day.
    When I checked the work schedule in PT03, it is not displaying the holiday class and the text of the public holiday. It is only displaying the day type for this day.
    Please help.
    Many Thanks for your help in advance.
    Warm Rgds,
    Arun.M

                qPane = new JScrollPane(qTextArea);
                qPane.add(qTextArea);
                performedOpsPane = new JScrollPane(performedOpsTextArea);
                performedOpsPane.add(performedOpsTextArea);
                logPane = new JScrollPane();
                logPane.add(logTextArea); When you create a scrolled component, you either pass the component to the JScrollPane constructor or add it afterward, not both. If you're going to add it afterward, you use the setViewportView() method, not add().

  • Concat 4 source fields in new line to a single field in IDoc segment-field?

    HI,
    My requirement is below: Need to concar 4 sources fields in a file and map them to a single target field (In IDoc) with each source field in new line.
    Lets say if I have a source file with
    f1, f2, f3, f4
    I need to send to single target field as follow:
    f1
    f2
    f3
    f4
    It is basically concat in newline. Can I use any delimiter string in std concat funtion or help me to provide sample code for UDF.
    Regards,
    N@vIn

    Sample UDF for your case.
    public String concatStrings(String var1, String var2, String var3, String var4, Container container) throws StreamTransformationException{
              String newLine = System.getProperty("line.separator");
              //String newLine="\r\n";
              String concatString =var1 + newLine + var2 + newLine + var3 + newLine +var4;
              return concatString;
    Note: Use System.getProperty that would take care for all Operating systems when deploy this code.
    you might not able to test in test mapping tool
    If you run in eclipse or nwds you will see output as follows
    var1 value
    var2 value
    var3 value
    var3 value
    Hope this helps. Let me know further.

  • Regd. Optional Public Holidays Configuration - SAP HCM.

    Hello SAP HR Experts,
    Please help me with the below query:
    In the holiday calendar, i have entered 9 public holidays.
    I've 3 optional holidays to be entered in the holiday calendar. Employees are eligible for ANY 1 holiday out of the 3 optional holidays. For those employees who do not wish to avail this optional holiday - it shall lapse for them.
    Request you to help me with the configuration for the same.
    Awaiting your response.
    Regards,
    Shital

    Hi,
    Create 9 holidays with Holiday class 1 .
    Create 3 optional holidays with Holiday class 3.
    Next you need modify your day types as per below.
    Now holiday class 3 will be unpaid.
    Now create an absence types called Optional Holiday and create Absence quota with Constant 1 in V_T559E table.
    Then generate quotas which would One day per year .
    Now we need to put restriction while applying Optional holiday leave type it should allow to create a record only when holiday class is 3. To get holiday use FM HR_PERSON_READ_WORK_SCHEDULE”  ,then check the holiday class(FTKLA) is equal to three then only allow the user to create a record.
    If employees tries to take more than one optional holiday , SAP standard message will be raised at the time of applying for the 2nd optional holiday.  "Not enough quota"
    BADI at ESS level : PT_ABS_REQ
    BADI at R/3 leavel : HRPAD00INFTY The above FM needs to be used in both the BADI's.
    Regards,
    Raja Sekhar
    Message was edited by: Rajasekhar Reddy

Maybe you are looking for

  • Is VTEXT no longer working?

    Sending Email to Vtext is no longer working for several people that I know.   Are the Vtext servers down??

  • View of views, what will speed faster or slower why ?

    we can create view of view.But will it work faster or it will be slower. Can any one tell me the reasons.

  • Flash sound suddenly distorted

    The sound for my Flash player is suddenly mega-distorted (to the point that I can't understand anything and my speakers sound blown out). But the sound for all other functions (media player, dvd player, etc.) is completely fine, so it's not the speak

  • Run-time error when saving Web Template

    I recently got upgraded to Windows XP SP2 from Windows 2000.  Since then, when I make a change to a Web template, it can be as simple as check a Web Item property, and then try to save it, I get an error.  A window (called SAPBWWebAppDesigner) pops u

  • Invalid Region(s) Changed !!!

    I am trying to share Garageband sessions with my musician Buddy via mobile me (iDisk). He'll upload a project, archived and compressed, no bigger than 30 mb. I'll then copy & paste it to my drive, open it in GB, maybe add a track or two, save it unde