Generated Code different from OWB Client and Deployment Manager....

Hi,
I developed the mappings using OWB9.2 and generated the code.
But when same mapping is used to generated code from deployment manager it is having extra code like WB_RT% procedures/functions.
Why this is happening, does any body have idea on this.
Please let me know.
With Regards,
Kranthi..

When you generate code from within your mapping, you'll get clean sql. But when you deploy your mapping and create package the code will contain more than just sql used for loading your tables, like control procedures etc. based on your mapping configuration, table loading options etc.
If you create mapping that will load table using TRUNCATE/INSERT option and generate code you will see only INERT INTO code, but when you deploy your mapping the code will include TRUNCATE TABLE code.

Similar Messages

  • IIS Issue:when trying to download code from AWS S3 and deploy in IIS server using Power Shell script while Windows startup Default Application pool is not started.

    Hi,
    I am trying to launch Amazon EC2 windows server 2008 R2 instance using AWS Auto Scaling feature. I have used cusmized AMI in Autoscaling Launch configuration to launch an instance.I have placed Power Shell script in AMI. 
    The responsibility of script is to download code from AWS S3 and deploy in IIS server while windows startup first time.
    When i check status, IIS is started succesfully. But default Application pool is not started.
    To resolve this issue i have written one scheduled script. It helps to start the application pool if any application pool is in stopped state.
    After this Application pool is started but i am not able to communicate with IIS server through browser.  
    Please help any one to resolve this issue.
    Thanks in advance

    Hi Vchreddy,
    For the IIS issue, we recommend you can post in IIS forum for more effective support:
    http://forums.iis.net/
    Thanks for your understanding.

  • Mapviewer displaying maps differently from the client than from the server

    Can anyone explain to me why this is happening. I have been deploying my java server page to the server, and the way it works is to have multiple base routes which are not originally shown, but the user can 'check' them and they will display. On the server this works as one would expect, but on the client
    I originally couldn't get this to work through Jdeveloper, but now it works -- that's another story :(
    all of my base maps are displayed when the map first comes up. I don't want this to occur because it takes too long. Anyway, does anyone know why the map is working different from the client than it does when I deploy it to the server? Here is the significant code:
    var basemap1 = new MVBaseMap("ds_prod.prod_rdlg_qry");
    var basemap2 = new MVBaseMap("ds_prod.interstate", "", true);
    basemap2.setTransparent(true);
    var basemap3 = new MVBaseMap("ds_prod.primary", "", true);
    basemap3.setTransparent(true);
    mapview = new MVMapView(document.getElementById("map"), baseURL);
    mapview.addBaseMapLayer(basemap1);
    mapview.addBaseMapLayer(basemap2);
    mapview.addBaseMapLayer(basemap3);
    basemap1.setVisible (true);
    basemap2.setVisible (false);
    basemap3.setVisible (false);
    Any suggestions would be appreciated. Thanks.

    Hi
    Whitch version of mapviewer are you using? (MVBaseMap/addBaseMapLayer is for older versions, and in newer there is MVMapTileLayer/addMapTileLayer)
    I had similar difficulties displaying multiple tile layers in application with mapviewer ver. B080618. (not sute, may be in newer versions this works different)
    When adding all tile layers initially and then setting theig Visible properties, browser fetches from server data for ALL the layers (even if they were set to visible -> false)
    the workaround was to add aditional layers ony when this is needed.
    Michael

  • How to code a Module in NWDS and deploy

    Hi ,
    That is exactly my question ...
    how to code a Module in NWDS and deploy
    Kindly let me know if there are any step by step available
    also I  may not always have access to nwds
    To the same in a tool like eccilpse.
    P.S.
    I am an abaper ...have a little working knowlege of Java..so playing around with eccilpse alot...
    Kindly help

    >>also I may not always have access to nwds
    >>To the same in a tool like eccilpse.
    apart from the links provided by others , if your above statement means that you might have to use Eclipse at times in place of NWDS, then I would suggest you to have a build process independent of Eclipse. NWDS makes use of SAP specific plugins which recognizes your SAP sepcific files like application-j2ee-engine.xml and ejb-j2ee-engine.xml and you see them differently inside NWDS. So to have a better project setup
    1. At least create the whole project (EJB / EAR) once in NWDS.
    2. Export it and then import inside Eclipse.
    3. Make changes and have a build script may be based on ANT to build your project and create EAR out of it.
    4. Deploy using SDM.

  • Quantity is different from sale order and delivery

    Hi,
    Gurus,
    Quantity is different from sale order and delivery.
    I identified the Material in the sales order, the item category for this material as BOM.
    I have also checked the bill of material display header overview. The Base Quantity maintained as 1000 EA3. The SUBITEM maintained in G in the unit field in bill of material display.
    Accordingly i have checked the same for material master's additionl data in Units of Measure tab, it is mentioned the basic unit as 1000 EA3 and alternative unit as 600 G.
    My client processed the order for 100 QTY. The QTY for the two sub item is 99.601 each in the sale order.
    My client Question is why in delivery the Material Qty is coming as 99.730 and the SUB ITEM is coming as 99.330 EACH.
    Note:- The material X is maintained in EA3 in Bill of material header overview. I do no how the sale unit came as G for the Material in sale order.
    The other two sub item is perfectly coming as G. Because it is maintained in G in the Bill of Material Display.
    Guide me GURUS.
    Thanks and Regards,
    ANAND

    Hello Rumar
    I guess you entered the text manually in the sales order. The Ship-to may not be having any text, but the Sold-to may be and it may be coming from sold to.
    In transaction VOTXN, check the access sequence for the text type id and see which one takes precedence - one from customer master or from the order by checking the order of accesses.

  • Error while fetching data from OWB Client using External Table.

    Dear All,
    I am using Oracle Warehouse Builder 11g & Oracle 10gR2 as repository database on Windows 2000 Server.
    I facing some issue in fetching data from a Flat File using external table from OWB Client.
    I have perform all the steps without any error but when I try to view the data, I got the following error.
    ======================================
    RA-29913: error in executing ODCIEXTTABLEOPEN callout
    ORA-29400: data cartridge error
    KUP-04040: file expense_categories.csv in SOURCE_LOCATION not found
    ORA-06512: at "SYS.ORACLE_LOADER", line 19
    java.sql.SQLException: ORA-29913: error in executing ODCIEXTTABLEOPEN callout
    ORA-29400: data cartridge error
    KUP-04040: file expense_categories.csv in SOURCE_LOCATION not found
    ORA-06512: at "SYS.ORACLE_LOADER", line 19
         at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:70)
         at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:110)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:171)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:455)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:413)
         at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:1030)
         at oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:183)
         at oracle.jdbc.driver.T4CStatement.executeForDescribe(T4CStatement.java:774)
         at oracle.jdbc.driver.T4CStatement.executeMaybeDescribe(T4CStatement.java:849)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1186)
         at oracle.jdbc.driver.OracleStatement.executeQuery(OracleStatement.java:1377)
         at oracle.jdbc.driver.OracleStatementWrapper.executeQuery(OracleStatementWrapper.java:386)
         at oracle.wh.ui.owbcommon.QueryResult.<init>(QueryResult.java:18)
         at oracle.wh.ui.owbcommon.dataviewer.relational.OracleQueryResult.<init>(OracleDVTableModel.java:48)
         at oracle.wh.ui.owbcommon.dataviewer.relational.OracleDVTableModel.doFetch(OracleDVTableModel.java:20)
         at oracle.wh.ui.owbcommon.dataviewer.RDVTableModel.fetch(RDVTableModel.java:46)
         at oracle.wh.ui.owbcommon.dataviewer.BaseDataViewerPanel$1.actionPerformed(BaseDataViewerPanel.java:218)
         at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
         at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
         at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
         at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
         at javax.swing.AbstractButton.doClick(AbstractButton.java:302)
         at javax.swing.AbstractButton.doClick(AbstractButton.java:282)
         at oracle.wh.ui.owbcommon.dataviewer.BaseDataViewerPanel.executeQuery(BaseDataViewerPanel.java:493)
         at oracle.wh.ui.owbcommon.dataviewer.BaseDataViewerEditor.init(BaseDataViewerEditor.java:116)
         at oracle.wh.ui.owbcommon.dataviewer.BaseDataViewerEditor.<init>(BaseDataViewerEditor.java:58)
         at oracle.wh.ui.owbcommon.dataviewer.relational.DataViewerEditor.<init>(DataViewerEditor.java:16)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
         at oracle.wh.ui.owbcommon.IdeUtils._tryLaunchEditorByClass(IdeUtils.java:1412)
         at oracle.wh.ui.owbcommon.IdeUtils._doLaunchEditor(IdeUtils.java:1349)
         at oracle.wh.ui.owbcommon.IdeUtils._doLaunchEditor(IdeUtils.java:1367)
         at oracle.wh.ui.owbcommon.IdeUtils.showDataViewer(IdeUtils.java:869)
         at oracle.wh.ui.owbcommon.IdeUtils.showDataViewer(IdeUtils.java:856)
         at oracle.wh.ui.console.commands.DataViewerCmd.performAction(DataViewerCmd.java:19)
         at oracle.wh.ui.console.commands.TreeMenuHandler$1.run(TreeMenuHandler.java:188)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
    ===========================
    In the error it is showing that file expense_categories.csv in SOURCE_LOCATION not found but I am 100% sure that file is very much there.
    Is anybody face the same issue?
    Do we need to configure something before loading data from a flat file from OWB Client?
    Any help would higly appreciable.
    Regards,
    Manmohan Sharma

    Hi Detlef / Gowtham,
    Now I am able to fetch data from flat files from OWB Server as well as OWB Client.
    One way I have achieved as suggested by you
    1) Creating location on the OWB Client
    2) Samples the files at client
    3) Created & Configured external table
    4) Copy all flat files on OWB Server
    5) Updated the location which I created at the client.
    Other way
    1) Creating location on the OWB Client
    2) Samples the files at client
    3) Created & Configured external table
    4) Copied flat files on the sever in same drive & directory . like if my all flat files are on C:\data at OWB Client then I copied flat file C:\data on the OWB Server. But this is feasible for Non-Windows.
    Hence my problem solved.
    Thanks a lot.
    Regards,
    Manmohan

  • Deleting DC from both client and DTR - How to ?

    Hi
    How to delete a DC completely both from the client and the DTR repository so that I can create it with the same DC name and package structure again.
    Please Help
    Regards
    Ananda

    Hello ananda,
    maybe this will help you.
    How to complete remove a track
    SAP-Note 855537
    Also check the Java Development Infrastructure Forum for such topics.
    regards,
    Markus

  • Iam not able to share internet in windows 8 from my macbook air...though my iphone ipad is connected to the hotspot well..tried everything but it seems to be different from windows 7  and other microsft operating systems setting. help!!

    Iam not able to share internet in windows 8 from my macbook air...though my iphone ipad is connected to the hotspot well..tried everything but it seems to be different from windows 7  and other microsft operating systems setting. help!!

    Ask on a Windows forum since that's what you're having a problem with.

  • I am trying to download Illustrator to my windows laptop.  I tried with CC but got an error when entering the license number.  So someone told me that CC is different from CS6 Illustrator, and I have a license only for CS6 Illustrator.  What is the correc

    I am trying to download Illustrator to my windows laptop.  I tried with CC but got an error when entering the license number.  So someone told me that CC is different from CS6 Illustrator, and I have a license only for CS6 Illustrator.  What is the correct link for CS6 Illustrator then?

    Downloadable installation files available:
    Suites and Programs:  CC 2014 | CC | CS6 | CS5.5 | CS5 | CS4, CS4 Web Standard | CS3
    Acrobat:  XI, X | 9,8 | 9 standard
    Premiere Elements:  13 |12 | 11, 10 | 9, 8, 7
    Photoshop Elements:  13 |12 | 11, 10 | 9,8,7
    Lightroom:  5.7.1| 5 | 4 | 3
    Captivate:  8 | 7 | 6 | 5
    Contribute:  CS5 | CS4, CS3
    Download and installation help for Adobe links
    Download and installation help for Prodesigntools links are listed on most linked pages.  They are critical; especially steps 1, 2 and 3.  If you click a link that does not have those steps listed, open a second window using the Lightroom 3 link to see those 'Important Instructions'.window using the Lightroom 3 link to see those 'Important Instructions'.

  • HT204053 why my iCloud email is different from my email and how do I change it?

    why my iCloud email is different from my email and how do I change it?

    iCloud email - the email service the icloud provides.
    "my email" - what do you mean by that?

  • When I accept an email invite from a client and want to save it to a Google calendar, it saves for 30 seconds and disappears. Does anyone know how to save a invite to a Google calendar in the Mac Calendar app?

    When I accept an email invite from a client and want to save it to a Google calendar, it saves for 30 seconds and disappears. Does anyone know how to save a invite to a Google calendar in the Mac Calendar app?

    When I accept an email invite from a client and want to save it to a Google calendar, it saves for 30 seconds and disappears. Does anyone know how to save a invite to a Google calendar in the Mac Calendar app?

  • Expand Operator generates code errors in OWB 10g2 map

    I suspect that there are few people that actually use the Expand Operator in OWB from the lack of threads in this forum; however I'll give this a shot.
    I have a map function that returns a user-defined object type which I then use an Expand Operator to break into its component data parts. The function works Ok. The map validates Ok. The code generates Ok. However, on deployment the map generates errors:
    ORA-06550: line 768, column 97:
    PLS-00103: Encountered the symbol "." when expecting one of the following:
    * & = - + < / > at in is mod remainder not rem then
    <an exponent (**)> <> or != or ~= >= <= <> and or like LIKE2_
    LIKE4_ LIKEC_ between overlaps || multiset year DAY_ member
    SUBMULTISET_
    The symbol "* was inserted before "." to continue.
    Compiling the package body in SQL developer, I can spot the exact lines that produce this error, so I know it's coming from the Expand Operator's generated code. In every case, the Expand Operator is producing lines like this (code generalized):
    (("[function_name]"("[map_name]"."[map_input_parameter]"))).BYTES_COUNT
    (("[function_name]"("[map_name]"."[map_input_parameter]"))).ROWS_INSERTED
    BYTES_COUNT and ROWS_INSERTED are data components of the user_defined object type returned by the function.
    The problem is the # of parentheses surrounding the function name and the returning component being outside these parentheses. If I move the returning component in between the first and second closing parentheses, the code will compile:
    (("[function_name]"("[map_name]"."[map_input_parameter]"*).BYTES_COUNT))*
    (("[function_name]"("[map_name]"."[map_input_parameter]"*).ROWS_INSERTED))*
    IMO, this is an OWB bug !! The Expand Operator can't be used without editing the code after deployment.

    Unfortunately breaking apart the user-defined type in an Expression Operator produces the same error message and virtually the same code problem:
    (([function_name]("[map_name]"."[input_parameter]")).BYTES_COUNT/* EXPRESSION.OUTGRP1.BYTES_COUNT */)
    As in the Expand Operator the line above compiles when the data type component ("BYTES_COUNT") is manually moved between the first and second closing parentheses:
    (([function_name]("[map_name]"."[input_parameter]").BYTES_COUNT/* EXPRESSION.OUTGRP1.BYTES_COUNT */) )

  • In wadl2java-generated code, NullPointerException from HttpTransportPipe

    I wrote a WADL document and used JAXB schemagen to create an XSD for my Jersey RESTful web-service, and referenced that XSD in that WADL document.
    Then, I used wadl2java to generate client-code for my service.
    However, then, I had numerous jar-dependency problems while trying to run that generated code. Perhaps I got myself into some trouble by choosing the wrong jar-file in one case or another. I thought it was odd that one of the missing class-files was SOAPException. Another one is part of FastInfoSet. And one of the problems seemed to require adding a JSR-related jar provided by BEA.
    I managed to find some possibly relevant source-code. However, it seems to simply indicate no need for an outputStream for a GET-request, which makes lots of sense:
    From HttpClientTransport:
    118:            public OutputStream getOutput() {
    119:                try {
    120:                    createHttpConnection();
    121:                    sendCookieAsNeeded();
    122:                    // for "GET" request no need to get outputStream
    123:                    if (requiresOutputStream()) {At this point, I'm not able to use wadl2java, thanks to this failure to get this generated client-code running. I'd like to avoid writing custom client-code instead. I'd sooner revert to SOAP and wsdl2java.
    Any help with this would be much appreciated.
    Exception in thread "main" javax.xml.ws.WebServiceException: java.lang.NullPointerException
         at com.sun.xml.ws.transport.http.client.HttpTransportPipe.process(HttpTransportPipe.java:157)
         at com.sun.xml.ws.transport.http.client.HttpTransportPipe.processRequest(HttpTransportPipe.java:74)
         at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:559)
         at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:518)
         at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:503)
         at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:400)
         at com.sun.xml.ws.client.Stub.process(Stub.java:228)
         at com.sun.xml.ws.client.dispatch.DispatchImpl.doInvoke(DispatchImpl.java:167)
         at com.sun.xml.ws.client.dispatch.DispatchImpl.invoke(DispatchImpl.java:193)
         at com.sun.research.ws.wadl.util.JAXBDispatcher.doGET(JAXBDispatcher.java:92)
         at com.foo.bar.restapi.client.Endpoint$Product.getAsProduct(Endpoint.java:66)
         at com.foo.bar.restapi.client.Test.main(Test.java:9)
    Caused by: java.lang.NullPointerException
         at java.io.Writer.<init>(Unknown Source)
         at java.io.OutputStreamWriter.<init>(Unknown Source)
         at com.bea.xml.stream.XMLOutputFactoryBase.createXMLStreamWriter(XMLOutputFactoryBase.java:45)
         at com.sun.xml.ws.api.streaming.XMLStreamWriterFactory$Default.doCreate(XMLStreamWriterFactory.java:204)
         at com.sun.xml.ws.api.streaming.XMLStreamWriterFactory$Default.doCreate(XMLStreamWriterFactory.java:199)
         at com.sun.xml.ws.api.streaming.XMLStreamWriterFactory.create(XMLStreamWriterFactory.java:152)
         at com.sun.xml.ws.encoding.xml.XMLCodec.encode(XMLCodec.java:35)
         at com.sun.xml.ws.encoding.MimeCodec.encode(MimeCodec.java:64)
         at com.sun.xml.ws.encoding.XMLHTTPBindingCodec.encode(XMLHTTPBindingCodec.java:173)
         at com.sun.xml.ws.transport.http.client.HttpTransportPipe.process(HttpTransportPipe.java:128)
         ... 11 more

    Thanks, that solved that problem.
    Then, however, I had a couple of other problems, having to do with namespace declarations. I've apparently fixed them.
    The one remaining problem is that the generated code seems to treat a certain template parameter as if it were a header-parameter. The WADL-file definitely uses style="template" for that parameter.
    I temporarily manually patched the generated EndPoint class to get it working.
    The effect of this problem was that the result was in the form of the HTML-message returned by Apache when a resource cannot be found. That was because that template parameter was missing and was being passed instead in a header.
    Perhaps I'll investigate this further at some point. However, "time's a wastin'", and reverting to SOAP is now quite likely.
    Thanks.

  • To Generate Oracle Package from OWB *.mdl file

    Hi,
    I want to generate an Oracle Package from OWB *.mdl file. I know this can be done using the OWB GUI. But is there a way to automate this using a script for a given set of mappings?
    Such a thing is required because I have a large number of mappings and i need to create the Oracle package scripts for the same.

    Hi borkur,
    As you told I tried the same in OMBPlus. I created a file called "comp_src.txt" with the following code:
    proc compile_mappings {} {
    OMBCONNECT owbrepos/owbrepos@blrkec20974d:1521:FDMD1B
    OMBCC 'FDM/BOE'
    OMBCOMPILE MAPPING 'BOE_EXPN_POPULATE_IU_1' OUTPUT VALIDATION_RESULT TO '/nav' WRITE
    SUCCESS
    OUTPUT GENERATION_SCRIPTS TO '/nav'.
    OMBCOMPILE TABLE 'T1' OUTPUT GENERATION_SCRIPTS TO '/nav'
    But i am getting an error message as below:
    OMB+> source C:/oracle/ora93/owb/bin/win32/comp_src.txt
    OMB+> compile_mappings
    Cannot establish connection in single-user mode!
    OMB+>
    I am new to OMBPlus and i came to know that Multi-user mode is default. Then why i am getting this error (Cannot establish connection in single-user mode!)
    Regards,
    Naveen

  • Generate pdf file from 9i reports and save it in C:\oracle_reports\

    i want to generate a file from oracle reports in PDF format and want to save it on already defined path.
    c:\oracle_reports\
    right now pdf generation of report is working fine but before generation of pdf report system prompt me or open a dialogue box to save my pdf file on drive. i dont want to see these dialogue box or prompt me to explicitly save it.
    i want all the work done automatically.
    regards
    ------------ source code--------------
    PROCEDURE PRINT_PROC IS
    repid REPORT_OBJECT;
    v_rep VARCHAR2(100);
    rep_status VARCHAR2(20);
    pl_id ParamList;
    report_path varchar2(100);
    aud_sno varchar2(1000);
    aud_type varchar2(500);
    BEGIN
         pl_id := Get_Parameter_List('report_data');
         IF NOT Id_Null(pl_id) THEN
              Destroy_Parameter_List( pl_id );
         END IF;
         pl_id := Create_Parameter_List('report_data');
         User parameters : Customize these to fit your report
         report_path := :GLOBAL.Web_BASE_PATH||:GLOBAL.PATH_SCM||'REPORT\scm_rfq.rep';
    -- Initialize your report parameters here
         Add_Parameter(pl_id, 'p_cmp_code'                     , TEXT_PARAMETER, :global.company_code);
         Add_Parameter(pl_id, 'p_rfq_sno'                     , TEXT_PARAMETER, :document_sno);
         Add_Parameter(pl_id, 'P_PATH'                               , TEXT_PARAMETER, REPORT_PATH);
    Standard parameters: Don't change
         Add_Parameter(pl_id, 'PARAMFORM' , TEXT_PARAMETER, 'NO');
         Add_Parameter(pl_id, 'PAGESTREAM' , TEXT_PARAMETER, 'NO');
         Add_Parameter(pl_id, 'MAXIMIZE' , TEXT_PARAMETER, 'YES');
         -- end standard parameters
         repid := find_report_object('REPORT_OBJ');
         SET_REPORT_OBJECT_PROPERTY(repid,REPORT_EXECUTION_MODE,BATCH);
         SET_REPORT_OBJECT_PROPERTY(repid,REPORT_COMM_MODE,SYNCHRONOUS);
         SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESTYPE,CACHE);
         SET_REPORT_OBJECT_PROPERTY(repid,REPORT_SERVER,'rep_oas');
         SET_REPORT_OBJECT_PROPERTY(repid,REPORT_FILENAME,report_path);
    -- SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESFORMAT,'htmlcss');
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESFORMAT,'pdf');
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESNAME,'\\ORCLSRV\UTL_MAIL\'||:doc_type||:receiver_sno||'.pdf');
         v_rep := RUN_REPORT_OBJECT(repid,pl_id);
         rep_status := REPORT_OBJECT_STATUS(v_rep);
         WHILE rep_status in ('RUNNING','OPENING_REPORT','ENQUEUED')
         LOOP
         rep_status := report_object_status(v_rep);
         END LOOP;
    END;

    If you use rwclient you could that easily, from a Form, it requires additional steps.
    Look at this thread Re: save report

Maybe you are looking for

  • How to display an HTML file in text Area?

    I am trying to display an HTML formated file in  text area component using Action 3.0. The following script does not generates compiler errors, each function seems to be executed yet the file is not displayed. When trying the same code with myCV.txt

  • Lumia 625 GDR3 Not getting Lumia Black

    Hi, I updated my Lumia 625 3 weeks ago to GDR3 and it was supposed to update to Lumia black as well. However i didnt get the black update. the extras+info still shows amber however i received all the GDR3 options like screen orientation lock and clos

  • Formatting a field before committing from editable datagrid

    Hi, I have an editable DataGrid which displays two columns, date and value. Now, the date in the dataProvider is actually stored as an integer (yyyymmdd) so I format it using a labelFunction to display. I then have a custom itemEditor to set it to a

  • Question about class icons

    So I learned today that a child class's icon is created by merging the child's icon as displayed in the class properties with the parent's icon as it appears in the parent's properties (the child's icon being the top image in the merge and the parent

  • How to resize photos for email

    I have a MacBookAir 10.9 OS 0 in IPhoto...how can I resize any photo to send by email? Thanks dognose2