Calling an external report

Hi gurus.......
When calling an external report the parameters or select-options specified in the external report can be called or not?

Hello Diana,
I think you can call it using SUBMIT statement.
Here's an example (taken from report RKEB0601 - job information is optional):
SUBMIT RKEB0601
          WITH PPLIKZ = PLIKZ
          WITH PERKRS = RKB1X-ERKRS
          WITH PPATYPE = RKB1X-PA_TYPE
          WITH PKOKRS  = RKB1X-KOKRS
          WITH PALEDGER = PALEDGER     "wkb 46c
          WITH PVALUTYP = PVALUTYP     "wkb 46c
          WITH VRGAR IN VRGAR
          WITH VERSI IN VERSI
          WITH PERIO IN PERIO
          WITH ALTPERIO IN ALTPERIO
          WITH BELNR IN BELNR
          WITH HZDAT IN HZDAT
          WITH RBELN IN RBELN
          WITH USNAM IN USNAM
          WITH SKOST IN SKOST
          WITH KSTAR IN KSTAR
          WITH RKAUFNR IN RKAUFNR
          WITH KAUFN IN KAUFN
          WITH BUKRS IN BUKRS
          WITH KNDNR IN KNDNR
          WITH ARTNR IN ARTNR
          WITH ELAYOUT = ELAYOUT
          WITH PREADM = PREADM
          WITH PREADM2 = PREADM2
          USER SY-UNAME
          VIA JOB H_JOBNAME NUMBER H_JOBCOUNT
          TO SAP-SPOOL
          AND RETURN.
Kind regards.
Bruno
Edited by: Bruno Garcia on Jun 21, 2008 5:05 PM

