Error in Control framework

Hi All,
  I created a webdynpro development.  In that all applications are working fine. One button i added and click of that it will download all the attachments corresponding to the sales order and it will place the attachments in desktop folder.
I written all the code in one function module and in the method i associated this function module.
If i debug this, this is working fine. when i click the download button, it shows the error - error in control framework
Any body has any idea about it?
Regards,
Vinoth.

Hi VinothKumar,
                       Did u tried running the method directly. There also u are not getting any error means, you have to check the code in wda where you created the method for that class.
If you are using the fm directly inside the method of wda, then you have to debug step by step  in wda.
Regards
Sarath

Similar Messages

  • Error in Control Framework: Background job failed

    Hi Experts,
    One background job failed with job log: Error in Control Framework in ECC 6.0 system; the job is supposed to produce a XML report. Can anyone please give some idea on this why it could happen? One SAP note 893534 has described same kind of issue but in CRM system. That note even cant be implemeneted in ECC 6.0. Any workaround? Is it a BASIS issue here?
    Thanks & Regards,
    SKB

    Hello,
    please check the variant. We had this problem, and when checking the variant I got a shortdump because the variant did not fit to the program (there were problems with subscreens in the selection screen). After adjusting the variant with program RSVARDOC_610 the variant was ok.
    I can not check if this solved the problem because the job runs weekly, and the next job is on Monday. But give it a try...
    HTH,
    Jens Hoetger

  • Error in Control Framework with GUI_DOWNLOAD FM

    Dear All,
    I am using GUI_DOWNLOAD FM to download a file in PDF format to presentation server.
    The code has been written in an enhancement spot in a class "/SCA/CL_SVORDER", method "Print" on an SNC server.
    On execution I get the error "Error in Control Framework".
    First I tht that this has something to do with the data table. But when I tried to pass a simple table of Integers in ASC format, it gave the same error.
    Please assist.
    *----Begin of Code Snippet
    data: fullpath type STRING value 'D:\temp\PO.pdf',
    bin_filesize type I,
    filetype type char10 value 'BIN'.
    bin_filesize = numbytes.
    CALL FUNCTION 'GUI_DOWNLOAD'
      EXPORTING
       BIN_FILESIZE                    = bin_filesize
        filename                        = fullpath
       FILETYPE                        = filetype
    IMPORTING
      FILELENGTH                      =
      tables
        data_tab                        = t_data
      FIELDNAMES                      =
    EXCEPTIONS
       FILE_WRITE_ERROR                = 1
       NO_BATCH                        = 2
       GUI_REFUSE_FILETRANSFER         = 3
       INVALID_TYPE                    = 4
       NO_AUTHORITY                    = 5
       UNKNOWN_ERROR                   = 6
       HEADER_NOT_ALLOWED              = 7
       SEPARATOR_NOT_ALLOWED           = 8
       FILESIZE_NOT_ALLOWED            = 9
       HEADER_TOO_LONG                 = 10
       DP_ERROR_CREATE                 = 11
       DP_ERROR_SEND                   = 12
       DP_ERROR_WRITE                  = 13
       UNKNOWN_DP_ERROR                = 14
       ACCESS_DENIED                   = 15
       DP_OUT_OF_MEMORY                = 16
       DISK_FULL                       = 17
       DP_TIMEOUT                      = 18
       FILE_NOT_FOUND                  = 19
       DATAPROVIDER_EXCEPTION          = 20
       CONTROL_FLUSH_ERROR             = 21
       OTHERS                          = 22
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    *----End of Code Snippet

    Hi!
    I have the same error, but i need to use CSV Format.
    in another program, i used this with XML format.
      lv_xml = lr_element->to_xml( ).
    Converts the string to xstring
      lv_xxml = wd_this->convert_file( lv_xml ).
    Shows it in a new browser window
      *cl_wd_runtime_services=>attach_file_to_response(*
        *i_filename      = lco_filename*
        *i_content       = lv_xxml*
        *i_mime_type     = lco_mime_type*
        *i_in_new_window = abap_FALSE*
        *i_inplace       = abap_false ).*
    Regards!

  • Error in Control Framework in smart forms programms use GUI_DOWNLOAD

    IN VF02 smartforms ENTRY form , I add a function about save PDF at local PC. When I print the smartfomrs,There is ERROR message in update modules.
    IN SM13 can see the ERROR message.
    Function Module: RV_MESSAGE_UPDATE
    Status :Update was terminated
    Error details: FES 022: Error in Control Framework
    I USE GUI_DOWNLOAD FUNCTION  at my code. WHEN I mark it,no error message. I must use the Similar function.
    How do I solve this problem???

    Hello,
    Check the thread:
    Re: Error in Control Framework in smart forms programms
    Regards,
    David

  • Error in Control Framework in smart forms programms

    IN VF02 smartforms ENTRY form , I add a function about save PDF at local PC. When I print the smartfomrs,There is ERROR message in update modules.
    IN SM13 can see the ERROR message. 
    Function Module: RV_MESSAGE_UPDATE
    Status :Update was terminated
    Error details: FES 022: Error in Control Framework
    THE CODE:
    FORM processing USING proc_screen
                    CHANGING cf_retcode.
    ******I ADD THE CODE
           PERFORM DOWNLOAD_AS_PDF USING lf_fm_name
                                         ls_control_param
                                         ls_composer_param
                                         ls_bil_invoice
                                         nast
                                         repeat
                                         ls_bil_invoice-HD_ORG
                                         ls_spoolid
                                    CHANGING cf_retcode
    ENDFORM.
    IN DOWNLOAD_AS_PDF  FORM ,I USE FUNCTION : P_fm_name(smartforms function)   CONVERT_OTF   GUI_DOWNLOAD
    WHY the UPDATE MODULE have ERROR MESSAGE???
    How do I solve this problem???

    Hello,
    Your error message is related to GUI_DOWNLOAD, which is a frontend function.
    You simply cannot use it in background, because it puts a file on the
    frontend PC where you start the function (WS = WorkStation).
    Note that GUI_DOWNLOAD is intendted to be used for dialog user
    and will not run at BACKGROUND.
    You can review SAP Library: ABAP Programming (BC-ABA)
    ->Saving Data Externally
      ->Working with Files
        ->File Handling in ABAP
    Regards,
    David

  • Abap mapping - Error in Control Framework

    Hi Gurus,
    Scenario: IDOC - -- XI -
    Http (post)
    i am using ABAP mapping for IDOC to XML. I am able to test it using sxi_mapping_test which gives me output XML. But, when i test the scenario from RWB, it fails with "SYSFAIL" error in inbound queue as per moni.
    error - "Error in Control Framework".
    Looks like it did not even go to message mapping pipeline step.
    Please help.
    Thank you,
    mk

    HI,
    Hope you have done all the necessary pre-requisites for ABAP mapping
    This may help u- http://help.sap.com/saphelp_47x200/helpdata/en/55/bff20efe8c11d4b54a006094b9456f/content.htm
    just cross verify with this guide-
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e3ead790-0201-0010-64bb-9e4d67a466b4
    Please also try to debug as follows...
    put a break point inside your class/method....
    goto tcode SXI_MAPPING_TEST....give in the configuation details of your scenario...and when you execute, give the IDOC-XML, copy it from SXMB_MONI where you are getting the error....
    when you execute, it shoudl stop at the break point that you had set in your class....continue debugging using 'F6' function key, and check where you are hitting this error...
    The chances are that the FM that converts IDOC-XML to flat file format might not have been executed correctly...
    Thanks
    Swarup

  • Error of Control Framework

    Hi All,
    I am passing input data to RFC,  In input parameters I am passing data to three import parameters and one table parameter of RFC from Web Dynpro. Once I execute it, am getting error "Error in Control Framework,  error key : RFC_Error_System_FAILURE".
    If  anybody aware about it, please guide me.
    Thanks in advance.
    Regards
    Manglesh

    Hi Manglesh,
    Please verify the Jco settings once.
    Please go through the weblog /people/sap.user72/blog/2005/01/08/adaptive-rfc-models-in-web-dynprosome-pointers
    Regards, Anilkumar

  • FES 022: Error in Control Framework(VF01)

    Hi,
       In T.Code VF01 while saving the billing document number it was fine. After saving while pressing the back, cancel or exit button  the system shows the message {{Express document "Update was terminated" received from author "Developer"}}. Kindly help to resolve this issue.
    Thanks and Regards,
    Karthik.V

    Hi,
    While checking SM13 it shows,
    Module Name                                  Message Type     status
    POST_DOCUMENT                                 V1                   Initial
    G_FI_POSTING                                        V1                   Initial
    FI_WT_POST                                          V1                   Initial
    BREAKDOWN_RELATION_INSERT        V1                   Initial
    RV_INVOICE_POST                                V1 (no retry)        Initial
    RV_MESSAGE_UPDATE                        V1                   Error
    MCV_STATISTICS_UPD_V1_INVOICE   V1                   Initial
    MCV_STATISTICS_UPD_V2_INVOICE   V2                   Initial
    MCV_UPDATE_CM_INVOICE                 V1                   Initial
    Also i checked the function module RV_invoice _update. i kept breakpoint inthe fn.Mod and executed vf01 tcode, but the system doesnt go to the debugger. Kindly update the solutions.
    Thanks and regards,
    Karthik.V

  • Control Framework: Fatal error - GUI cannot be reached

    Hello All,
       Iam using BDC for creating a ZCR order throught VA01 - Credit Memo request. When executed in the foreground, it works fine.But when ran in background gives an error message - Control Framework: Fatal error - GUI cannot be reached  and gives a short Dump for 'RAISE_EXCEPTION'.
    Please suggest.

    Normally, BDC should run the same way whether it is in background of Foreground.
    No, BDC does not run  the same way in background and foreground
    To understand BDC in background : different behavior or termination read those OSS notes :
    - [Note 33319 - Batch input: Backgr. runs diff. than in the dialog|https://service.sap.com/sap/support/notes/33319]
    - [Note 311440 - Batch input and controls|https://service.sap.com/sap/support/notes/311440]
    Also this note of interest :
    - [Note 554139 - FAQ 2: Batch input|https://service.sap.com/sap/support/notes/554139]
    Regards,
    Raymond

  • Control Framework: Fatal error - GUI cannot be reached-ALV Grid in Bckgrnd

    I have an ALV grid which dumps in the background. But works fine in the foreground.
    I thought I am not using Control framework anywhere. But I get 'COntrol framework :Fatal error - GU cannot be reached' error.
    I am using a docking container that I have split using a splitter.
    I have no custom container in my screen. What else could be causing the Control framework error ? Any suggestions is appreciated. But please do not tell me to use 'REUSE_ALV*' or Classical reporting
    Here are the PBO modules of my screen and here are my data declarations.
    ALV Data declarations :
    data :gt_sort type lvc_t_sort,
            gr_event_handler TYPE REF TO lcl_event_handler ,
         o_docking type ref to cl_gui_docking_container,"Docking Container
         o_grid type ref to cl_gui_alv_grid,"Grid
         o_split type ref to cl_gui_easy_splitter_container,"Splitter
         o_top_container type ref to cl_gui_container,   "Top Container
         o_bottom_container type ref to cl_gui_container,"Bottom Container
         o_document type ref to cl_dd_document.          "Document
    module status_0100 output.
    if o_docking is initial.
      set pf-status 'ZSTATUS_0100'.
      set titlebar 'ZTITLE_0100'.
    Creating Objects
      perform create_objects.
    Filling top of page
      perform fill_top_of_page.
    Filling the fieldcatalog table
    perform build_fieldcat. "we already got'em
    Displaying the output
      perform display_output.
    endif.
    Here is the Form Create_objects called in the PBO.
    form create_objects .
    Creating Docking Container
      CREATE OBJECT o_docking
             EXPORTING
               RATIO                       = '95'.
      IF sy-subrc eq 0.
    Splitting the Docking container
        CREATE OBJECT o_split
          EXPORTING
           PARENT            = o_docking
           sash_position     = 25 "Position of Splitter Bar (in Percent)
           with_border       = 0. "With Border = 1 Without Border = 0
      Placing the containers in the splitter
        o_top_container = o_split->top_left_container .
        o_bottom_container = o_split->bottom_right_container .
      Creating Grid
        CREATE OBJECT o_grid
          EXPORTING
            i_parent          =  o_bottom_container.
      Creating the document
        CREATE OBJECT o_document
        EXPORTING
            style  = 'ALV_GRID'.
         CREATE OBJECT gr_event_handler .
      ENDIF.
    endform.                    " create_objects
    form fill_top_of_page .
    data : lv_char(255) type c.
    Calling the methods for dynamic text
       CALL METHOD o_document->add_gap
        EXPORTING
          width      = 140.
      CALL METHOD o_document->add_text
        EXPORTING
          text          = 'Plant Attainment Report '
          sap_fontsize  = 'Large'
          sap_color     = cl_dd_area=>list_key_int
          sap_emphasis  = cl_dd_area=>strong. " For bold
    Display the data
      CALL METHOD o_document->display_document
        EXPORTING
           parent             = o_top_container.
    Calling the method of ALV to process top of page
      CALL METHOD o_grid->list_processing_events
        EXPORTING
          i_event_name      = 'TOP_OF_PAGE'
          i_dyndoc_id       = o_document.
    endform.                    " fill_top_of_page
    form display_output .
      gx_variant-report = sy-repid.
      gs_layout-zebra = 'X'.
      gs_layout-sel_mode ='X'.
      gs_layout-cwidth_opt = 'X'.
      call method o_grid->set_table_for_first_display
        exporting
          is_variant      = gx_variant
          i_save          = 'A'
          is_layout       = gs_layout
        changing
          it_fieldcatalog = it_fldcat
          it_outtab       = <gt_tabletotal>.
        IF sy-subrc <> 0.
           MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                       WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDIF.
        SET HANDLER gr_event_handler->handle_print_top_of_page FOR o_grid .
    endform.                    " display_output 
    Edited by: Shareen Hegde on Jul 23, 2009 5:03 PM (I have no clue why 
    .. doesn't work anymore. My code looks messed up..Sorry folks!

    Nilesh,
    If i put all these create objects inside the      IF CL_GUI_ALV_GRID=>OFFLINE( ) IS INITIAL.   ENDIF , will I be still able to use ,
    call method o_grid->set_table_for_first_display
        exporting
          is_variant      = gx_variant
          i_save          = 'A'
          is_layout       = gs_layout
        changing
          it_fieldcatalog = it_fldcat
          it_outtab       = <gt_tabletotal>.
         in background ? WIll I not get - OBJECTS_OBJREF_NOT_ASSIGNED   erorr ?
    How can I call the set_table_for_first_display without creating the object reference ?
    Here is my creat object routine.
    form create_objects .
    * Creating Docking Container
    IF CL_GUI_ALV_GRID=>OFFLINE( ) .
      CREATE OBJECT o_docking
             EXPORTING
               RATIO                       = '95'.
      IF sy-subrc eq 0.
    * Splitting the Docking container
        CREATE OBJECT o_split
          EXPORTING
           PARENT            = o_docking
           sash_position     = 25 "Position of Splitter Bar (in Percent)
           with_border       = 0. "With Border = 1 Without Border = 0
    *   Placing the containers in the splitter
        o_top_container = o_split->top_left_container .
        o_bottom_container = o_split->bottom_right_container .
    *   Creating Grid
        CREATE OBJECT o_grid
          EXPORTING
            i_parent          =  o_bottom_container.
    *   Creating the document
        CREATE OBJECT o_document
        EXPORTING
            style  = 'ALV_GRID'.
         ENDIF.
         CREATE OBJECT gr_event_handler .
    endif.
    endform.                    " create_objects

  • User- Control Framework: Fatal error - GUI cannot be reached

    Hi,
    I am currently working on a Project , were I am facing an issue.
    I have Inbound IDoc which come, runs a BDC and then Packs HU via transaction VT02N.
    The Problem is when I or some user manually trigger this IDoc via WE19 the code works fine,
    But when an external system sends an IDoc we have system user which does the processing and while doing so it gives out an message "User- Control Framework: Fatal error - GUI cannot be re", we cannot debug this. I managed to capture all system message and save them in a file.
    Could some one kindly help me with this.
    Br,
    AmiT

    hi.
    you are correct , we have used call transaction in N mode,
    But initially it used to work and suddenly its behaving like this.
    Br,
    AmiT

  • Control Framework tree control event not trigerring

    The event handle_node_double_click is not trigerring on the tree controls . I want to display the contents of the nodes on the text editor on trigerring of this event
    *& Report  ZCONTROLS_TREE_TEDIT_SPITTER
    REPORT  zcontrols_tree_tedit_spitter.
    DATA : editor TYPE REF TO cl_gui_textedit,
           tree   TYPE REF TO cl_gui_simple_tree.
    DATA : container TYPE REF TO cl_gui_custom_container,
           splitter  TYPE REF TO cl_gui_easy_splitter_container,
           right     TYPE REF TO cl_gui_container,
           left      TYPE REF TO cl_gui_container.
    DATA : node_itab LIKE node_str OCCURS 0.
          CLASS EVENT_HANDLER DEFINITION
    CLASS event_handler DEFINITION.
      PUBLIC SECTION.
        METHODS : handle_node_double_click
                  FOR EVENT NODE_DOUBLE_CLICK OF cl_gui_simple_tree
                  IMPORTING node_key.
    ENDCLASS.                    "EVENT_HANDLER DEFINITION
          CLASS EVENT_HANDLER IMPLEMENTATION
    CLASS event_handler IMPLEMENTATION.
      METHOD handle_node_double_click.
      perform node_double_click using node_key.
      ENDMETHOD.                    "HANDLE_NODE_DOUBLE_CLICK
    ENDCLASS.                    "EVENT_HANDLER IMPLEMENTATION
    data : handler1 type ref to event_handler.
    START-OF-SELECTION.
      CALL SCREEN 9001.
    *&      Module  start  OUTPUT
          text
    MODULE start OUTPUT.
      SET PF-STATUS 'ZSTAT1'.
      IF container IS INITIAL.
        CREATE OBJECT container
          EXPORTING
             container_name              = 'CONTAINER_NAME'
          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 splitter
          EXPORTING
            parent            = container
            orientation       = 1
            name              = 'Mohit'
          EXCEPTIONS
            cntl_error        = 1
            cntl_system_error = 2
            OTHERS            = 3
        IF sy-subrc <> 0.
          MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                     WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        ENDIF.
        left  = splitter->top_left_container.
        right = splitter->bottom_right_container.
        CREATE OBJECT editor
          EXPORTING
            parent                 = right
            name                   = 'MohitEditor'
          EXCEPTIONS
            error_cntl_create      = 1
            error_cntl_init        = 2
            error_cntl_link        = 3
            error_dp_create        = 4
            gui_type_not_supported = 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 tree
          EXPORTING
            parent                      = left
            node_selection_mode         = tree->node_sel_mode_single
            name                        = 'MohitTree'
          EXCEPTIONS
            lifetime_error              = 1
            cntl_system_error           = 2
            create_error                = 3
            failed                      = 4
            illegal_node_selection_mode = 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.
        PERFORM fill_tree.
        CALL METHOD tree->add_nodes
          EXPORTING
            table_structure_name           = 'NODE_STR'
            node_table                     = node_itab
          EXCEPTIONS
            error_in_node_table            = 1
            failed                         = 2
            dp_error                       = 3
            table_structure_name_not_found = 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.
      create object handler1.
      set handler handler1->handle_node_double_click for tree.
      ENDIF.
    ENDMODULE.                 " start  OUTPUT
    *&      Module  USER_COMMAND_9001  INPUT
          text
    MODULE user_command_9001 INPUT.
      CALL METHOD cl_gui_cfw=>dispatch.
    ENDMODULE.                 " USER_COMMAND_9001  INPUT
    *&      Form  fill_tree
          text
    -->  p1        text
    <--  p2        text
    FORM fill_tree .
      DATA : node LIKE node_str.
      CLEAR node.
      node-node_key = 'head_mohit'.
      node-isfolder = 'X'.
      node-text = 'Mohit'.
      APPEND node TO node_itab.
      CLEAR node.
      node-node_key = 'Child1'.
      node-relatkey = 'head_mohit'.
      node-relatship = cl_gui_simple_tree=>relat_last_child.
      node-text = 'Mohit is the best '.
      APPEND node TO node_itab.
      CLEAR node.
      node-node_key = 'Child2'.
      node-relatkey = 'head_mohit'.
      node-relatship = cl_gui_simple_tree=>relat_last_child.
      node-text = 'Mohit is the bestest '.
      APPEND node TO node_itab.
      CLEAR node.
      node-node_key = 'head_JAIN'.
      node-isfolder = 'X'.
      node-text = 'jAIN'.
      APPEND node TO node_itab.
      CLEAR node.
      node-node_key = 'Child3'.
      node-relatkey = 'head_JAIN'.
      node-relatship = cl_gui_simple_tree=>relat_next_sibling.
      node-text = 'cnh INDIA '.
      APPEND node TO node_itab.
      CLEAR node.
      node-node_key = 'Child4'.
      node-relatkey = 'head_JAIN'.
      node-relatship = cl_gui_simple_tree=>relat_last_child.
      node-text = 'SAP  '.
      APPEND node TO node_itab.
    ENDFORM.                    " fill_tree
    *&      Form  node_double_click
          text
         -->P_NODE_KEY  text
    form node_double_click  using  p_node_key type TV_NODEKEY.
    DATA : node LIKE node_str.
    DATA textline(256).
    DATA text_table LIKE STANDARD TABLE OF textline.
    READ TABLE node_itab WITH KEY node_key = p_node_key
                             INTO node.
    endform.                    " node_double_click
    *&      Module  exit  INPUT
          text
    module exit input.
    CASE sy-ucomm.
        WHEN 'EXIT'.
          LEAVE PROGRAM.
    ENDCASE.
    endmodule.                 " exit  INPUT

    Hello Mohit
    Here is a sample routine (taken from BCALV_TREE_02) which you have to add and adapt for your report. It does two things:
    1. Register events that should be handled (required but not sufficient for event handling)
    2. Set event handler for registered events
    The first step is different from ALV grid controls because here all events are already registered with the control (not the control framework).
    Set the event handler (statement SET HANDLER) registers the event handling with the control framework.
    FORM register_events.
    *§4. Event registration: tell ALV Tree which events shall be passed
    *    from frontend to backend.
      DATA: lt_events TYPE cntl_simple_events,
            l_event TYPE cntl_simple_event,
            l_event_receiver TYPE REF TO lcl_tree_event_receiver.
    *§4a. Frontend registration(i):  get already registered tree events.
    * The following four tree events registers ALV Tree in the constructor
    * method itself.
    *    - cl_gui_column_tree=>eventid_expand_no_children
    * (needed to load data to frontend when a user expands a node)
    *    - cl_gui_column_tree=>eventid_header_context_men_req
    * (needed for header context menu)
    *    - cl_gui_column_tree=>eventid_header_click
    * (allows selection of columns (only when item selection activated))
    *   - cl_gui_column_tree=>eventid_item_keypress
    * (needed for F1-Help (only when item selection activated))
    * Nevertheless you have to provide their IDs again if you register
    * additional events with SET_REGISTERED_EVENTS (see below).
    * To do so, call first method  GET_REGISTERED_EVENTS (this way,
    * all already registered events remain registered, even your own):
    call method g_alv_tree->get_registered_events
          importing events = lt_events.
    * (If you do not these events will be deregistered!!!).
    * You do not have to register events of the toolbar again.
    *§4b. Frontend registration(ii): add additional event ids
      l_event-eventid = cl_gui_column_tree=>eventid_node_double_click.
      APPEND l_event TO lt_events.
    *§4c. Frontend registration(iii):provide new event table to alv tree
      CALL METHOD g_alv_tree->set_registered_events
        EXPORTING
          events = lt_events
        EXCEPTIONS
          cntl_error                = 1
          cntl_system_error         = 2
          illegal_event_combination = 3.
      IF sy-subrc <> 0.
        MESSAGE x208(00) WITH 'ERROR'.     "#EC NOTEXT
      ENDIF.
    *§4d. Register events on backend (ABAP Objects event handling)
      CREATE OBJECT l_event_receiver.
      SET HANDLER l_event_receiver->handle_node_double_click FOR g_alv_tree.
    ENDFORM.                               " register_events
    Regards
      Uwe

  • Error creating CONTROL FILE

    I have a problem while installing 9iAS R2 on RH LInux 8.
    When database configuration assistant starts during the installation of 9iAS infrastructure, it gives an error "Error creating CONTROL FILE" followed by many other errors.
    Please help me out.
    Zulqarnain

    I had the same problem, but with RH9
    To fix, I ran orapwd from the $ORACLE_HOME/bin directory to create a password file called orapw. Then I moved this file to the directory where the configuration assistant complains it cannot find the file. Fixed. Obviously, just ignore the errors from the configuration assistant about the CONTROL FILE until it tells you the location of the file it is looking for.

  • Error in Control in eCATT

    Hey,
    I recorded a test script which involved recording of some values in GridView Control. I was using SAPGUI(record). The recording went fine but as i executed the test case it resulted in an error saying ..
    Error in eCATT function SAPGUI
    Error in Control
    The error is pointing to the screen where it has to start entering values in the grid. The execution stops there and gives me the error as stated above.
    I am Using Solution Manager 3.2 with Web AS 6.20 to run eCATT. My SAP GUI is 6.40 with Patch level 8. Is there any limitations as such on Grid Control or some setting which might be missing. Please help me out ASAP.
    Regards,
    Bilal Nazir

    Hey Sasmita,
    Well I did a lot of research on it on my own and created quite a number of test cases and was finally able to deduce what actually the problem is.
    This problem occured to me when the visibility of the controls especially Grids was dependent on the input data. Usually what happened was that upon recording the follow of screens that actually occured was not happening upon Replay. It was basically because of the state the screen is in when we leave a transaction. I changed the setting to "Do not Close Session upon Completion" so that i had the replay session available to me at the end or Replay. And i saw that the screen was not at the state that it should be. So what I did was changed the screen state on to which it should be at that time and then left the transaction. Now when i Replayed the test case next time it executed perfectly without any errors.
    So basically the problem lies within just the dynamic controls and what we have to ensure is that before we replay the script we exit that transaction from a state which we want it to be in upon replay.
    Regards,
    Bilal Nazir

  • Error in Control - Error

    Hello,
    Can someone please explain what this error means "Error in Control"? I am using SAPGUI command to record and execute. I create a custom document and once created that doc appears in the grid on the upper half of the screen. I click on the created document to check/change values of different columns. Now while recording the click operation opens the document i created however while executing it does not open the document created. It opens some other document which is there in the grid.
    command editor contains following information
    Userchanged State
    GuiElement Shell GuiShell GridView
        Name Shell
        Type GUI Shell
        SubType Grid View
        State
             currentCellRow
                 Name CurrentCellRow
                 value[1]5
             clickCurrentCell.
    And I get the Error In Control message while executing.
    Thanks,
    GS

    >
    Rajeev Chavan wrote:
    > Hello,
    >
    > Can someone please explain what this error means "Error in Control"? I am using SAPGUI command to record and execute. I create a custom document and once created that doc appears in the grid on the upper half of the screen. I click on the created document to check/change values of different columns. Now while recording the click operation opens the document i created however while executing it does not open the document created. It opens some other document which is there in the grid.
    >
    > command editor contains following information
    > Userchanged State
    >  GuiElement Shell GuiShell GridView
    >     Name Shell
    >     Type GUI Shell
    >     SubType Grid View
    >     State
    >          currentCellRow
    >              Name CurrentCellRow
    >              value[1]5
    >          clickCurrentCell.
    >
    > And I get the Error In Control message while executing.
    >
    > Thanks,
    > GS
    Hi,
    The issue is only due to some unexpected screen sequence.
    What can be done to solve this?
    1)Check the flow and you can activate the highlighting feature while executing and you can identify the error where it goes wrong?
    2)You may need to re-record with maximum options.You have to make few screens optional.
    This will solve your issue.
    Regards,
    Senthil

Maybe you are looking for