Can I execute a mapping from a database trigger ????

Can anyone tell me if I can execute a mapping from a database trigger ? How ???
Thanks in advance.----
JEMD

Hello,
We are using the approach of scheduling predefined job heavily in our projects. It works fine.
There are several points to mention:
- scheduling / rescheduling algorithm must not lead to simultaneous session of the mapping run. Depending of content of the mappings/PF this could bring the real pain.
- If there are several user sessions intensively interacting the table on which the scheduling trigger is created, scheduling / rescheduling algorithm must be written with care – users could lock or wait each other while updating job record.
- Depending on intensity of such mapping runs additional care must be taken of OWB audit trail which will tend to grow.
Depending on requirements trigger could call ordinal procedure for scheduling (if mapping run must be performed only if user commit change to the table), or procedure with autonomous_transaction pragma (if any touch of the table should fire the execution – don’t think this is a case)
Sergey

Similar Messages

  • Re: send message from the database trigger(URGENT)

    Hi,
    I am using forms 6.0 and oracle 8.0. My question is I am calling a stored procedure in the BEFORE UPDATE TRIGGER on database. This trigger will be fired and update another table(table B) when user update any record in the forms based on different table (table A).
    I want to pass the message to the forms from the database trigger when records gets updated in the database e.g. (10 records are updated). Since I am not calling my database procedure from the forms, rather it is being called from the database trigger, How can i display message to the forms.
    Thanks all your help in advance.

    Thanks Parker for ur reply but that subprogram raise_application_error only works if there is an error in the store procedure. But in my case there is no error, I just need to pass a message saying that e.g. "12 rows updated". How can I pass this message from the database trigger to the forms application.
    Thanks

  • I have a problem, when I execute an mapping from Desing Center, its frezeen

    I have a problem, when I execute an mapping from Desing Center, its frezeen, this doesnt send error can you help me plis
    Ali

    If I would be you, I will check mapping activity from backend using (TOAD/SESSION-BROWSER) your map should be under JDBC THIN CLIENT. Also check if your target table is locked by running this query (select
    c.owner,
    c.object_name,
    c.object_type,
    b.sid,
    b.serial#,
    b.status,
    b.osuser,
    b.machine
    from
    v$locked_object a ,
    v$session b,
    dba_objects c
    where
    b.sid = a.session_id
    and
    a.object_id = c.object_id;).

  • How can I execute a query from a BSP application?

    How can I execute a query from a BSP application?
    I´m trying to execute a Query from intranet. I´ve been looking for examples, but the templates I´ve found doesn´t help me.
    does anybody has an example?
    Thanks.

    Hi
    Have you designed the BSP application ?
    design it first with one page
    page will have layout and Event handlers
    Design the layout with the fields
    in the event handler there are events
    in the event On Initiailization or ON inputprocessing write the select query similar to what we write in routine ABAp and fetch the data into ITAB and that has to be passed to the Layout
    see the doc
    BSP
    To learn how to create Web applications with Business Server Pages, you can work through the simple tutorials that build on each other. You should be able to run through all of the steps described here in your own system.
    If you want to develop Web applications with BSPs, your system must meet the following requirements: Prerequisites for Creating Web Applications.
    The following tutorials are available:
    · First Tutorial: First Steps with Business Server Pages…
    · Second tutorial: A Small BSP Application and A Small BSP Application with HTMLB
    · Third tutorial: Our First Online Bookshop
    · Fourth tutorial: Further Developing the Bookshop
    · A small Tutorial is also available for your first steps with the Model View Controller design pattern.
    · For a more complex MVC tutorial based on the third tutorial, see: Our Little Online Bookshop Using MVC and HTMLB
    When creating BSP applications, note the browser dependencies described in Note 598860.
    steps:
    1) start the transaction RZ10.
    2) now u u have to select Profile name, so select the INSTANCE Profile from the list of options given with the Profile parameter list.U may find multiple instance profile in the list, so select the profile in which ur server name is given.
    3) u will also find three options in the same window.
    Administrator data, Basic Maintenance, and Extended Maintenance. So select the last one from that.
    4) Now click on change button.
    5) here u will find parameter icm/host_name_full, so now set it as FQDN.
    6) Now copy ur settings with new version number.
    7) Activate that version.
    8) And now please restart ur WAS.
    So this will set ur FQDN, and also don't forget to login using Admin User.
    Now u also check for following service are active in your ICF setting or not,( just start transaction code SICF)
    /default_host/sap/bc/bsp/sap
    /default_host/sap/bc/bsp/sap/system
    /default_host/sap/bc/bsp/sap/public/bc
    /def ault_host/sap/public/bc
    /default_host/sap/public/bc/ur
    /default_host/sap/public/bsp/sap/public
    /default_host/sap/public/bsp/sap/public/bc
    /defaul t_host/sap/public/bsp/sap/system
    /default_host/sap/public/bsp/sap/htmlb
    if not then activate all.
    check this link
    Read this weblog...
    /people/brian.mckellar/blog/2003/09/25/bsp-in-depth-fully-qualified-domain-names
    http://www.thespot4sap.com/articles/SAP_WAS_Creating_BSP_Apps.asp
    it consists of screen shots also
    Check it.
    http://help.sap.com/saphelp_nw04/helpdata/en/c8/101c3a1cf1c54be10000000a114084/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/e9/bb153aab4a0c0ee10000000a114084/frameset.htm
    Regards
    Anji

  • Can I execute a scenario from a procedure?

    Can I execute a scenario from a procedure? I know I can execute scenarios from the command line. I was hoping to avoid that since I need my job to run in multiple envirnoments and may not reliably know where STARTSCEN is located or if it will always work. Basically, I would like to execute several jobs multiple times, depending on values in a table that will be changed between runs.

    Hi,
    Yes you can exetute an ODI scenario from an ODI procedure.
    Technology for that procedure will be Sunopsis API
    code OdiStartScen "-SCEN_NAME=<scenario name>" " -SCEN_VERSION=<scenario version>" "-CONTEXT=<context code name>"
    Thanks,
    Sutirtha

  • Executing a mapping from sqlplus in OWB 904

    I have used the below syntax to execute OWB 902 mappings as below:
    sqlplus / <<*sql*
    Execute MAP_SOMETHING.MAIN();
    sql
    I deployed the same mapping with new version of OWB 904.. it did not work. What is new syntax to execute the mapping from sqlplus?

    From OWB 9.0.4 on, you must use the execution template to execute your mappings from sql. The template file, that has a brief doc section in its heading is:
    <OWB installation directory>/owb/rtp/sql/sqlplus_exec_template.sql
    Regards:
    Igor

  • HOW CAN I EXECUTE DINAMIC SENTENCES FROM FORMS

    HOW CAN I EXECUTE DYNAMIC SENTENCES FROM FORMS.
    Ex.
    I would like to execute this commands from table SENTENCES
    COL1
    set_item_property (item1, enabled , property_true )
    set_item_property (item2, enabled , property_true )
    set_item_property (item3, enabled , property_false )
    Regards
    Message was edited by:
    jcruizcarrera
    Message was edited by:
    jcruizcarrera

    ... but you could imagine a sort of workaround...
    PROCEDURE Set_Item
        PC$Item     In Varchar2
       ,PN$Property In Number
       ,PC$Value    In Varchar2
    ) IS
    BEGIN
       Set_Item_Property( PC$Item, PN$Property, PC$Value ) ;
    END;That you can call like this:
      Set_Item( 'BL.BUTTON', LABEL, 'Hello' ) ;Francois

  • Can we extract blob objects from sql database to a human readable format?

    Hi All,
    I have question How can we extract
    blob objects from Sql database to human readable format ?
    Blob includes Images, text and docs.
    Thanks 
    Moug
    Best Regards Moug

    One thing you can do if its sql 2012 or later is to load the blob data to FileTable created in database. Then you would be able to physically browse to directory it points and see all files in its native format.
    see this for more details
    http://visakhm.blogspot.in/2012/07/working-with-filetables-in-sql-2012.html
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • Accessing values in Value Mapping from JDBC database during runtime.

    Hi all,
    I have a query here.
    Actually we have to populate the value mapping from a JDBC database, I've gone through the blogs but all of them expalin the value mapping replication process where in SAP tables are the source and it includes ABAP programming, where as my source system is a JDBC database.
    Please provide me with the detailed steps to be carried out in IR and ID to accomplish this task.
    Thanks once again.
    Younus

    Hi Younus,
    search the blogs with "lookup". I guess you will find you solution.
    Regards Mario

  • Can i use one datafile from different database to my database ?

    hi,
    i copied one datafile from development server to my database ? how can i use this datafile
    can i re-create controlfile , please suggest?
    Edited by: 819136 on Jan 12, 2011 2:45 AM

    I have create the controlfile please find the below details
    SQL> startup nomount
    ORACLE instance started.
    Total System Global Area 612368384 bytes
    Fixed Size 1298160 bytes
    Variable Size 255852816 bytes
    Database Buffers 348127232 bytes
    Redo Buffers 7090176 bytes
    SQL> CREATE CONTROLFILE REUSE DATABASE "ORCL" RESETLOGS ARCHIVELOG
    2 MAXLOGFILES 5
    3 MAXLOGMEMBERS 3
    4 MAXDATAFILES 14
    5 MAXINSTANCES 1
    6 MAXLOGHISTORY 226
    7 LOGFILE
    8 GROUP 1 'E:\ORACLE\ORADATA\ORCL\REDO01.LOG' SIZE 100M,
    9 GROUP 2 'E:\ORACLE\ORADATA\ORCL\REDO02.LOG' SIZE 100M,
    10 GROUP 3 'E:\ORACLE\ORADATA\ORCL\REDO03.LOG' SIZE 100M
    11 DATAFILE
    12 'E:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\SYSTEM01.DBF',
    13 'E:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\UNDOTBS01.DBF',
    14 'E:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\SYSAUX01.DBF',
    15 'E:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\USERS01.DBF',
    16 'E:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\EXAMPLE01.DBF',
    17 *'E:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\TEST01.DBF'*
    18 CHARACTER SET WE8MSWIN1252;
    CREATE CONTROLFILE REUSE DATABASE "ORCL" RESETLOGS ARCHIVELOG
    ERROR at line 1:
    ORA-01503: CREATE CONTROLFILE failed
    ORA-01159: file is not from same database as previous files - wrong database id
    ORA-01110: data file 43: 'E:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\TEST01.DBF'
    SQL>
    SQL> ALTER DATABASE OPEN RESETLOGS;
    ALTER DATABASE OPEN RESETLOGS
    ERROR at line 1:
    ORA-01507: database not mounted

  • Can BPEL handle file attachment from oracle database?

    Hello All,
    Need some help for this below incident.
    1. user attach a file from Human Task Work List. (this will store the attachment into the database)
    2. Get the attachment from the database.
    3. Sent it via email as attachment. (attachment can be all types of file format)
    Question.
    1. Is this possible to be done?
    2. I manage to decode and sent successful as an attachment in .txt format only. But for others i can't, any idea? i get this error in my flow (XML Parsing Error: reference to invalid character number)
    your help will helped others as well. Thanks

    Hei all.
    I get it works already. Direct copy the content from the database with the email content body.
    Problem is:
    1. PDF with large size will fail. (That's why I keep on getting error) but anyone out there know whats the size of the limit?
    2. It wont work for Text file. Its shows base64 format. I not sure why this is happen. But this can be fix with a base64 encoder.

  • I can't execute my forms from another machine

    After a lot tears, blood and sweat, eventually I achieve to install successfully an IAS (server).
    I probe it and realize that I can execute forms in the Navigator wich is in the IAS Server, but I can't execute it from another machine.
    I now that the web server is Ok because I can see the main page of the web server (runform.htm) but since I introduce the name of the forms it can't find the page.
    ?What am I doing wrong?
    Regards

    If the IP address approach is working and the machine name is not, it may be that you need to have your machine added to your DNS server. The DNS server does the linking of your machine name to a IP address known by the server. If it is defined on the server, then make sure the machine you are trying to access the form from has that DNS server defined in its Network set-up.
    Hope this helps.

  • [SOLVED]_How can I execute namebench installed from AUR?

    I have managed to install my first package from AUR, namebench. When i type in terminal
    namebench
    I get command not found.
    So how can I execute namebench?
    Thanks
    Last edited by zabrielza (2015-03-09 21:26:36)

    nullified wrote:What did you do to install it? I.e. are you sure you installed it correctly?
    I followed instructions from this link.
    $ cd ~***/Downloads/_Applications_From_AUR
    $ tar -xvf namebench.tar.gz
    After that
    $ cd namebench
    $ nano PKGBUILD
    When I read PKGBUILD there were dendencies tha I installed correctly. python2-graphy was installed from AUR too.
    $ makepkg -s
    # pacman -U namebench-1.3.1-7-any.pkg.tar.xz
    I had no errors at all.
    EDIT: How can I figure out whether I installed it correctly or not?
    Last edited by zabrielza (2015-03-09 21:15:57)

  • Can we execute sequence not from the 1st frame to end?

    I had a problem that I want to execute sequence not from the 1st frame but from the specific frame that I want to execute to the end. How can I do? Please help me.

    Instead of using a sequence I suggest you use a state machine. By using a state machine you can begin anywhere you like.
    For more information in regards to a state machine, see the following link:
    http://zone.ni.com/devzone/conceptd.nsf/webmain/C74CEC177A289DBD86256C4E00600196?opendocument
    Hope this helps.
    Mike

  • Can we execute DOS Commands from a Java Application

    I just want to know whether we can execute DOS Commands from a Java Application.
    Thanks.

    hi,
    try this:
    Runtime.getRuntime().exec("cmd /c start abc.bat");
    andi

Maybe you are looking for

  • I still don't get iCloud

    Hello everyone. I have been tempted to use iCloud on my iPhone to sync with my Mac and in the future, with an iPad. I got tired of a 10 hour backup that wouldn't finish so I cancelled it and just decided to wait. Now that I wanna take the plunge I st

  • Publishing to network solutions problem

    I have been trying to publish my new site to my network solutions domain host. I press publish then fill out the ftp form but it keeps coming up with a message that says "Incorrect password for "my user name" on "ftp.mydomain.com please try again Obv

  • (semi-urgent) RVS4000 and multiple (same port) NAT'ing

    Hello - I have a client who has one Internet connection and 2 different internal SMTP servers.  Is there a way to NAT public mail/SMTP to each one?  We have two public IPs. Thanks

  • Sealing a Management Pack before upgrading to R2

    We are planning on upgrading our environment from 2012 SP1 to R2. I read somewhere that Management Packs should be sealed before upgrading. Not sure if the source was talking about a SM upgrade but seems logical it was. We have one particular Managem

  • Reporting on SR Owner Change, Activity Due Date Change

    We have few Report Requirements around Audit Trail. We are looking for Reports where we could Track Service Request Owner change, SR Status Change, Activity Due Date Change etc. As we know, In CRMOD Analytics, we cannot report on Audit Trail or use t