** Is it possible manual trigger when JDBC is sender

Hi Friends,
Is it possible manual trigger to send the new records to the JDBC sender adpter ? Instead of Stored Procedure or SQL statement (Stored Procedure) in 'Query SQL Statement' parameter ?
The purpose is instead of JDBC poll at frequent interval,we want to send newly inserted record whenever required.
Any idea friends, to do this ?
Kind Regards,
Jeg P.

Hi,
You can try this way. On insertion of any record in a table trigger a Stored Procedure which will call the url for activating and deactivating the channel. For more help on invoking the url from Stored procedure, please refer to the link below.
http://www.lorentzcenter.nl/awcourse/oracle/appdev.920/a96612/u_http.htm#1012294
Your code will look something like this
req := utl_http.begin_request('http://host:port/AdapterFramework/ChannelAdminServlet?party=party&service=service&channel=channel&action=action ');
Thanks
Amit

Similar Messages

  • Is it possible to trigger an event when clicking context menu trigger icon?

    When opening a context menu on a UI element, is it possible to trigger an event to handle, eg. set the lead selection for this context element to which the UI element is bound, when clicking the menu trigger icon ?

    First, these NW04s menus are not really context menus. They are static menus that are rendered within the view layout. Real context menus will come later.
    There is no "onMenuOpen" event for an application.
    Armin

  • Is it possible to trigger FIPP event (and how?) when parking an FI document

    Hello
    I wander is it possible to trigger FIPP event (and how?) when parking an FI document with transaction fbv1(and not fv60)
    Thx in advance

    Hi,
    In Financial Accounting --> Accounts Receivable and Accounts payable >  Business Transaction> Incoming Invoices/Credit Memos  --> Make and check settings for Document Parking -->  Create Workflow Variant for Parking Documents (Click  this)
    There you have to assign your workflow.
    Regards,
    Surjith

  • Manually trigger Scope

    Good Day,
    I have a USB-5133 USB scope and I am using an EdgeTrigger like this in C#
    NIScope scopeSession = new NIScope(ResourceName, IdQuery, ResetDevice);
    double triggerLevel = 0.5;
    ScopeTriggerSlope triggerSlope = ScopeTriggerSlope.Positive;
    ScopeTriggerCoupling triggerCoupling = ScopeTriggerCoupling.DC;
    ScopeTriggerSource triggerSource = ScopeTriggerSource.Channel0;
    PrecisionTimeSpan triggerHoldoff = PrecisionTimeSpan.Zero;
    PrecisionTimeSpan triggerDelay = PrecisionTimeSpan.Zero;
    ScopeSession.Trigger.EdgeTrigger.Configure(trigger​Source, triggerLevel, triggerSlope, triggerCoupling, triggerHoldoff, triggerDelay);
     I am then fetching the waveform like
    AnalogWaveformCollection<double> waveforms = scopeSession.Channels[ScopeTriggerSource.Channel0]​.Measurement.FetchDouble(Timeout, actualRecordLength, waveforms, out waveformInfo);
    This method, FetchDouble blocks the scope while it waits for voltage to trigger. I would like to be able to stop the scope from waiting for something to trigger it. Is it possible to manually trigger the scope or is there a way to stop the scope from waiting?
    Regards,
    Jonathan.

    jonfrankel001 wrote:
    Hi nyc,
    Thanks for the reply. I have searched the internet and looked through the documentation but I cannot find the answer to my question.
    I looked at that link but I am not having trouble configuring my trigger, it is working correctly. However, I would like to be able to cancel any waiting triggers on my scope. Do you know how to do that?
    Regards.
    Waiting trigger?
    I don't have experience with this particularly scope, but other scopes, when you change the triggering, the effect is immediate.

  • Is it possible to trigger an error so that the running stored procedure is stopped?

    Hello all,
    I want to run an existing stored procedure and then I want to manually trigger an error/abort/interruption so see what happens and do some testing with that.
    Is it possible to manually trigger an error/abort/interruption on a running stored procedure so that it is stopped?
    If yes, how can I do that?
    I hope someone has an idea. For me it sounds not really difficult, but I just do not get the idea how to do it.
    Kind regards
    Peter

    Hello Visakh,
    I dont want to modify the existing procedure. I just want to run it and than stop it, but not with the button to stop it, but "kill" it somehow with an error (with not destroying the database).
    Nope you cant simulate an intermediate failure inside procedure code from outside. For that you have to modify the actual sp code itself
    Another way is by doing data manipulation in such a way which causes a error in procedure but for that you need to revisit the logic to ensure you do changes in such way as to cause an error
    Please Mark This As Answer if it solved your issue
    Please Vote This As Helpful if it helps to solve your issue
    Visakh
    My Wiki User Page
    My MSDN Page
    My Personal Blog
    My Facebook Page

  • Is i possible to trigger a workflow from the creation of an event in iCal

    Is i possible to trigger a workflow from the creation of an event in iCal
    Or is is possible to create a workflow to ad events to an iCal calendar which then triggers the workflow or is combined with the ad events workflow.
    Graeme

    Hmm, nope. Not that I'm aware of. Very few apps allow you to hook scripts directly to user activity. Finder* is a notable exception. iCal's "publish" feature has the ability to auto-update after user activity, but you'll either need dot mac accounts or your own webdav server to get that working.
    I'd re-consider the idea of triggering a periodic workflow with iCal. That way if the computer is shut down or asleep, iCal will wait to run the workflow at its next opportunity. You could hide the unsightly repeating events in a second calendar so they're out of the way.
    The next best thing is to write a faceless AppleScript application with a long-duration idle handler. The user would simply add it to their login items in System Preferences. This would also resume its cycle after sleep or shutdown.
    Yet another option is to write an AppleScript that can register itself in the crontab. This has the advantage of running at a predictable time. If you're careful, you can even set the script to wake up or power on the computer as necessary.
    * Folder action scripts can be triggered when files are created, moved, or deleted, but not when they're merely updated. This probably rules out much of iCal's activities in ~/library/application support/ical/.

  • Is it possible to trigger action in backing bean on page unload event?

    Hi,
    There is a RichPopup in my page which has a Listener to save data or not by user choice "Data change detected, do you want to save those changes?"
    I've tried with the javascript event 'window.onbeforeunload', but this way must be fit with a Servlet function which I am not allowed to use.
    The attibute 'onunload' in the tag '<af:document>' seems useless. Even there is few description or example in the 'Tag Reference'.
    So, is it possible to trigger action in backing bean on page unload event? Thanks in advance for helping.
    Viva

    Hi Frank
    Thanks for helping, I've tried in your way. My codes are like below:
    Page codes:
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
              xmlns:f="http://java.sun.com/jsf/core"
              xmlns:h="http://java.sun.com/jsf/html"
              xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
      <jsp:directive.page contentType="text/html;charset=UTF-8"/>
      <f:view>
        <af:document id="d1" clientComponent="true" title="viva test">
          <af:resource type="javascript">
            if (!window.addEventListener) {
                // alert('window.addEventListener is not supported in IE8. Override it!');
                window.addEventListener = function (type, listener, useCapture) {
                    window.attachEvent('on' + type, function() {listener(event)});
            window.addEventListener('beforeunload', function (){performUnloadEvent()}, false);
            function performUnloadEvent() {
              var eventSource = AdfPage.PAGE.findComponentByAbsoluteId('d1');
              //var x and y are dummy variables obviously neeed to keep the page
              //alive for as long it takes to send the custom event to the server
              var x = AdfCustomEvent.queue(eventSource, 'handleOnUnload', {args:'noargs'}, false);
              var y = 0;
          </af:resource>
          <af:serverListener type="handleOnUnload" method="#{vivaTestBean.testOnUnload}"/>
          <!--
          <af:form id="f1">
            <af:commandButton text="Unload" id="cb1" action="unload"/>
          </af:form>
          -->
        </af:document>
      </f:view>
    </jsp:root>The backing bean codes:
    public class VivaTestBean {
        public VivaTestBean() {
        public void testOnUnload(ClientEvent clientEvent) {
            System.out.println("Thanks God");
    }The first way which triggers a 'unload' event by clicking a button DO WORKS. :)
    But when I changed the triggered way by changing the <af:document> to clientComponent as what you did, the 'onbeforeunload' event won't come out when I refreshed or closed the page.
    That doesn't make sence, since I think the two ways to trigger a 'unload' event are the same.
    Edited by: 841766 on 2011-3-7 上午1:13

  • Is Scheduling is possible manually while creating a production order?

    When creating a production order (co01), Scheduling carried out automatically.
    Is Scheduling is possible manually while creating a production order? If yes how?

    Hi,
    Please check in transaction OPKP (Prodn scheduling profile), deselect automatic scheduling check box.
    From then production order screen enter the dates & click scheduling icon, scheduling takes place.
    Regards,
    Senthilkumar

  • Possible to trigger HRMD_A IDoc immediately

    Hi experts,
    Can you please let me know if it is possible to trigger an Outbound HRMD_A IDoc immediately i.e. as soon as someone creates a new record for any of the infotypes associated with this IDoc the IDoc is sent; without having to schedule PFAL or BD21.
    Thanks and regards,
    Brendon

    Can you please let me know if it is possible to trigger an Outbound HRMD_A IDoc
    immediately i.e. as soon as someone creates a new record for any of the infotypes
    associated with this IDoc the IDoc is sent; without having to schedule PFAL or BD21.
    Well I think some confusion out here, PFAL or BD21 does not have any control on when the IDOC
    is sent they will just read the infotype data and create IDOCs. WE20 Partner Config has got the
    setting to tell system whether COLLECT the IDOCs in ready state or dispatch as soon as they
    gets creates (PFAL/WE21) Without scheduling BD21/ PFAL you will not have IDOCs itself
    triggering comes later.
    Hope this clarifies.

  • Trigger when click manu

    Hi all,
    Could u please show examples bout
    trigger when click manu from forms
    thanks
    useruser

    Oh no , i think it's not possible in Oracle to do this..Not in Menu..
    Instead, u can do some work around:
    1. Create a Trigger when-New-form-instance.
    2. Create a Global variable intialize it's value Boolean True or False.
    3. In the Pre-Form Trigger check
    either
    1.select field1
    into variable
    where whatever ;
    2. IF Field1 is not null then excute_query
    else
    exit_form;
    ==========================
    Or
    ===========================
    1.excute_query in W-N-F-I Trigger
    IF :Field1 is Null then
    Global.form :='False';
    exit_form;
    else
    Global.form :='True';
    do whatever..
    excute_query;
    Hope it helps
    Regards,
    Abdetu..

  • Error -- No Such Trigger('when-button-pressed')

    Hi,
    I am getting the error ""No Such Trigger('when-button-pressed')"",
    when I am executing the code EXECUTE_TRIGGER( 'WHEN-BUTTON-PRESSED' );
    on some item(Key-Next-Item), although WHEN-BUTTON-PRESSED trigger exists.
    What could be the problem ?. It worked till yesterday, giving error from today, I havent
    changed any thing.
    Thanks in Advance
    Devender

    Steve's tip is the only good solution for this case.
    The problem in your case for example is:
    Let's say you have a block-trigger, which fires after your execute-trigger.
    Now a colleague of you, which don't know your code, create a WHEN-BUTTON-PRESSED on an item, then the new code is started and not the block-trigger-code.
    So, don't ever do this. Write your code in a package-function or -procedure and call it from the trigger. So you can re-user the functionality
    Gerd

  • I just got my Mac Pro repaired from Apple but I am experiencing the same issue: Screen freezes and shows funny rectangular bars. I shut it down manually and when I try to turn it back on it beeps 3 times. I know its the RAM but is there a way I can fix it

    I just got my Mac Pro repaired from Apple but I am experiencing the same issue: Screen freezes and shows funny rectangular bars. I shut it down manually and when I try to turn it back on it beeps 3 times. I know its the RAM but is there a way I can fix it

    If you just got it back and it isn't fixed or something else is wrong with it take it back and have them do the repair correctly.

  • TS2621 I have my data retrieval se to manual. When I get mail I get a popup on the screen for each and every e-mail asking if I want to view it or cancel and I have to cancel each one before I can resume any other actions on my ipad. How can I turn this o

    I have my mail set to retrieve data manually. When I retrieve mail, I get a popup box for each and every e-mail message asking if I want to view or cancel and must either view or cancel each one before I can use other apps on the ipad. How can I turn these popups off?

    Try reset iPad (not Restore)
    Hold down the Sleep/Wake button and the Home button at the same time for at least ten seconds, until the Apple logo appears
    Note: Data will not be affected.

  • Problem in trigger when inserting in mtl_transactions_interface there is an added row

    hi,
    i have a problem in the trigger when i have a command of 2 lines and do a reception and insertion in table mtl_transactions_interface i found 3 lines, i didn't know where come the 3 row
    create or replace
    TRIGGER TOP_RCV_TRANSACTION_ACC_T2 AFTER
      INSERT ON PO.RCV_TRANSACTIONS FOR EACH ROW DECLARE
      CURSOR org_item_cur
      IS
        SELECT distinct organization_id,
          inventory_item_id
        FROM mtl_system_items_b
        WHERE inventory_item_id=
          (SELECT distinct item_id
          FROM rcv_shipment_lines
          WHERE shipment_line_id=:new.shipment_line_id
          CURSOR item_cur
          IS
          select distinct  RSL.item_id
    from
      RCV_SHIPMENT_HEADERS RSH
      ,RCV_shipment_lines RSL
      where :new.shipment_header_id=RSH.shipment_header_id
      and RSH.shipment_header_id=RSL.shipment_header_id;
      X_att_item      VARCHAR2(10);
      X__bc_ot        VARCHAR2(10);
      X_sum_qty       NUMBER;
      X_receipt_num   VARCHAR2(30);
      X_count_article NUMBER;
      X_item_org      NUMBER;
      X_org_id        NUMBER;
      X_serial_number NUMBER;
      X_dec_dou varchar2(100);
      X_DAE varchar2(100);
      X_LOCATOR_ID  NUMBER;
      X_ITEM_REVISION varchar2(3);
      X_ITEM_ID NUMBER ;
      X_PO_NUMBER VARCHAR2(20) ;
    BEGIN
    FOR item_rec IN item_cur
          LOOP
      IF (:new.transaction_type='DELIVER' and :new.organization_id=83 and (item_rec.item_id=61305 or item_rec.item_id=61306)) THEN
        SELECT distinct receipt_num
        INTO X_receipt_num
        FROM RCV_SHIPMENT_HEADERS
        WHERE shipment_header_id=:new.shipment_header_id;
    SELECT COUNT(*)
        INTO X_count_article
        FROM mtl_system_items_b
        WHERE inventory_item_id=
          (SELECT distinct item_id
          FROM rcv_shipment_lines
          WHERE shipment_line_id=:new.shipment_line_id
          --récupérer le numéro de commande à partir de la table PO_HEADERS_ALL
        select distinct PHA.segment1 
        into X_PO_NUMBER
        from PO_HEADERS_ALL PHA
        where PHA.PO_HEADER_ID=:new.PO_HEADER_ID;
         -- Récupérer la révision de l'article
          select distinct ITEM_REVISION
          into X_ITEM_REVISION
          from rcv_shipment_lines
          WHERE shipment_line_id=:new.shipment_line_id;
        IF (X_count_article > 1) THEN
          FOR org_item_rec IN org_item_cur
          LOOP
            IF (org_item_rec.organization_id=83 and(org_item_rec.inventory_item_id =61305 or org_item_rec.inventory_item_id =61306) ) THEN
              INSERT into inv.mtl_transactions_interface
                  transaction_interface_id,
                  SOURCE_CODE,
                  SOURCE_LINE_ID,
                  SOURCE_header_ID,
                  PROCESS_FLAG,
                  TRANSACTION_MODE,
                  INVENTORY_ITEM_ID,
                  REVISION,
                  ORGANIZATION_ID,
                  SUBINVENTORY_CODE,
                  TRANSACTION_QUANTITY,
                  TRANSACTION_UOM,
                  TRANSACTION_DATE,
                  TRANSACTION_TYPE_ID,
                  TRANSACTION_REFERENCE,
                  TRANSACTION_COST,
                  LAST_UPDATE_DATE,
                  LAST_UPDATED_BY,
                  CREATION_DATE,
                  CREATED_BY,
                  lock_flag,
                  transaction_source_name,
                  transaction_source_type_id,
                  Flow_Schedule,
                  Scheduled_Flag,
                  distribution_account_id ,
                  LOCATOR_ID
                VALUES
                  mtl_transactions_interface_s.nextval,
                  'INTERFACE',
                  0,
                  0,
                  1,
                  3,
                  org_item_rec.inventory_item_id,
                  X_ITEM_REVISION,
                  161,
                  'CENTRAL001',
                  :new.quantity,
                  :new.uom_code,
                  sysdate,
                  202,
                   X_PO_NUMBER,
                    :new.po_unit_price,
                  sysdate,
                  :new.LAST_UPDATED_BY,
                  sysdate,
                  :new.LAST_UPDATED_BY,
                  2,
                  X_receipt_num,
                  13,
                  'Y',
                  2,
                  347783,
                  :new.attribute1
            END IF;
          END LOOP;
          if org_item_cur%ISOPEN then
            close org_item_cur;
            end if;
    END IF;
      END IF;
       END LOOP;
    END;
    please help me and give me solutions to localisate the problem?

    This trigger will fire at the time of every PO receipt and receiving transactions such as Accept, Reject, Deliver, RTV etc.
    May be you forgot to put a WHEN clause in Trigger.

  • Disk Utility says everything's fine, but Install disk doesn't find my internal drive as a possible destination. When I startup with Command   S, I get a looping "cannot mount errno = 19" message.

    Disk Utility says everything's fine, but Install disk doesn't find my internal drive as a possible destination. When I startup with Command + S, I get a looping "cannot mount errno = 19" message.
    Problem started when I used Tech Tool Pro 6 to "de-fragment volume". Had to cancel that process before it finished because I ran out of time. Thereafter, when I startup my machine normally, I get the gray Apple logo at first, but it changes to a prohibited symbol (circle with a slash thru it) and hangs.
    When I startup holding the Option key, I can see my internal drive, but I get the same results as above.
    When I startup using the MacBook OSX Install DVD, it does not find my internal drive as possible destination.
    When I startup using the MacBook OSX Install DVD and then run Disk Utility, it finds my drive, allows me to "repair" and says everything is fine.
    When I startup with Command + S, I get a looping error message "errno = 19" and cannot stop it to do anything else.
    When I startup from Disk Warrior v4.4, it does not find my internal drive to do any repairs.
    When I startup from Tech Tool Pro 6 and run the "computer check" diagnostics, everything passes but the Volume Structure, which fails at "Volume Extents (B-tree)." When I use TTP's "Tools" option to run "volume repair" it will show my internal drive and allow me to click the GO button, but nothing happens and nothing changes.
    I have a Time Machine backup on an external USB drive, but for as long as the internal drive doesn't mount, I can't use the backup to restore.

    It's a false report and should be ignored.
    I would not rely on TT as I've already said earlier even before Grant posted similar advice.
    I really think the Rigid Disk Block may be corrupted. This holds the partition map and could prevent a volume from being unmounted. Unfortunately, there is no way to fix that without repartitioning the drive which will remove everything. So, before going down this road I hope you have backups or can make a backup.
    Drive Partition and Format
    1. Boot from your Snow Leopard Installer Disc. After the installer loads select your language and click on the Continue button.  When the menu bar appears select Disk Utility from the Utilities menu.
    2. After DU loads select your hard drive (this is the entry with the mfgr.'s ID and size) from the left side list. Note the SMART status of the drive in DU's status area.  If it does not say "Verified" then the drive is failing or has failed and will need replacing.  SMART info will not be reported  on external drives. Otherwise, click on the Partition tab in the DU main window.
    3. Under the Volume Scheme heading set the number of partitions from the drop down menu to one. Click on the Options button, set the partition scheme to GUID then click on the OK button. Set the format type to Mac OS Extended (Journaled.) Click on the Partition button and wait until the process has completed.
    4. Quit DU and return to the installer.  Proceed with reinstalling OS X.
    5. Download and install Mac OS X 10.6.8 Update Combo v1.1.

Maybe you are looking for

  • Planning application not visible in workspace

    Hi, We have upgraded from hyperion 11.1.2.1 to 11.1.2.2. after that we are unable to see the planning application in workspace. Any suggesstion Thanks Kumar

  • Cannot Get Acrobat X .MSI to Install Through Windows MDT

    Hello All, I am attempting to install Acrobat X using AAMEE. I've created my standalone package and give the command "msiexec.exe /i Acrobat.msi /quiet" (without quotes). I add the application with source files pointing to the build folder, nothing i

  • Html for escape

    hey does anyone know a short html for the computer to simulate the escape command on the computer?

  • Build an R/3 Hierarchy from a Table

    Hi all, Any one has an idea of how I can build an R/3 Hierarchy from an exisiting Table ? The table gives the relationship between two diffferent objects A & B. For each value for A there are a number of values for B, as defined & maintained in the t

  • 2 MACs, one Library, syncing Apps automatically?

    Hi, Just bought a MBAir. Want to keep Mini (and big screen) for videos/music. My setup is one iTunes library (&one account), Mini, MBA, iPad. My issue is when updating apps. Perfect on MBA - which I connect to the iPad via USB to sync. Basically MBA