Runtime error while trying to execute custom F4 help in OOP ALV grid.

Dear All,
I am trying to add custom search help for one of my column in ALV grid. I'm using OOP ALV, when i click for search help for that column, the system shows runtime error like below.
I am new to OOP concept and tried to follow program BCALV_EDIT_03. But not getting this error occur. Please help me.
With regards.

Hi,
In order to be able to provide a search help for a field in an ALV you must do the following things.
1) The field where F4 help need to be attached needs to be made editable.
2) Create an event handler class to handle the ONF4 event. You can refer the following code:
    CLASS lcl_alv1_handler DEFINITION.
    PUBLIC SECTION.
       "Tohandle F4 helps
       METHODS handle_f4 FOR EVENT onf4 OF cl_gui_alv_grid
               IMPORTING e_fieldname e_fieldvalue es_row_no er_event_data
                         et_bad_cells e_display.
    ENDCLASS.
   CLASS lcl_alv1_handler IMPLEMENTATION.
      METHOD handle_f4.
CASE e_fieldname.
     WHEN 'LIFNR'.               "Set F4 for courier vendor
         SELECT lifnr name1 FROM lfa1 INTO TABLE lt_lifnr.
       IF lt_lifnr IS NOT INITIAL.
         CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
           EXPORTING
             retfield           = 'LIFNR'
             window_title   = 'Vendors'
             value_org       = 'S'
           TABLES
             value_tab       = lt_lifnr
             return_tab      = lt_return
           EXCEPTIONS
             parameter_error = 1
             no_values_found = 2
             OTHERS          = 3.
         IF sy-subrc = 0.
           READ TABLE gt_final INTO wa_final_t INDEX es_row_no-row_id.
           IF sy-subrc = 0.
             READ TABLE lt_return INTO wa_return INDEX 1.
             IF sy-subrc = 0.
               CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
                 EXPORTING
                   input  = wa_return-fieldval
                 IMPORTING
                   output = lv_lifnr.
               wa_final_t-lifnr  = lv_lifnr.
               MODIFY gt_final FROM wa_final_t INDEX es_row_no-row_id.
             ENDIF.
           ENDIF.
         ENDIF.
       ENDIF.
      ENDCASE.
         CALL METHOD o_alv->refresh_table_display.
      ENDMETHOD.
   ENDCLASS.
    In the above method, GT_FINAL-LIFNR is being overwritten by the LIFNR you had selected       from F4 help. So we will call the refresh_table_display after it to see the result in the ALV.
3) After creating the ALV object, add the fields to which the F4 has to be added. For this you
    need to declare an internal table based on  lvc_t_f4. Use the following code. Here O_ALV is    my ALV object.:
   CREATE OBJECT o_container
       EXPORTING
         container_name              = 'CUSTCON'
       EXCEPTIONS
         cntl_error                  = 1
         cntl_system_error           = 2
         create_error                = 3
         lifetime_error              = 4
         lifetime_dynpro_dynpro_link = 5
         OTHERS                      = 6.
     IF sy-subrc <> 0.
*     MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
*                WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
     ENDIF.
     CREATE OBJECT o_alv
       EXPORTING
         i_parent          = o_container
       EXCEPTIONS
         error_cntl_create = 1
         error_cntl_init   = 2
         error_cntl_link   = 3
         error_dp_create   = 4
         OTHERS            = 5.
     IF sy-subrc <> 0.
*     MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
*                WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
     ENDIF.
   CLEAR : gt_f4, wa_f4.
   wa_f4-fieldname   = 'LIFNR'.
   wa_f4-register    = 'X'.
   wa_f4-getbefore   = space.
   wa_f4-chngeafter  = space.
   APPEND wa_f4 TO gt_f4.
   Here I am assigning F4 to LIFNR field in the final internal table that is displayed using ALV.
   After this register this field for F4.
    CALL METHOD o_alv->register_f4_for_fields
       EXPORTING
          it_f4 = gt_f4.
   CREATE OBJECT o_alv_handler.
   SET HANDLER : o_alv_handler->handle_f4 FOR o_alv1.
   The object o_alv_handler is created based on the event handler class.
I hope that this will solve your issue. Revert if this is solved.
Rgards,
Abijith

