Customized Time Operation

Hi,
I have a requirement to create a customized operation in TIME module.
I have been given a reference of t-code PDSY which is used to create documentation for a HR Document.
I need help with the following:
1. What is the t-code to create a customized time operation?
2. Any info. on how to create a customized time operation?
Thanks,
Saleem

Saleem,
Why dont you go and check the coding for OUTWP operation in PE04.
give operation as OUTWP and DISPLAY.
In the top you will see button for disp/change, where used, SOURCE CODE, documentation.
click on SOURCE CODE and you will be able to see 2 programs. Check how the programming is done for OUTWP. Specially the second program.
Depending on the parameter like cost center or plant etc different variable keys are passed back.
This should give you an idea on how you should be able to create your custom operation. Take the help of an ABAPer to understand it better.
All the best
Ajay

Similar Messages

  • Customer specific operation in RPTIME01

    Hi all,
    We are looking for a cookbook or general instructions for creating customer specific operations in report RPTIME01.
    Any help will be appriciated.
    Thank you,
    David

    Hi David,
    While running the Time Eval with your schema, PL select the Program Option 'Display Log' and check whta the log says. It should say where/what the error is.. Are you getting the 'No data selected' message?
    Good Luck,
    Suresh Datti

  • Error custom task operation

    Hi
    Sometimes i get an error in the bpel server control when i am performing a custom task operation ' wlSvc.customTaskOperation(ctx, pTask.getTaskId(), actionDONE);'
    the error is: <2005-12-05 17:22:45,421> <ERROR> <default.collaxa.cube.engine.delivery> <DeliveryService::handleCallback> Activity for conversat
    ion MD5{2fde76181d5fe21d621a43444cc2e4d3} has been closed ... marking message d91cbb6d4f175ff0:6fa9fc:107fcbcea7e:-7f50 as cancelled.
    But i can't understand what is happeening because it doesn't happens all the time
    Here is my source code
    public void completeTask(IWorklistTask pTask,String asignee,String password,String action)throws Exception{
    WorklistService wlSvc =WorklistService.getWorklistService();
    IWorklistContext ctx = wlSvc.authenticateUser(user, asigneePassword);
    wlSvc.updateTask(ctx,pTask);
    String actionDONE = action;
    wlSvc.customTaskOperation(ctx, pTask.getTaskId(), actionDONE);
    thanks Nicolas Fonnegra M

    Solved !!!!!!!!!!!!!!!!
    The TaskActionHandler was cancelling the message delivered by the 'customTaskOperation'. Normally, for the source code I posted before, the TaskActionHandler receives two messages, one from the updateTask and another from the 'customTaskOperation'. It seems that sometimes the 'customTaskOperation' messages arrive while the TaskActionHandler is still processing the updateTask messages, so the TaskActionHandler simply cancells the newly arrived ones. That is why in the worklist application you have two different actions , one for updating the info and one for completing the task, so the system avoid 'customTaskOperation' messages that arrive 'too early'.
    I simply put a delay between the two operations and it worked fine.
    wlSvc.updateTask(ctx,pTask);
    String actionDONE = action;
    Thread.sleep(3000); // I haven't tried with less time,but with 3 seconds works great
    wlSvc.customTaskOperation(ctx, pTask.getTaskId(), actionDONE);
    thanks Nicolas Fonnegra M.

  • Can Not execute a TS Sequence File with VIs that are already being compile in my Custom TS Operator Interface

    I have build a custom TS Operator Interface (Executable) with some custom VI(s)(GOOP VIs). I want to be able to call the same custom VI(s) from Teststand Sequences. When i try ti launch the sequence from my TS OI i got an error message, because LabVIEW Run Time find the same VI(s) from two different location : the OI and the sequence.
    I would like to know, that is the best approach to resolve this problem.
    For the moment i got two solutions :
    (1) dynamically calling the VI(s) in the OI (executable)
    (2)Changing the name of the VIs in the TS sequence.
    I would like to know if it exist an another solution ?
    thank you
    derek

    For the moment the VI�s that are shared between the sequencefile�s and the operator interface, are used as code module in the sequencefile�s (not as sub vi in the code module).
    On the target system I will got my custom operator interface (which is build from the Testexec.llb + my goop VI�s). My goop VI�s are statically link to my operator interface.
    (I will say that my executable are on the C drive : C:\Testexec.exe)
    My sequencefile�s and the differents VI�s of each step is deploy with the TestStand deployment wizard. A library with all the vi�s call by the sequencefiles are group in SupportVIs.llb. (the sequencefiles and the VI�s library are on the C drive too)
    For exemple I will say that I got a foo.vi (goop
    method) which is build in the operator interface testexec.exe. The same foo.vi is call (as code module) by a step of one of my sequencefile�s.
    When I try to launch the sequence with the operator interface, The LabVIEW Run Time inform me that he can�t load step "foo" of sequence �MainSequence� because he find 2 VI�s with the same name in 2 different location (C:\Testexec.exe\foo.vi) and (C:\SupportVIs.llb\foo.vi.
    If you got a sample example, i will be glad to see it.
    Thank you Ray for your help.
    Derek

  • How do I set a custom time & date format in the top bar?

    Hello guys,
    Very embarassing question, because I've had Apple's for all of my life (starting with the original Apple Macintosh) but I still haven't figured out one thing
    How do I set a custom time & date format in the top bar?
    When I go to System Preferences > Language & Text > Formats I can set different formats. I have no idea where you will see these, but I know that it's not the top bar where the time and date is being displayed. Because no matter what I enter, the format in the top bar will stay the same. I can only choose things like 24-Hour clock or not, blinking dots and so on in the Time & Date settings from the System Preferences.
    Can anyone here point me in the right direction? I see you can even choose to display the week of the year - I'd love to do that!
    All help appreciated!
    Greetings

    Language & Text system preferences, Formats tab, customize dates.
    There are also many third party menu item utilities that can.  Search Macupdate.com for some.
    One search yielded iClock Pro.  Although I never used it I would think it allows customization.  The link I gave you is to the Macupdate download page for that app.  On that same page is a Similar Software section which has other apps that can do the same thing. 
    One listed is iStat Menus.  The primary use for iStat Menus is not for displaying date/time but it does do that.  And I know it can do what you want because I use iStat Menus to track temperature sensors n my machine and, like you, I want to customize the menu time/date.  So I use it instead of the apple clock.  It does have the customization features I think you are looking for.

  • Custom Timer Job to execute WCF web service error - Could not find default endpoint element that references contract

    Hi,
    I am currently creating custom timer job to call WCF web service to perform nighty job to update employee document library metadata. If I update regular list/library items it updates correctly on a specified interval basis. However when I try to integrate
    the WCF client, it throws error shown below :
    Could not find default endpoint element that references contract EmployeeServiceReference.
    EmployeeServiceClient in the ServiceModel client configuration section. This might be because no configuration file was found for your application, or because no endpoint element matching this contract could be found in the client element.
    I followed exact instructions Andrew Connell has provided but included my logic in execute()
    public
    override
    void Execute(Guid
    targetInstanceId)
    var empClient =
    new
    'ServiceReference.EmployeeServiceClient();
    var employee = empClient.EmployeesMethod();
    I have tried all approaches to manually adding app.config settings in sharepoing web.config but still it throws the error mentioned. It seems that application config and sharepoint site config binding issue still exist and cannot be resolved.
    <system.serviceModel>
    <bindings>
    <basicHttpBinding>
    <binding
    name="BasicHttpBinding_EmployeeService"
    />
    </basicHttpBinding>
    <netTcpBinding>
    <binding
    name="CustomBinding_EmployeeService">
    <security>
    <transport
    protectionLevel="None"
    />
    </security>
    </binding>
    </netTcpBinding>
    <wsHttpBinding>
    <binding
    name="WSHttpBinding_EmployeeService">
    <security
    mode="None"
    />
    </binding>
    </wsHttpBinding>
    </bindings>
    <client>
    <endpoint
    address="http://services.mycomp.com/EmployeeService.svc"
    binding="wsHttpBinding"
    bindingConfiguration="WSHttpBinding_EmployeeService"
    contract="EmployeeServiceReference.EmployeeService"
    name="WSHttpBinding_EmployeeService"
    />
    <endpoint
    address="http://services.mycomp.com/EmployeeService.svc/soap"
    binding="basicHttpBinding"
    bindingConfiguration="BasicHttpBinding_EmployeeService"
    contract="EmployeeServiceReference.EmployeeService"
    name="BasicHttpBinding_EmployeeService"
    />
    <endpoint
    address="net.tcp://crmapp.mycomp.com:5050/EmployeeService.svc/tcp"
    binding="netTcpBinding"
    bindingConfiguration="CustomBinding_EmployeeService"
    contract="EmployeeServiceReference.EmployeeService"
    name="CustomBinding_EmployeeService">
    <identity>
    <userPrincipalName
    value="[email protected]"
    />
    </identity>
    </endpoint>
    </client>
    </system.serviceModel>
    Will you please help resolving this issue?

    Hi,
    You can use any of the three approaches:-
    1) Access web application's web.config programmatically in Execute() method.
    http://praveenkasireddy.wordpress.com/2012/12/14/access-web-application-configuration-values-in-timer-job-sharepoint/
    2) Store the configuration in xml and upload it to SharePoint document library then read from there
    http://www.sharepointdynamics.net/2011/08/using-an-xml-settings-file-to-store-values-for-your-sharepoint-projects/
    3) Programmatically configure a WCF endpoint.
    http://msdn.microsoft.com/en-us/library/ff647110.aspx
    Regards, Shruti

  • Custom Timer Jobs not visible in Central Admin Job Definitions

    I have multiple custom timer jobs which I was using on old farm, and it was successfully working and was visible in the Central Admin Job Definitions.
    But ever since I moved to new farm, by restoring the site collections from old to new farm, and deployed the custom timer jobs on new farm, they are not visible in Central Admin Job Definitions.
    I tried to change the scope of the solution to "Web Application", and deployed it's wsp in new farm, then also they are not visible in Job Definitions. But I can see them in "Farm Solutions", they have been successfully deployed.
    Please suggest what should I do.

    public override void FeatureActivated(SPFeatureReceiverProperties properties)
    SPWeb wb = properties.Feature.Parent as SPWeb;
    if (wb == null)
    throw new SPException("Error obtaining reference to context Site ");
    // make sure the job isn't already registered
    foreach (SPJobDefinition job in wb.Site.WebApplication.JobDefinitions)
    if (job.Name == List_JOB_NAME)
    job.Delete();
    RSS listLoggerJob = new RSS(List_JOB_NAME, wb.Site.WebApplication);
    SPHourlySchedule schedule = new SPHourlySchedule();
    schedule.BeginMinute = 0;
    schedule.EndMinute = 59;
    listLoggerJob.Schedule = schedule;
    listLoggerJob.Update();
    public override void FeatureDeactivating(SPFeatureReceiverProperties properties)
    SPWeb wb = properties.Feature.Parent as SPWeb;
    // delete the job
    foreach (SPJobDefinition job in wb.Site.WebApplication.JobDefinitions)
    if (job.Name == List_JOB_NAME)
    job.Delete();

  • Problem in Date/Time Operation

    I am a newbie in Java programming. Now, I am facing some difficulty regarding date/time operation.
    The logic is something like this:
    int TimeA = Integer.parseInt(formatDate(new Date(), "HHmm"));
    int TimeB = Integer.parseInt("0000"); // 0000 means 12:00AM
    // 0 means 12:00AM
    if (Math.abs(TimeA - TimeB) < 5) {
          // Do something here
    // Method formatDate(Date, String)
    public String formatDate(Date date, String pattern) {
            SimpleDateFormat sdf = new SimpleDateFormat(pattern);
            sdf.setLenient(false);
            return sdf.format(date);
    }In general, I want to perform some task if (TimeA - 0) is less then 5 minutes, where 0 actually representing 12:00AM.
    I have no idea how to write the logic. I am looking for help, and hope to get any advice from the net.
    Thanks in advanced.

    Assuming TimeA is a java.util.Date Object:
    - Get a Calendar Object.
    - Feed it with TimeA (setTime())
    - Set the Calendar's time to 12AM (Calendar.set(Calendar.HOUR, ...)
    - get TimeA timeInMillis
    - compare it with the Calendar's timeInMillis
    - five minutes are 5 * 60 * 1000 miliseconds.

  • Adding custom time field in service order

    Hi Gurus,
    Our customer wants us to add product date and time. I use transaction EEWB to add this date and time filed. In EEWB field types are only BOOL,CHAR,DATS and NUMC. I can add my date by selecting DATS. But how can I create my time field that after cerating I will see it in the table cRMD_ORDERADM_H with data type TIMS?? 
    Do I have to use defined date profile entries to take my time value??? Can't we use custom time field in service??? if yes how??

    Hi,
    You can make date fields available at item nivel without create custom fields.
    All you have to do is create a date profile and assign it to your item category.
    To create a date profile:
    transaction SPRO->Customer Relationship Management->Basic Functions->Date Management->Define Date Profile
    To assign to an item category:
    transaction SPRO->Customer Relationship Management->Transactions->Basic Settings->Define Item Categories
    I hope it helps!
    Kind Regards,
    Gabriel Santana

  • How to create a custom mapping operator.

    Any idea on how to create a custom mapping operator.
    An example: When i insert records in a table, i need to populate some columns like "created by" and "Created date" which are constant across many tables. Untill now i created a constant operator with attributed "Created by" and "Created Date" and put it on to a map. I'd like to know if there is a way in Oracle Warehouse builder to created such custom operator.
    puli.

    Hi,
    As per next major OWB release (OWB10gR2 a.k.a. Paris) it will become easier to share 'blocks of objects', so then it would be easy to define you Constant only once, and use it in the same configuration all over your project(s).
    Right now this is not possible.
    I guess you could try to build a table with all these default values, and use this to populate your audit columns.
    Good luck, Patrick

  • How to add custom sql operations in Database adapters?

    I have a database adapter in ESB configured with insert, update and select operations.
    I wanted to add another select operation with pure sql. When I added the operation it gave me error "Start of the root element expected" while registering the service.
    Can't we do like this?
    I use SOA suite 10.1.3.4.
    - Sam

    Hi Thanks for reply.
    There is an option while configuring the DB adapter "Execute Custom SQL" where you can specify the query you want to execute. It will generate the schema as per the query you enter in the wizard.
    I have created adapters with this type of custom SQLs and even I have put multiple operations in the same adapters where all use Custom SQL and they are working fine.
    Thease custom SQL operations can be anything insert, update, select and they even work with other operations using procedures in the same adapter. But yes we need to modify the WSDL manuallly.
    My problem was that when I try to add the custom SQL operation in the adapter which is configured with normal select, insert and update operation, I was getting the error mentioned.
    - Sam

  • Disable event firing while updating list item in custom timer job

    Hi
    I am adding new items in the list usign custom timer job.
    While adding the items in the list event receiver of another list (which is not related to list which is updating) is getiing fired due to which I am getting data wrongly updated and exceptions are comming.
    why the another lists event recevier is executing while updating my list?
    How can I disable event firing from timer job code?
    please suggest any solution

    Hello,
    It seems you have deployed your event receiver globally and it is applied to all the lists. I can suggest two ways:
    1. Either you update your event receiver feature.xml file and attached to specific list, wherever you want. You can follow below link to attach event with specific list via code:
    http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.speventreceiverdefinition.aspx
    Or instead of code you can also pass ListUrl in feature.xml file:
    http://msdn.microsoft.com/en-us/library/ff398052.aspx
    2. OR delete event receiver from the list: You can use below code in your timer job to delete event receiver
    http://sarangasl.blogspot.in/2009/11/remove-event-receiver-in-sharepoint.html
    Hope it could help
    Hemendra:Yesterday is just a memory,Tomorrow we may never see
    Please remember to mark the replies as answers if they help and unmark them if they provide no help

  • Not able to send mail in a custom timer job

     
    Hi,
     I have implemented a custom timer job to send a mail when a list data field is equal to the current date.
    I have debugged the code in VS and it is executed correctly if I am using it in a button click event of a webpart .
    But problem is its not sending the mails while I am appling the same code as a timer job.
    Can somebody help me out?
    BR,
    Sudhir

    Hi Sudhir,
    I agree with Martin, you definetly need to log what happens inside the timer job.
    I suggest to always use a try / catch block within the methods of your assembly, and trace out (using System.Diagnostics.Trace, http://msdn.microsoft.com/en-us/library/system.diagnostics.trace.aspx and its methods for example, TraceInformation http://msdn.microsoft.com/en-us/library/system.diagnostics.trace.traceinformation.aspx) the exceptions if happen. Also, it is good practice to trace out each entry and exit points. Use the WinDbg (http://msdn.microsoft.com/en-us/library/cc266321.aspx, http://windbg.dumpanalysis.org/) to catch the output.
    You can redirect the trace output to file (see <listeners> Element for <trace> http://msdn.microsoft.com/en-us/library/zh3a61fw.aspx, and Trace Listeners http://msdn.microsoft.com/en-us/library/aa983739(VS.71).aspx)
    You can even write your log messages to SharePoint Unified Logging System as described here:
    SharePoint: Writing messages to ULS (Unified Logging System)
    http://weblogs.asp.net/gunnarpeipman/archive/2009/02/25/sharepoint-writing-messages-to-uls-unified-logging-system.aspx
    Peter

  • Custom timer job not applicable ignoring job definition

    We have created custom timer job in share point 2010.but we are getting error
    job definition "Job defination name", id ed6b4720-67c3-4bbc-aa46-e98a2aa67202 not applicable, ignoring
    We are unable to find out error for the same in share point log.
    Its webapplication level timer job . and farm architecture is 2 WFE and 1 application server.

    Hi Raj,
    Please check if it helps
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/ef1fc6cc-f8ae-4ca5-a32b-0bedbf3bdb94/errorjob-definition-customtimerjob-id-not-applicable-ignoring?forum=sharepointdevelopmentprevious
    Please remember to click 'Mark as Answer' on the answer if it helps you

  • Migrate Inplace Custom Timer Job to Online

    Hi All,
    I am pretty new in SharePoint Online, we have planned to migrate all SharePoint 2010 In-place contents to SharePoint Online. We  have few timer jobs deployed in our farm and do not have access to Online servers to migrate custom timer jobs.
    Hence what should be the best strategy to migrate these?
    Regards,
    Ripon Kundu

    Timer jobs cannot be migrated or created in Office 365. You do not have the access to run those things.
    You'll have to re-design your solution.

Maybe you are looking for

  • More than one iphone in the family

    Currently, I have an iphone, and of course iTunes and also mobileme. My wife now wants an iphone for herself. Can she share my itunes to sync her phone?? Or does she need a separate itunes?? What about mobile me?? Can she share my mobileme, or does s

  • Virus on my macbook

    I went to school the other day and the computers there detected a virus on my flash drive. I came home got Norton and scanned the computer. It found about 3 instances of some form of "hacktool." At the same time my computer had been running really sl

  • In add mode, the document disappears. How to change that ?

    Hello When we are in "add" mode, the document disappears after adding. You have either to go to previous document (marketing document for example) or find it again (item, BP). Is there a setting to change this mode and to keep the object visible on s

  • How can I edit existing region

    Hi All, I have added one item to exisitng vo and attached to AM. Now i need to add above item to region , but region not in edit mode it was in disable mode. Can anyone please help on this, how can I edit region or how can i add new item to existing

  • After a synchronization Icaqnnot connct to internet. What can be the reason

    I have synchronized my iPad. Unfortunately since that time I cannot connect to internet although the signal quality is shown as very good. Hat anybody an idea what I can do?