Getting error in a report program

Hello,
I have a report program where I am sending worklists for a user to mysql database using PI interface.
Now, my report program is getting timed out with error.
I am basically using one fetch operation
SELECT bname FROM usr02 INTO TABLE lt_user.
Now bname table is corrupted and having spaces after number say "112233".
can u plz tell me why I am getting error. do i need to fetch data in chunks i.e SELECT bname FROM usr02 INTO TABLE lt_user. should be used fetch data in chunks
or error can come becuase of corrupt data.
TABLES  ZIT_ERROR_TAB.
DATA    WA_ZIT_ERROR_TAB TYPE ZIT_ERROR_TAB.
DATA: lt_user TYPE zuser_tt,
      ls_user TYPE zuser_sty.
DATA: lt_worklist TYPE uwlitemlist,
      lt_messages TYPE TABLE OF swr_messag,
      lt_mess_struct TYPE TABLE OF swr_mstruc.
DATA: CREATED_TIME(22) type c,
      wa_lt_worklist like line of lt_worklist,
      go_sys_exception TYPE REF TO cx_ai_system_fault,
      employee_data TYPE REF TO ZPI_CO_SI_EP003_ACTION_ITEM_MA,
      output type ZPI_MT_EP003_ACTION_ITEM,
      employee_rec type ZPI_DT_EP003_ACTION_ITEM_SUMMA,
      employee type ZPI_DT_EP003_ACTION_ITEM_S_TAB,
      n type i.
n = 1.
SELECT bname FROM usr02 INTO TABLE lt_user.
SORT lt_user.
DELETE ADJACENT DUPLICATES FROM lt_user.
LOOP AT lt_user INTO ls_user.
  CLEAR lt_worklist.
  CLEAR lt_messages.
  CLEAR lt_mess_struct.
  CALL FUNCTION 'SWN_UWL_GET_WORKLIST'
   EXPORTING
     user                      = ls_user-bname
IMPORTING
worklist                  = lt_worklist
TABLES
message_lines             = lt_messages
message_struct            = lt_mess_struct.
  loop at lt_worklist into wa_lt_worklist.
    employee_rec-USER_ID = wa_lt_worklist-USER_ID.
    employee_rec-SUBJECT = wa_lt_worklist-SUBJECT.
    CREATED_TIME = wa_lt_worklist-CREATED_TIME.
    employee_rec-CREATED_TIME = CREATED_TIME+0(14).
    employee_rec-FORWARDED_BY = wa_lt_worklist-FORWARDED_BY.
    employee_rec-IDENTITY_NUMBER = n.
    append employee_rec to employee.
    output-MT_EP003_ACTION_ITEM-SUMMARY_EMAIL_ACTION_ITEM = employee.
    clear employee_rec.
    n = n + 1.
  endloop.
ENDLOOP.
TRY.
    CREATE OBJECT employee_data.
    call method employee_data->UPLOAD_ACTION_ITEM
      EXPORTING
        OUTPUT = output.
    commit work.
  CATCH cx_ai_system_fault INTO go_sys_exception.
    WA_ZIT_ERROR_TAB-message = go_sys_exception->errortext.
    WA_ZIT_ERROR_TAB-code = go_sys_exception->code.
    WA_ZIT_ERROR_TAB-errordate = sy-datum.
    insert into ZIT_ERROR_TAB values wa_ZIT_ERROR_TAB.
ENDTRY.

What is the error, that you are getting? Is it a time out error?

