WLS 5.1: How do I hook into the start and end of a transaction?

Every time a transaction is started or ended (after both commits and
          rollbacks), I need to get the JDBC connection for that transaction and
          invoke a stored procedure. Is there any way to do this?
          

Post Author: SKodidine
CA Forum: Formula
If all you want is the starting date and ending date of the function LastFullWeek, then all you have to do is this:
minimum(LastFullWeek) & '          ' & maximum(LastFullWeek);
On a side note, from your post: for (thisDate in LastFullWeed)  Whatcha smokin'  Willis?? 

Similar Messages

  • How to input my own Validity Start and End Dates in ME21N

    Hi All,
    I have to change the Validity Start and Validity End date in Addiitional Data Tab of ME21 transaction( PO Create ) using default Customer Values.How Can i accomplish it?
    I have used the BAdI ME_PROCESS_PO_CUST and implemented it, I have coded in the method PROCESS_HEADER.First I retrieved the data using get_data( ) method, changed the values with Customer Values and called the method set_data( ).
    However my validity start and End Dates and not changing.
    Even in ME21N if I create the PO with my own Validity Start and End dates, and go to ME23N to display the created PO, still in the additional data tab, the start and End dates are current date and Next date respectively.why its happening?
    Thanks in advance

    Hi,
    Can you please let us know in which business scenario this is required.
    SAP has provided separate functionality of Outline Agreement for considering validity period.
    If you let us know the business scenarion some solution/workaround can be suggested.
    Regards

  • How do I stop calendar inserting 'starts' and 'ends'

    I have recently bought a new laptop ( OS Yosemite version 10.10.2) and find the automatic entering of 'starts' and 'ends' times on my entries in calendar very irritating.
    How do I stop it doing this ?
    The previous version I used did not do this automatically by default.

    I had the Integrated Gmail 2.5.5 addon enabled.
    After disabling the addon the problem is gone.
    Hope it works to you guys.

  • Something wrong with my email it keep eat up my hard drive.  how can i get into the system and delete the mail folder

    how can I delete the mail folder in the hard drive.. it keep redownload the emails and eat up my hard drive

    If you have your mail set up as an IMAP account, then it will download everything that is in your Inbox (on the online site/server) again and again. You can move your emails to another folder online after you've read them or you can also delete them online after you've saved the ones you want to keep.
    If you have your mail set up as a POP account, emails are downloaded once and then reside on your hard drive; you can indicate in Mail Preferences > Accounts if you want the messages online deleted immediately or after one week, etc.

  • I have 2 routers in my set up.  The COX internet is hooked into the dlink and then an airport express is off the dlink router.  I can password protect the airport express but have been unable to password the dlink.  I've been into preferences.  Doesnt wor

    I have a dlink hooked to the cox cable and then an airport express to the dlink.  I am able to password the airport but not the dlink.  I;ve tried the preferences mode and it won't take.  HELP

    As you might imagine, this is a support site for Apple networking products.
    Did you have a question about an AirPort Express?
    If you need help with a D-Link product, you should post your question on a D-Link support site like the one below:
    http://www.iyogi.cc/routerlp/5621063/Router/d-link-router-support.html

  • How can I make the start and end of a move smooth?

    In Premiere Elements 11 I often have zooms or pans which I want to begin gradually, then speed up slightly and then slow down as each one ends. I've tried every comination and permutation of temporal and spatial interpolation, and I still can't seem to get it quite right. Often I wind up with the image doing a graceful arc (no doubt the result of a bezier interpolation) rather than just moving in a straight line. Is there just a simple solution? I just can't stand having a move start and stop with jerky linear motion.
    Thanks in advance.

    Mark West
    To supplement prior information
    If you want to change what the clip rubberband represents, you can click on the tiny triangle next to the Timeline's clip's title.
    Please refer to blog post on Video and Audio Track Content Rubberband
    http://www.atr935.blogspot.com/2013/06/pe11-video-and-audio-track-rubberband.html
    In the case of a video clip, the default for its rubberband is Opacity. But that can be changed to Motion. As I wrote in the blog post
    The Motion Property options are Position, Scale, Constrain Proportions, Rotation, Anchor Point, or Anti-Flicker filter. The Opacity choice is just Opacity.
    Keyframing of these properties are reflected as white dots on the clip's rubberband and can be adjusted at that level.
    If you do not see the white dots keyframes in the clip's rubberband, then right click the file, select "Show Clip Keyframes", follow to Motion and Opacity, pick one, and follow to find your property named, and select it.
    At the rubberband level, right clicking a keyframe (white dot) there, offers opportunities for Linear, Bezier, Auto Bezier, Continous Bezier, Hold, Ease In, Ease Out, and Delete. If you select Bezier, do you see the keyframe handles?
    I have not done this, but you might want to see how much of the following you can get done in Premiere Elements using the Final Cut description of "Smoothing Keyframes with Bezier Hangles".
    https://documentation.apple.com/en/finalcutpro/usermanual/index.html#chapter=67%26section= 2%26tasks=true
    ATR

  • How can I get the start and end of a date range?

    Post Author: RobR
    CA Forum: Formula
    Greetings!
    I have a report whose records are selected if a date field is within the date range returned by the LastFullWeek function.  I want the header for that report to print the first and last dates in that range.  I don't see a way to extract those dates from a date range.  How do I do it?
    Also, I think it would be nice to be able to walk through a date range using a for loop, something along the lines of the following:
    for (thisDate in LastFullWeed)(    do something;)
    but I didn't see syntax like that in the help system.  If I could do this, then I could get the first and last date.  Is this possible?
    Thank you!
    RobR

    Post Author: SKodidine
    CA Forum: Formula
    If all you want is the starting date and ending date of the function LastFullWeek, then all you have to do is this:
    minimum(LastFullWeek) & '          ' & maximum(LastFullWeek);
    On a side note, from your post: for (thisDate in LastFullWeed)  Whatcha smokin'  Willis?? 

  • How to find the start and end duration of "Selected frames" from Video using didFinishPickingMediaWithInfo?

    I am doing slow motion in audio and video using AVFoundation(for Video) and Dirac(Audio). As part of it, i will show the video as frames in which the user will select the frames to do slow motion. Eg: 5-6 min of 10 min video.
    I have to show the users two kinds of videos 1. through the video recorder from my application itself. 2. from the gallery.
    Case1: No problem Now,i can record the videos though my video recorder and show the videos as frames to the user to select. Once the user selects some frames(Eg: 5 to 6 min of 10 min recorded video), using the below code, i am able to find the start/end duration of the selected frames or video.
    NSNumber *start = [info objectForKey:@"_UIImagePickerControllerVideoEditingStart"]; NSNumber *end = [info objectForKey:@"_UIImagePickerControllerVideoEditingEnd"];  int startMilliseconds = ([start doubleValue] * 1000);int endMilliseconds = ([end doubleValue] * 1000);
    Case2: In this case, i am able to pick the video from the gallery and show them to the user in the form of frames to select. However, when i try to find the start/end duration of the video as i did in case 1 with the same code, its not working. I am always getting "0" for start/end duration.
    Can you please give some suggestion on my Issue ?

    +1 .. also. i'd to know is using "_UIImagePickerControllerVideoEditingStart"
    the app won't be rejected..
    thanks,
    F

  • How to find the start and end sector index/physical address of any given file?

    I need to find the range of sectors that a file occupied. Then determine the slack space in that file and then analyze the slack space. This is a forensics project work. I am new to forensics and have no idea what Window API calls may help me accomplish
    this task. Any kind of help will be appreciated. 

    One solution if you want all the dates in one column:
    SQL > SELECT *
      2  FROM
      3  (
      4     SELECT  (CASE WHEN ID = 1 THEN TRUNC(MTH,'MONTH') ELSE ADD_MONTHS(TRUNC(MTH,'MONTH'),1)-1 END) AS MTH
      5     FROM
      6     (
      7             SELECT  ADD_MONTHS(TO_DATE(:begin_month,'MM/DD/YYYY'),LEVEL-1) AS MTH
      8             FROM    DUAL
      9             CONNECT BY LEVEL <= ABS(MONTHS_BETWEEN(TO_DATE(:begin_month,'MM/DD/YYYY'),TO_DATE(:end_month,'MM/DD/YYYY')))+1
    10     )
    11     CROSS JOIN
    12     (
    13             SELECT 1 AS ID FROM DUAL UNION ALL
    14             SELECT 2 FROM DUAL
    15     )
    16  )
    17  WHERE MTH BETWEEN TO_DATE(:begin_month,'MM/DD/YYYY') AND TO_DATE(:end_month,'MM/DD/YYYY')
    18  ORDER BY MTH
    19  /
    MTH
    03/31/2009 00:00:00
    04/01/2009 00:00:00
    04/30/2009 00:00:00
    05/01/2009 00:00:00
    05/31/2009 00:00:00
    06/01/2009 00:00:00
    06/30/2009 00:00:00
    07/01/2009 00:00:00
    07/31/2009 00:00:00
    08/01/2009 00:00:00
    08/31/2009 00:00:00
    09/01/2009 00:00:00
    09/30/2009 00:00:00
    10/01/2009 00:00:00
    10/31/2009 00:00:00
    11/01/2009 00:00:00
    11/30/2009 00:00:00
    12/01/2009 00:00:00
    12/31/2009 00:00:00
    01/01/2010 00:00:00
    01/31/2010 00:00:00
    02/01/2010 00:00:00
    02/28/2010 00:00:00
    03/01/2010 00:00:00

  • How do I clean up the begining and ends of tracks?

    I can't seem to clean up tracks before committing them to disc.

    I can't seem to understand this question because it is so extremely vague.

  • How to find the start and ending dates of a quarter of a particular fiscal

    Hi Experts,
    I need a function mudule which returns starting and ending date s of a particular quarter of a particular fiscal year .
    For Example: if pass 1 quarter and 2002 or 2 quarter 2002 it has to give me the star and end dates of that particular quarter na d fiscal year.
    Please help me which is urgent for me.

    Hi Kishan thanks for reply.
    But given function module the 2nd one is full but it is giving me the calender year dates but i need fiscal yea dates.
    fro example: if i pass 1 st quarte and 2006 it is to give me the 1st-april to 30-jun2006.
    And need this quater starting date and ending date for as per USA fiscal year calender.
    If u get any idea plz let me know.
    thanks.
    Dashmantha.

  • How we Can find out How many Users Logon into the Portal those users Names.

    Hi Friends
    I have one doubt in Portal,
    How we can find how many Users Logon into the Portal and how we can find that users Names in Portal.
    Regards
    Vijay Kalluri

    Hello Vijay,
    If you are at all interested in a 3rd party application to make your life a bit easier getting stats on your users, you could check out Click Stream by Sweetlets.
    Click Stream uses the Usermanagement (UME) API to get more information about the user, groups, roles, LDAP attributes etc. and offers you the ability to filter this information in nearly any report at the click of a button.
    Click Stream also uses the PCD API to get information about the pages your users are visiting too.
    In the very near future Click Stream will also have iView recording to monitor iViews, telling which iViews have been clicked, etc.
    Here are some reviews on the SAP EcoHub from people who have used it: http://ecohub.sdn.sap.com/irj/ecohub/solutions/clickstream
    Please just let me know if you have any question or if you are open to test drive Click Stream. We will certainly help as best as we can.
    Good luck.

  • How to create geofence at the start of a geometry segment?

    I want to create a geofence at the start (and end) of each of our road sections.
    The geofence would extend exactly x(specified) metres at right angles to the segment direction at the start point.
    Is there any Oracle functionality to construct a line (or 2 points) at right angles to a point on a line?
    I can find the start point using this construction
    SELECT SDO_LRS.GEOM_SEGMENT_START_PT(geom)
    FROM ROAD_CENTRELINE_SDO WHERE id = 82;
    The only way I have found of creating the geometry is by using some trigonometry to calculate the angle subtended and create two equidistant points. This is rather clumsy and I wondered if anyone knew how to do this more efficiently using Oracle Spatial functionality.
    Philip

    Phil,
    I can understand that you found the packages complex. There is quite a bit of work gone into them over the years. Once you are over the install, and grow in your understanding of Spatial, you might find one or two of the functions quite useful. I am working on documentation... not enough hours in the day!
    Wrt you immediate question.
    Assuming that these two queries return the points you need:
    SELECT SDO_LRS.LOCATE_PT(a.geom, 0, -7) FROM ROAD_CENTRELINE_SDO a
    SELECT SDO_LRS.LOCATE_PT(a.geom, 0, 7) FROM ROAD_CENTRELINE_SDO a
    Then, because these functions return a point in the sdo_ordinate_array and not in SDO_POINT, you should be able to construct a line as follows:
    SELECT sdo_geometry(2002,l.SRID,NULL,sdo_elem_info_array(1,2,1),
           sdo_ordinate_array(l.column_value.x,l.column_value.y,
                              r.column_value.x,r.column_value.y))
      FROM ( SELECT a.ID, a.geom.sdo_srid as srid, b.*
               FROM ROAD_CENTRELINE_SDO a,
                    TABLE( SDO_UTIL.GET_VERTICES( SDO_LRS.LOCATE_PT(a.geom,0,-7) ) )
           ) l,
           ( SELECT c.ID, c.geom.sdo_srid as srid, d.*
               FROM ROAD_CENTRELINE_SDO c,
                    TABLE( SDO_UTIL.GET_VERTICES( SDO_LRS.LOCATE_PT(c.geom,0, 7) ) )
           ) r
    WHERE r.id = l.id;I have not tested this as I do not have an operational LRS in place but it should work. Of course, if the SDO_LRS.LOCATE_PT returned the data in an sdo_point structure all this complexity could be avoided. But this approach does not require the construction of a function that returns an sdo_point from an sdo_geometry with a point coded in sdo_ordinate_array (which would be result in nicer SQL). If you coded a function that did this:
      create or replace Function ToSdoPoint( p_geometry IN MDSYS.SDO_GEOMETRY )
        RETURN MDSYS.SDO_GEOMETRY DETERMINISTIC
        IS
         v_element         number;
         v_elements        number;
         v_geometry        MDSYS.SDO_Geometry;
         v_SdoPoint        MDSYS.SDO_Point_Type := MDSYS.SDO_Point_Type(0,0,NULL);
         v_Ordinates       MDSYS.SDO_Ordinate_Array;
      Begin
        IF ( MOD(p_geometry.sdo_gtype,10) not in (1,5) ) Then
          v_geometry := NULL;
        ELSIF p_geometry.sdo_point is not null THEN
          v_geometry := mdsys.sdo_geometry(p_geometry.sdo_gtype,p_geometry.sdo_srid,p_geometry.sdo_point,NULL,NULL);
        ELSE
          v_ordinates  := p_geometry.sdo_ordinates;
          v_SdoPoint.X := v_ordinates(1);
          v_SdoPoint.Y := v_ordinates(2);
          IF ( FLOOR(p_geometry.sdo_gtype/1000) = 3 ) THEN
            v_SdoPoint.Z := v_ordinates(3);
          END IF;
          v_geometry := mdsys.sdo_geometry(p_geometry.sdo_gtype,p_geometry.sdo_srid,v_SdoPoint,NULL,NULL);
        END IF;
        RETURN v_geometry;
      END ToSdoPoint;
    show errors
    select toSdoPoint(mdsys.sdo_geometry(2001,null,null,
                       sdo_elem_info_array(1,2,1),sdo_ordinate_array(1,2)))
      from dual;Then the SQL becomes:
    SELECT sdo_geometry(2002,SRID,NULL,sdo_elem_info(1,2,1),
           sdo_ordinate_array(left.x,left.y, right.x,right.y)) as geom
      FROM ( SELECT a.geom.sdo_srid as srid,
                   ToSdoPoint(SDO_LRS.LOCATE_PT(a.geom, 0, -7)) as left,
                   ToSdoPoint(SDO_LRS.LOCATE_PT(a.geom, 0,  7)) as right
               FROM ROAD_CENTRELINE_SDO a )Hope this helps.
    regards
    Simon

  • 0Person to 0employee loading, how to handle start and end date

    Hi
    I need help on some basic understanding of time dependent master data object.
    In my scenario i am loading 0employee and 0Person from R/3. I need to update 0employee from 0person.
    0employee
    BEGDA            ENDDA             PERNR        Position....................So many fields
    10.10.2001     10.10.2004        8000123    Associate
    11.10.2004     10.10.2008        8000123    Consultant
    11.10.2008     31.12.9999        8000123    Senior Consultant
    0Person
    BEGDA            ENDDA             PERNR         City....................So many fields
    10.10.2001     10.10.2003        8000123      Singapore
    11.10.2003     10.10.2007        8000123      Tokyo
    11.10.2007     31.12.9999        8000123      Newyork
    As the begining and end date are different i can't simply read City from 0person into 0employee. If i go for checking the city for the start and end date in 0employee, i will get multiple records ( If try to get city for 0employee's first record, i will get 2 city Singapore and Tokyo).
    Please help me out how to handle this ...... i think i am missing somelink somewhere
    Thanks
    Tripple k

    Hi Srini
    Yes i need to have parallel flow for both and in the cube where my reporting will be on monthly basis i need to read these 2 master data and get the required attributes ( considering last/first day of that month as per the requirement).......but i am just wondering this is common scenario....while there are so many threads written for populating 0employee from 0person......don't they have such requirement.....
    Thanks
    Tripple k

  • SSRS Bar Chart grouping date series into Months, setting scaler start and end ranges

    I've been trying to solve this issue for a few days now without writing a sql script to create a "blank" for all of missing data points so that I get a bar for each month.  I have date series (by day) data points grouped by two items
    that creates a set of bar charts.  EG:  one chart per product in the tablix detail grouped to site level.
    My issue is I would like the start and end of the charts to be the same for all charts and the only way I get it to work is with a chart that continues to show each date on the chart. 
    EG:
    I have the graph start and end points set and scaling by month as I would like but each bar is a day instead of aggregating to a month level.   My issue I hope to find a workaround for is if I go to Category Groups and define the grouping
    to group with a year and month function the series is no longer treated as date data and I cannot control scaling.  It works fine if all months have activity, but I can't figure out how to always have all charts start at "May 2012" in this example. 
    The only start and end point that I've been able to get to work once doing this are integer based, eg normal start would be 1 for each graph, but 1 doesn't equate to the same month from chart to chart.
    I hope SSRS can provide the solution.  I do know I can write a query that creates a ZERO value for each month/product/site but I don't want to leave the client with a query like that to support.
    -cybertosis

    Hi cybertosis,
    If I understand correctly, you want to display all month category label in the X-Axis. You have configure the Scalar Axis, however, it cannot display the requirement format.
    In your case, if we want the specific data format, we can configure Number property to set the corresponding Category data format. Please refer to the following steps:
    Right click the X-Axis, select Horizontal Axis Properties.
    Click Number in the left pane. Click Date option in the Category dialog box.
    Then, select Jan 2000 option.
    Please refer to the following screenshot below:
    If there are any misunderstanding, please feel free to let me know.
    Regards,
    Alisa Tang
    If you have any feedback on our support, please click
    here.
    Alisa Tang
    TechNet Community Support

