Date comparision through PCR

Hi Experts,
I need to put condition in the payroll run that if payroll start date is lesser than the specified date than don't perform one step else perform.
In my case, if payroll processing is for the period before 01/01/2009 then I have to stop one step through  PCR...if there any way I could put the logic in PCR to compare the date?
I need to compare the specific date with the payroll start date.
Thanks in advance
Saurabh

Payroll Constants cannot store Date Format. Only date maintained in these constants you can see is LTA Begin and End Dates.
Even these two are maintained in system format.... 200600, 200900
So, i can suggest, when ever employee is hired, make a dynamic action to store a constant date into a Date Specification.
So, even user no need to enter the date for all those employees.
Thus, your requirementt of calculating difference of dates can be mapped. ofcourse, PCR is required to calculate, but date can be maintained inn IT41
Regards
...Sadhu

Similar Messages

  • Use of date specification in PCR

    Hi Experts,
    I difficulty in understanding use of date specification in PCR. Can anyone help me understanding following operation in a PCR?
    *NUM=FI7T*
    Here I7 is date type from infotype 41 and I know that T calculates difference in days. However, I do not understand that differnce of I7 is calculated from which date? In other words what is the meaning of F here. I have gone through documentation and F is related to change in weekly hours but the calculation is not matching.
    Can some one please help me?
    Regards,
    Shalini

    Hi,
    When you put NUM=F, F means you are taking the date from infotype 41. If you check in tcode pe04, look at the information for NUM and you may see that you use F for bringing the dates of infotype 41. The difference it brings is from the date you are running the payroll and the date I7 from infotype 41 measured in days (this is because you use the letter T. If you put an M you will get it in month and you have other options as well).
    Hope it helps.
    Kind Regards,
    Edoardo

  • Urgent please: lost all datas while sync my new iPhone. how can i retrieve my old datas? through icloud?

    urgent please: I have a new iphone 4S and while sync with itunes, it was not done using the data of my old iphone but with a new virgin iphone. how can I retrieve and sync with my old datas? through icloud? or have I lost everything? please help

    to be more precise
    I have saved all my datas of my old iphone on itunes and icloud. I got a new phone 4s that I connected to itunes in order to load it and sync with my old datas. but I don't konw how but when itunes sync my new iphone i did not take my old datas. at the end of the sync process, I got an iphone totally virgin, but none of my previous apps, neither contact neither calendar neither anything. what happened? did itunes erased all my previous datas?? i hope not but if it's the case, can I recuperate my old datas through icloud? please help because as a lot of us, all my life is in this iphone.. (contacts, photos of my 18months girl, etc etc)
    thank you very much

  • Table in which system updates data collected through KKRV

    Hi,
    Can any one tell me the table in which system updates data collected through KKRV?
    and the correct procedure to collect the data for product drilldown.
    can i run KKRC alogwith KKRV to get summerized reports?
    Thanks in advance
    Regards,

    You could probably trace them at COSP or COSS tables where the object starts with VD (summarization object).
    Summarization transaction are better if run separately. First KKRV for summarising plant level information and then KKRC for hierarchy summarization.

  • How to send data to bam data object through java code

    how to send data to bam data object through java code

    I've made a suggestion in other thread: https://forums.oracle.com/thread/2560276
    You can invoke BAM Webservices (Using Oracle BAM Web Services) or use JMS integration using Enterprise Message Sources (http://docs.oracle.com/cd/E17904_01/integration.1111/e10224/bam_ent_msg_sources.htm)
    Regards
    Luis Fernando Heckler

  • How do I update a date field through CMP

    I wonder how to update a date field through CMP.
    For example, I can't update an employee table with following statement.
    employee.setHire_date('2002-03-20');
    Thanks,

    Thats correct......
    Try using the following code....
    String strDate ="2002-03-20";
    String date_fmt = "yyyy-MM-dd";
    java.text.SimpleDateFormat sdf=new java.text.SimpleDateFormat(date_fmt);
    java.util.Date hireDate =null;
    hireDate =(Date) sdf.parse(strDate);
    employee.setHire_date(hireDate);
    Hope this helps
    Cheers
    --Venky                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • How can I see how much data passes through my Time Capsule?

    I am thinking of using a cellular data plan at home. My current, rural internet provider is slow and unreliable. I use a MiFi as a backup and have 4G service which is much faster and rarely goes down. I need to see how much data is downloaded and uploaded to compare costs. All our data passes through my Time Capsule.

    A similar app to what Bob mentions is peakhour.. it works on any of the newer OS.
    https://itunes.apple.com/au/app/peakhour/id468946727?mt=12
    It is a good app. BUT.. fat ugly BUTT.. just the same as Bob has explained, it depends on SNMP to work.. and so due to apple removing a very useful and functional protocol from its airport range you can no longer use it. Bizarre.
    I strongly recommend a Netgear WNDR3800 (older model now but you can pick up one cheaply on ebay) and a 3rd party firmware called gargoyle. Apple delete my posts if I point you to it, so you will have to search yourself.
    Replace your tall TC with the Netgear as the main router.. bridge the TC to it and you can continue to use its wireless and for TM backups. The advantage is that gargoyle will not only measure everyones usage, by IP, it is able to set a quota on everyone using the net and you can set that quota for hourly, daily or weekly or monthly. It will track the usage and you can see at a glance what everyone has used.
    It is simple to load.. just like a standard firmware update. The interface is as clear as anyone can make it with such of lot of tools. And the actual router is powerful enough to provide excellent QoS and parental controls on top of measurements and quota.

  • XmlDataProvider .... is gone completely in my Xaml file. Why? How many different ways to deal with xml data source through WPF

    I followed a procedure described in a book.
    1. insert "Inventory.xml" file to a project "WpfXmlDataBinding" .
    2. add the XML data source through the data panel of "blend for 2013", named it "InventoryXmlDataStore" and store it in the current document.
    3. dragged and droppped the nodes from the Data panel onto the artboard.
    Then I checked my Xaml file against the one provided by the book
    Xaml file by the book:
    <Window.Resources>
    <!-- This part is missing in my xaml file --><XmlDataProvider x:Key="InventoryDataSource"
    Source="\Inventory.xml"
    d:IsDataSource="True"/>
    <!-- This part is missing in my xaml file -->
    <DataTemplate x:Key="ProductTemplate">
    <StackPanel>
    <TextBlock Text="{Binding XPath=@ProductID}"/>
    <TextBlock Text="{Binding XPath=Cost}"/>
    <TextBlock Text="{Binding XPath=Description}"/>
    <CheckBox IsChecked="{Binding XPath=HotItem}"/>
    <TextBlock Text="{Binding XPath=Name}"/>
    </StackPanel>
    </DataTemplate>
    </Window.Resources>
    <Grid>
    <ListBox HorizontalAlignment="Left"
    ItemTemplate="{DynamicResource ProductTemplate}"
    ItemsSource="{Binding XPath=/Inventory/Product}"
    Margin="89,65,0,77" Width="200"/>
    </Grid>
    my Xaml file:
    <Window x:Class="WpfXmlDataBinding.MainWindow"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="MainWindow" Height="922" Width="874">
    <Window.Resources>
    <DataTemplate x:Key="ProductTemplate">
    <StackPanel>
    <TextBlock Text="{Binding XPath=@ProductID}"/>
    <TextBlock Text="{Binding XPath=Cost}"/>
    <TextBlock Text="{Binding XPath=Description}"/>
    <CheckBox IsChecked="{Binding XPath=HotItem}"/>
    <TextBlock Text="{Binding XPath=Name}"/>
    </StackPanel>
    </DataTemplate>
    </Window.Resources>
    <Grid DataContext="{Binding Source={StaticResource InventoryXmlDataStore}}">
    <ListBox HorizontalAlignment="Left" Height="370"
    ItemTemplate="{DynamicResource ProductTemplate}"
    ItemsSource="{Binding XPath=/Inventory/Product}"
    Margin="65,55,0,0" VerticalAlignment="Top" Width="270"/>     
        </Grid>
    </Window>
    All looks quite the same except the <XmlDataProvider ....> part under <Window.Resources>, which is gone completely in my Xaml file.
    1, Why?
    2, How many different ways to deal with xml data source through WPF?
    Thanks, guys.
    (ps My "WpfXmlDataBinding" runs without problem through.)

    Never do yourself down Richard.
    Leave that to other people.
    It's quite common for smart developers to think they're not as good as they are.
    I coach a fair bit and it's a surprisingly common feeling.
    And to repeat.
    Never use anything ends .. provider.  They're for trivial demo apps.  Transform xml into objects and use them.  Write it back as xml.  Preferably, use a database.
    You want to read a little mvvm theory first.
    http://en.wikipedia.org/wiki/Model_View_ViewModel
    Whatever you do, don't read Josh Smiths explanation.  I used to recommend it but it confuses the heck out newbies. Leave that until later.
    Laurent Bugnion did a great presentation at mix10.  Unfortunately that doesn't seem to be working on the MS site, but I have a copy.  Download and watch:
    http://1drv.ms/1IYxl3z
    I'm writing an article at the moment which is aimed at beginners.
    http://social.technet.microsoft.com/wiki/contents/articles/30564.wpf-uneventful-mvvm.aspx
    The sample is just a collection of techniques really.
    I have a sample which involves no real data but is intended to illustrate some aspects of how viewmodels "do stuff" and how you use datatemplates to generate UI.
    I can't remember if I recommended it previously to you:
    https://gallery.technet.microsoft.com/WPF-Dialler-simulator-d782db17
    And I have working samples which are aimed at illustrating line of business architecture.  This is an incomplete step by step series but I  think more than enough to chew on once you've done the previous stuff.
    http://social.technet.microsoft.com/wiki/contents/articles/28209.wpf-entity-framework-mvvm-walk-through-1.aspx
    The write up for step2 is work in progress.
    https://gallery.technet.microsoft.com/WPF-Entity-Framework-MVVM-78cdc204
    Hope that helps.
    Recent Technet articles: Property List Editing;
    Dynamic XAML

  • HT4157 I have an iPhone with a data plan through AT&T.  I just got an iPad.  Do I need to set up a separate data plan, or can I use my iPad under the plan I have set up for my iPhone?

    I just got an iPad, and am trying to figure out how to get it going.  I have an iPhone with a data plan through AT&amp;T.  Do I need to set up a separate account for the iPad, or can I use it under my existing data plan?

    You need a completely different data plan for your iPad which you set up on the device itself and it is billed to a credit/debit card. You cannot share other plans and the iPad account will not appear on your iPhone or any other AT&T account.

  • Access Channels in Data Portal through Data Plugin

    Hi,
    I am supposed to write two plugins, one plugin creates the channel reads in the data values and from the other plugin I need to read in the channel custom properties.
    Is there a possibility to access the channels in the Data portal through the plugin though I know through plugin we will not be able to access any DIAdem native commands.
    I have an option of reading in these properties to a text file and then pull them into DIAdem but it is not recommendable.All that is required is read the file and create the cutom property for the existing channels.
    Can anyone give me a best suggestion for the above at the earliest?
    Thanks,
    Priya

    Hello Priya,
    A dataplugin is not limited to read a single file only. There are quite a few cases where let's say there is a file "abc.bin" and another file "abc.hdr" which belong together. One contains the channel data, the other contains the descriptive information. We have developed plugins which allow the user to select one or the other and the DataPlugin then reads the information from both. As long as you can find the second file, e.g. through the name or some piece of information which is in the file, its not a problem. And yes, a plugin can read from a binary file and an ASCII file at the same time. We even developed DataPlugins for files which are both, ASCII and Binary, in a single file.
    If you like, you can send me some examples together with a description of the file format(s) and I can try something for you.
    Andreas

  • HR Report for viewing data transferred through CO1P transaction

    Hi,
    I have query here about HR data transfer which we do through CO1P transaction. How we can view these data transferred through CO1P in HR module i.e. any transaction or report is available from HR side which can give fair idea values which are passed through PP are visible in HR report / table.
    Your precious reply in this matter will be highly appreciated.
    Thanks in advance.
    Regards,
    Tejas Pujara

    Hi Friends,
    I gone through EVHR and another table LSHR as well which is saving entries confirmation timings i.e. time events and time tickets. But to my surprise, respective time fields entries are shown with 0 values in both tables. I cross checked with AUFNR that AFRU entries contain values for standard values i.e. set up , machine etc confirmed properly and updated in AFRU.
    But same AUFNR values transferred through CO1P are not updated with those values in HR tables.
    Any body can through light on this,
    Alternately, let me know in case I need to post this in HCM forum. Kindly suggest me exact where I need to post this since I found so many sub-categories under HCM section of SCN.
    Thanks & Regards,
    Tejas Pujara

  • Data extraction through generic data source

    Hi sap-BI experts,
          i created the infoset query by using these transactions
    SQ01,
    SQ02,
    SQ03 and the tables used are EKKO,EKPO and MARA.
    and when i wanted to extract data from generic data source through infoset query
    i am getting an error like this
    '' specified table doesnot exist".
    can i get the answer
    Thanks,
    Kavitha.P

    Hi,
    Do u selecting your info set under extraction from SAP query (Tcode - RSO2)? Make sure your infoset query active & available for reporting.
    Sangita

  • Query Hire date in a PCR

    Hi,
    Could you help me in querrying hire date in a PCR.
    I need to differentiate b/w EEs who joined from 1st-15th of a month to the ones who joined in the later part of the month.
    Any help is highly appreciated.

    Hi,
    what about this quick idea - use VARSTREDAY in PCR rule and make 01, 02, . . . .31 as a result from query. Continue with wtriting the rows and choose some time type. Store the value 1 into the time type. Then put a HRS query with the chosen time type before the VARST - it will prevent the rule to check itself over again. Store the time type into SALDO. If you generate qoutas according to some time types, then the time type can also be stored in the PCR rule with Varst. Then you need to solve roll-over if the qouta needs to be generated the next year.
    ex.
    HRS=BZZZ1
    HRS?1
    = nothing
    VARSTREDAY
    01 HRS=1
    01 ADDDBZZZ1
    01 HRS=1
    01 ADDDBQBAS (time type for qouta base)
    It is not some smooth solution but it should work.
    Cheers
    xDracula

  • Data migration through IDoc processing in LSMW

    Hi all,
    I have an requirement wherein i need to transfer material master data through LSMW conversion process into R/3 database.The data is to be posted through ARTMAS04 inbound IDoc.
    The problem is to transfer the data simultaneousely through <b>multiple instances</b> of <b>E1BPE1MARAEXTRT</b> segment of <b>ARTMAS04 IDoc</b>.
    for example:
    I need to have an assignment  that should work like this:
    E1BPE1MARAEXTRT[]-FIELD1 = '00001'
    E1BPE1MARAEXTRT[]-FIELD1 = '76545'
    E1BPE1MARAEXTRT[]-FIELD1 = 'SAP'.
    Can anybody help me in acheiving this example scenario in LSMW.
    Thanks.

    HI everybody,
    i had solved the problem myself.
    Thanks all.

  • How to measure data transferred through XI in a day (XI 7.0)

    Is there any transaction or T code which will help me determine data transferred through XI in a day or any period of time?
    Similarly how can I determine  the uptime for XI?

    Hi,
    The amount you see in RWB Performance Monitoring is in bytes, so just divide by 1,000,000 (1024 x 1024 to be exact) to get its MB equivalent or 1,000,000,000 (1024 x 1024 x 1024) for its GB equivalent.
    Hope this helps,
    Edited by: Mark Dihiansan on Jul 31, 2009 8:09 AM

Maybe you are looking for