Similar Messages

  • Getting error in XI"RFC Program Not Found"

    Hi All,
    I am getting error in SXMB_MONI "RFC Program not found via SAP XI".
    So please suggest me what is the problem behind this..For these SAP XI and R/3 i made 3 to 4 RFC program but only 1 RFC program name not getting Via SAP XI.
    Thanks
    Amit

    Hi,
    I am calling RFC FM via SAP XI.
    Main Records are coming from siebel and recevied by SAP XI and XI will do some changes in records and calling REC FM from SAP R/3.
    Problem is siebel to xi records coming fine but xi to sap R/3 error message coming "Program not Found".
    Thanks
    Amit

  • How to keep the field open for input with error message in report program

    Hi,
      Need a help in solving the below issue.
    "How to keep the field open for input with error message in report program"
    Regards,
    C.Shasiraj.

    Hi...
    you have to use the event:
    <b>AT SELECTION-SCREEN ON <FIELD> EVENT.</b>
    u have to give an error message in this event.
    Consider the following <b>Example:</b>
    <b>PARAMETERS : NUMBER TYPE I.
    AT SELECTION-SCREEN ON NUMBER.
      IF NUMBER = 10.
        MESSAGE 'Number vakue is 10' TYPE 'E'.
      ENDIF.
    START-OF-SELECTION.
      WRITE NUMBER.
    </b>
    in this if u give the value of number = 10, it will not proceed further, if u give some other value other than 10 you will proceed further...
    Execute this program once u will understand....
    also Consider the following links :
    <b>Regarding events:</b>
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/79/34a237d9b511d1950e0000e8353423/frameset.htm
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/79/34a23ad9b511d1950e0000e8353423/frameset.htm
    <b>Regarding messages:</b>
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/c5/aa575426ad11d2954d0000e8353423/frameset.htm
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/c5/aa575426ad11d2954d0000e8353423/frameset.htm
    This is very useful.......
    Reward points if useful....
    Suresh....

  • Getting error while installing reporting servcies on existing sql server 2012.

    Hi Expaerts,
     sql 2012 sp1:
    getting error while installing Reporting services on existing sql server. at final step
    Error on scren: install_rsharepoint_cpu64_action : roll back , rolling back action.
    error on popup windows:  ' one or more files required to restore your computer to its previous state colud  not be found. restoration will not be found.
    Thanks in advance.

    Hello,
    Please help to collect the useful log information while install SQL Server Reporting Services. Here is the article for your reference, please see:
    Navigating the Setup Logs when you install SQL Server 2012 Reporting Services:
    http://blogs.msdn.com/b/jtarquino/archive/2012/03/14/navigating-the-setup-logs-when-you-install-sql-server-2012-reporting-services.aspx
    Regards,
    Elvis Long
    TechNet Community Support

  • Getting error "Cannot initialize Report Engine server. (RWI 00226)"

    Hello All,
    We have BO XI 3.1 running on AiX 5.3 and db2 9.5 with fixpack 6.
    I am getting error "Cannot initialize Report Engine server. (RWI 00226)" Whenever i am trying to create a document or report.
    We were not getting this error earlier. getting it since few days.
    currently our web intelligence processing server is not running and showing the status as "initializing and disabled".
    every time when i tried to restart web intelligence processing server,it is going to initializing status only.
    I tried to enable the trace for this server but it is not allowing me to do and throughing the error " Configuration, auditing or enable/disable state change rejected; server SIA.WebIntelligenceProcessingServer is currently being initialized."
    I also tried creating a new instance of web intelligence processing server, even it has also gone to "initializing" status all the time.
    Environment Information:
    BOXI 3.1 SP2
    OS: AIX 5.3
    DB: DB2 9.5 Fix pack 6
    Plese help in resolving this issue.
    Thanks & Best Wishes,
    Sachin.

    Hi,
    Thanks for your prompt response.
    I already tried the solution provided by you. I stopped BO server completely and restarted it again but it does not worked for me.
    I have stopped the old Web intelligence processing server and created a new instance and started, but the new one has not started but going to initializing status.
    It even not allowing me to delete the newly created instance, saying that it is still in initializing status.
    Please suggest me if anything else i need to check.
    Thanks in advance.
    Best Regards,
    Sachin

  • Getting error while generating report from Siebel (Siebel/BI Publisher)

    Dear,
    I have completed the integration of siebel and BIP according to the oracle document, I successfully upload the sample template from siebel application to BIP server.
    But now I am facing two issues,
    I am getting error "Unauthorized access, Please contact the administrator."  when I open report on BIP which I have uploaded from siebel.
    When I try to generate report from siebel=>application=>Tables=>S_Contact I am getting the below error when click on table report from Report button.
    (httptransport.cpp (1635)) SBL-EAI-04117: HTTP Request error during 'Submitting Data SendHTTP request': 'Status code - 500'
    (httptransport.cpp (983)) SBL-EAI-04117: HTTP Request error during 'Submitting Data Send HTTP request': 'Status code - 500'
    (soapbinding.cpp (675)) SBL-EAI-04304: Unknown Part ':oracle.xdo.webservice.exception.InvalidParametersException'  for operation 'runReport' exists in SOAP message.
    (outdisp.cpp (247)) SBL-EAI-04308: Operation 'runReport' of Web Service 'http://xmlns.oracle.com/oxp/service/PublicReportService.PublicReportServiceService' at port 'PublicReportService' failed with the following explanation: "oracle.xdo.webservice.
    Invalid User Name and Password for BIP Server
    (xmlpadaptersvc.cpp (2287)) SBL-RPT-50529: Verify BI Publisher Server Userid and Password.
    Error in generating Report Output file /siebel8/sea81/siebsrvr/siebel8/sea81/siebsrvr/xmlp/reports/Rept11-3U7M403.PDF in the XMLP Engine
    (xmlpadaptersvc.cpp (2983)) SBL-RPT-50524: BI Publisher engine failed to generate report.
    Object manager error: ([0] BI Publisher engine failed to generate report.(SBL-RPT-50524) (0x95c55c))
    ( (0) err=2818155 sys=9815388) SBL-OMS-00107: Object manager error: ([0] BI Publisher engine failed to generate report.(SBL-RPT-50524) (0x95c55c))
    (bsvcmgr.cpp (1392) err=2818251 sys=0) SBL-OMS-00203: Error 9815388 invoking method "GenerateReport" for Business Service "XMLP Driver Service"
    (bsvcmgr.cpp (1236) err=2818251 sys=0) SBL-OMS-00203: Error 9815388 invoking method "GenerateReport" for Business Service "XMLP Driver Service"
    (smireq.cpp (425) err=2818251 sys=0) SBL-OMS-00203: Error 9815388 invoking method "GenerateReport" for Business Service "XMLP Driver Service"
    Please help to resolve this issue.
    Regards,
    Soahil

    This specifically means that the destinations have not been configured in the Crystal Job Server.  If you're running 4.x, this may be part of the "Adaptive Job Server" instead of or in addition to a Crystal Job Server.  If you're using 3.1 or earlier, you'll also have to set up the destination in the Destination Job Server.
    You'll have to log in to the CMC, go to Servers, right-click on the correct job server and go to "Destinations".  You'll then add something like "File" or "Unmanaged Disk" to the available destinations and save.  Stop the job server, start it again, and your error should go away.
    Please be aware that unless you're using specific credentials to schedule the report or you're saving to the server where BO is installed, you'll need to make sure that the BO services are running under a network "Services" account that has access to the folder you're scheduling the report to. By default during installation it's set to run under the "Local Services" account that doesn't have access to the network.
    -Dell

  • Getting error while opening reports in EHS on portal

    Hi,
    I have deployed EHS Business package on portal. In the Industrial hygiene and safety role there is an iview "Standard Operating procedures". I am getting error
    "Portal Runtime Error
    An exception occurred while processing a request for :
    iView : N/A
    Component Name : N/A
    iView not found: /global/services/java-iviews/com.sap.pct.ehs.reports.EHSReportGet." when i try to open any report on it. Can anybody please help me in this issue?

    check the logs under httP://server:port/nwa-monitoring-logs and traces-sap logs
    you can see the detailed description of the error

  • Getting error while posting reports on Unix Process Scheduler Server

    Hello ,
    I am getting the below error while posting reports on Unix Process Scheduler Server .
    PSDSTSRV.14338 (2) [09/08/09 08:21:34 PostReport](1) (JNIUTIL): Java exception thrown: java.io.IOException: Stream closed.
    PSDSTSRV.14338 (2) [09/08/09 08:21:34 PostReport](3) HTTP transfer error.
    PSDSTSRV.14338 (2) [09/08/09 08:21:34 PostReport](3) Post Report Elapsed Time: 0.0900
    PSDSTSRV.14171 (10) [09/08/09 08:21:34 PostReport](1) (JNIUTIL): Java exception thrown: java.io.IOException: Stream closed.
    Please advise ,thank you.

    user5838027 wrote:
    Node name :PS_HTTP
    URL: http://ddas1020.dev.com:16000/psreports/hrdmo
    URI:SchedulerTransfer/hr90dmo
    URI Port: 16000
    Please let me know if any other info is needed.
    Thanks.
    typo...
    URL: http://ddas1020.dev.com:16000/psreports/hr90dmo
    Hopefully, your application URL looks like http://ddas1020.dev.com:16000/psp/hr90dmo/..., your URI host looks like ddas1020.dev.com (or corresponding ip address), and hhtp is checked.
    Did you also tried to give the web login/password ?
    Nicolas.

  • Getting error while calling reports through form

    Hi I want to call a report from a form i put the following code on when-button-pressed but i am getting the following error.I can generate and run the reports.The object REPORTS is created under forms report object
    FRM-41211: Integration error: SSL Failure running another report
    DECLARE
    repid REPORT_OBJECT;
    report_prop VARCHAR2(20);
    v_rep VARCHAR2(100);
    BEGIN
    repid := find_report_object('REPORTS');
    set_report_object_property(repid,report_other,'p1=15 p2=19 paramform=yes');
    v_rep := RUN_REPORT_OBJECT(repid);
    END;
    rgds
    shyam

    Hi
    I can able to run the reports from the browser there was a syntax error, but not able to call from a form
    I am getting error but i can run another forms without any problem
    FRM-92101: There Was a failure in the FormsServer during startup
    oracle.forms.net.connectionexception:forms session aborted:unable to communicate with the runtime process
    rgds
    rosh

  • Getting error in sheduling report using InfoStore

    Hi I am trying to shedule a report using InfoStore, I am getting excetpin like
    Exception in thread "main" java.lang.UnsupportedOperationException
         at java.util.AbstractList.add(AbstractList.java:151)
         at java.util.AbstractList.add(AbstractList.java:89)
         at Scheduler.main(Scheduler.java:89)
    Please find the code below
    IInfoObjects objectsToSchedule = infostore.newInfoObjectCollection();
                    objectsToSchedule.add(report);
                    infostore.schedule(objectsToSchedule);

    Hi Jhon,
    Thanks for your promt reploy,
    Could you please look into my code pasted below, I wanted to shedule a report to run pl. see it once
    Thanks
    Damodar
    public class Scheduler {
       public static void main(String[] args) throws ReportSDKException {
        String cms = "XX";
        String username = "XX";
        String password = "XX";
        String auth = "XX";
        IEnterpriseSession enterpriseSession = null;
        try {
             ISessionMgr sm = CrystalEnterprise.getSessionMgr();
             enterpriseSession = sm.logon(username, password, cms, auth);
             IInfoStore oInfoStore=(IInfoStore)enterpriseSession.getService("", "InfoStore");
             IInfoObject oInfoObject = null;
             String requestReportName = "EMP_DETAIL";
             String query = "SELECT * FROM CI_INFOOBJECTS WHERE SI_NAME = '" + requestReportName + "'";
             IInfoObjects oInfoObjects = oInfoStore.query(query);
             System.out.println("oInfoObjects.size : "+oInfoObjects.size());
            if (oInfoObjects.size() > 0)
                   //Use the InfoObject.SchedulingInfo property to retrieve an instance of the SchedulingInfo object.
                      System.out.println("%%%%%%"+(IInfoObject) oInfoObjects.get(0));
                      IInfoObject report = (IInfoObject) oInfoObjects.get(0);
                    ISchedulingInfo scheduleInfo = report.getSchedulingInfo();
                   // Set the scheduling options.
                   // The report will be set to run immediately and only once.
                    scheduleInfo.setType(CeScheduleType.ONCE);
                    scheduleInfo.setRightNow(true); 
                   // Schedule the report using the InfoStore object.
                    IInfoObjects objectsToSchedule = oInfoStore.newInfoObjectCollection();
                    objectsToSchedule.add(report);
                    oInfoStore.schedule(objectsToSchedule);
                else {
                   System.out.println("Report not found.");
             catch (SDKException e) {     
                    e.printStackTrace();
                    System.out.println("Error -->"+e.getMessage());

  • SAP Best Practices V 4.31 questions- Getting errors while mapping reports.

    Case 1:
    I am trying to map following reports from SAP BP V 4.31 to our data sources:
    a)POSD-Month-Material Group
    b)POSD-Month Suppliers
    c)POSD-Suppliers
    These are the 3 reports out of 9 reports under trade dashboard.
    We have followed the steps outlined in section 9 and used the code provided in appendix IX of the "Manual data source creation document"  ,
    These reports seem to use a field "DMBTR" :
    Report claims this field(DMBTR  ) would exist under following structure : ZBPBI131_STRU_TRADE_POSD
    But the document specified this(DMBTR) field as part of structure : ZBPBI131_STRU_TRADE_PO
    And the report is hence showing this field as orphaned and needs to be mapped while updating source.
    I am clueless what is wrong ( document and code given there (or) report version i got)  and how to map that DMBTR field to existing infoset and what impact it would create if i force it into the infoset declining the guiding document.
    Case 2:
    While mapping reports under" Sales Plan vs. Actual Dashboard" , I am getting error saying "Some tables were not found" ,even after  we created the Query ZBPBI131_QRYSD on top of its infoset in SAP.
    I am clueless what have gone wrong.We have followed exact steps as mentioned in the manual data source creation document.
    Any help from anyone is greatly appreciated.
    Thank you

    Ingo,
    I saw the same reply from you for  some other users post.
    Suggesting to post to All in One forums.
    I was unable to find that exact forum, could you point me with a link.
    infact if i can get to that forum, may be my question has been already answered.
    Your help is appreciated.
    Thank you

  • Error in bdc report program .

    Hello Experts ,
        I was doing the BDC demo program as explained in tutorial ,
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/309cb157-738d-2910-7691-b74c4ddba3c7&overridelayout=true
    but when i  run the pgm i get runtime error as
    shrt text
         type conflict occur when calling fuction module .
         Function module was called incorrectely .
    here i am pasting the report pgm for bdc ,
    << See below >>
    Can anybody suggest how to solve this problem  ,
    Thks ,
    Rushi
    Edited by: RUSHI123 on Nov 4, 2009 1:20 PM
    Edited by: RUSHI123 on Nov 4, 2009 1:21 PM
    Edited by: Rob Burbank on Nov 4, 2009 9:49 AM

    report Z98
           no standard page heading line-size 255.
    include bdcrecx1.
    DATA :  BEGIN OF ITAB OCCURS 0 ,
            ID(4) TYPE C ,
            NAME(20) TYPE C ,
            END OF ITAB .
    start-of-selection.
    CALL FUNCTION 'UPLOAD'
    EXPORTING
    *   CODEPAGE                      = ' '
       FILENAME                      = 'C:\'
       FILETYPE                      = 'ASC '
    *   ITEM                          = ' '
    *   FILEMASK_MASK                 = ' '
    *   FILEMASK_TEXT                 = ' '
    *   FILETYPE_NO_CHANGE            = ' '
    *   FILEMASK_ALL                  = ' '
    *   FILETYPE_NO_SHOW              = ' '
    *   LINE_EXIT                     = ' '
    *   USER_FORM                     = ' '
    *   USER_PROG                     = ' '
    *   SILENT                        = 'S'
    * IMPORTING
    *   FILESIZE                      =
    *   CANCEL                        =
    *   ACT_FILENAME                  =
    *   ACT_FILETYPE                  =
      TABLES
        DATA_TAB                      = ITAB
    EXCEPTIONS
       CONVERSION_ERROR              = 1
       INVALID_TABLE_WIDTH           = 2
       INVALID_TYPE                  = 3
       NO_BATCH                      = 4
       UNKNOWN_ERROR                 = 5
       GUI_REFUSE_FILETRANSFER       = 6
       OTHERS                        = 7
    IF SY-SUBRC <> 0.
        WRITE :/ SY-SUBRC .
    ENDIF.
    perform open_group.
    LOOP AT ITAB .
    perform bdc_dynpro      using 'ZTRNSBDCDEMO' '1000'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'NAME'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=SPOS'.
    perform bdc_field       using 'ID'
                                 ITAB-ID  .  "... '   3'.
    perform bdc_field       using 'NAME'
                                  ITAB-NAME  .  " ...'MIRAJ'.
    perform bdc_dynpro      using 'SAPLSVAR' '0281'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=BACKLIST'.
    perform bdc_dynpro      using 'ZTRNSBDCDEMO' '1000'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/EE'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'NAME'.
    perform bdc_transaction using 'Z98DEMO'.
    ENDLOOP .
    And please use code tags
    Edited by: RUSHI123 on Nov 4, 2009 1:41 PM
    Edited by: RUSHI123 on Nov 4, 2009 1:44 PM
    Edited by: Rob Burbank on Nov 4, 2009 9:49 AM

  • Getting Error While Attaching Concurrent Program Output PDF file for POAPPRV Workflow

    Hi All,
    I am getting the below error when I am trying to attach concurrent program output to the PO Approval Notification.
    An Error occurred in the following Workflow.
    Item Type = POAPPRV
    Item Key = 1040589-528378
    User Key =945871
    Error Name = WF_ERROR
    Error Message = [WF_ERROR] ERROR_MESSAGE=3835: Error '-20002 - ORA-20002: [WFMLR_DOCUMENT_ERROR]' encountered during execution of Generate function 'WF_XML.Generate' for event 'oracle.apps.wf.notification.send'. ERROR_STACK=
    Wf_Notification.GetAttrblob(3604701, ZZ_PREVIOUS_PO_COMPARE, text/html)
    WF_XML.GetAttachment(3604701, text/html)
    WF_XML.GetAttachments(3604701, http://oraerp.am.corp.xxxx.com:8099/pls/DEV, 11283)
    WF_XML.GenerateDoc(oracle.apps.wf.notification.send, 3604701)
    WF_XML.Generate(oracle.apps.wf.notification.send, 3604701)
    WF_XML.Generate(oracle.apps.wf.notification.send, 3604701)
    Wf_Event.setMessage(oracle.apps.wf.notification.send, 3604701, WF_XML.Generate)
    Wf_Event.dispatch_internal()
    Error Stack =
    Activity ID = 190844
    Activity Label = AL_NOTIFY_APPROVER_PROCESS:ZZ_PO_PO_APPROVE_ATTCH
    Result Code = #MAIL
    Notification ID = 3604701
    There are several threads for this error however I cannot find any specific solution to the problem.
    Please find the code below -
        wf_engine.setitemattrdocument(itemtype=>itemtype,
                                      itemkey=> itemkey,
                                      aname=>'ZZ_PREVIOUS_PO_COMPARE',
                                      documentid =>'PLSQLBLOB:zz_po_reqapproval_init1.xx_notif_attachments/' || to_char(l_request_id_prev_po)||':'||to_char(l_document_num));
    -- here l_request_id_q_and_s is the request id of the program and l_document_num is the PO document number
    PROCEDURE xx_notif_attachments(p_request_id    IN VARCHAR2,
                                   p_document_num  IN VARCHAR2,
                                   p_document      IN OUT BLOB,
                                   p_document_type IN OUT VARCHAR2) IS
      v_lob_id          NUMBER;
      v_document_num    VARCHAR2(15);
      v_document_prefix VARCHAR2(100);
      v_file_name       VARCHAR2(500);
      v_file_on_os      BFILE;
      v_temp_lob        BLOB;
      v_dest_offset     NUMBER := 1;
      v_src_offset      NUMBER := 1;
      v_out_file_name   VARCHAR2(2000);
      v_conc_prog_name  VARCHAR2(500);
      v_conc_req_id     NUMBER;
      CURSOR get_output_file(p_concurrent_request_id NUMBER) IS
        SELECT cr.outfile_name, cp.concurrent_program_name
          FROM fnd_concurrent_requests cr, fnd_concurrent_programs_vl cp
         WHERE request_id = p_concurrent_request_id
           AND cp.concurrent_program_id = cr.concurrent_program_id;
    BEGIN
      --    set_debug_context('xx_notif_attach_procedure');
      v_conc_req_id  := to_number(substr(p_request_id,
                                         1,
                                         instr(p_request_id, ':') - 1));
      v_document_num := substr(p_request_id,
                               instr(p_request_id, ':') + 1,
                               length(p_request_id) - 2);
      OPEN get_output_file(v_conc_req_id);
      FETCH get_output_file
        INTO v_out_file_name, v_conc_prog_name;
      CLOSE get_output_file;
      v_out_file_name := substr(v_out_file_name,
                                instr(v_out_file_name, '/', -1) + 1);
      v_file_name     := to_char(v_document_num) || '-Previous_PO_Rev.pdf';
      utl_file.fcopy(src_location  => 'APPS_OUT_DIR',
                     src_filename  => v_out_file_name,
                     dest_location => 'PO_DATA_DIR',
                     dest_filename => v_file_name);
      --  v_lob_id := to_number(v_document_id);
      v_file_on_os := bfilename('PO_DATA_DIR', v_file_name);
      dbms_lob.createtemporary(v_temp_lob, cache => FALSE);
      dbms_lob.fileopen(v_file_on_os, dbms_lob.file_readonly);
      dbms_lob.loadblobfromfile(dest_lob    => v_temp_lob,
                                src_bfile   => v_file_on_os,
                                amount      => dbms_lob.getlength(v_file_on_os),
                                dest_offset => v_dest_offset,
                                src_offset  => v_src_offset);
      dbms_lob.fileclose(v_file_on_os);
      p_document_type := 'application/pdf;name=' || v_file_name;
      dbms_lob.copy(p_document, v_temp_lob, dbms_lob.getlength(v_temp_lob));
    EXCEPTION
      WHEN OTHERS THEN
        wf_core.CONTEXT('ZZ_PO_REQAPPROVAL_INIT1',
                        'xx_notif_attachments',
                        v_document_num,
                        p_request_id);
        RAISE;
    END xx_notif_attachments;
    Please help me find a to the above mentioned error.
    Thanks,
    Suvigya

    There are two ways to look at what error the PLSQLBLOB API is throwing.
    1) Call your PLSQLBLOB API GNE_PO_CREATE_FILE_ATTACHMENT.Gne_Create_File_Attachment directly from a PLSQL block and verify that it returns the BLOB data successfully.
    You could also call another WF API that in turn executes the PLSQLBLOB API internally. For example,
    <pre>
    declare
    l_document blob;
    l_doctype varchar2(240);
    l_aname varchar2(90);
    begin
    dbms_lob.CreateTemporary(l_document, true, dbms_lob.Session);
    -- 207046 - This is the notification id of your failed workflow
    -- PO_REPORT - Document type attribute
    -- 'text/html' - Content Type being generated for
    Wf_Notification.GetAttrBLOB(207046, 'PO_REPORT', 'text/html', l_document, l_doctype, l_aname);
    -- Print the size of the document here to verify it was fetched correctly
    end;
    </pre>
    2) Turn on log for SYSADMIN user with following attributes.
    Log Enabled = TRUE
    Log Level = ERROR
    Log Module = wf.plsql%
    Restart the Workflow Deferred Agent Listener and Workflow Notification Deferred Agent Listener and run your workflow process. Search for log messages written for above context and you can identify the error at wf.plsql.WF_XML.GetAttachment module with message starting as "Error when getting BLOB attachment ->"
    Hope this helps.
    Vijay

  • I am getting error running xml report using bursting

    Hi,
    +---------------------------------------------------------------------------+
    XML Publisher: Version : 12.0.0
    Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
    XDOBURSTREP module: XML Publisher Report Bursting Program
    +---------------------------------------------------------------------------+
    Current system time is 23-AUG-2012 04:18:27
    +---------------------------------------------------------------------------+
    XML/BI Publisher Version : 5.6.3
    --Exception
    For input string: ""
    java.lang.NumberFormatException: For input string: ""
    at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
    at java.lang.Integer.parseInt(Integer.java:510)
    at java.lang.Integer.parseInt(Integer.java:539)
    at oracle.apps.xdo.oa.cp.JCP4XDOBurstingEngine.runProgram(JCP4XDOBurstingEngine.java:142)
    at oracle.apps.fnd.cp.request.Run.main(Run.java:157)
    +---------------------------------------------------------------------------+
    FND_FILE ä¸æ—¥å¿—消æ&#129;¯å¼€å§‹
    +---------------------------------------------------------------------------+
    +---------------------------------------------------------------------------+
    FND_FILE ä¸æ—¥å¿—消æ&#129;¯ç»“æ&#157;Ÿ
    +---------------------------------------------------------------------------+
    +---------------------------------------------------------------------------+
    æ£åœ¨æ‰§è¡Œè¯·æ±‚完æˆ&#144;选项...
    Output file size:
    0
    已完æˆ&#144;执行请求完æˆ&#144;选项。
    +---------------------------------------------------------------------------+
    已完æˆ&#144;并å&#143;‘请求
    当å‰&#141;的系统时间为 23-08-2012 04:18:36
    +---------------------------------------------------------------------------+
    pls help me how to overcome this issue give me reponse asap
    thanks.

    To answer my own question, referring to document 1J6MCMIN the error was due to the requirement for an even number of points. It would be nice if this were documented. This doesn't explain the problem where the computer locks up with a small number of points.

  • User Getting Errors when lauching Report Builder 3.0

    All,
    I have a native mode report server 2008 R2 and need to give Report Builder access to some of my power users. I've added a new Report Builder role with the following rights (view reports, view folders, manage models, consume reports) and added it to
    site settings and give the role system user assignment. When users I assigned to the role come in the report manager portal, they can see the Report Builder app. icon on the menu. When they launch Report builder they are getting the error below. Thanks
    for your help:
    PLATFORM VERSION INFO
     Windows    : 6.1.7601.65536 (Win32NT)
     Common Language Runtime  : 4.0.30319.269
     System.Deployment.dll   : 4.0.30319.1 (RTMRel.030319-0100)
     clr.dll    : 4.0.30319.269 (RTMGDR.030319-2600)
     dfdll.dll    : 4.0.30319.1 (RTMRel.030319-0100)
     dfshim.dll    : 4.0.31106.0 (Main.031106-0000)
    SOURCES
     Deployment url   :
    http://dmzreportserver/ReportServer/ReportBuilder/ReportBuilder_3_0_0_0.application
    ERROR SUMMARY
     Below is a summary of the errors, details of these errors are listed later in the log.
     * Activation of
    http://dmzreportserver/ReportServer/ReportBuilder/ReportBuilder_3_0_0_0.application resulted in exception. Following failure messages were detected:
      + Downloading
    http://dmzreportserver/ReportServer/ReportBuilder/ReportBuilder_3_0_0_0.application did not succeed.
      + The remote server returned an error: (401) Unauthorized.
    COMPONENT STORE TRANSACTION FAILURE SUMMARY
     No transaction error was detected.
    WARNINGS
     There were no warnings during this operation.
    OPERATION PROGRESS STATUS
     * [8/30/2012 11:44:25 AM] : Activation of
    http://dmzreportserver/ReportServer/ReportBuilder/ReportBuilder_3_0_0_0.application has started.
    ERROR DETAILS
     Following errors were detected during this operation.
     * [8/30/2012 11:44:25 AM] System.Deployment.Application.DeploymentDownloadException (Unknown subtype)
      - Downloading
    http://dmzreportserver/ReportServer/ReportBuilder/ReportBuilder_3_0_0_0.application did not succeed.
      - Source: System.Deployment
      - Stack trace:
       at System.Deployment.Application.SystemNetDownloader.DownloadSingleFile(DownloadQueueItem next)
       at System.Deployment.Application.SystemNetDownloader.DownloadAllFiles()
       at System.Deployment.Application.FileDownloader.Download(SubscriptionState subState)
       at System.Deployment.Application.DownloadManager.DownloadManifestAsRawFile(Uri& sourceUri, String targetPath, IDownloadNotification notification, DownloadOptions options, ServerInformation& serverInformation)
       at System.Deployment.Application.DownloadManager.DownloadDeploymentManifestDirectBypass(SubscriptionStore subStore, Uri& sourceUri, TempFile& tempFile, SubscriptionState& subState, IDownloadNotification notification, DownloadOptions
    options, ServerInformation& serverInformation)
       at System.Deployment.Application.DownloadManager.DownloadDeploymentManifestBypass(SubscriptionStore subStore, Uri& sourceUri, TempFile& tempFile, SubscriptionState& subState, IDownloadNotification notification, DownloadOptions
    options)
       at System.Deployment.Application.ApplicationActivator.PerformDeploymentActivation(Uri activationUri, Boolean isShortcut, String textualSubId, String deploymentProviderUrlFromExtension, BrowserSettings browserSettings, String& errorPageUrl)
       at System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(Object state)
      --- Inner Exception ---
      System.Net.WebException
      - The remote server returned an error: (401) Unauthorized.
      - Source: System
      - Stack trace:
       at System.Net.HttpWebRequest.GetResponse()
       at System.Deployment.Application.SystemNetDownloader.DownloadSingleFile(DownloadQueueItem next)
    COMPONENT STORE TRANSACTION DETAILS
     No transaction information is available.
    Francis, MCTS: BI 2008, MCITP: BI 2008 Stay Thirsty My Friends

    Hello,
    I have similar issue and my side report server is configured in SharePoint integration mode. I already have the FQDN configured for report manager but still it fails when the end user is trying to access the report builder 3.0.
    Please suggest what could be the issue.
    Thanks
    Mahesh
    Thanks Mahesh Dhinge
    Additional issue details
    PLATFORM VERSION INFO
     Windows    : 6.1.7601.65536 (Win32NT)
     Common Language Runtime  : 4.0.30319.18444
     System.Deployment.dll   : 4.0.30319.18408 built by: FX451RTMGREL
     clr.dll    : 4.0.30319.18444 built by: FX451RTMGDR
     dfdll.dll    : 4.0.30319.18408 built by: FX451RTMGREL
     dfshim.dll    : 4.0.41209.0 (Main.041209-0000)
    SOURCES
     Deployment url   :
    http://server.domain.com/_vti_bin/ReportBuilder/ReportBuilder.application?model=http://server.domain.com/XXX%20Report%20Models/XX%20Report%20Models/XXX%20XXX%20Report%20Model.smdl
    ERROR SUMMARY
     Below is a summary of the errors, details of these errors are listed later in the log.
     * Activation of
    http://server.domain.com/_vti_bin/ReportBuilder/ReportBuilder.application?model=http://server.domain.com/XXX Report Models/XXX Report Models/XXX XXX Report Model.smdl resulted in exception. Following failure messages were detected:
      + Downloading
    http://server.domain.com/_vti_bin/ReportBuilder/ReportBuilder.application?model=http://server.domain.com/XXX Report Models/XXX Report Models/XXX XXX Report Model.smdl did not succeed.
      + The remote server returned an error: (500) Internal Server Error.
    COMPONENT STORE TRANSACTION FAILURE SUMMARY
     No transaction error was detected.
    WARNINGS
     There were no warnings during this operation.
    OPERATION PROGRESS STATUS
     * [9/19/2014 4:42:13 PM] : Activation of
    http://server.domain.com/_vti_bin/ReportBuilder/ReportBuilder.application?model=http://server.domain.com/XXX Report Models/XXX Report Models/XXX XXX Report Model.smdl has started.
    ERROR DETAILS
     Following errors were detected during this operation.
     * [9/19/2014 4:42:16 PM] System.Deployment.Application.DeploymentDownloadException (Unknown subtype)
      - Downloading
    http://server.domain.com/_vti_bin/ReportBuilder/ReportBuilder.application?model=http://server.domain.com/XXX Report Models/XXX Report Models/XXX XXX Report Model.smdl did not succeed.
      - Source: System.Deployment
      - Stack trace:
       at System.Deployment.Application.SystemNetDownloader.DownloadSingleFile(DownloadQueueItem next)
       at System.Deployment.Application.SystemNetDownloader.DownloadAllFiles()
       at System.Deployment.Application.FileDownloader.Download(SubscriptionState subState)
       at System.Deployment.Application.DownloadManager.DownloadManifestAsRawFile(Uri& sourceUri, String targetPath, IDownloadNotification notification, DownloadOptions options, ServerInformation& serverInformation)
       at System.Deployment.Application.DownloadManager.DownloadDeploymentManifestDirectBypass(SubscriptionStore subStore, Uri& sourceUri, TempFile& tempFile, SubscriptionState& subState, IDownloadNotification notification, DownloadOptions
    options, ServerInformation& serverInformation)
       at System.Deployment.Application.DownloadManager.DownloadDeploymentManifestBypass(SubscriptionStore subStore, Uri& sourceUri, TempFile& tempFile, SubscriptionState& subState, IDownloadNotification notification, DownloadOptions
    options)
       at System.Deployment.Application.ApplicationActivator.PerformDeploymentActivation(Uri activationUri, Boolean isShortcut, String textualSubId, String deploymentProviderUrlFromExtension, BrowserSettings browserSettings, String& errorPageUrl)
       at System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(Object state)
      --- Inner Exception ---
      System.Net.WebException
      - The remote server returned an error: (500) Internal Server Error.
      - Source: System
      - Stack trace:
       at System.Net.HttpWebRequest.GetResponse()
       at System.Deployment.Application.SystemNetDownloader.DownloadSingleFile(DownloadQueueItem next)
    COMPONENT STORE TRANSACTION DETAILS
     No transaction information is available.
    Thanks Mahesh Dhinge

Maybe you are looking for

  • SharePoint 2013 List & linked Document Set Project Help Needed

    I have struggling to find the best solution for a recent project. I'm sure someone will have a better suggestion than what I have come up with. Project Requests Project Tracking and Documents Status and other data Project Documents Offsite Syncing fo

  • EA3500 Phones can connect to wireless router, but cannot transfer data

    Ok, Since Cisco is completely helpless on helping me (this is why we are switching from Cisco stuff to other brands like Aruba at my work) I was thinking you guys would help me.  I got hanged up twice on this problem.  TWICE. So, my phone and my frie

  • Can't able to edit the query in query designner

    Hello every one,                        Please help me in below issue. It is really important. Actually i have create the query in the BI- Development and that i pass to the production. Now. I tried to again edit the same query in the development , a

  • Alternative Data Level Security in OBIEE 11g

    Gurus - Wanted to put it out there if there are alternatives ways of achieving data level security as opposed to going the route of creating blocks that initialize session variables which can be applied onto tables through roles in the RPD? The main

  • Macbook pro usb's not working

    Hey there, Ive had a recent issue with my 2011 macbook pro.  Recently both usb's stoped working entirely (iphone wouldnt conect, flash wouldnt conect, wireless mouse wouldnt work).  After doing a PRAM reset the mouse worked fine for about 2 hours, af