Maybe you are looking for

  • Windows 7 x64 RC, Java 1.6 update 14 Eclipse crash

    Hey folks. I've poked around on the forum and Google, but I can't find anything recent matching my problem. I'm posting this on this forum, as well as the Eclipse forum, in hopes of resolving this quickly. I have installed JDK 1.6 update 14 on a fres

  • How do I define a new salutation for use in vendor & customer master data?

    Hi Can someone please advise how/where I need to go in order to define a new salutation type (eg: to be used in vendor and customer master set up) We currently have several standard salutations (eg: Mr, Miss) but not some really common ones we use (e

  • How to open a .mrc file?

    I need to download an order report from a vendor site (Ingram Books).  The file has a .mrc extension.  I have been unable to find a application that will open this file.  Any suggestions?

  • Set environment variable in oracle 10g application server control rel3

    hi all, i am trying to connect to emc centera through 10g rel3 , here i am getting error . error name is: com.filepool.fplibrary.FPLibraryException: Error loading FPLibrary or one of its dependencies at com.filepool.fplibrary.FPPool.<init>(Unknown So

  • Determine if value passed is empty

    Hello, i am attempting to determine if a value passed as a parameter to a stored procedure in a package is empty. The relevant target field in the database does not allow nulls, but the interface passes several values to be inserted and must determin