How to end date links

hello gurus,
I wld like to knw hw i can end date element links for elements that are already attached to the employees. I have already manage to terminate the staff. now i want to end date the links of all the elements that are not in use by our company.
Note: The links to each element are 3 and there are 100 elements so 300 links are to be end dated.
Please advice.
Edited by: user12011641 on Oct 3, 2011 6:56 AM

You can use the API -
PAY_ELEMENT_LINK_API.DELETE_ELEMENT_LINK(...)
For P_DATETRACK_DELETE_MODE, try options other than ZAP -      
Indicates which DateTrack mode to use when deleting the record. You must set to either ZAP, DELETE, FUTURE_CHANGE or DELETE_NEXT_CHANGE. Modes available for use with a particular record depend on the dates of previous record changes and the effective date of this change

Similar Messages

  • How to end date a responsibility?

    How to end date a responsibility from backend?can any body plz suggest

    Sami,
    Please check the other thread:
    Delete responsibility from backend that is assigned to user
    Re: Delete responsibility from backend that is assigned to user

  • How to end date or inactivate Web ADI Layouts

    Hi,
    I am trying to hide or suppress Web ADI layouts, help me how to go about it.
    Here are the details..
    In the Integrator - "General Ledger - Journals" , there are several layouts. I wanted to hide all them except two.
    One option is to delete unwanted layouts, but I may need these layouts for future.
    So I don't want to delete them.
    Is there any provision to end date or inactivate a specific layout.
    Help me.
    Thanks.

    Hi,
    I am afraid but it looks to me (in R12) that there is no valid date or enabled flag in the underlying table. So in default the only option would be to change the layout name to something like "** do not use **".
    As an alternative you can offer a direct webadi link to the users with predefined layout name (last step in the create document wizard). In this case the user can not change it anymore.
    Hope this helps a bit.
    br, Volker

  • JDev 10.1.3: ADF - How to end-date a record

    I am fairly new to ADF, but I have a question about end-dating a record. I have a table with a start and end date on a record. I have created a method that will allow the user to copy a record. I have an ADF read-only table, they select the record and click the copy button. This then displays an ADF form that allows the user to clone that record and make any changes to it. The user can enter a start date for this record. Could someone point me in the right direction or provide some documentation on how to then be able to go back and end-date the originally selected record with the start-date that the user just entered? I thought maybe I could override the doDML method in the Entity Object, but I am unsure how to find the original record that the user had selected?

    Well done on getting the bits together, let's consider your code next.
    0) You refer to attribute 29. This is going to get you in trouble if the attr index ever gets re-arranged. Instead you could probably do something like:
    Fees001RowImpl row = (Fees001RowImpl)getCurrentRow();
    ...then you can refer to the row attribute accessor:
    row.getX() (where X is your attribute name ... this assumes you've created the RowImpl class for the VO).
    (with apologies I've had to guess at some of your class names here, so you may need to tweek the class names to match your exact code)
    1) Why in endDateRecr() are you calling createRootApplicationModule()? This will create a separate transaction with the db and is probably the reason you're not seeing your record until refresh. If the client interface method is in your ViewObjectImpl you should be able to just call getApplicationModule(). Something like the following:
    AppModuleImpl am = (AppModuleImpl)getApplicationModule();
    This should also give you the advantage that you can now refer to the Fees001ViewObject directly like this:
    Fees001ViewObject vo = am.getFees001View1();
    ....and that'll isolate you from a name change of the view object which you've hardcoded in the findViewObject call.
    2) You loop through the Fees001 VO. Instead you could use vo.getKey() to find your exact row (assuming you have the PK).
    3) You set the fee attribute 2 + 3; similar to above you could cast the fee row to an instance of Fee001RowImpl then call the actual setter methods provided for each attribute, isolating you from any changes in the order index of the attributes.
    4) Any reason you're explicitly committing within the model layer method? This is similar to the argument that you should never commit inside a database pl/sql package as it's not obvious to the outside caller that this is occurring. Instead leave the commit for your UI ActionListener.
    Hope this helps. As I said it's a little hard to give you exact code as I don't know your object names etc, but hopefully will steer you in the right direction.
    CM.

  • How to end date a concurrent job

    I have a concurrent request that runs at 2PM daily and I need to end date the job, not only today's concurrent request, but I need to stop the job from running in the future until further notice, how can i go about doing that in 11i?
    Thanks
    J

    user9213362 wrote:
    Is that correct, if I go to Concurrent --> Request and cance the request there, I'm only cancel today's request but the job will run again tomorrow at 2PM as originally scheduled to run daily at 2PM? I need for it to stop running until further notice, what are the steps?The steps are outlined in the thread referenced above!
    Thanks,
    Hussein

  • Can I just send the data to NIC's buffer in LV? (how to access data link layer?)

    Now, I need to send something over network, yet those are not packed in TCP/IP or IPX packet, them are just some data a device can understand.
    So the problem I met is seems I cann't send the data into NIC's buffer(I can do that in C, yet I want to use LabVIEW to do that)
    And I don't want to do that by using a CIN, every time the program call or exit the CIN,there will be a delay, it's would bring me a bad impace to my application.
    So is there anyone can help me with that? I really need some master can give me a comfirm!

    I'm not an expert on network communication, so maybe you can explain how data can travel on an IP based network without being wrapped in some packets from a protocol like TCP or UDP? Maybe it's possible for LabVIEW to do what you want, or maybe compiling your C code into a DLL (no need for a CIN) and calling that will be fast enough for what you want.
    In any case, I think I can answer one question:
    So, how long would we have to expect LV add/improve these functions? Could it be in next minor update?
    Not likely, nor is it likely to be in any other version soon. LabVIEW is not built to handle this sort of thing any more than PHP or perl are and I don't think NI will change it to be able to do so. For that you have C, which you can call through a DLL. Some DLLs are supported on RT targets as well, but I'm not sure what the criteria are. They are probably listed somewhere on this site.
    I assume that calling a DLL in an RT target will hurt your determinism, but communication code should not be time-critical code, unless your application is an application which requires high speed data transfers and synchronization between different nodes.
    Try to take over the world!

  • How do you end date an objective in table per_objectives_library?

    Hi,
    I would like to find out how to end date an objective in table per_objectives_library.
    I have checked HR_OBJECTIVES_API.update_objective but there is parameters there for Valid_from and Valid_to dates. Is there any other API Package that can be used to do this?
    Thanks
    Shalantha

    Ok, found it....will use HR_OBJECTIVE_LIBRARY_API

  • Extending the End Date of Relationship Org. Unit and Position

    Hi All,
    Please help me below.
    Problem: The end date for the relationship between org. unit and position should be set back to 31.12.9999. It was accidentally been set to 31.03.9999 and results to two records in infotype 0001, which the wrong record should be deleted.
    This can only be deleted by changing the relationship end date in PO13 but unfortunately, the user doesn't have any access to this transaction.
    Request: Can you explain to me on how the end date can be change in transaction PPOME or PPOM_OLD as these are the only transactions the user has an access. I'd already explored these transactions but I can't find on how it should be deleted here.
    Thanks!

    Hi Raju,
    Thanks for this information. This was a very helpful answer. But I only need to extend the end date of a particular infotype 0001 record of a particular employee. I think the report will extend all of the records of all the employees in the system. I can't find any parameter in the report wherein I can set the employee number I wish to extend the end date.
    Thanks!

  • How to Disable/End Date an Element Link/Element in HR 11.5.7(Fam.Pack G)

    We want to disable some element links that are no longer valid. These element links are assigned (element entries) to certain employees based on the eligibility criteria set (e.g. Organization/Job/Grade/etc). However we want to disable these elements from a specific date onward as they are no longer valid. I tried to end date either the element entry or the element link but I got the message "Field is protected against update".
    From help the only thing I found regarding deleting an element is to delete all element entries linked to that element link and then delete all element links linked to that element to be able to delete or end date the element.
    But what we need to do is only to disable the element links and not to delete them all together and lose any historical records related to these element entries.
    If anyone has any idea on how to deal with this issue will be highly appreciated.
    Thanking you in advance.
    Elena

    Hi again,
    I made a search regarding elements/links and managed to find an old document (2002) regarding links and following the suggestion there I managed to end date the element links in request.
    In order to end date the Element Link since it does not allow
    you to make any updates you have to try to DELETE it and then select END DATE instead of PURGE.
    Thank you!
    Best regards,
    Elena

  • Getting error when trying to end date the element links

    When i am trying to end date the element link and i am getting a error message as ORA-01403: no data found if i click on the details button the following message is displayed:
    ORA-01403: no data found
    FRM-40735: ON-DELETE trigger raised unhandled exception ORA-01403.
    If i click on Ok button it bringgs another popup message that reads as follows:
    An Unexpected Error- 1403 has occured.An alert has been sent to the system administrator.
    ORA-01403: no data found
    I am really not getting why my link is not end dating.
    Could anyone advice me on how i can end date my element links.
    NB:the date track i am using is 01-DEC-2009 and no prayroll or quick pay has been processed as of this date

    Pl see if enabling an Forms Runtime Diagnostics (FRD) trace can help identify the cause
    MOS Doc 373548.1 - How To Collect And Use Forms Trace (FRD) in Oracle Applications Release 12
    MOS Doc 167635.1 - How To Perform Forms Runtime Diagnostics (FRD) Tracing in Applications 11i
    HTH
    Srini

  • Ref: Address Book version 6.1.3 (1091): How prevent calendar event date entries for Ending Date

    The Ending Date & Time for Calendar Events defaults to one day later than Beginning Date & Time.How do I prevent this from occurring?

    Hello.
    I don't know how it happened, but here is a link that might help solving it: http://www.defaults-write.com/change-default-appointment-duration-in-ical-calend ar/
    Check it out and post a follow-up.
    Cheers.
    JP

  • How to extract data in a webpage to a excelsheet or back end DB

    Hi folks
    I'm kiran and i'm working as technical recruiter. previously i worked as a shadow associate with National Informatics center (A govt of india IT department) where i first tried my hands on JAVA and was amazed with the things which i could do.
    Now with my present company, where we are trying to build a recritment tool and I have taken charge of building it. And this totally deals with the recruitment cycle from saving the data of the candidate to a back end, the status for follow up and the whole recruitment cycle phase.
    Now the problem I'm facing now is with the extraction of data from a web page. I had tried on a testing basis in which tried to work with get and set properties, where i was sucessfull in extracting the data which were stored on the web page in setter and getters pattern.
    But when i tried to do it on a live web page on the net I came to know that the data was stored in data grids and mostly in tables for display.
    I want to know how could i transfer the data in these tables (in a web page) to a excel sheet or a back end data base.
    I need some help on this. It would be appreciated if i could get some sample code, from which i can have a fair idea to start the process
    thanks
    have a great time
    Kiran

    If you want to import in this format, I suggest you use the Java Custom Function JExport. It is more flexible than Dataexport to create the file the way you need it. This thread shows you where to get it
    Any body have JEXPORT utility

  • How to calculate first date and end date of this year in Query

    Hi Expert
    I want to calculate following dates with inputted date in query.
    I have no knowledge on ABAP and I just can create a query with simple logic.
    Could you teach me how to calculate following date?
    (If inputted date is April 12 2009)
    - First date of this year (Ex January 1 2009)
    - End date  of this year (Ex December 31 2009)
    - First date of last year (Ex January 1 2008)
    - End date of last year  (Ex December 31 2008)
    - First date of this month (Ex April 1 2009)
    Thank you!
    Take

    HR_JP_MONTH_BEGIN_END_DATE   use this FM to get the begin and end date of the Date you are passing. eg when u give input as 04/12/2009, it will return
    04/01/2009 as begin date
    04/30/2009 as end date
    pass the Year in this FM HR_E_GET_FISC_YEAR_DATES, you will get the Fiscal year Begin and End Dates
    Abh

  • How to get the current month starting date and ending date by default ?

    Hello Creators,
    This is my requirement, kindly do the needful, Please dont gimme any links i've no access for other sites, gimme the right solution.
    My Requirement :
    Creation Date (VBAK-ERDAT) - Select Option. By default, the program should run for the current Month ie between the starting and ending date of the current month when the program is run. Today the date is 18th using sy-datum we can bring the current date by calling it in the initialization event, but the requirement is it should not give me the current date, it should only give me the month starting date and the end date. Kindly help.
    Thanks in advance ...

    DATA: gv_datum LIKE vbak-erdat.
    SELECT-OPTIONS: so_date FOR gv_datum.
    INITIALIZATION.
      CALL FUNCTION 'HR_JP_MONTH_BEGIN_END_DATE'
        EXPORTING
          iv_date             = sy-datum
        IMPORTING
          ev_month_begin_date = so_date-low
          ev_month_end_date   = so_date-high.
      so_date-option = 'BT'.
      APPEND so_date.
    START-OF-SELECTION.
    Hope this solves the issue. Don't forget to be generous
    Cheers,
    Sougata.

  • How to set a default start and/or end date for New Events based on trigger date.

    I'm using the CalendarActivityListener to get current row when clicking on an existing event. As per previous posts this listener gives you access to event detail including Start Date, End Date, etc.
    However, what I want to do is to default the start (and end) dates for New Events based on the trigger date.
    I've tried the CalendarListener and can grab the Trigger Date from it - however, I can't see a way to pass this directly to the popup/dialog I'm using to create the new event.
    At present I'm putting the TriggerDate into the ADFContext session scope e.g. ADFContext.getCurrent().getSessionScope().put("TriggerDate",calendarEvent.getTriggerDate());
    Then, I've tried multiple approaches to try and "get" the TriggerDate from session scope to drop it into my new Calendar Event basically, I'm trying to default the InputField(s) associated with the Start Date using the value from the session - I've tried
    1. setting the default value for the InputField in the jspx using a binding expression i.e. value="#{sessionScope.TriggerDate}" - this actually sets the value appropriately when the jspx is rendered but, when I go to create I get a NPE and I can't debug. I assumed that it might be a Date type issue - it would appear that CalendarListener provides a date of type java.util.Date and that the StartDate attribute of my VO/EO/table is a DATE and therefore requires oracle.jbo.domain.Date so I tried casting it - to no effect
    2. Using a Groovy expression *(StartDate==null?adf.context.sessionScope.TriggerDate:StartDate)* in my calendar's EventVO to default the Start Date to the same result
    Any thoughts or ideas?

    John,
    Thanks for that suggestion - could not get it to work. However, I did manage a different approach. I finally determined the sequence of events in terms of how the various events and listeners fire (I think).
    Basically, the CalendarActivityListener fires, followed by the listener associated with the Calendar object's Create facet, followed finally by the CalendarEventListener - the final is where the TriggerEvent is available and then finally, control is passed to the popup/dialog in the Create facet. So, my approach of trying to set/get the TriggerDate in the user's HTTP session was doomed to failure because it was being get before it had been set :(
    Anyway, I ended up adding a bit of code to the CalendarEvent listener - it grabs the current BindingContext, navigates through the DCBindingContainer to derive an Iterator for the ViewObject which drives the calendar and then grabs the currently active row. I then do a few tests to make sure we're working with a "new" row because I don't want to alter start & end dates associated with an existing calendar entry and then I define the Start and End dates to be the Trigger Date.
    Works just fine. Snippet from the listener follows
    BindingContext bindingContext = BindingContext.getCurrent();+
    *if ( bindingContext != null )    {*+
    DCBindingContainer dcBindings = (DCBindingContainer) bindingContext.getCurrentBindingsEntry();+
    DCIteratorBinding iterator = dcBindings.findIteratorBinding("EventsView1Iterator");+
    Row currentRow = iterator.getCurrentRow();+
    if ( currentRow.getAttribute("StartDate") == null)+
    currentRow.setAttribute("StartDate", calendarEvent.getTriggerDate());+
    if (currentRow.getAttribute("EndDate")==null)+
    currentRow.setAttribute("EndDate", calendarEvent.getTriggerDate());+
    *}*

Maybe you are looking for

  • Nokia Internet Radio app - on N8?

    Has anyone been able to succesfully use the Nokia internet radio app on the N8? I tried downloading it - but when i try to lauch - it does nothing - the screen flashes for a second as if its loading - but does nothing ....

  • Data transfer of Selected sets (QS51) using Function modules

    Hi All, I am doing data migration of Selected sets (TCODE QS51) using function module. I have tried using BDC recording but it is not working in background.In foreground it is giving information error on second screen as field  RQSKT-AUSWAHLMGE is no

  • How can i produce xml like this ?

    <mms> <subject>message subject</subject> <url_image>http://image_url</url_image> <url_sound>http://sound_url</url_sound> <url_video>http://video_url</url_video> <text>message text</text> <msisdn_sender>6281XYYYYYY</msisdn_sender> <msisdn_receipient>6

  • Cursor jumping to end of clip in FCP log and transfer

    I'm using AVCHD footage from a Sony hxr-nx5u camera. I copied the clips to a hard drive and am now using log and transfer to get the clips into FCP. My problem is that on some of the longer clips (pieces over about 10 min) the cursor start to jump or

  • HT201210 Error message 3014...when loading iOS6, what is it?

    Error message 3014...when loading iOS6. What is it? How do you fix it?