Error publishing reports from BW

Hi,
I am facing some issues while publishing reports from BW system. I have taken care of all the settings mentioned in Integration Kit guide. We are using BOXI 3.1 SP3  OS:windows 2008 (64-bit)
The error that we are getting is:
"0000000001 An error occurred when retrieving the role metadata for YBW_BO_CONTENT_PUBLISHER. Returned with RFC code 18 and message: See RFC trace file or SAP system log for more details"
I have enabled the trace also, still not able to find the root cause.
Need help urgently. Thanks.
Amit Tewatia

Hi Startos,
I have matched the auth. as per the admin guide, everything is fine with the role. I have checked the trace file logs, part of which is below:
"Starting up callback server at 10.239.30.2 sapgw00 with prog-id SEGIDC8BBB5A3
GetRfcHandle() returned with handle 0
Connection cloning failed. Message: See RFC trace file or SAP system log for more details
ERROR: .\job_defs.cpp 52: l_rfcDownloadRoleMdata failed with return code l_rcRfc = 18 Exception:
Leaving job processor CPubJobGetRoleMetaData(YBW_BO_CONTENT_PUBLISHER)"
No idea why it calling this IP. This is not the IP of our BW server. please suggest where to check for this.
Regards,
Amit

Similar Messages

  • Failed to commit objects to server. Error while publishing reports from BW

    Hi,
    I am getting below error while publishing reports from BW to BO.
    "0000000001 Unable to commit the changes to Enterprise. Reason: Failed to commit objects to server : #Duplicate object name in the same folder."
    Anyone having any solution for this. Thanks in advance.

    Hi Amit
    It would be great if you could add a little info about how you solved this issue. Others might run into similar situations - I just did:-(
    Thank you:-)

  • Invoking XML Publisher Report from PL/SQL

    Hi,
    I have a PL/SQL procecedure which invokes the Concurrent Request for the XML Publisher Report. This one finishes with a warning and I get 'Unable to publish output' when I try to view the output. Exact Error: "Unable to find the published output for this request "
    But if I run the same report using Concurrent program, the Report executes with no error. Also the desired output is coming. I am not sure where I am doing wrong in code.
    My code which invokes the XML Publisher Report (from PL/SQL package)is something like this:
    declare
    x boolean;
    l_no_of_copies varchar2(45);
    l_printername varchar2(45);
    l_print_style varchar2(45);
    l_result boolean;
    y number;
    begin
    x := fnd_request.add_layout (template_appl_name => 'XXTMG', template_code => 'XXT_5001_BOL_T', template_language => 'EN', template_territory => 'US', output_format => 'XML');
    l_no_of_copies := fnd_profile.VALUE ('XXTMG_SH_BOL_REPORT_NO_OF_COPIES');
    l_printername := fnd_profile.VALUE ('XXTMG_SH_BOL_REPORT_PRINTER');
    l_print_style := NULL; --For setting the Printer Options
    l_result := fnd_request.set_print_options (l_printername, l_print_style, l_no_of_copies, TRUE, 'N');
    l_result := fnd_request.add_printer (l_printername, 0);
    y := fnd_request.submit_request ('XXTMG', 'XXT_5001_BOL', '', TO_CHAR (SYSDATE, 'YYYY/MM/DD HH24:MI:SS'), FALSE, 'CH-120079') ;
    end;
    Please let me know where I might be going wrong
    Thanks

    Hi Sumit,
    You can try with this code:
    exec dbms_application_info.set_client_info(org_id)
    exec fnd_global.APPS_INITIALIZE(user_id,resp_id,appl_id);
    declare
    x boolean;
    l_no_of_copies varchar2(45);
    l_printername varchar2(45);
    l_print_style varchar2(45);
    l_result boolean;
    y number;
    begin
    x := fnd_request.add_layout ('XXTMG' --template_appl_name 
              ,'XXT_5001_BOL_T' --template_code
              ,'en' --template_language 
         ,'US' --template_territory
         ,'XML' --output_format
    if (x=TRUE) then
    y := fnd_request.submit_request (
                        'XXTMG'           --application 
                        ,'XXT_5001_BOL'      --program
                        ,SYSDATE          --start_time
                        ,FALSE               --sub_request
                        ,'CH-120079'          --argument1 (Program's Parameter)
    if y>0 then
              dbms_output.put_line('Request ID '||y);
    end if;
    end if; --if (x=TRUE) then
    end;
    Make sure that program has only one input parameter. If program has other parameters then you can pass those parameters like argument1, argument2... etc.
    Now you can see this submited request in your application using your user id. If you able to see your request in concurrent request then you can add printer parameters in this programs.
    You don't need to pass all 100 parameters.
    I am executing many programs/reports using this code.
    Thanks
    Ravi
    [email protected]
    Message was edited by:
    Ravi Tripathi

  • 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

  • Deploying BI publisher report from OEM plug-in

    Hi!
    I am a bit confused about how to deploy & access BI publisher report from the plugin I develop
    I've found only the http://docs.oracle.com/cd/E24628_01/doc.121/e25161/bi_pub.htm and am a bit confused
    What I did:
    1) Integrated BI publisher with OEM
    2) Developed a BI publisher report
    3) Downloaded 2 files : xdoz and xdmz (DataModel & report)
    4) made folder structure
    /bipublisherreports/
    /EM_Datamodels
    5)packed into jar
    jar cf myjar.jar ./bipublisherreports
    6)put jar into ../oms/reports/emreports
    7)written report.xml (in ../oms/reports/) file:
    <?xml version = '1.0' encoding = 'UTF-8' ?>
    <BIPublisherReports
    xmlns="http://<what ip is here???>/DataCenter/BIPublisherReport">
    <ReportFile relativePath="emreports" fileName="myjar.jar"/>
    </BIPublisherReports>
    The plug-in does not pass validation...
    cvc-elt.1: Cannot find the declaration of element 'BIPublisherReports'. for the MDS id report
    Error is ungooglable =(
    Can anybody help or point to some clear doc?

    cd /tmp
    mkdir STAGE
    cd STAGE
    mkdir bipublisherreports
    cd bipublisherreports
    mkdir EM_Datamodels [notice the underscore]
    mkdir "My Sample Report" [notice, the quotes are necessary since the directory name contains spaces]
    The datamodel needs to go in the following directory:
    -------------- "bipublisherreports/EM_Datamodels/My Datamodel.xdmz" [there is an underscore between EM & Datamodels]
    The reports go in a report directory, for example:
    --------------- "bipublisherreports/My Sample Report/My Report.xdoz" [use spaces here wherever you prefer]
    Make sure your report refers to the datamodel in the right location. So, in BIP, when editing the report, use the above folder names, under the 'Enterprise Manager Cloud Control' shared folder.
    For example, your BIP catalog will look like this:
    Shared Folders
    ---Enterprise Manager Cloud Control
    -------- EM_Datamodels
    -------------- My Datamodel
    -------- My Sample Report
    -------------- My Report
    You then create a jar file with this:
    cd /tmp/STAGE
    jar cvf myemreports.jar bipublisherreports
    Now, you need to make your bip reports part of your plugin source code.
    You put your report.xml in your sysman/metadata/bipublisherreport [note the singular] directory.
    For example:
    <BIPublisherReports
    xmlns="http://www.oracle.com/DataCenter/BIPublisherReport">
    <ReportFile relativePath="emreports" fileName="myemreports.jar"/>
    </BIPublisherReports>
    You then create a subdirectory, sysman/metadata/bipublisherreport/emreports
    And you put your myemreportrs.jar file here.
    You then rebuild your opar using standard EM procedures.
    When a customer later on instals your plugin, the BIP reports that go with the plugin are installed into the EM database repository automatically.
    they can simply do this to deploy the bi publisher reports from em to BIP at any point:
    emcli deploy_bipublisher_reports -plugind="my.sample.plugin" -pluginversion ="12.1.0.3.0" [-force]
    The -force operation overwrites the reports.
    See the complete help text like this:
    emcli help deploy_bipublisher_reprorts
    If they have not yet configured BIP with the configureBIP script, this deploy step happens automatically when they run configureBIP.

  • BW - EP Connection to Publish Reports From BW

    We have implemented Enterprise Portal 6, and are running BW 3.5
    I have been trying set up the connection between the 2 systems, so that I can publish reports from BW to EP
    SSO between EP and BW is working - I can create a BW iview, or run a BW transaction without having to sign on again to the BW server.
    I have checked the RFC connection from BW to EP using transaction SM59, and it all seems to be working fine.
    When I am in the Web Application Designer in BW, there appears the option to Publish to Enterprise Portal 6.0. I can see the destination that I created to point to EP, but I can't see any roles/folders etc within the portal.
    I have been through all of the documents that I have found in SAPHelp on configuring the connection, but have still had no luck.
    Does anyone have any suggestions? Are there some permissions that I need to set up on either BW or EP before this will work?
    Thanks in advance for any assistance.
    Regards
    Richard

    Thanks very much for your assistance!!
    Deepu:
    Thanks for pointing me to the note - that looks like it could be helpful - I need to talk to our basis adminstrator about a couple of things, and he is away for a couple of weeks, so this problem will probably be on hold for a bit now.
    Ashwin:
    Thanks - I've checked the SSO to BW, and can see all of the BW reports in the BW repository in EP. My personal folders are all set up, but are empty.
    I really appreciate your help on this guys. I'll try the changes in the OSS note (but won't be able to do this for a while), and will let you know if it is successful.
    Regards
    Richard
    PS. I'm really sorry, but I don't seem to be able to allocate points for your answers - there are no radio buttons displaying on the screen for some reason - I'll see if I can contact SDN to get this sorted out.

  • Open BI Publisher Report From Standard Report Link

    I am having problems opening a bi publisher report from a colomn link in a standard report.
    My standard report is
    select reg_id, frg_no
    from my_tableThen in the REG_ID column, I place the following in the URL link.
    javascript:popupURL('BI_URL.Guest/MERCURY/FORM73/FORM73/FORM73.xdo?_xpt=1&P_REG_ID=&#REG_ID.&_xt=FORM73_xf=rtf');Once I click on the link the BI Publisher report opens in a pop up window, but does not display any data, ie, it does not recognise #REG_ID.
    Any help appreciated
    Gus

    Solved it
    Gus

  • How to generate XML Publisher report from PLSQL Stored Procedure in APPS

    Hi,
    I have concurrent program of type PLSQL Stored procedure.I need to generate XML Publisher report from the same.I have changed the output of the concurrent program as "XML" but when I tried running it,the XML tags are not generated.Due to this I am unable to create the template.Its a urgent issue.
    Please help me out .
    Thanks in advance.
    Kaveri

    Hi Kaveri
    Sadly there is nothing magic about that output field. The only program type that you can flip it to XML and then magically get XML is for Oracle Reports. For plsql you will need to recode the plsql to generate XML rather than text that you have now.
    You have some options, best option first:
    1. Move the sql to a data template - check the user guide and blog for help or
    2. Use SQL XML or XMLGEN (not great for large datasets) or
    3. Use dbms_output.put_line and write the XML file manually - not performant at all
    Regards, Tim

  • Submitting a XML Publisher Report from JSP page

    Hello,
    We have need to submit a XML Publisher report from Quoting/iStore module in Oracle Ebusiness. The out put should be viewable in PDF format and user should be able to print. can anyone pls help on how this can be achieved.
    TIA

    Really appreciate your response. Can you pls give little more details.
    1] Are there any standard API's which I can use to submit XML publisher report from the JSP pages
    2]Is there any sample code snippet for any of the options that I can refer to..or pls let me know the API's, I will check on them
    Appreciate any help

  • Displaying xml publisher report from adf page.

    I am using jdev 10.1.3.3
    I have an requirment of displaying an xml publisher report on click of command button.
    any suggestion.how this can be achived.
    according to my understanding.
    if we create a folder in our web server which oc4j in our case.and we transfer the xml report through FTP in that folder.can we able to pick the report from that folder.
    can we display or call that report.please let me know??
    Is that possible.????????????
    any help would be helpfull

    Really appreciate your response. Can you pls give little more details.
    1] Are there any standard API's which I can use to submit XML publisher report from the JSP pages
    2]Is there any sample code snippet for any of the options that I can refer to..or pls let me know the API's, I will check on them
    Appreciate any help

  • Run BI Publisher report from an application directly to  a printer.

    Dear All,
    I have an HTML page (with JavaScripts),
    I want to Run BI Publisher report from this page directly to a printer. (and send parameters).
    Can anyone help me, and send me Demo URL or Demo code to do this?
    Regards,
    Tovit

    Tovit
    you are going to have build out a servlet that the page can call. The servlet will need to implement the supported web services to schedule a report. The schedule can include the delivery options ie to a printer. So you would create a schedule that runs the report immediately via the scheduler and then to the printer.
    I dont currently have any servlet demos but the services are pretty well covered in the user docs.
    check them out and give it a try, if you get stuck let me know
    Tim

  • Calling bi publisher report from apex.

    good morning all,
    I have a situation at hand, i want to be able to call bi publisher report from a dropdown list in apex. what i did was to create a table in the oracle db with the report name and url as columns, from apex all i did was to create a list item which queries the table a should display the report using the url. but the report is not showing properly, what do you thinl i can do.
    i am using the following verion:
    bi publisher: 11g (11.1.1)
    apex: 4.2.1.00.08
    oracle database: 11.2.0.1.0
    Thanks.
    AbdurRahman

    Hopefully, that could be helpful for you,
    http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/11g/r2/prod/install/apexinst/apexinst_prod.htm
    http://dgielis.blogspot.jp/2007/12/call-bi-publisher-report-from-apex.html
    https://blogs.oracle.com/xmlpublisher/entry/apex_integration_with_publishe
    Edited by: Weibing.Xia on 2013-5-20 下午5:40

  • Running custom BI (XML) publisher report from BPEL

    We would like to run a custom BI publisher (XML publisher) report from BPEL process and the resultant PDF report output needs to be FTPed to specific location. BPEL can pass on the XML content required for the report.
    Is this possible or any workaround for this ?

    Any light on this ?

  • B2B-51507 An Error was reported from a Javascript rule

    Hi All,
    I am not able to process EDI dat file with validate option enabled at the agreement level. Please see the below error message, please suggest!
    <?xml version="1.0" encoding="UTF-8" ?><ns1:Exception xmlns:ns1="http://integration.oracle.com/B2B/Exception" xmlns="http://integration.oracle.com/B2B/Exception">
       <ns1:correlationId>null</ns1:correlationId>
       <ns1:b2bMessageId>0A523743140086685E200000497F6962-1</ns1:b2bMessageId>
       <ns1:errorCode>B2B-51507</ns1:errorCode>
       <ns1:errorText>
      An error was reported from a JavaScript rule.
      </ns1:errorText>
       <ns1:errorDescription>
      Machine Info: (XXXXXXXXXXXX)
    The external code list 881 effective on date 07/18/2013 was not found.{br}{br}This error was detected at:{br}{tab}Element Count: 8{br}{tab}Characters: 159 through 171
      </ns1:errorDescription>
       <ns1:errorSeverity>2</ns1:errorSeverity>
       <ns1:errorDetails>
          <ns1:parameter name="AckParentReject" value="T"/>
          <ns1:parameter name="GroupReceiverID" value="XXXXXXXXXXXX"/>
          <ns1:parameter name="TransactionImplementationReference" value="005010X220A1"/>
          <ns1:parameter name="TransactionChildCount" value="296"/>
          <ns1:parameter name="InterchangeReceiverQual" value="ZZ"/>
          <ns1:parameter name="InterchangeChildCount" value="1"/>
          <ns1:parameter name="InterchangeControlVersion" value="00501"/>
          <ns1:parameter name="ActionCode" value="2"/>
          <ns1:parameter name="GroupID" value="BE"/>
          <ns1:parameter name="SubelementDelimiter" value="\"/>
          <ns1:parameter name="InterchangeSenderQual" value="ZZ"/>
          <ns1:parameter name="InterchangeUsageIndicator" value="P"/>
          <ns1:parameter name="GroupChildCount" value="1"/>
          <ns1:parameter name="InterchangeSenderID" value="888888888888888"/>
          <ns1:parameter name="InterchangeControlNumber" value="000000001"/>
          <ns1:parameter name="Standard" value="X12"/>
          <ns1:parameter name="InterchangeTime" value="1127"/>
          <ns1:parameter name="RepeatingSeparator" value="^"/>
          <ns1:parameter name="GroupVersionNumber" value="005010X220A1"/>
          <ns1:parameter name="InterchangeDate" value="130718"/>
          <ns1:parameter name="TransactionTrailerControlNumber" value="0001"/>
          <ns1:parameter name="InterchangeAuthorizationInfoQual" value="00"/>
          <ns1:parameter name="GroupSenderID" value="888888888888888"/>
          <ns1:parameter name="InterchangeAuthorizationInfo" value="          "/>
          <ns1:parameter name="GroupTrailerControlNumber" value="1"/>
          <ns1:parameter name="InterchangeTrailerControlNumber" value="000000001"/>
          <ns1:parameter name="TPName" value="888888888888888"/>
          <ns1:parameter name="SegmentDelimiter" value="~"/>
          <ns1:parameter name="InterchangeControlStandard_RepeatingSeparator" value="^"/>
          <ns1:parameter name="TransactionID" value="834"/>
          <ns1:parameter name="GroupControlNumber" value="1"/>
          <ns1:parameter name="InterchangeComponentElementSep" value="\"/>
          <ns1:parameter name="AckChildInvalid" value="None"/>
          <ns1:parameter name="InterchangeSecurityInfo" value="          "/>
          <ns1:parameter name="DecimalSeparator" value=""/>
          <ns1:parameter name="GroupAgencyCode" value="X"/>
          <ns1:parameter name="InterchangeSecurityInfoQual" value="00"/>
          <ns1:parameter name="InterchangeReceiverID" value="XXXXXXXXXXXX     "/>
          <ns1:parameter name="ReleaseCharacter" value=""/>
          <ns1:parameter name="TransactionControlNumber" value="0001"/>
          <ns1:parameter name="GroupTime" value="112755"/>
          <ns1:parameter name="InterchangeAckRequested" value="0"/>
          <ns1:parameter name="GroupDate" value="20130718"/>
          <ns1:parameter name="ElementDelimiter" value="*"/>
          <ns1:parameter name="b2b.messageId" value="0A523743140086685E200000497F6962-1"/>
          <ns1:parameter name="b2b.documentTypeName" value="834"/>
          <ns1:parameter name="b2b.documentProtocolVersion" value="5010X220A1"/>
          <ns1:parameter name="b2b.documentDefinitionName" value="834_def"/>
          <ns1:parameter name="b2b.documentProtocolName" value="EDI_X12"/>
          <ns1:parameter name="b2b.messageType" value="1"/>
          <ns1:parameter name="b2b.fromTradingPartnerId" value="888888888888888"/>
          <ns1:parameter name="b2b.fromTradingPartnerIdType" value="Name"/>
          <ns1:parameter name="b2b.toTradingPartnerId" value="XXXXXXXXXXXX"/>
          <ns1:parameter name="b2b.toTradingPartnerIdType" value="Name"/>
       </ns1:errorDetails>
    </ns1:Exception>

    Hi -
    From the error "The external code list ", it looks like ECL is not installed or not available with ecs.
    1. Have you installed ExternalCodeList when you installed your Document Editor?
    2. If not, install it, recreate ecs, xsd files. And rerun the transactions. That should fix your issue.
    Thanks,
    Kathar

  • How to invoke XML publisher report from APPS 11i forms

    I have a requirement in oracle application forms menu where I need to call the XML publisher report when user clicks the menu item.
    I am using following two API's
    fnd_request.add_layout
    fnd_request.submit_request
    But I am getting the error message
    java.sql.SQLException: No corresponding LOB data found :SELECT L.FILE_DATA FILE_DATA.......
    your help is truly appreciated.
    Thanks
    Siva

    I have registered the report using admin responsibility and ran the reprt form SRS and completed successfully. Eeven from the forms it is submitting the request but the request completed as warning with above message. I can see the out put by clicking the View XML button but it unable to publish output.
    Thanks guru your quick response.
    Thanks
    siva

Maybe you are looking for