How to prevent Time Evaluation to run for past date?

Dear Friends,
I have a problem with Time evaluation issue.
While time evaluation runs with PDC recalculation date in 2010 its creating two different quota for an absence.
So client donu2019t want to run time evaluation for before 31.12.2010.
Please let me know how to do this.
They donu2019t want to used earliest recalculation date filed for this purposes.
Thanks and in advance,
Anoop

Hi,
They want to use Earliest personal recalculation date for monthy locking.

Similar Messages

  • How to How to get FI field status settings for General data

    Hello All,
    Can you please tell me How can I achieve field status settings for General data.
    I have some code to get field status settings for account assignment block but I need General data block data.
    Can you please help me with the same.
    I got the below code to get field status settings for account assignment block But I need General data block information.
    FUNCTION z_fieldstatus_getdetail.
    *"*"Lokale Schnittstelle:
    *" IMPORTING
    *" VALUE(I_BSCHL) TYPE BSCHL
    *" VALUE(I_BUKRS) TYPE BUKRS
    *" VALUE(I_SAKNR) TYPE SAKNR
    *" TABLES
    *" T_COBLF STRUCTURE COBLF
    *" T_FIELDS STRUCTURE TCOBF OPTIONAL
    *" EXCEPTIONS
    *" ERROR_MESSAGE
    * liefert Feldstatus in Liste t_coblf:
    * Feldname (DDIC) nicht in der Liste -> Feld ausgeblendet
    * Feldname (DDIC) in der Liste -> Feld eingabebereit
    * required = 1:
    * Mussfeld;
    * required = 0: kein Mussfeld
    * active = 0: Feld ausgblendet
    * Als Hilfstabelle wird die gesamte Feldliste der Felder (t_fields)
    * ausgegeben,
    * deren Eingabebereitschaft im Customizing steht
      DATA: ls_faus1 LIKE tbsl-faus1.
      DATA: ls_faus2 LIKE tbsl-faus2.
    * Feldstatus holen
      CALL FUNCTION 'FI_FIELD_SELECTION_DETERMINE'
        EXPORTING
          i_bschl     = i_bschl
          i_bukrs     = i_bukrs
          i_saknr     = i_saknr
        IMPORTING
          e_faus1     = ls_faus1
          e_faus2     = ls_faus2
        EXCEPTIONS
          customizing = 1
          OTHERS      = 2.
      IF sy-subrc <> 0.
        MESSAGE a613(/ssc/comon).
      ENDIF.
      DATA lv_char.
      DATA int_coblf LIKE coblf OCCURS 0 WITH HEADER LINE.
      DATA p_cobl LIKE cobl.
      DATA: dummy_ktosl LIKE bseg-ktosl.
      PERFORM kontierungsblock_ermitteln(sapff001)
      TABLES int_coblf
      USING lv_char(1)
      ls_faus1 ls_faus2 dummy_ktosl.
      t_coblf[] = int_coblf[].
      SELECT * FROM tcobf INTO TABLE t_fields.
    ENDFUNCTION.
    Thanks in Adv.
    Kaustubh

    Hi ,
    Looking at the question the first thing that comes to my mind is what is the organization structure that you are following .
    As you have mentioned that you have used segment insted of profit center for splitting , what is the scope of profit center in your implementation .
    in implementations where locations are devided as profit centes it becomes very necessary to mandatorily split the documents based on profit center .
    in your case as you have set it as segment i dont find it an issue of you keeping it as optional as it will not give you and error during your operations , as you have made profit center optional in splitting charcteristics .
    hope this suffices .
    Regards ,
    Dewang

  • AP Invoice Aging Report for past date

    hi guys,
    I am running R12.
    my requirement is to run AP invoice aging report for past dates (same like AP Trial Balance Report), but the seeded invoice aging report has no option to do so.
    would appreciate some help
    thanks in advance
    Ravi

    Hi Senthil,
    I am running R12.
    my requirement is to run AP invoice aging report for past dates (same like AP Trial Balance Report
    if u have any solution to this , please suggest me how to resolve this requierement.
    thanks in advance
    Ravi
    mail:[email protected]

  • How to make an ABAP program run for a specified number of times ?

    assalamoalikum all!!!
    Can some 1 plz tell me that How can I make my ABAP program run ONLY for 2 times (after it went in production etc)
    AND when the program runs for 2 times It then gets hanged/Locked foreever.
    Suppose my program is:
    REPORT twice002.
    write ' I will run only twice bye bye'.

    Well, I guess the only full proof way is to create a custom "Z" table which will hold the counter, in your program you would update this table every time the program runs. In this same program before updating the counter, you would retrieve the counter and check if it is = 2, if so, then write a message and RETURN.
    Regards,
    Rich Heilman

  • Time Evaluation Re Run in Mid Month & Mid Mont Initialization !

    Hi There,
    i was trying to run Time evaluation for the period 01.04.2011 to 31/12/2011.
    from April, that is 01.04.4011 to 30.06.2011 Time evaluation was good, now time evaluation has to run from 01.07.2011 but time evaluation has repeated from 12.06.2011 to 11.07.2011 as Initialization period 07/2011, and the same scenario is repeated for the rest of the year..all periods are initiated on 12th of each month from 6th month that is 12.06.2011.
    i was been trying to rectify this issue but was not bale to solve it, could any one please look in to it and let me know how to solve it?
    your help is appreciated.
    Thanks
    Kumar

    Can you please regenerate Period Parameters for 2011 year in T-Code for OG00 for period parameter 01 and then give the hire date in the field Forced Recalculation as of run in PT60 and run  the time evaluation.
    Best Regards,

  • Time Evaluation Re Run

    Hi There,
    i was trying to run Time evaluation for the period 01.04.2011 to 31/12/2011.
    from April, that is 01.04.4011 to 30.06.2011 Time evaluation was good, now time evaluation has to run from 01.07.2011 but time evaluation has repeated from 12.06.2011 to 11.07.2011 as Initialization period 07/2011, and the same scenario is repeated for the rest of the year..all periods are initiated on 12th of each month from 6th month that is 12.06.2011.
    i was been trying to rectify this issue but was not bale to solve it, could any one please look in to it and let me know how to solve it?
    your help is appreciated.
    Thanks
    Kumar

    Hi,
    thanks for reply but till now i have not yet customized the schema or any pcr, so it is pretty much standard TM04 schema, could  you plz elaborate your answer?
    Thanks.
    Kumar

  • Working out how long a program has been run for

    i hav a server and on the stats report it makes i wanna show how long its been running for since it started
    i have a start date and time
    and a ill grab the current date and time when i run this method
    but what code would compair them and work out how long the server has actually been running for
    can i do it using these 2 days or do i need another counter thread just counting up in seconds then min then hours then days n so on ?
    Message was edited by:
    russdx

         private final static int SECOND = 1000;
         private final static int MINUTE = SECOND * 60;
         private final static int HOUR = MINUTE * 60;
         private final static int DAY = HOUR * 24;
         public static void main (String[] args)
              long time = System.currentTimeMillis();
              long days = time / DAY;
              time -= days * DAY;
              long hours = time / HOUR;
              time -= hours * HOUR;
              long minutes = time / MINUTE;
              time -= minutes * MINUTE;
              long seconds = time / SECOND;
              System.out.println (days + " days, " + hours + " hours, " + minutes + " minutes, " + seconds + " seconds");
         }Ted.

  • How to Prevent/Control doing MIGO twice for the same material

    Dear
    The stores clerk by mistake has done MIGO twice for the same material.  Is there any way to prevent/check the same in standard SAP?  Vendor does not send the invoice/delivery challan to stores directly.  Invoice is sent to Finance Department. 
    Regards

    It is very unlikely that you could spec an ABAP solution to this problem.
    You may be able to spec an exit that would prevent GR being carried out for a PO Item twice on the same day.  But that is not infallible, as there may be valid circumstances when you would need to carry out two GR's for a PO item on the same day.  A fix for a small problem that creates a large one is not a good fix.
    You also need to ask how big this problem really is - if a user duplicates a goods receipt every once in a long while then you probably do not have a serious problem.
    Rather than look at a system fix for the error, I would suggest that you look at what you can do to improve the physical process.

  • How 2 prevent time from changing on leopard and vista?

    if i maintain successive boots into the same OS on my macbook, the time is shown correctly, whereas on booting into another OS changes the time. how to prevent this from happening?
    Neerav

    From what my brother says says about his set-up (he boots into 64 bit Vista periodically), apparently you can't. My understanding is that the two systems do a different version of time at boot, Vista uses a GMT setting in bios, and I think Mac use a local time in EFI. Anyway, the result is several hours difference between the two. I don't use Boot Camp, but I would think if you are on a network with Internet access, you should be able to have the clock reset automatically using System Prefs->Date and Time, and check the box at the top to automatically set the time from the Apple time server.
    Francine
    Francine
    Schwieder

  • Prevent Scheduled Build from Running for Check-Ins Committed by Build Server

    Hi there,
    I am using TFS 2013.
    I have a scheduled nightly build that runs only when there have been check-ins.
    The problem is that my build process checks-out/in a couple files used for custom versioning. This is done under the machine account of the build server.
    Even though no check-ins were committed by developers - the scheduled build sees the check-ins done by the build server and thus, executes another nightly build.
    Is there a way I can prevent scheduled builds from running if the only check-ins were from the build machine?
    Cheers,
    Keith

    HI Keith,
    I don't think we can achieve this kind of conditional trigger from TFS build definition. We had a similar situation so we disabled the TFS build and started the build using Powershell (windows scheduled task). Below is the powershell script. The scripts
    gets the history for the day and checks for the user passed as parameter if even one changeset is not by the user the script will queue a build. 
    Param(
    $BuildUser = "Account\ToIgnore",
    $TfsUrl = "http://ABCD:8080/tfs/Collection",
    $TeamProjectName = "TeamProject",
    $BuildDefinitionName = "BuildDefinitionName")
    $today = Get-Date
    $yestday = (Get-Date).AddDays(-1)
    $Daterange = $today.ToString("Dyyyy-MM-dd HH:mm:ssZ") + "~" + $yestday.ToString("Dyyyy-MM-dd HH:mm:ssZ")
    $tfsServer = get-tfsserver $TfsUrl
    $Changeset = Get-TfsItemHistory -Server $tfsServer -HistoryItem "$/TeamProject/XYZ" -Version $daterange -User $BuildUser -Recurse
    $Changeset | Out-File C:\Windows\temp\Output.txt
    $TriggerBuild = $False
    foreach ($user in $Changeset)
    if ($user.Owner -ne $BuildUser)
    $TriggerBuild = $True
    break
    if ($TriggerBuild)
    [void][System.Reflection.Assembly]::LoadWithPartialName("Microsoft.TeamFoundation.Client")
    [void][System.Reflection.Assembly]::LoadWithPartialName("Microsoft.TeamFoundation.Build.Client")
    $tfs = [Microsoft.TeamFoundation.Client.TeamFoundationServerFactory]::GetServer($TfsUrl)
    $buildserver = $tfs.GetService([Microsoft.TeamFoundation.Build.Client.IBuildServer])
    [Microsoft.TeamFoundation.Build.Client.IBuildDefinition] $BuildDefinition = $buildserver.GetBuildDefinition($TeamProjectName,$BuildDefinitionName)
    [Microsoft.TeamFoundation.Build.Client.IBuildRequest] $BuildRequest = $BuildDefinition.CreateBuildRequest();
    $buildserver.QueueBuild($BuildRequest) | Out-File C:\Windows\temp\Output.txt
    Hope this help
    Bharath
    Regards, Bharath
    LinkedIn:

  • How do I get evaluation license key for linux NW04s installation.

    Can anyone help please.
    I am going through this site on linux , but there is no link to get the evaluation license key for NW04s.
    I downloaded all the binaries.
    Thanks.
    TK

    hi,
    on the installler DVD, you should find README or INSTALL file. You could get from there about the link to extend your eval key.
    ardhian
    http://ardhian.kioslinux.com
    http://sapbasis.wordpress.com

  • How to prevent multiple users from updating the same data in coherence

    Hi,
    I have a Java Web Application and for data cache am using coherence 3.5. The same data maybe shared by multiple users which maybe in hundreds. Now how do I prevent multiple users from updating the same data in coherence i.e. is there something in coherence that will only allow one user a time to update. If one user is in a process of updating a data in coherence and some other user also tries to update then the second user should get an error.
    Thanks

    I have a question on the same line. How can I restrict someone from updating a cache value when I a process is already working on it. I tried locking the cache key but it does not stop other process to update it , it only does not allow other process to get lock on it.

  • How to find top queries in database for past 15 days period

    I need to know the top resource consuming sql queries in my database (9.2.0.7) for past 15 days.
    please suggest me the method by which i can get the result.
    What i know is we can generate the statspack report and analyze it for top sql statements. but this will give for that particular period of time (betwwen two snaps).
    can we generate a report for past 15 days period. If yes then how much time will it take.
    (my database is up and running since past 6 months)
    thanks in advance :)

    What i know is we can generate the statspack report and analyze it for top sql statements. but this will give for that particular period of time (betwwen two snaps).Does this mean you haven'tbeen running statspack snapshots on a regular basis for the last six months?
    Cheers, APC
    blog: http://radiofreetooting.blogspot.com

  • ABAP programming in BW for past date calculation

    Dear BWGurus,
    the requirement in BW is to calculate past date depending on number of months entered by user.
    1.  is there any FM available in BW .
    2.  I have tried fo FM 'CCM_GO_BACK_MONTHS' but it is not available in BW.
    3.  will this logic work properly.
    DATA : l_mon(2) TYPE n,
           l_days(1000) TYPE n,
           l_udate LIKE SY-DATUM,
           l_frmdate LIKE SY-DATUM.
    get number of days from months
    GETTING THE FROM DATE
    l_frmdate = l_udate - l_days.
    4. is it possible in BW to debug the userexit for
    with regards,
    Rajesh c

    Hi,
    This FM is available in BI7, but Iam not sure abt 3.x....if it is not available in 3.X find the below logic in FM:
    FUNCTION SEPA_MANDATE_ADD_MONTH_TO_DATE.
    ""Lokale Schnittstelle:
    *"  IMPORTING
    *"     VALUE(MONTHS)
    *"     VALUE(OLDDATE) LIKE  SY-DATUM
    *"  EXPORTING
    *"     VALUE(NEWDATE) LIKE  SY-DATUM
      DATA:       BEGIN OF DAT,
                  JJJJ(4) ,
                  MM(2) ,
                  TT(2) ,
                  END OF DAT,
                  BEGIN OF HDAT,
                  JJJJ(4) ,
                  MM(2) ,
                  TT(2) ,
                  END OF HDAT,
                  NEWMM TYPE P,
                  DIFFJJJJ TYPE P.
      WRITE:  OLDDATE+0(4) TO DAT-JJJJ,
              OLDDATE+4(2) TO  DAT-MM,
              OLDDATE+6(2) TO  DAT-TT.
      DIFFJJJJ =   ( DAT-MM + MONTHS - 1 ) DIV 12.
      NEWMM    =   ( DAT-MM + MONTHS - 1 ) MOD 12 + 1.
      DAT-JJJJ = DAT-JJJJ +  DIFFJJJJ.
      IF NEWMM < 10.
        WRITE '0' TO  DAT-MM+0(1).
        WRITE NEWMM TO  DAT-MM+1(1).
      ELSE.
        WRITE NEWMM TO  DAT-MM.
      ENDIF.
      IF DAT-TT > '28'.
        HDAT-TT = '01'.
        NEWMM   = ( DAT-MM  )  MOD 12 + 1.
        HDAT-JJJJ = DAT-JJJJ + ( (  DAT-MM ) DIV 12 ).
        IF NEWMM < 10.
          WRITE '0' TO HDAT-MM+0(1).
          WRITE NEWMM TO HDAT-MM+1(1).
        ELSE.
          WRITE NEWMM TO HDAT-MM.
        ENDIF.
        IF DAT-TT = '31'.
          NEWDATE = HDAT.
          NEWDATE = NEWDATE - 1.
        ELSE.
          IF DAT-MM = '02'.
            NEWDATE = HDAT.
            NEWDATE = NEWDATE - 1.
          ELSE.
            NEWDATE = DAT.
          ENDIF.
        ENDIF.
      ELSE.
        NEWDATE = DAT.
      ENDIF.
    ENDFUNCTION.

  • MTO - how to prevent a second planned order for a sales order?

    Dear friends,
    We are working on Make to Order process (Planning strategy group 20).
    No Production/process order is used
    Shop floor uses a different system --> details from planned order is passed to the shop floor system; and finished product is delivered/posted into SAP Sales order stock - through interfaces
    No QM in place
    A typical day-to-day scenario –
    Sales order Qty = 100
    MRP Run à Planned order qty = 100
    Raw materials posted to ‘Sales order stock’
    Planned order is firmed
    For example if Produced qty = 90
    sales order stock of the finished product = 90
    Balance 10 cannot be produced / delivered for various reasons
    Planner posts the raw material to cost center / rejections / own stock etc., and ensures that the ‘sales order stock’ of the raw materials are zero.
    Planner deletes the planned order
    Next MRP run triggers a new planned order for the balance qty 10
    Now, the requirement is to prevent the new planned order getting generated for the balance quantity, during the subsequent MRP run (despite the shortage in the Sales order stock of the finished product).
    The following options have been evaluated –
    Once the final good receipt is done & before deleting the planned order,
    o       Change the Sales order quantity to match the total produced quantity
    o       (or) Change the schedule line category for the Sales order item from CP to CN
    §         Since the Sales order and planned order are handled by different teams, considering the frequency of correspondence/coordination needed between these two teams to get the sales order items corrected, this idea is not accepted
    §         Additional authorization for the planner to change the sales order item is not acceptable
    Include Under delivery / Unlimited tolerances
    o       at the customer (master) level
    o       (or) Sales order level…
    §         In this case, System seems to consider the tolerances only when the  delivery for the Sales order is posted; and not when the sales order stock is received within the tolerance limits;
    §         Considering the time gap between the GR and Delivery of the finished product, this option is not accepted
    Kindly suggest the other options / settings / processes, to meet this requirement
    Thank you for your time and efforts.
    With Best Regards,
    Senthil

    Closing this thread
    Thanks
    Senthil