Similar Messages

  • External reporting tool (Cognos) to produce customized reports from BPM 5.7

    Can I use external reporting tool (Cognos) to produce customized reports from BPM 5.7? Is it possible to query BPM DB for historical data (not BAM dashboard)?

    Hi Steve,
    From memory, I think you can just use ContactCallDetail and Resource. Just look for calls where originatorType = 1 (for agent) and originatorID = resourceID of the agent. So your where clause would look something like:
    WHERE
    originatorType = 1 AND
    originatorID = resourceID of the agent AND
    LEN(destinationDN) > 7
    Hope that helps.
    Cheers,
    Nathan

  • "ORA-28578: protocol error..." before calling an external procedure

    Hello,
    Oracle reports this error
    Error report:
    SQL Error: ORA-29856: error occurred in the execution of ODCIINDEXCREATE routine
    ORA-28578: protocol error during callback from an external procedure
    29856. 00000 - "error occurred in the execution of ODCIINDEXCREATE routine"
    *Cause:    Failed to successfully execute the ODCIIndexCreate routine.
    *Action:   Check to see if the routine has been coded correctly.
    when it tries to call an external procedure in order to create a domain index. If I implement ODCIIndexCreate in PL/SQL, it is executed successfully. If I specify that ODCIIndexCreate is implement it an external library, then I get the above error even if the library does not exist on the file system. Does anyone have an idea what might be wrong?
    Regards,
    Angel Tsankov

    This forum is about using the Studio C/C++/Fortran compilers, and programming in those languages. You seem to have a question about using SQL for access to an Oracle database, which is none of the above.
    I suggest you try an Oracle database forum. Start here:
    https://forums.oracle.com/forums/category.jspa?categoryID=18
    Look for a forum that applies to your problem area.
    Edited by: Steve_Clamage on Jun 13, 2012 8:42 AM
    (Correcting the URL I posted earlier.)

  • CPC2206 by calling a external command

    Hi,
    we have one SAP installation which is not able to call an external command that is configured in the transaction SM69.
    For example we have created an command ZWRKWTR that call the command WRKWTR.
    When we try to execute the command via SM49, we retriebv only result:
    (no spooled files)
    Eigentumsrecht f}r Objekt JLQMHLJOBL in QTEMP Art *USRSPC geändert.
    On other installations with the same kernel we have no problems to call this command.
    In this forum is an other thread in this forum form 2006 with the same problem.
    Volker suggested to patch the SAPXPG and the SAPCMD, but we didn't find these programs in the 7.0-kernel.
    Many greetings,
    Stefan

    Hi,
    it is difficult to guess what could have gone wrong here. In general the function works, so something must be wrong with your specific installation. To get more information, you can set the "Trace" flag in SM69. Before you execute the command in SM49, lock a work process through transaction SE38, report RSTRC000. After the execution of the command, look into the developer trace of that work process for more information.
    When the command gets executed, a new job named CALLCMD gets spawned from the work process. Use DSPLOG to find out whether this job got started. If it does not write a joblog, change the work process with CHGJOB LOG(4 00 *SECLVL) to force the output of a joblog. Maybe that one has more information.
    Kind regards,
    Christian Bartels.

  • Call Xml Publisher report from Jdeveloper

    Hi,
    I am first time integrating XML publisher with Jdevloper.
    I need to call xml publisher report from Jdeveloper.
    I followed all steps from anilpassi link for sample
    its showing error while tring to open pdf file
    Error:
    Adobe Reader could not find 'EmpReport[1].pdf' because it is either not a supported file type or because the file has been damaged.
    Please help ,i m stuvk because of this error.
    below is the code
    EmpCO :
    public void processRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processRequest(pageContext, webBean);
    OAApplicationModuleImpl am =
    (OAApplicationModuleImpl)pageContext.getApplicationModule(webBean);
    am.invokeMethod("initEmpVO");
    // am.invokeMethod("getEmpDataXML");
    public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processFormRequest(pageContext, webBean);
    OAApplicationModuleImpl am =
    (OAApplicationModuleImpl)pageContext.getApplicationModule(webBean);
    if ("GenerateReport".equals(pageContext.getParameter(EVENT_PARAM)))
    System.out.println("event fired");
    // Get the HttpServletResponse object from the PageContext. The report output is written to HttpServletResponse.
    DataObject sessionDictionary =
    (DataObject)pageContext.getNamedDataObject("_SessionParameters");
    HttpServletResponse response =
    (HttpServletResponse)sessionDictionary.selectValue(null,
    "HttpServletResponse");
    try
    System.out.println("inside try");
    ServletOutputStream os = response.getOutputStream();
    // Set the Output Report File Name and Content Type
    String contentDisposition = "attachment;filename=EmpReport.pdf";
    response.setHeader("Content-Disposition", contentDisposition);
    response.setContentType("application/pdf");
    // Get the Data XML File as the XMLNode
    XMLNode xmlNode = (XMLNode)am.invokeMethod("getEmpDataXML");
    ByteArrayOutputStream outputStream = new ByteArrayOutputStream();
    xmlNode.print(outputStream);
    ByteArrayInputStream inputStream =
    new ByteArrayInputStream(outputStream.toByteArray());
    ByteArrayOutputStream pdfFile = new ByteArrayOutputStream();
    //Generate the PDF Report.
    TemplateHelper.processTemplate(((OADBTransactionImpl)pageContext.getApplicationModule(webBean).getOADBTransaction()).getAppsContext(),
    APP_NAME, TEMPLATE_CODE,
    ((OADBTransactionImpl)pageContext.getApplicationModule(webBean).getOADBTransaction()).getUserLocale().getLanguage(),
    ((OADBTransactionImpl)pageContext.getApplicationModule(webBean).getOADBTransaction()).getUserLocale().getCountry(),
    inputStream,
    TemplateHelper.OUTPUT_TYPE_PDF, null,
    pdfFile);
    // Write the PDF Report to the HttpServletResponse object and flush.
    byte[] b = pdfFile.toByteArray();
    response.setContentLength(b.length);
    os.write(b, 0, b.length);
    os.flush();
    os.close();
    catch (IOException e) {
    System.out.println("Exception1"+e);
    } catch (SQLException e) {
    System.out.println("Exception2"+e);
    } catch (XDOException e) {
    System.out.println("Exception3"+e);
    pageContext.setDocumentRendered(false);
    EmpAMImpl:
    public void initEmpVO() {
    EmpVOImpl vo = getEmpVO1();
    if (vo == null) {
    MessageToken errTokens[] =
    { new MessageToken("OBJECT_NAME", "EmpVO1") };
    throw new OAException("AK", "FWK_TBX_OBJECT_NOT_FOUND", errTokens);
    } else {
    vo.executeQuery();
    public XMLNode getEmpDataXML() {
    OAViewObject vo = (OAViewObject)findViewObject("EmpVO1");
    XMLNode xmlNode =
    (XMLNode)vo.writeXML(4, XMLInterface.XML_OPT_ALL_ROWS);
    return xmlNode;
    Please help !!

    Hi,
    I tried the way suggested by Anil in the above link as well today, but still am getting the same error while openning the pdf .
    Dont know why it shows error that either the file is not a supported file type or because the file is damaged.
    Please suggest way to solve this error or some other way of calling xml report from OAF page.
    Edited by: user13573749 on Apr 10, 2011 9:59 PM

  • Calling Oracle Discoverer Report from Apex

    How to call Oracle Discoverer Report from apex application?
    Thanks!

    The report is on a different data base ... need to create a process to get the data into the view behind the report and then materialized view in Apex etc .Then recreate the same report in Apex. But I am trying use the disc report url to invoke the report directly from apex.
    Any suggestions or thoughts are greatly aprreciated.

  • How to Call a Crystal Report from Form 6i?

    Dear All,
    Can anybody tell me how to call a crystal report, designed using Crystal Report 9, in form 6i? I tried one solution by using the host command but it was not working properly. The code I was tried is like:
         f_name varchar2(240);
         f_name :='C:\Program Files\Crystal Decisions\Crystal Reports 9\crw32.exe D:\Form16\Form16_Rep\bin\Debug\Form_16_character_emp.rpt';
                   host(f_name);
    This open the crystal report in design view. So how we call a report which run automatically like in .Net. How to pass the connection info of the database schema?
    Thanks & Regards
    Sunil

    Hi
    First see the built in run_product function.
    You can create a parameter list, add the
    "MAXIMIZE" paramter in it and then call your
    report with run_product passing your parameter list in it.
    hence the called report will be maximized.
    null

  • Call BI Publisher Report in APEX, based on R.T.F Template Layout.

    Hi to all respected members of this forum.
    Since 18th May (Saturday), I am trying to connect BI Publisher Reports with Oracle Application Express 4.2.2.
    My APEX Version = APEX 4.2.2
    Oracle BI Publisher Enterprise Edition (Trial) = 11.1.1.6.0
    Oracle BI Publisher Desktop 32 Bit = 11.117.0.79
    For this purpose what I did?
    Firstly I downloaded Oracle BI Publisher Enterprise Edition 11.7 and when I started Installation I came to know that "R.C.U (Repository Creation Utility)" is required during installation and I don't have that so, left this idea.
    Than I downloaded Oracle BI Publisher Enterprise Edition (Trial) from www.oracle.com and BI Publisher Desktop Edition for Templates because there is no facility in BI Publisher Trial Edition to design Report Templates. I have installed both successfully and created a report as per my requirement.
    Now, I want to call that report in Oracle APEX but I am unable to do that.
    I followed http://dgielis.blogspot.de/2007/12/call-bi-publisher-report-from-apex.html but the link which is shown in picture no: 03, is not available, so this didn't help me.
    Then, I followed Oracle BI Publisher Blog https://blogs.oracle.com/xmlpublisher/entry/apex_users_why_not_integrate_w which discuss to call BI Publisher Report in APEX based on "Generic Report Layout". This done successfully but still I am unable to call BI Publisher Report .
    Then I found this type of script
    http://localhost/xmlpserver/Guest/Reporting_Channel.xdo&id=FGFC&password=****&xt=Reporting_Channel&xf=pdf
    to call BI Publisher Report in APEX but this also failed.
    Please help me to understand that how to call "BI Publisher Report in APEX, based on R.T.F Template Layout.
    Thanks in Advance.
    *Regards:*
    *Muhammad Uzair Awan*
    *ORACLE APEX Developer*
    PAKISTAN.
    Edited by: uzairmalik on May 20, 2013 1:32 PM

    Are you trying to have multiple sql queries and have multiple sections displaying different data sets ? Or with one single query but display it in different ways in a single report ?
    You can create one single query as Report Query in APEX and associate it with a BIP report layout. So you can achieve a Dashboard layout with the report query/layout.

  • How to call jsp web report from forms 9i

    Dear fellows,
    How can i call a jsp report from forms 9i.
    Thanx
    Mochoo

    Use web.show_document instead of Run_Report_Object. If the jsp contains a paper layout you can still use Run_Report_Object, but you have to specify the filename extension .jsp along with the filename.

  • How to call an OBIEE report from EBS

    Hi,
    I'm trying to call an OBIEE report from an EBS menu.
    I have setup the following form function calling SSWA jsp type function
    Web HTML
    OracleOasis.jsp?mode=OBIEE&function=Go&Path=/shared/APA%20Real%20Time/AR/AR02%20Revenue%20by%20Account%20Report&Action=Prompt
    When I click the menu item OBIEE returns the following;
    No Columns
    The request cannot be performed because it contains no columns.
    Can anyone please enlighten me on how to do this correctly
    Thanks
    Phil
    Edited by: user462334 on 28/07/2010 21:50

    Hi Phil,
    I did some further investigation. The syntax to your Oracle BI Answers should be as follows;
    OracleOasis.jsp?mode=OBIEE&function=Go&parameters=Path~/shared/APA%20Real%20Time/AR/AR02%20Revenue%20by%20Account%20Report
    Check the following for more details;
    http://obibb.wordpress.com/2010/08/05/integrating-oracle-ebs-and-oracle-bi-ee-links/
    Cheers
    Daan Bakboord
    http://obibb.wordpress.com/

  • How to call the crystal report in jsp page

    dear friends
    i want to run or call the crystal report in jsp page.
    if u know that can u send sample code for that to my id
    [email protected]

    Hi Sudhakar,
    Could you please be more speicific about the task you want to accomplish?
    Cheers
    Giri :-)

  • Calling BI Publisher report  using FND_SUBMIT.SUBMIT_REQUEST---

    Hi Experts,
    We have a requirement in which BI Publisher report will be called using a PL/SQL procedure.
    i am successfully able to call BI publisher report using FND_SUBMIT.SUBMIT_REQUEST function.
    Business requirement is that the BI publisher report can be generated in PDF,Excel or HTML format.
    but i am able to generate the report only in xml format.
    Please guide me how to achieve this.
    Thanks in Advance,
    Cheers
    Andy.

    Make sure you register the Data Definition (with same code as concurrent program short name) and register/upload the Template correctly.
    Call fnd_request.add_layout
    Then call FND_SUBMIT.SUBMIT_REQUEST
    Regards,
    Gareth

  • Calling XML Publisher report(RDF based) From OAF

    Hi All,
    I have requirement where i need to call one of the custom XML Publisher report from oaf by passing the parameters.
    and i dnt want this using concurrent program.
    I have an idea of calling xml publisher report which is Data Template based(XML).
    http://oracle-hack.blogspot.ae/2012/04/launching-xml-publisher-from-oa.html
    but in my case the report is RDF based.
    They are generating the XML using one of the custom rdf. How can we achieve this?
    Please help.

    Hi,
    Thanks for the reply.
    Yeah yes. this method i know in my case the Custom XML Report is based on a rdf.
    So just i want to know it can be achievable ir not? if so how?
    Thanks
    Bharat

  • Calling a JSP Report From HTML parameter form

    Hi,
    I m trying to run a JSP Report from a HTML parameter Form. The JSP reports requires a parameter named userid in the URL with a valid value for database connection.
    eg. URL "http://win2kdb.oracle9iis.com:7778/repdemo/examples/Tools/fm_crdinf.jsp?userid=sysapps/system@trt1". We have created a variable on the server named "parmformjsp" with a value "sysapps/system@trt1". Now i use this variable in the URL as follows, eg. "http://win2kdb.oracle9iis.com:7778/repdemo/examples/Tools/fm_crdinf.jsp?parmformjsp".
    When i use this URL to call another JSP report from a JSP report it works fine, but the same does not work when calling a JSP report from a HTML form.
    the code for HTML parameter form calling a report is as follows,
    <html>
    <head>
    <meta http-equiv="Content-Language" content="en-us">
    <meta name="GENERATOR" content="Microsoft FrontPage 5.0">
    <meta name="ProgId" content="FrontPage.Editor.Document">
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
    <title>Parameter Form</title>
    </head>
    <body>
    <p>Parameter Form</p>
    <form name="form1" method="GET"
    action="http://win2kdb.oracle9iis.com:7778/repdemo/examples/Tools/fm_custrns.jsp?parmformjsp">
    <p>From Date<input type="text" name="p_fmdate" size="20"></p>
    <p>To Date<input type="text" name="p_todate" size="20"></p>
    <p> </p>
    <p><input type="submit" ><input type="reset" value="Reset" name="B2"></p>
    </form>
    <p> </p>
    </body>
    </html>
    If i create an input parameter named "userid" with a valid database connection value, remove the ?parmformjsp part from the action URL then it works fine. How can i call the JSP report using the parmformjsp variable name instead of using the "userid" clause in the URL.Can anyone suggest any workaround....
    Thanks & Best Regards,
    Unmesh

    do it like this...
    DECLARE
    pl_id ParamList := Get_Parameter_List('tmpdata');
    BEGIN
    IF NOT Id_Null(pl_id) THEN
      Destroy_Parameter_List( pl_id );
    END IF;
    pl_id := Create_Parameter_List('tmpdata');
    Add_Parameter(pl_id, 'ROUTE_CARD_CONTROL', TEXT_PARAMETER, :ROUTE_CARD.ROUTE_CARD_CONTROL);
    Add_Parameter(pl_id, 'PARAMFORM', TEXT_PARAMETER, 'NO');
    Run_Product(REPORTS, 'D:\STL_FINAL\CHPREPORTS_FINAL\ROUTE_CARD.REP', SYNCHRONOUS, RUNTIME, FILESYSTEM, pl_id, NULL);
    END; what exactly happens when you call the report. if its showing the blank page... may be you are not passing the right parameter name. cross-check that your parameter name in the report is 'ROUTE_CARD_CONTROL'.

  • How can i call a jasper report from a java Application

    Hi,
    i am chiranjit , currently i working in a web based ERP project, in this project as a report building tool we are using JasperReport wih eclipse plugin . in eclipse report's are generating very well but i am unable to call that report from a java application because i have no idea about the How to call a Jasper Report from a Java Application . so please send me the necessary class names, jar files names and programe code as early as possible.
    Chiranjit

    Ahh, kind of a duplicate thread:
    http://forums.java.sun.com/thread.jspa?threadID=631642
    @OP. You could have clarified your original post and the relationship of your question to java. You did not need a new thread.
    � {�                                                                                                                                                                                                                                                                                                                                                                                                                                                               

Maybe you are looking for

  • IR sensor worked last week, but not now.

    I did have Plex installed and that had been taking over my infrared signals to the point which I could not control anything else.  I tried installing remote buddy so that I could use the apple remote to control vlc.  This didn't work either until I r

  • ORA-02291 - ORA-02063 on merge with dml error logging through DB link

    Hello all, I have 2 DB's and I would like to merge records from A into B with dml error logging through a db link. Exemple: merge into B@dblink using (select ... from A where...) when matched then when not matched then log errors into err$_A reject l

  • Wireless keyboard is "nondiscoverable" on my pc win7.

    Wireless keyboard can be connected with iphone& ipad. Wireless keyboard is "nondiscoverable" on my pc win7. Seems like the pc is not wanting to discover my apple keyboard.. Anybody know how to do it? Thx!

  • ITunes 11 - a complete catastrophe!

    It's been 6 month since the release of iTunes 11 and I haven't managed yet to work with it. I hate it! What's wrong with iTunes 11? The sorting by Title, Album Interpret, Play Lists or Radio is confusing. Every page has its own Layout and I once I sw

  • Weblogic server 9.2 and SSL server certificate for the wrong site

    I turned on SSL service for a weblogic 9.2 server and later on changed the hostname of the machine that weblogic was running on. So the hostname that my SSL server certificate was issued to has now became an invalid hostname. But my weblogic server c