Advice needed for using date type in leave quota generation.

Requirement:   Seniority for quota generation of long service leave must be based on date "02" in IT0041.
Although all the relevant config has been done using the date type 02, the quota is still being generated based on date type 01. 
My Question:  What is required to make this scenario work?
Thanks
Maureen.

Validity/Deduction
Validity:  Valid From = Date type 02 -1Days; Valid To =  Date Type 02 999Months
Deduction: From = Start of Val +1Day, To =  End of Val +999 Months
Base Entitlement:
Rule: 002
Sequence 001; Seniority = 0 - 5 years; Constant= 5 days; Related to = Accrual period
Sequence 002; Seniority = 5 - 999 years; Constant=10 days; Related to = Accrual period
Selection Rules:
Applicability:  default values
Accrual Period: Rel to date type = 02; Length = 60 Months
Base Entitlement: Rule = 002; Key for seniority = For exact day
Accrual Entitlement: No pro-rata calc
Transfer time:  Upon accrual
All fields not mentioned are standard defaults.
Employee:
IT0041
Date Type 01 = 01/09/2005
Date Type 02 = 06/04/1995
IT0000
Current position:  Begda: 01/02/2009 - 31/12/9999
Previous position:  Begda: 01/03/2008 = 31/01/2009
Testing by running Time Evaluation till 31/09/2012
Result:
5 days accrued on 05/04/2010
IT2006:  Deduction from = 06/04/2009 To 31/12/9999;  Validity from = 05/04/2009 To 31/12/9999
Please note I've used different dates in an attempt to clearly illustrate the problem. Hope it doesn't serve to confuse.
Thanks for the help.