Maybe you are looking for

  • Is it possible to display list alv and grid alv in the same screen

    Hi There are methods to display more than 1 alv grid in the same screen by using block append grid . In the same manner its available for more than 1 list alv report display by REUSE_ALV_BLOCK_LIST_APPEND. My question is I want to display 1 alv list

  • Error deploying 10.1.3 application to App server 10.1.3

    Hi, I have an application (JSP, Struts, ADF BC) created in Jdev 10.1.3 and works fine on my local OC4J server. But when I deployed it to OAS 10.1.3, I got the following error: oracle.jbo.InvalidDefNameException: JBO-25004: Definition name view/DataBi

  • Timezone issue

    Hi, I am based in Sydney, Australia and have the database with APEX runing here and Database timezone set to AEST (Australian Eastern Standard Time). Now, In one of the fields in my form, which links to a timestamp with local timezone column, 23/11/2

  • Security in SOA 11g

    Hi , One of our clients wanted attribute level security based on levels. For Example : Lets say the input message contains elements A,B,C. The sensitivity of A is Level 1, B is Level 2, C is Level 3 where each level means the following: Level 1: Conf

  • Adobe Illustrator CS-4 or CS-5?

    I have a macbook pro, running Mac OS X 10.5.8. I'm wondering if the Adobe Illustrator CS-4 will work with this computer system or if I have to get the AI CS-5 version? Thanks