Similar Messages

  • JCO.Server Error while trying to execute a RFC program from SAP

    Hi,
    We are connecting to an external registered server program from SAP via Web Methods.
    The external server program is registered with the SAP Gateway. We have created a TCP/IP RFC destination and are able to connect to the destination successfully via SM59.
    An RFC function is created in SAP and is called using the syntax CALL FUNCTION "/NGN/BAPI_STRE_SEARCH_PROCESS" DESTINATION 'PRDB2B'. We have also handled the COMM_FALIURE and SYSTEM_FALIURE exceptions in the function call.
    We are monitoring the gateway via SMGW and see a connection log to the RFC destination as below
    Number - 10
    LUname - dev01
    TPName - sapgw00
    User - KRAORANE
    Status - CONNECTED
    Symbolic - PRDB2B
    Conversation - 86520353
    Prot - REG
    SAP return code - 0
    CPIC rtn code - 0
    The external program returns results as expected.
    However sometimes the RFC fails and returns the message “JCO.Server could not create server function /NGN/BAPI_STRE_SEARCH_PROCESS”.
    We are not able to figure what exactly is causing this error. Any help will be highly appreciated.
    -Kiran

    Hi,
    Please see the below links..
    JCO.Server Error while trying to execute a RFC program from SAP
    Re: JCO.Servcer could not find server function
    Re: JCO.Server could not find server function 'SET_SLD_DATA'
    /people/kathirvel.balakrishnan2/blog/2005/07/26/remote-enable-your-rfchosttoip-to-return-host-ip-to-jco
    Re: interfacing SAP with an existing java applications
    http://help.sap.com/saphelp_nw04/helpdata/en/47/80f671ee6e4b41b63c0fe46bd6e4f8/content.htm
    http://www.sapgenie.com/faq/jco.htm
    Regards
    Chilla..

  • Runtime error while trying to convert script to pdf and sending in mail

    Hi all,
    I m trying to convert the standard script into pdf using convert_otf fm and trying to send it as an attachment using 'SO_NEW_DOCUMENT_ATT_SEND_API1'.
    I m using fm 'SSF_FUNCTION_MODULE_NAME' to get the function module name.
    But i m getting a runtime error while executing the program..
    Can anyone help me in this issue please.
    Thanks in advance,
    Ashok

    Hi Ramesh,
    I m getting an runtime error function module not found. I ll paste the code here.
    CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
        EXPORTING
          formname           = lf_formname
        IMPORTING
          fm_name            = lf_fm_name
        EXCEPTIONS
          no_form            = 1
          no_function_module = 2
          OTHERS             = 3.
      IF sy-subrc = 0.
    error handling ent_retco = sy-subrc.
    perform protocol_update_i.
      ENDIF.
      ls_control_param-getotf = 'X'.
      DATA: l_document_output_info TYPE ssfcrespd,
            l_job_output_info TYPE ssfcrescl,
            l_job_output_options TYPE ssfcresop.
    check ent_retco eq 0.
      CALL FUNCTION 'lf_fm_name'
      EXPORTING
        archive_index = toa_dara
        archive_parameters = arc_params
        control_parameters = ls_control_param
        mail_recipient = ls_recipient
        mail_sender = ls_sender
        output_options = ls_composer_param
        user_settings = ' '
        zxekko = l_doc-xekko
        zxpekko = l_doc-xpekko
    zxaend = l_doc-xaend
        IMPORTING
          document_output_info = l_document_output_info
          job_output_info = l_job_output_info
          job_output_options = l_job_output_options
          TABLES
            l_xekpo = l_doc-xekpo[]
            l_xekpa = l_doc-xekpa[]
            l_xpekpo = l_doc-xpekpo[]
            l_xeket = l_doc-xeket[]
            l_xtkomv = l_doc-xtkomv[]
            l_xekkn = l_doc-xekkn[]
            l_xekek = l_doc-xekek[]
            l_xaend = l_doc-xaend[]
            l_xkomk = l_xkomk
            EXCEPTIONS
              formatting_error = 1
              internal_error = 2
              send_error = 3
              user_canceled = 4
              OTHERS = 5.
    CALL FUNCTION 'CONVERT_OTF'
        EXPORTING
          format                = 'PDF'
          max_linewidth         = 132
        IMPORTING
          bin_filesize          = v_len_in
        TABLES
          otf                   = l_job_output_info-otfdata
          lines                 = tb_pdf
        EXCEPTIONS
          err_max_linewidth     = 0
          err_format            = 1
          err_conv_not_possible = 2
          OTHERS                = 3.

  • Error while trying to open custom page

    Hi,
    I am getting error message "You have encountered an unexpected error. Please contact the System Administrator for assistance. " while trying to access the new custom page i developed.
    i have imported the page definition to MDS and copied all the .class and xml files to appropriate directories in $JAVA_TOP
    i am able to view the page definition using command
    SQL> exec jdr_utils.printdocument('/xxicx/oracle/apps/icx/po/webui/PODetailsSearchPG');
    below is the URL it shows when the error message is displayed
    http://server0070:8015/OA_HTML/OA.jsp?page=/xxicx/oracle/apps/icx/po/webui/PODetailsSearchPG&_ti=1318003364&oapc=6&OAMC=77395_17_0&menu=Y&oaMenuLevel=2&oas=nJ1Iq5JxZLmijMEXIXFbDg..
    Any idea on how to resolve the error.
    Thanks,
    -Kamal

    Hi AJ,
    Thanks a lot for pointing to the profile name, i was stuck, as there was no details of why the error is happening; after enabling the profile i am able to view error stack and resolved the error (AM was missing.. :) )
    Rgds,
    -Kamal

  • Runtime error when trying to execute transaction OB58

    Hi all,
    We have upgraded from SAP system 4.6c to ECC 6.0 . We are facing one error in the FI transaction OB58.
    When trying to delete any finanicial version or trying to create any new financial version , we are getting a runtime error which
    states that " Error when attempting to IMPORT object "X011F". and its giving short dump at this point .The description of the error is :
    Short text
        Error when attempting to IMPORT object "X011F".
    What happened?
        Error in the ABAP Application Program
        The current ABAP program "SAPLFAGL_FSV" had to be terminated because it has
        come across a statement that unfortunately cannot be executed.
    Error analysis
        An exception occurred that is explained in detail below.
        The exception, which is assigned to class 'CX_SY_IMPORT_MISMATCH_ERROR', was
         not caught in
        procedure "FSV_POSITIONS_CONVERT" "(FORM)", nor was it propagated by a RAISING
         clause.
        Since the caller of the procedure could not have anticipated that the
        exception would occur, the current program is terminated.
        The reason for the exception is:
        When importing the object "X011F", the component 1 in the dataset
        had a different length from the corresponding component of the
        target object in the program "SAPLFAGL_FSV".
        The length is 4 in the dataset, but 32 in the program.
    Thanks,
    Sumit

    Hi Sumit,
    We Upgraded our system from 4.6C to ECC 6.0 and
    I am facing same error. We applied note 1544367. After applying not also we are facing issue during
    import x011p to lt_x011p
             i011z to lt_x011z
             x011v to lt_x011v
             x011s to lt_x011s
             x011f to lt_x011f   
    from database rfdt(bs) client p_mandt
                                   id p_versn
                            accepting padding
                             ignoring conversion errors.
    You faced same issue after applying note or if you have any solution please let me know.
    Regards,
    Mahesh

  • Windows environment error while trying to execute 16-bit  applications.

    Hi guys,
    I'm executing applications in Windows using
    process = Runtime.getRuntime().exec(cmd,null,dir);where cmd[0] is the command e.g. "c:\timeout.exe" and dir is the
    working directory e.g. "c:\".
    This works fine for 32-bit programs and I can quit them using
    process.getErrorStream().close();
    process.getInputStream().close();
    process.destroy();However, executing 16-bit applications results in a popup error dialog
    box
    16 Bit MS-DOS Subsystem
    c:\windows\system32\ntvdm.exe
    Error while setting up the environment for the application
    Choose close to terminate the application
    I can change the execution command to
    cmd[0] = "cmd.exe"
    cmd[1] = "/C"
    cmd[2] = "c:\timeout.exe"and the problem goes away. The problem is process.destroy() kills
    cmd.exe not my application!
    Does anyone know of a fix for this?
    Thanks.

    You could check the EXE file and verify the file format. It's different for 16-bit DOS, 16-bit Windows, and 32-bit programs. 16-bit DOS programs are marked "MZ" at the beginning. 16-bit Windows programs have the same "MZ" at the beginning, but an "NE" (New Executable) marking a little farther down the file. 32-bit programs finally are marked with "MZ" and "PE" (Portable Executable) farther down.
    You can find more information at Wotsit: http://www.wotsit.org/search.asp?s=EXE
    Inspecting the files is tedious, but the only way of doing this without native code. If you want to use native code, you can probably find the process that was spawned by CMD and destroy it separately.
    Hope this helps, good luck.

  • Portal runtime error while trying to run a MSS report

    Hello gurus!!
       I setup the MSS reports launchpad and now I am seeing all the list of reports on the reports launchpad. I am able to click on all the links and each link opens up the relevant page and the selection criteria also comes up. However, on the last screen, I get a portal runtime error after I click on the report result button.
    The trace file shows the following errors:
    <!LOGHEADER[START]/>
    <!HELP[Manual modification of the header may cause parsing problem!]/>
    <!LOGGINGVERSION[1.5.3.7185 - 630]/>
    <!NAME[./log/defaultTrace.trc]/>
    <!PATTERN[defaultTrace.trc]/>
    <!FORMATTER[com.sap.tc.logging.ListFormatter]/>
    <!ENCODING[UTF8]/>
    <!FILESET[17, 20, 10485760]/>
    <!PREVIOUSFILE[defaultTrace.16.trc]/>
    <!NEXTFILE[defaultTrace.18.trc]/>
    <!LOGHEADER[END]/>
    #1.5 #0050568444360067000005D2000005D400049F27DC8DD843#1300893459438#com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent#sap.com/tcwddispwda#com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent#SSUBBARAO#113523##n/a##ae3b7a53556011e0cd95000000191d7e#SAPEngine_Application_Thread[impl:3]_23##0#0#Fatal#1#/Applications/Xss#Java###null
    [EXCEPTION]
    #1#com.sap.tc.webdynpro.modelimpl.dynamicrfc.WDDynamicRFCExecuteException: Exception condition "PROFILE_NOT_INITIALIZED" raised., error key: RFC_ERROR_SYSTEM_FAILURE
         at com.sap.tc.webdynpro.modelimpl.dynamicrfc.DynamicRFCModelClassExecutable.execute(DynamicRFCModelClassExecutable.java:101)
         at com.sap.xss.hr.cat.record.blc.RfcManager.rfcExecute(RfcManager.java:453)
         at com.sap.xss.hr.cat.record.blc.RfcManager.init(RfcManager.java:820)
         at com.sap.xss.hr.cat.record.blc.wdp.InternalRfcManager.init(InternalRfcManager.java:280)
         at com.sap.xss.hr.cat.record.blc.FcCatRecordInterface.onInit(FcCatRecordInterface.java:353)
         at com.sap.xss.hr.cat.record.blc.wdp.InternalFcCatRecordInterface.onInit(InternalFcCatRecordInterface.java:268)
         at com.sap.xss.hr.cat.record.blc.wdp.InternalFcCatRecordInterface$External.onInit(InternalFcCatRecordInterface.java:542)
         at com.sap.pcuigp.xssfpm.wd.FPMComponent$FPM.attachComponentToUsage(FPMComponent.java:922)
         at com.sap.pcuigp.xssfpm.wd.FPMComponent$FPM.attachComponentToUsage(FPMComponent.java:891)
         at com.sap.pcuigp.xssfpm.wd.FPMComponent$FPMProxy.attachComponentToUsage(FPMComponent.java:1084)
         at com.sap.xss.hr.cat.record.vac.calendar.VcCatCalendar.onInit(VcCatCalendar.java:251)
         at com.sap.xss.hr.cat.record.vac.calendar.wdp.InternalVcCatCalendar.onInit(InternalVcCatCalendar.java:194)
         at com.sap.xss.hr.cat.record.vac.calendar.VcCatCalendarInterface.onInit(VcCatCalendarInterface.java:162)
         at com.sap.xss.hr.cat.record.vac.calendar.wdp.InternalVcCatCalendarInterface.onInit(InternalVcCatCalendarInterface.java:146)
         at com.sap.xss.hr.cat.record.vac.calendar.wdp.InternalVcCatCalendarInterface$External.onInit(InternalVcCatCalendarInterface.java:222)
         at com.sap.pcuigp.xssfpm.wd.FPMComponent.doProcessEvent(FPMComponent.java:564)
         at com.sap.pcuigp.xssfpm.wd.FPMComponent.doEventLoop(FPMComponent.java:438)
         at com.sap.pcuigp.xssfpm.wd.FPMComponent.wdDoInit(FPMComponent.java:196)
         at com.sap.pcuigp.xssfpm.wd.wdp.InternalFPMComponent.wdDoInit(InternalFPMComponent.java:110)
         at com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.doInit(DelegatingComponent.java:108)
         at com.sap.tc.webdynpro.progmodel.controller.Controller.initController(Controller.java:215)
         at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:200)
         at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.init(ClientComponent.java:430)
         at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:362)
         at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.initApplication(ApplicationSession.java:783)
         at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:303)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingPortal(ClientSession.java:761)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:696)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:253)
         at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:149)
         at com.sap.tc.webdynpro.clientserver.session.core.ApplicationHandle.doProcessing(ApplicationHandle.java:73)
         at com.sap.tc.webdynpro.portal.pb.impl.AbstractApplicationProxy.sendDataAndProcessActionInternal(AbstractApplicationProxy.java:869)
         at com.sap.tc.webdynpro.portal.pb.impl.AbstractApplicationProxy.create(AbstractApplicationProxy.java:229)
         at com.sap.portal.pb.PageBuilder.updateApplications(PageBuilder.java:1346)
         at com.sap.portal.pb.PageBuilder.createPage(PageBuilder.java:356)
         at com.sap.portal.pb.PageBuilder.init(PageBuilder.java:549)
         at com.sap.portal.pb.PageBuilder.wdDoRefresh(PageBuilder.java:595)
         at com.sap.portal.pb.PageBuilder$1.doPhase(PageBuilder.java:867)
         at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processPhaseListener(WindowPhaseModel.java:755)
         at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doPortalDispatch(WindowPhaseModel.java:717)
         at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:136)
         at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335)
         at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)
         at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:333)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:712)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:253)
         at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:149)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:53)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)
    Caused by: com.sap.aii.proxy.framework.core.BaseProxyException: Exception condition "PROFILE_NOT_INITIALIZED" raised., error key: RFC_ERROR_SYSTEM_FAILURE
         at com.sap.aii.proxy.framework.core.AbstractProxy.send$(AbstractProxy.java:150)
         at com.sap.xss.hr.cat.general.model.slim.CatsModelSlim.hrxss_Cat_Wd_Record(CatsModelSlim.java:245)
         at com.sap.xss.hr.cat.general.model.slim.Hrxss_Cat_Wd_Record_Input.doExecute(Hrxss_Cat_Wd_Record_Input.java:137)
         at com.sap.tc.webdynpro.modelimpl.dynamicrfc.DynamicRFCModelClassExecutable.execute(DynamicRFCModelClassExecutable.java:92)
         ... 64 more
    Could anybody please guide me how to fix this error and get the reports working properly?
    Any help with this is much appreciated.
    Thank you!
    ~Maria Kutty~

    Hi,
    Please refer to note 878440.
    Thanks
    Prashant

  • Error while trying to execute program in OBPM Studio workspace

    Hi All,
    I installed OBPM and tried to execute a sample program using workspace. I could see the below error.
    The Process '/SampleProcess#Default-1.0' is not available.
    The Process '/SampleProcess#Default-1.0' is not available. Caused by: Process '/SampleProcess#Default-1.0' not available. Caused by: Engine 'SampleSepVar' cannot process requests.
    The same is the case, when I tried to work on Expense managenenent(the sample application provided by Oracle).
    Can some one help me?
    Thanks in advance
    Lal
    Edited by: Laloo on Apr 18, 2010 8:10 AM

    You're getting this probably because you have errors in your project. Click the "Problems" tab.
    Dan

  • TIME_OUT error while trying to execute a report

    Hi all,
    When I try to exceute a Z report using a particular variant, it displays the output.
    However, when another person tries to run the same Z report using the same variant, it gives a TIME_OUT error.
    ABAP runtime errors    TIME_OUT
    Time limit exceeded.
    Please let me know the reason for this.
    Thanks and regards,
    Anishur

    Hi Anishur,
    Is the TIME OUT occuring on the same client as you are running the report?  And if so, does the user have the same authorisation as you?  The TIME OUT will occur if the program is handling more data, if you are seeing different performance it will be down to the amount of data process.
    As others have suggested, look at improving the performance of the report.
    Regards,
    Nick

  • BI error while trying to execute a report from a role - HELP

    Hi experts, I just started in a new BI project and there were some roles already created, I tried to execute a report in one of these roles (SAP_BW_TEMPLATE-Procurement) and I receive a pop-up window saying: "Windows cannot find "report technical name" . Make sure you typed the name correctly and then try again"
    Does anyone have any idea what this is happening?, how can I fix it?, this is very urgent, any help would be appreciated.
    Thanks
    JC

    Hi Shaimaa
    First of all I'm delighted that the scheduling itself is now working.
    In reply to your other concern regarding lost database connections when attempting to open the scheduled results, a couple of things come to mind.
    Firstly, what version of the application server are you using?
    Have you raised a service request with Oracle? If so, can you tell me what they said.
    Have you recently upgraded to 10.1.2.2 by any chance? If so, you definitely need to be aware that a new preference has come into play which could muck things up. The clue is to look at the SQL that Discoverer is generating. Do you see a line at the top of the code saying NOREWRITE? If so, we need to stop this by doing the following:
    1. Add the following parameter to the preference file in the c:/oracle/BIHome_1/discoverer/util/pref.txt under the [Database] section
    UseNoRewriteHint = 0
    Note: the preference is all one phrase with upper case characters at the beginning of each word
    2. The beginning of the section should look like this:
    [Database]
    UseNoRewriteHint = 0 # speeds performance and stops lost connections
    3. Double click the applypreferences.bat or run applypreferences.sh (if on Unix or Linux) to save the changes.
    4. Restart the Discoverer services and test.
    The next thing that comes to mind is hidden Group Sorts. I've recently had a situation where these can cause a loss of database connections. Do you have any of these in the offerning workbook?
    Mull over the above and let me know your findings.
    Best wishes
    Michael

  • Error while trying to Execute the Query with Customer Exit

    Hi Experts,
           I am having a Query with Customer Exit, it is working fine for all the Employess, except for one. When i try to remove the Customer Exit it is working for her too. Below is the error i am getting.
    system error in program SAPLLRK0 and form RSRDR; CHECK_NAV_INIT_BACK
    Thanks,
    Kris.

    Hello Kris,
    Are you working with multiprovider? Please check if OSS notes 813454,840080 or 578948 are applicable in your case.
    Regards,
    Praveen

  • Runtime Error while trying to run the Requestor ABCS Process

    Hi Everyone,
    I'm currently working on POC to Query Customer using AIA.
    Created Target Service which is Composite BPEL process to Query the data from the E-Business Suite.
    Deploy the the same to SOA and AIA MDS.
    Created Provider ABCS and deployed the same on SOA and MDS.Tested partial flow and it works as expected.
    Then Created EBS Using Mediator and deployed on SOAand MDS and tested the same and it works
    Created Requestor ABCS with custom ABM xsd which has customerID as i/p and deployed the process on SOA and registered it on the AIA MDS as well.
    But at Runtime it gives an error saying it is unable to find the EBM Header information.
    AIAConfigurationFile has the default systemID mentioned.Has anyone encountered this issue.
    Is there anything else which needs to be done ?
    Please see the error for your reference. Input from the ABM is just CustomerID.
    empty variable/expression result.
    The XPath variable or expression /customerpartyebo:QueryCustomerPartyEBM/corecom:EBMHeader is empty at line 562.
    An attempt to read or copy data referenced or computed by the XPath expression either had invalid data, according to the XML schema, or did not contain certain optional data.
    Ensure that the variable or expression result named in the error message is not empty. Enable XML schema validation of related variables to ensure the run-time data is valid.
    AIAConfigurationProperties File
    <ServiceConfiguration serviceName="{http://xmlns.oracle.com/ABCSImpl/QCD/Core/QueryCustomerQCDReqABCSImpl/V1.0}QueryCustomerQCDReqABCSImpl">
    <Property name="TRACE.LOG.ENABLED">true</Property>
    <Property name="Default.SystemID">XXX_XXX_QCD_01</Property>
    <Property name="Routing.CustomerPartyEBS.QueryCustomerParty.RouteToCAVS">false</Property>
    <Property name="Routing.CustomerPartyEBS.QueryCustomerParty.MessageProcessingInstruction.EnvironmentCode">PRODUCTION</Property>
    <Property name="Routing.CustomerPartyEBS.QueryCustomerParty.CAVS.EndpointURI">http://localhost:8001/AIAValidationSystemServlet/syncresponsesimulator</Property>
    </ServiceConfiguration>
    Any suggestion or help would be appreciated.. I need this up and running at the earliest.
    Regards
    Sabir
    Edited by: sabir on Aug 31, 2010 6:30 PM

    <xsl:template match="/">
    <customerpartyebo:QueryCustomerPartyEBM>
         <!--- Set the values for the parameters for EBM header template to suit your integration scenario and call EBM header template here -->
    <!--- Call your EBM Header template here
         Sample EBM Header template call -->
         <xsl:call-template name="EBMHeader">
              <xsl:with-param name="BusinessScopeIDPath" select="/tnsabo:CustomerReqMsg/tnsabo:ID"/>
              <xsl:with-param name="IntegrationScenarioName" select="'Customer Query - '"/>
         </xsl:call-template>
    <customerpartyebo:DataArea>
    <corecom:Query/>
    <xsl:attribute name="listID">
    <xsl:value-of select="/tnsabo:CustomerReqMsg/tnsabo:ID"/>
    </xsl:attribute>
         </customerpartyebo:DataArea>
    </customerpartyebo:QueryCustomerPartyEBM>
    </xsl:template>
    I get the following error
    XPath expression failed to execute. An error occurs while processing the XPath expression; the expression is ora:processXSLT('xsl/Xform_CustomerABMReqMsg_to_CustomerPartyEBMReqMsg.xsl',bpws:getVariableData('QueryCustomerReqMsg','QueryCustomer')). The XPath expression failed to execute; the reason was: javax.xml.transform.TransformerException: <Line 113, Column 123>: XML-22036: (Error) Cannot convert result tree fragment to NodeSet.. Check the detailed root cause described in the exception message text and verify that the XPath query is correct. </summary>
    </part>
    <part name="code">

  • Error while trying to execute a unix shell script from java program

    Hi
    I have written a program to execute a unix shell script in a remote machine. I am using J2ssh libraries to estabilish the session connection with the remote box.The program is successfully able to connect and authenticate with the box.
    The runtime .exec() is been implemented to execute the shell script.I have given below the code snippet.
    try {
         File file_location = new File("/usr/bin/");
         String file_location1 = "/opt/app/Hyperion/scripts/daily";
         String a_mib_name = "test.sh";
         String cmd[] = new String[] {"/usr/bin/bash", file_location1, a_mib_name};
         Runtime rtime = Runtime.getRuntime();
         Process p = rtime.exec(cmd, null, file_location);
    System.out.println( "Connected to the server1" );
    BufferedReader br = new BufferedReader(new InputStreamReader(p.getInputStream()));
    String line = br.readLine();
    while(line !=null)
    System.out.println(line);
    line = br.readLine();
    br.close();
    p.getErrorStream ().close ();
    p.getOutputStream().close();
    int retVal = p.waitFor();
    System.out.println("wait " + retVal);
    //session.executeCommand("ls");
    catch (IOException ex) {
    I get an error message
    Connected to the server
    java.io.IOException: Cannot run program "/usr/bin/bash" (in directory "\usr\bin"
    ): CreateProcess error=3, The system cannot find the path specified
    at java.lang.ProcessBuilder.start(Unknown Source)
    at java.lang.Runtime.exec(Unknown Source)
    at SftpConnect.main(SftpConnect.java:143)
    Caused by: java.io.IOException: CreateProcess error=3, The system cannot find th
    e path specified
    at java.lang.ProcessImpl.create(Native Method)
    at java.lang.ProcessImpl.<init>(Unknown Source)
    at java.lang.ProcessImpl.start(Unknown Source)
    I am sure of the file path where the bash.sh and test.sh are located.
    Am i missing something? Any help would be greatly appreciated.
    Thanks
    Senthil

    Hi, I am using a simple program to connect to a RMI server and execute shell script. I use the Runtime.exec aommand to do the same.
    The script is sh /tmp/pub/alka/test.sh /tmp/pub/alka/abc/xyz/ul ul
    The script when run from the server, gives no errors. But when ran using rthe above method in java, gives errors as follows,
    Mycode:
    String command = "/bin/sh /tmp/pub/alka/test.sh /tmp/pub/alka/abc/xyz/ul ul";
    Runtime rt = Runtime.getRuntime();
    Process proc = rt.exec(command);
    int exitVal = proc.exitValue();
    System.out.println("Process exitValue: " + exitVal);
    java.io.IOException: CreateProcess: /bin/sh /tmp/pub/alka/test.sh /tmp/pub/alka/abc/xyz/ul ul error=3
         at java.lang.ProcessImpl.create(Native Method)
         at java.lang.ProcessImpl.<init>(Unknown Source)
         at java.lang.ProcessImpl.start(Unknown Source)
         at java.lang.ProcessBuilder.start(Unknown Source)
         at java.lang.Runtime.exec(Unknown Source)
         at java.lang.Runtime.exec(Unknown Source)
         at java.lang.Runtime.exec(Unknown Source)
         at DecryptTest.main(DecryptTest.java:18)
    Can anyone please help

  • Getting Error while trying to execute SSIS package through sql agent

    Hi,
    I have created a package in SSIS 2008.
    I have created sql Agent job which runs perfectly on my Pc.
    I tried to create anew job on another pc which doesnot have SSIS.
    When i tried to run the Job,
     i am getting folowing error:
    Executed as user: LT-MAGFIH$. tion. End Error DTExec: The package execution returned DTSER_FAILURE (1). Started: 8:51:31 PM Finished: 8:51:35 PM Elapsed: 4.024 seconds. The package execution failed. The step failed.
    Please let me now how can i solve.

    Hi AjayChigurupati,
    I would suggest you check you are install or use the dtexec utility correctly:
    On a 64-bit computer, Integration Services installs a 64-bit version of the
    dtexec utility (dtexec.exe). If you have to run certain packages in 32-bit mode, you will have to install the 32-bit version of the
    dtexec utility. To install the 32-bit version of the
    dtexec utility, you must select either Client Tools or Business Intelligence Development Studio during setup.
    By default, a 64-bit computer that has both the 64-bit and 32-bit versions of an Integration Services command prompt utility installed will run the 32-bit version at the command prompt. The 32-bit version runs because the directory path for the 32-bit
    version appears in the PATH environment variable before the directory path for the 64-bit version. (Typically, the 32-bit directory path is
    <drive>:\Program Files(x86)\Microsoft SQL Server\100\DTS\Binn, while the 64-bit directory path is
    <drive>:\Program Files\Microsoft SQL Server\100\DTS\Binn.)
    For detail information, please see:
    http://technet.microsoft.com/en-us/library/ms162810(v=sql.105).aspx
    To using SQL Server Agent to Run a Package, please refer to the steps in th article below:
    http://technet.microsoft.com/en-us/library/ms138023(v=sql.105).aspx
    If you have any feedback on our support, please click
    here. 
    Elvis Long
    TechNet Community Support

  • XMLAnalysis Error while trying to execute a MDX query on MS SSAS - Accessing the cube from Java through Olap4j driver

     Am trying to access MS SSAS data cube from Java through olap4j driver(through msmdpump.dll). I am able to connect , but when I try to execute a query, i am getting the below error: Please help
    me out . (I tested the http://XXXX/OLAP/msmdpump.dll in MS Excel , and it is working fine)
    org.olap4j.OlapException: XMLA provider gave exception: <soap:Fault xmlns="http://schemas.xmlsoap.org/soap/envelope/">
    <faultcode>
    XMLAnalysisError.0xc10a0004
    </faultcode>
    <faultstring>
    The CRASHDWHSRG cube either does not exist or has not been processed.
    </faultstring>
    <detail>
    <Error Description="The CRASHDWHSRG cube either does not exist or has not been processed." ErrorCode="3238658052" HelpFile="" Source="Microsoft SQL Server 2012 Analysis Services">
    </Error>
    </detail>
    </soap:Fault>

    See my other answer where you asked this same question on another thread
    http://social.msdn.microsoft.com/Forums/sqlserver/en-US/22dfc400-668d-4bd4-b76d-7c6b9ddda47a/msmdpumpdll-not-getting-registered?forum=sqlanalysisservices
    http://darren.gosbell.com - please mark correct answers

Maybe you are looking for

  • Battery lasts only up to 2 hours??

    I just got my brand new 2nd gen iPod Touch today (32 GB) and completely charged the battery. After less than 2 hours of use, probably more like an hour and a half, the batter was 3/4 of the way down. Shouldn't it last longer than this? Could there be

  • Historical reports not matching supervisor desktop "Calls Presented" totals.

    Have UCCX 9.X version of Supervisor Desktop.  When viewing the "Agents – Team Summary" from within Supervisor Desktop the "Calls Presented" and "Calls Handed" totals seem to be cumulative from more than the past day.  The Supervisor Desktop User's gu

  • TS3992 My iPhone 4 will not run a backup; msg is "The last backup could not be completed." Any ideas, good Apple People? Thanks.

    Hello, Apple Community: My iPhone 4 will not run a backup; it starts and after a few minutes msg received is: "The last backup could not be completed." Memory available: 3.7 GB Any ideas, good Apple People? Cheers!

  • Datapump export in sql developer

    Getting issue while exporting  using data pump: Error on Job Submit ORA-39002: invalid operation dbms_datapump.get_status(14...) ORA-39002: invalid operation ORA-39070: Unable to open the log file. ORA-29283: invalid file operation ORA-06512: at "SYS

  • Subsembly create file with apdu

    I am using subsembly sc api with APDU commands... i have problem with creating file: CardCommandAPDU aSelectAPDU = new CardCommandAPDU(0x00, 0xE0, 0x00, 0x00, 3750); I read in manual to create file, and it only said that i have to use E0, for other a