Similar Messages

  • Need to know data type which could take the result of - data TYPE RAW.

    Hello,
    I have the following Req:
    I need to make a RFC call from one SAP system to SAP Banking Services system to retrieve Contract ID.
    But the field contract id happens to be of TYPE RAW. (16 characters)
    So my problem is - I need to know the data type could take the result (contract id) of that RFC call.
    As the declration -> data: v_con_id Type RAW --> isn't a valid syntax.
    Please help in this regard.
    Thanks
    Anoop

    Hi  
    Check this link for RAW data type
    http://help.sap.com/saphelp_46c/helpdata/en/9d/ab1b0f055b11d2806500c04fadbaa1/content.htm
    As you have mentioned about the declration ->
    data: v_con_id Type RAW --> isn't a valid syntax.
    lets try another one assign a variable to RAW data TYPE and inturn assign v_con_id to that variable.
    var_raw(16)  type RAW,
    v_con_id type var_raw(16).
    I am though not sure just try out
    Revert for clarification
    Thanks and Regards
    Srikanth.P

  • How can I have both date and time for a Date type variable?

    If I have a Date type variable: Date today=new Date(), Is it possible to also give the current time to "today" but still keep the type as Date?
    I mean , for exmaple I want to store this "today" to database as Date type, and the value in database is "2007-05-05 13:30:13". I do not want to use SimpleDateFormat to do that, because I want to use Date type not String. Is that possible? how to implement this?

    I'd say he means you should use Timestamp to store
    the time value, because that's what it's there for.
    Because java.sql.Date is defined not to store a
    time value.Correct. The OP should read the Javadoc for java.sql.Timestamp.

  • Microsoft OLE DB Provider for Oracle: Data type is not supported.

    I got the error:
    Microsoft OLE DB Provider for Oracle: Data type is not supported.
    Shortly after upgrading from Oracle 8 to Oracle 9. I was advised to download more up to date oracle drivers, but I was wondering if there was a way to tell what version of the 'OLE DB Provider for Oracle' is already at. Is there a command I can use via SQL Plus or something?

    I have found Microsoft ODBC for Oracle to be more stable than the Microsoft OLEDB for Oracle driver. I have also found both Microsoft ODBC and OLEDB drivers to be more stable than the drivers from Oracle.
    You could always get the latest MDAC (Microsoft Data Access Components) from Microsoft's MSDN Download site and then get the ODAC (Oracle Data Access Components) from Oracle's OTN Download site. ODAC requires MDAC. And ODAC has the latest drivers.
    I suppose it would help to have the latest patches for your Oracle client software too. Maybe Oracle MetaLink would have these?
    It may even help to have the latest service pack for Visual Studio 6 (Visual C++ 6 and Visual Basic 6) too.

  • 'Value too large for defined data type' error while running flexanlg

    While trying to run flexanlg to analyze my access log file I have received the following error:
    Could not open specified log file 'access': Value too large for defined data type
    The command I was running is
    ${iPLANET_HOME}/extras/flexanlg/flexanlg -F -x -n "Web Server" -i ${TMP_WEB_FILE} -o ${OUT_WEB_FILE} -c hnrfeuok -t s5m5h5 -l h30c+5 -p ctl
    Which should generate a html report of the web statistics
    The file has approx 7 Million entries and is 2.3G in size
    Ideas?

    I've concatenated several files together from my web servers as I wanted a single report, several reports based on individual web servers is no use.
    I'm running iWS 6.1 SP6 on Solaris 10, on a zoned T2000
    SunOS 10 Generic_118833-23 sun4v sparc SUNW,Sun-Fire-T200
    Cheers
    Chris

  • Data change after call xml transformation for RAW data type

    Hi,
      Can someone explain what is workarround or any help for below problem
    when call transformation is called for usr02 records, after xml string is generated is showing different data for RAW data type for example content of fields BCODE,PASSCODE etc get convert into different data
    for example: content of BCODE fields before xml transformation say -7F8087472FB996E5
    after xml transformation it display as f4CHRy+5luU=
    why is this so happening?  is this known behaviour after xml transformation or it is bug in xml transformation?
    thanks in advance.
    Regards,
    John.

    Hi,
    I think this is because RAW data is BASE64 encoded when using CALL TRANSFORMATION.
    Old post, but did you ever find a way to change that?
    Thanks

  • Mkisofs: Value too large for defined data type too large

    Hi:
    Does anyone meet the problem when use mkisofs command?
    <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
    Warning: creating filesystem that does not conform to ISO-9660.
    mkisofs 2.01 (sparc-sun-solaris2.10)
    Scanning iso
    Scanning iso/rac_stage1
    mkisofs: Value too large for defined data type. File iso/rac_stage3/Server.tar.gz is too large - ignoring
    Using RAC_S000 for /rac_stage3 (rac_stage2)
    >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    Thanks!

    An update on the original bug. This is the direct link to launchpad bug 455122:
    https://bugs.launchpad.net/ubuntu/+sour … bug/455122

  • LOCID is not defiend for Order data type ORDR

    Dear All,
    I am trying to load data in to Order forecast details in Dynamic
    replenishment of SNC in the WEB UI, after entering the Product and
    Customer location, when I clicked on GO system is giving the below
    error.
    Time series error in class /SCF/CL_ICHDM_DEMANDMN_DATAAXS
    method /SCF/IF_ICHDMAXS_2_CNTL~SELECT
    Access error for time series type DFC01, key figure CORDEROR, ODM
    message: Parameter LOCID is not define for order data type ORDR
    Could you please help me out what to do in this case.
    I have re activated the following components mentioned, still system is
    giving the above problem.
    Activate Order Component
    Activate Order Data Type
    Activate Order Data Area
    and
    Activate Time Series Data Type
    Activate Time Series Data Area
    Thanks and Regards,
    T.Muthyalappa

    Hi,
    Make sure you have proper authorization.(sometime system does not display the error but user don't have authorization to create/update/modify table entries to be on safer side assign SAP_ALL profile to your ID if it is allowed as per your company security process).
    I think issue is with InfoObject 9ALOCID is not activated properly.
    You need activate  InfoObject 9ALOCID as mention i below step2 but it is better you follow below steps.
    1) Then force generate ODM.
    2)Go to transaction code:/N/SCA/TSDM09 enter time series DFC01 and select  Radio button Activate Planning object Structure.
    Regards,
    Nikhil.

  • [SOLVED] Value too large for defined data type in Geany over Samba

    Some months ago Geany started to output an error whith every attempt to open a file mounted in smbfs/cifs.
    The error was:
    Value too large for defined data type
    Now the error is solved thanks to a french user, Pierre, on Ubuntu's Launchpad:
    https://bugs.launchpad.net/ubuntu/+bug/ … comments/5
    The solution is to add this options to your smbfs/cifs mount options (in /etc/fstab for example):
    ,nounix,noserverino
    It works on Arch Linux up-to-date (2009-12-02)
    I've writed it on the ArchWiki too: http://wiki.archlinux.org/index.php/Sam … leshooting

    An update on the original bug. This is the direct link to launchpad bug 455122:
    https://bugs.launchpad.net/ubuntu/+sour … bug/455122

  • Alter mount database failing: Intel SVR4 UNIX Error: 79: Value too large for defined data type

    Hi there,
    I am having a kind of weird issues with my oracle enterprise db which was perfectly working since 2009. After having had some trouble with my network switch (replaced the switch) the all network came back and all subnet devices are functioning perfect.
    This is an NFS for oracle db backup and the oracle is not starting in mount/alter etc.
    Here the details of my server:
    - SunOS 5.10 Generic_141445-09 i86pc i386 i86pc
    - Oracle Database 10g Enterprise Edition Release 10.2.0.2.0
    - 38TB disk space (plenty free)
    - 4GB RAM
    And when I attempt to start the db, here the logs:
    Starting up ORACLE RDBMS Version: 10.2.0.2.0.
    System parameters with non-default values:
      processes                = 150
      shared_pool_size         = 209715200
      control_files            = /opt/oracle/oradata/CATL/control01.ctl, /opt/oracle/oradata/CATL/control02.ctl, /opt/oracle/oradata/CATL/control03.ctl
      db_cache_size            = 104857600
      compatible               = 10.2.0
      log_archive_dest         = /opt/oracle/oradata/CATL/archive
      log_buffer               = 2867200
      db_files                 = 80
      db_file_multiblock_read_count= 32
      undo_management          = AUTO
      global_names             = TRUE
      instance_name            = CATL
      parallel_max_servers     = 5
      background_dump_dest     = /opt/oracle/admin/CATL/bdump
      user_dump_dest           = /opt/oracle/admin/CATL/udump
      max_dump_file_size       = 10240
      core_dump_dest           = /opt/oracle/admin/CATL/cdump
      db_name                  = CATL
      open_cursors             = 300
    PMON started with pid=2, OS id=10751
    PSP0 started with pid=3, OS id=10753
    MMAN started with pid=4, OS id=10755
    DBW0 started with pid=5, OS id=10757
    LGWR started with pid=6, OS id=10759
    CKPT started with pid=7, OS id=10761
    SMON started with pid=8, OS id=10763
    RECO started with pid=9, OS id=10765
    MMON started with pid=10, OS id=10767
    MMNL started with pid=11, OS id=10769
    Thu Nov 28 05:49:02 2013
    ALTER DATABASE   MOUNT
    Thu Nov 28 05:49:02 2013
    ORA-00202: control file: '/opt/oracle/oradata/CATL/control01.ctl'
    ORA-27037: unable to obtain file status
    Intel SVR4 UNIX Error: 79: Value too large for defined data type
    Additional information: 45
    Trying to start db without mount it starts without issues:
    SQL> startup nomount
    ORACLE instance started.
    Total System Global Area  343932928 bytes
    Fixed Size                  1280132 bytes
    Variable Size             234882940 bytes
    Database Buffers          104857600 bytes
    Redo Buffers                2912256 bytes
    SQL>
    But when I try to mount or alter db:
    SQL> alter database mount;
    alter database mount
    ERROR at line 1:
    ORA-00205: error in identifying control file, check alert log for more info
    SQL>
    From the logs again:
    alter database mount
    Thu Nov 28 06:00:20 2013
    ORA-00202: control file: '/opt/oracle/oradata/CATL/control01.ctl'
    ORA-27037: unable to obtain file status
    Intel SVR4 UNIX Error: 79: Value too large for defined data type
    Additional information: 45
    Thu Nov 28 06:00:20 2013
    ORA-205 signalled during: alter database mount
    We have already checked in everywhere in the system, got oracle support as well without success. The control files are in the place and checked with strings, they are correct.
    Can somebody give a clue please?
    Maybe somebody had similar issue here....
    Thanks in advance.

    Did the touch to update the date, but no joy either....
    These are further logs, so maybe can give a clue:
    Wed Nov 20 05:58:27 2013
    Errors in file /opt/oracle/admin/CATL/bdump/catl_j000_7304.trc:
    ORA-12012: error on auto execute of job 5324
    ORA-27468: "SYS.PURGE_LOG" is locked by another process
    Sun Nov 24 20:13:40 2013
    Starting ORACLE instance (normal)
    control_files = /opt/oracle/oradata/CATL/control01.ctl, /opt/oracle/oradata/CATL/control02.ctl, /opt/oracle/oradata/CATL/control03.ctl
    Sun Nov 24 20:15:42 2013
    alter database mount
    Sun Nov 24 20:15:42 2013
    ORA-00202: control file: '/opt/oracle/oradata/CATL/control01.ctl'
    ORA-27037: unable to obtain file status
    Intel SVR4 UNIX Error: 79: Value too large for defined data type
    Additional information: 45
    Sun Nov 24 20:15:42 2013
    ORA-205 signalled during: alter database mount

  • Java rounding for Double data type

    Hi,
    Is there a way to change the default precision to 2 digits after decimal point for Double data type.

    java.text.DecimalFormat:
    import java.text.DecimalFormat;
    DecimalFormat format = new DecimalFormat("#.00");
    StringBuffer formatted = format.format(Math.PI, new StringBuffer(), new FieldPosition(0));
    System.out.println(formatted); // prints out 3.14Probably as applicable today as it was 3 years ago

  • Initialization for char data type?

    I observed that as String I can declare something like this:
    String str = ""; but for char data type, if I declare:
    char ch = ''; the compiler will have an error: "empty character literal". So how can I fixe this problem when I want to initialize my char variables as "empty"? Anyone got an idea?
    Message was edited by:
    hoangSoccer
    Message was edited by:
    hoangSoccer

    Strings (and StringBuffers/Builders) are collections* of characters - so it makes
    sense to be able to refer to a String with precisely zero characters. But char is not a collection of anything - it has whatever value it has and can never
    be empty.
    *collections with a small 'c'.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • OPMN Failed to start: Value too large for defined data type

    Hello,
    Just restared opmn and it failed to start with folloiwing errors in opmn.log:
    OPMN worker process exited with status 4. Restarting
    /opt/oracle/product/IAS10g/opmn/logs/OC4J~home~default_island~1: Value too large for defined data type
    Does anyone have ideas about cause of this error? Server normally worked more than 6 month with periodic restarts...

    Hi,
    You could get error messages like that if you try to access a file larger than 2GB on a 32-bit OS. Do you have HUGE log files?
    Regards,
    Mathias

  • Resources for designing data types and message types

    Hi
    I wanted to know if anyone can recommend me some good resources which can explain the design considerations for designing data types and message types in XI which can help promote reusability.
    Thanks.
    Best Regards,
    Kiran

    hi,
    there no rare rule whe you define your data type, why i tell you this, because you define a data type since the documentation that sender sistem team gives to you. so you only have to copy this structure to PI.
    now about Message Type less problems, because, you a Data type is assign to a Message Type, whats it means.
    when you define a DATA type you are defining the structure of you XML, que you assing the data type to a message type this structure pass to be an xml document.
    Thanks you
    Rodrigo

  • Unicode/glyph/font advice needed for porting WinForms app to Macintosh using AIR

    I've written an application in WinForms/.NET that I'd like to port to the Macintosh platform. I have never developed for the Mac but it seems as though AIR might be a good choice. I'm totally new to AIR. Some advice and info would be much appreciated!
    Can an app be developed in AIR on a PC running Windows and then later be deployed transparently on a Macintosh? Or do I need to be developing on a Mac?
    The app is a search interface for use against text-bases comprised of texts composed in ancient European languages. I pre-index the text-base and store it in SQLite as a fully-normalized (1NF) set of relations:  TITLES, WORDS, WORDOCCURRENCES.  So the app is really nothing more than a (query-only) database application with some specialized glyph-rendering requirements.
    In the WinForms app, I used a custom third-party edit control with  extensive support for the RTF specification, in combination with some third-party fonts that contain the necessary glyphs for rendering the Unicode characters corresponding to RUNES and to some abbreviations found in medieval manuscripts. BTW, these special non-ASCII characters are represented in the database not as unicode codepoints but as entities that can be represented in standard ASCII (e.g. "&thorn;"   ); when rendered to screen, the correct glyph has to be substituted when the Unicode codepoint for the entity supplied -- in this example the codepoint would be [U+00DE] and a thorn glyph  ( Þ) should be rendered.
    Since it might not be possible to find a single omnibus Unicode font that contains a glyph for every codepoint I need to render (what are the most glyph-rich freeware Unicode fonts for Macintosh, btw?)  the text widget must let the programmer "wrap" a Unicode character or series of Unicode characters in whatever font may be required at that point in the text. Is there a rich-text widget for AIR that can do this?  A widget that can render HTML and supports CSS stylesheets would be ideal (inline-CSS-only would be OK too). If the widget had CSS stylesheet support, the string of Unicode codepoints could be wrapped with a <span class='rune'>.....</span> and  the font-name for the .rune class could be specified in the CSS stylesheet.
    Thanks very much if you've taken the time to read through this tedious stuff !

    Flash Professional started as an animation tool and was expanded with a programming language that became ActionScript (now ActionScript 3.0). Content creators began using Flash to develop applications rather than just animation, so a lot of developer-centric and application-centric functionality was added to Flash, including pre-built user interface components (written in ActionScript). All that functionality and those components are still available in Flash Pro today. However, many developers who came from a traditional programming background had trouble getting into Flash Pro because it is really an animation design tool -- so it uses a timeline, layers, visual drawing canvas, and it required some figuring out to learn how to structure an application in that type of tool.
    In response to this, Macromedia (now Adobe of course) created Flex. Flex uses ActionScript just like Flash Pro. Flex also includes numerous user interface controls, written in ActionScript. Flex also adds advanced, flexible layout control and many utilities for common programming tasks like loading data from or sending data to a server, formatting values, validating user input, and more. With Flex, you can define your user interface using an XML markup language (MXML); the compiler then turns the MXML into ActionScript code before turning it into your compiled application. As far as tooling, an eclipse-based IDE called Flex Builder was created that gives you a code editor, a workable but not designer-oriented design view, and other developer tools like debugging and profiling. (Note that Flex Builder has been renamed to Flash Builder for the next release, which is currently in public beta.)
    So to generalize, Flash Pro favors a more visual design and animation type of working style, whereas Flex favors a more text-based, code-centric working style. (But that's just a generalization -- many people, especially people who "grew up" with Flash before Flex, still prefer Flash Pro even though they're heavy coders.)
    Also, if you want to write everything in code with no pre-drawn visuals (i.e. Flash Pro) and without using MXML or Flex components, you can create your application entirely in ActionScript code. Flex Builder supports ActionScript-only projects for that purpose.
    Here are a few links for getting started with Flex, which I would personally recommend if you haven't used either one and you're building something that's more "application" focused rather than media or animation focused:
    Flex "Quick Starts" -- short articles focused on specific tasks in Flex
    Flex "Getting Started Experience" -- designed as a set of training courses, intended to take 12+ hours to complete (but you can skip around of course)
    "Flex in a week" video training -- a free 5-day video tutorial series on Flex
    Flex Developer Center "Learning Paths"
    As a side note, the link you included actually goes to the JavaScript version of the documentation, which is what you would want if you are going to use HTML/Ajax to build your app. However, if you're wanting to use Flex you would want to use the Flex version of the documentation:
    http://livedocs.adobe.com/flex/3/langref/mx/controls/HTML.html
    http://livedocs.adobe.com/flex/3/langref/flash/html/HTMLLoader.html
    And if you're wanting to use Flash, you can use the Flash Pro version of the documentation:
    http://help.adobe.com/en_US/AS3LCR/Flash_10.0/flash/html/HTMLLoader.html
    Yes, it's somewhat confusing and overwhelming. We're definitely working on improving things in that regard.

Maybe you are looking for

  • How can 2 people use itunes in the same household? we both have iphone 4 and separate id but the same itunes? pleasehelp

           how can two people use itunes in the same household? i had a iphone before so alreday had an itunes account now me and my husband have upgraded and we now both have them. he has set up a username and i have mine yet when he logs in he seems to

  • Entro em Roam e meu iPhone perde sinal da operadora

    Pessoal, Preciso de ajuda. Tenho um iPhone 4 com o sistema operacional IOS 5.0.1 desbloqueado para a operadora OI. Toda a vez que viajo e entro em outro estado o iPhone perde o sinal da operadora e não retoma. Ja tentei de tudo (reset; reinstalação;

  • Help in buying PowerShot camera

    Hi I need help to buy a compact digital camera with high quality stills and full HD video recording capabilities. I found the following models: G15, S110, SX280 HS, SX260 HS. which one should I choose? which one is better? Best Regards, Barak Shimoni

  • Urgent -Confirmation screen links in ESS in Webdynpro -ABAP

    Hi, This is very urgent. I am doing one custome service in ESS in WEBDYNPRO ABAP. In my custome service, I need to put ESS Links in confirmation page . as GO TO ESS Home page     GO PERSONAL INFORMATION HOME PAGE     GO TO WORKLOCATION DETAILS For th

  • CMS wont write to database

    I currently manage / maintain my own photography website. At the moment I can create new galleries on my site via a content management system and in that new gallery I then upload images. On the database the gallery info goes into the row "galcat" an