Strange error while pressing a button

Hello. I am having trouble when clicking on a button... it gives me the following error and I have no idea what this means.
- Thank you
Franklin Angulo
javax.servlet.ServletException: "{2}" Conversion Error setting value ''{0}'' for ''{1}''.
     org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:824)
     org.apache.jasper.runtime.PageContextImpl.access$1100(PageContextImpl.java:69)
     org.apache.jasper.runtime.PageContextImpl$12.run(PageContextImpl.java:747)
     java.security.AccessController.doPrivileged(Native Method)
     org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:745)
     org.apache.jsp.opcventan_jsp._jspService(opcventan_jsp.java:78)
     org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:102)
     javax.servlet.http.HttpServlet.service(HttpServlet.java:861)
     org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:282)
     org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:263)
     org.apache.jasper.servlet.JspServlet.service(JspServlet.java:210)
     javax.servlet.http.HttpServlet.service(HttpServlet.java:861)
     sun.reflect.GeneratedMethodAccessor213.invoke(Unknown Source)
     sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     java.lang.reflect.Method.invoke(Method.java:324)
     org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:246)
     java.security.AccessController.doPrivileged(Native Method)
     javax.security.auth.Subject.doAsPrivileged(Subject.java:500)
     org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:268)
     org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:162)
     java.security.AccessController.doPrivileged(Native Method)
     java.security.AccessController.doPrivileged(Native Method)
     com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:322)
     com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:147)
     com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
     com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
     com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
     javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
     sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
     sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     java.lang.reflect.Method.invoke(Method.java:324)
     org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:246)
     java.security.AccessController.doPrivileged(Native Method)
     javax.security.auth.Subject.doAsPrivileged(Subject.java:500)
     org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:268)
     org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:162)
root cause
java.lang.IllegalArgumentException: "{2}" Conversion Error setting value ''{0}'' for ''{1}''.
     com.sun.faces.util.Util.getSelectItems(Util.java:642)
     com.sun.faces.renderkit.html_basic.MenuRenderer.getOptionNumber(MenuRenderer.java:488)
     com.sun.faces.renderkit.html_basic.MenuRenderer.renderSelect(MenuRenderer.java:465)
     com.sun.faces.renderkit.html_basic.MenuRenderer.encodeEnd(MenuRenderer.java:430)
     javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:712)
     javax.faces.webapp.UIComponentTag.encodeEnd(UIComponentTag.java:616)
     javax.faces.webapp.UIComponentTag.doEndTag(UIComponentTag.java:539)
     com.sun.faces.taglib.html_basic.SelectOneMenuTag.doEndTag(SelectOneMenuTag.java:505)
     org.apache.jsp.opcventan_jsp._jspx_meth_h_selectOneMenu_0(opcventan_jsp.java:288)
     org.apache.jsp.opcventan_jsp._jspx_meth_h_form_0(opcventan_jsp.java:150)
     org.apache.jsp.opcventan_jsp._jspx_meth_f_view_0(opcventan_jsp.java:110)
     org.apache.jsp.opcventan_jsp._jspService(opcventan_jsp.java:71)
     org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:102)
     javax.servlet.http.HttpServlet.service(HttpServlet.java:861)
     org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:282)
     org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:263)
     org.apache.jasper.servlet.JspServlet.service(JspServlet.java:210)
     javax.servlet.http.HttpServlet.service(HttpServlet.java:861)
     sun.reflect.GeneratedMethodAccessor213.invoke(Unknown Source)
     sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     java.lang.reflect.Method.invoke(Method.java:324)
     org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:246)
     java.security.AccessController.doPrivileged(Native Method)
     javax.security.auth.Subject.doAsPrivileged(Subject.java:500)
     org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:268)
     org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:162)
     java.security.AccessController.doPrivileged(Native Method)
     java.security.AccessController.doPrivileged(Native Method)
     com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:322)
     com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:147)
     com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
     com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
     com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
     javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
     sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
     sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     java.lang.reflect.Method.invoke(Method.java:324)
     org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:246)
     java.security.AccessController.doPrivileged(Native Method)
     javax.security.auth.Subject.doAsPrivileged(Subject.java:500)
     org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:268)
     org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:162)
note

What other components do you have on your form?
When you click a button that typically submits the form, at which time converters and validators will be applied to you inputtext and dropdown components etc.
Looking at your messages, something with select items looks like it could be the issue - do you have a dropdown or some other list component?
if you don't want the converters/validators to be triggered, you can set the immediate property on the button itself... this is something we do at times when the button will navigate to another form and the validation is not needed (we intend to discard the values anyway).
hyh,
Val

Similar Messages

  • Urgent: getting error while pressing SAVE button on final grid screen

    Hi ABAPers,
          please help me to sort this problem, i want to save the records selected by the user to database table. but when i m pressing save on o/p grid screen its giving error as GETWA_NOT_ASSIGNED.
    This is my code
    TABLES: plaf,
            mara,
            makt,
            zcdr_d.
    Type Pools for ALV *************************************
    TYPE-POOLS: SLIS,
                ABAP.
    TYPES DECLARATION ************************************
    TYPES:
    ******Types declaration for the plaf
    BEGIN OF ty_plaf,
    plnum TYPE plaf-plnum,
    matnr TYPE plaf-matnr,
    END OF ty_plaf,
    ******Types declaration for the makt
    BEGIN OF ty_makt,
    maktx TYPE makt-maktx,
    END OF ty_makt.
    INTERNAL TABLE DECLARATION ***************************
    DATA:
    *---internal table for the type ty_plaf
    it_plaf TYPE TABLE OF ty_plaf,
    *---internal table for the type t_bseg
    it_makt TYPE TABLE OF ty_makt,
    *---internal table for fieldcat
    it_fcat TYPE TABLE OF slis_fieldcat_alv WITH NON-UNIQUE DEFAULT KEY
    WITH HEADER LINE INITIAL SIZE 0,
    *it_fcat1 TYPE TABLE OF slis_fieldcat_alv WITH NON-UNIQUE DEFAULT KEY
    *WITH HEADER LINE INITIAL SIZE 0,
    *---internal table for alv events
    it_events TYPE TABLE OF slis_alv_event WITH NON-UNIQUE DEFAULT KEY
    WITH HEADER LINE INITIAL SIZE 0,
    *it_events1 TYPE TABLE OF slis_alv_event WITH NON-UNIQUE DEFAULT KEY
    *WITH HEADER LINE INITIAL SIZE 0,
    *---final Internal table
    BEGIN OF it_final OCCURS 0,
    plnum LIKE plaf-plnum,
    sel TYPE C,
    matnr LIKE plaf-matnr,
    maktx LIKE makt-maktx,
    END OF it_final,
    BEGIN OF it_zcdr_d OCCURS 0,
    DSEL TYPE C,
            CBOOKNO LIKE zcdr_d-CBOOKNO,
            PLNUM LIKE zcdr_d-plnum,
            MATNR LIKE zcdr_d-matnr,
            MAKTX LIKE zcdr_d-maktx,
    END OF it_zcdr_d,
    *-------to pass the internal table data to database table
    itab TYPE TABLE OF zcdr_d with header line,
    it_save TYPE TABLE OF zcdr_d with header line.
    WORK AREA DECLARATION ********************************
    DATA:
    *---workarea for the type ty_plaf
    wa_plaf TYPE ty_plaf,
    *---workarea for the type ty_makt
    wa_makt TYPE ty_makt,
    *---workarea for the fieldcatalog
    wa_fcat TYPE slis_fieldcat_alv,
    wa_final LIKE LINE OF it_final,
    *---WORKAREA FOR THE PROCESSED DOCUMENT
    wa_zcdr_d LIKE LINE OF it_zcdr_d,
    *---LAYA OUT DECLARATION
    wa_layout TYPE slis_layout_alv.
    *---LAYA OUT DECLARATION
    *wa_layout1 TYPE slis_layout_alv.
    Variables DECLARATION ********************************
    DATA: v_repid LIKE SY-REPID,
               v_hkont LIKE bseg-hkont,
               v_pifno(16) TYPE C,
               v_pifdat LIKE SY-DATUM,
               v_pif(6) TYPE C,
               Field_Cat type Slis_T_fieldcat_alv with HEADER LINE,
               List_Top_Of_Page type Slis_T_Listheader.
    PARAMETERS ****************************************
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME.
    PARAMETERS : CBOOKNO(16) TYPE n OBLIGATORY.      "Customs Book number
    SELECTION-SCREEN END OF BLOCK b1.
    SELECT OPTION ****************************************
    SELECTION-SCREEN : BEGIN OF BLOCK blk WITH FRAME TITLE text-001.
    SELECTION-SCREEN SKIP 1.
    SELECT-OPTIONS:
    Date
    so_pertr for plaf-pertr,
    Material
    so_matnr for plaf-matnr,
    Material Group
    so_matkl for mara-matkl,
    Plant
    so_plwrk for plaf-plwrk OBLIGATORY,
    Sales Order
    so_kdauf for plaf-kdauf.
    SELECTION-SCREEN : END OF BLOCK blk.
    LOAD OF PROGRAM ***************************************
    *LOAD-OF-PROGRAM.
    *IF sy-tcode NE text-002. "Condition for TCode Check
    MESSAGE 'RUN THROUGH THE TRANSACTION CODE' TYPE 'X'.
    *ENDIF. "End Condition for TCode
    INITIALIZATION ****************************************
    INITIALIZATION.
    PERFORM CLEAR_DATA.
    CLEAR: wa_layout.
    START-OF-SELECTION *************************************
    START-OF-SELECTION.
    *-------Getting the data from database
    PERFORM GET_DATA.
    *-------Populating field catalog
    PERFORM populate_fieldcatalog.
    PERFORM set_events USING it_events[].
    PERFORM top_of_page.
    *------Processing the Data and Moving to final Internal Table
    *PERFORM PROCESS_DATA.
    *------Displaying the data in the Output
    PERFORM DISPLAY_OUTPUT.
    *end-of-SELECTION.
    *call screen 0500.
    **&      Module  d0100_set_status  OUTPUT
          text
    *module d0500_set_status output.
    data : rt_extab TYPE slis_t_extab.
    perform set_pf_status USING rt_extab.
    *endmodule.                 " d0100_set_status  OUTPUT
    *module d0100_fcode input.
    perform user_command.
    *endmodule.                 " d0100_fcode  INPUT
    form CLEAR_DATA .
    **CLEARDING THE TABLES AND WORK AREAS
    CLEAR: it_plaf[],
    it_makt[],
    wa_plaf,
    wa_makt.
    endform. " CLEAR_DATA
    *& Form GET_DATA
    text
    --> p1 text
    <-- p2 text
    form populate_fieldcatalog.
      DATA: L_POS TYPE I.
    FIELD_CAT-COL_POS   = L_POS.
    L_POS = L_POS + 1.
    CLEAR FIELD_CAT.
    field_cat-SELTEXT_M = 'Planned Order Nos.'.
    field_cat-tabname = wa_final.
    field_cat-fieldname = 'PLNUM'.
    append field_cat.
    FIELD_CAT-COL_POS   = L_POS.
    L_POS = L_POS + 1.
    CLEAR FIELD_CAT.
    *field_cat-checkbox = 'X'.
    field_cat-SELTEXT_M = 'Check Box'.
    Field_Cat-outputlen = '1'.
    field_cat-tabname = wa_final.
    field_cat-checkbox  = abap_true.
    field_cat-edit = abap_true.
    field_cat-fieldname = 'CHK'.
    append field_cat.
    FIELD_CAT-COL_POS   = L_POS.
    L_POS = L_POS + 1.
    CLEAR FIELD_CAT.
    field_cat-SELTEXT_M = 'Material'.
    field_cat-tabname = wa_final.
    field_cat-fieldname = 'MATNR'.
    append field_cat.
    FIELD_CAT-COL_POS   = L_POS.
    L_POS = L_POS + 1.
    CLEAR FIELD_CAT.
    field_cat-SELTEXT_M = 'Material Description'.
    field_cat-tabname = wa_final.
    field_cat-fieldname = 'MAKTX'.
    append field_cat.
    endform. "  build_fieldcatalog
    form GET_DATA .
    SELECT
              a~PLNUM
              a~MATNR
              b~MAKTX
              c~matkl
              INTO CORRESPONDING FIELDS OF TABLE it_final
              FROM plaf as a
              Inner join makt as b
              on amatnr  = bmatnr
              Inner join mara as c
              on cmatnr = bmatnr
              where a~pertr in so_pertr
                    or a~matnr in so_matnr
                    or c~matkl in so_matkl
                    or a~kdauf in so_kdauf
                    or a~plwrk in so_plwrk.
    SORT it_final by plnum.
    endform. " GET_DATA
    FORM TOP_OF_PAGE.
      CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
        EXPORTING
          IT_LIST_COMMENTARY = List_Top_Of_Page.
      ENDFORM.
    form DISPLAY_OUTPUT .
    DATA:   repid LIKE sy-REPID,
            Eventcat type Slis_T_Event,
            LAYOUT TYPE SLIS_LAYOUT_ALV.
        LAYOUT-COLWIDTH_OPTIMIZE = 'X'.
        LAYOUT-ZEBRA = 'X'.
    repid = sy-repid.
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
    EXPORTING
      I_INTERFACE_CHECK                 = ' '
      I_BYPASSING_BUFFER                = ' '
      I_BUFFER_ACTIVE                   = ' '
      I_CALLBACK_PROGRAM                  =  repid
       I_CALLBACK_PF_STATUS_SET          = 'SET_PF_STATUS'
       I_CALLBACK_USER_COMMAND           = 'USER_COMMAND'
       I_CALLBACK_TOP_OF_PAGE            = 'TOP_OF_PAGE'
      I_CALLBACK_HTML_TOP_OF_PAGE       = ' '
      I_CALLBACK_HTML_END_OF_LIST       = ' '
      I_STRUCTURE_NAME                  =
      I_BACKGROUND_ID                   = ' '
      I_GRID_TITLE                      = 'PLANNED ORDERS'
      I_GRID_SETTINGS                   =
      IS_LAYOUT                         = layout
       IT_FIELDCAT                       = Field_Cat[]
      IT_EXCLUDING                      =
      IT_SPECIAL_GROUPS                 =
      IT_SORT                           =
      IT_FILTER                         =
      IS_SEL_HIDE                       =
       I_DEFAULT                         = 'X'
       I_SAVE                            = 'X'
      IS_VARIANT                        =
      IT_EVENTS                         = IT_EVENTS[]
      TABLES
        T_OUTTAB                          = it_final
    EXCEPTIONS
      PROGRAM_ERROR                      = 1
       OTHERS                            = 2
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    ENDFORM.
    FORM set_events USING it_events TYPE slis_t_event.
    DATA: x_event TYPE LINE OF slis_t_event.
    clear x_event.
    x_event-name = 'USER_COMMAND'.
    x_event-form = 'USER_COMMAND'.
    append x_event to it_events.
    CLEAR x_event.
    call function 'REUSE_ALV_EVENTS_GET'
      EXPORTING
        I_LIST_TYPE           = 0
      IMPORTING
        ET_EVENTS             = IT_EVENTS
      EXCEPTIONS
        LIST_TYPE_WRONG       = 1
        OTHERS                = 2
    if sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    endif.
    read table it_events into x_event with key name = 'USER_COMMAND'.
          if sy-subrc = 0.
          x_event-form = 'USER_COMMAND'.
          modify it_events from x_event index sy-tabix transporting form .
          endif.
    ENDFORM.
    FORM set_pf_status USING rt_extab TYPE slis_t_extab.
    SET PF-STATUS 'Z_PFSTAT'.
    ENDFORM. "set_pf_status
    *& Form user_command
    text
    -->R_UCOMM text
    -->RS_SELFIELDtext
    FORM user_command USING
             r_ucomm TYPE sy-ucomm
             rs_selfield TYPE slis_selfield. "#EC *
    if r_ucomm = '&DATA_SAVE' .
    LOOP AT it_final INTO wa_final.
    IF wa_final-sel EQ 'X'.
    MOVE: wa_final-plnum TO it_save-plnum,
    wa_final-matnr TO it_save-matnr,
    wa_final-maktx TO it_save-maktx,
    v_pifno TO it_save-CBOOKNO,
    SY-MANDT TO it_save-mandt.
    MOVE it_save to zcdr_d.
    *INSERT zcdr_d.
    *if l_valid = 'X'.
    MODIFY zcdr_d FROM TABLE it_save.
    endif.
    ENDLOOP.
    IF it_save is initial.
    MESSAGE 'Select Atleast one Check Box' TYPE 'E' .
    ELSE.
    *CONCATENATE 'Number ' V_PIFNO ' Genrated'
    IF SY-SUBRC EQ 0.
    MESSAGE S001(zcdr_d) WITH 'Number ' CBOOKNO ' Genrated'.
    ENDIF.
    endif.
    ENDFORM.

    Thanks a lot for the reply Kiran, but i have already checked it, but its the same one. In debugging mode its going for error when there is a call for method like: 
    call method gt_grid-grid->set_function_code
          changing
            c_ucomm = l_okcode.
    so i dont know where is the problem. & this is in PAI module of the system program.
    Thanks
    Pankaj

  • Error while updating phone button template in CUCM 8.6

    Experts,
    I'm getting following error while updating phone button template in CUCM 8.6;
    Update failed. java.sql.SQLException: System catalog (sysprocbody) corrupted.
    Please check the screen shot attached here with.
    What could be the reason?
    Thanks
    Vivek

    I'm not a Cisco employee, so I can't do anything with your backup.!
    You need to take a backup as a precaution (You should have been doing this anyway) Then you need to call Cisco TAC to get the underlying problem fixed. CalManager is a locked-down environment, and only TAC can get the low-level access needed to fix database problems.
    GTG

  • Strange error while executing a stored procedure: Incorrect syntax near '@p0'

    All, I am getting a strange error while executing a stored procedure: Incorrect syntax near '@p0'  using JDBC CallableStatment.
    Here is my code...
    CallableStatement cStmt = con.prepareCall("{call SET CHAINED ON EXEC <dbName>.<schemaName>.<SPName> (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)}");
    cStmt.setString(1, "2012005881");
    cStmt.setString(2, "07");
    cStmt.setString(3, "10");
    cStmt.setString(4, "Case title");
    cStmt.setString(5, "Open");
    java.sql.Date dt1 = new java.sql.Date(2014,10,20);
    cStmt.setDate(6, dt1);
    cStmt.setString(7, "01");
    cStmt.setString(8, "N");
    cStmt.setString(9, "ADA Test");
    cStmt.setString(10, "N");
    cStmt.setString(11, "English");
    cStmt.setString(12, "N");
    cStmt.setString(13, "N");
    cStmt.setString(14, "N");
    cStmt.setString(15, "N");
    cStmt.setString(16, "N");
    cStmt.setString(17, "N");
    cStmt.setString(18, "07");
    cStmt.setString(19, "10");
    cStmt.setString(20, "juache0");
    java.sql.Date dt2 = new java.sql.Date(2014,10,20);
    java.sql.Date dt3 = new java.sql.Date(2014,10,20);
    cStmt.setDate(21, dt2);
    cStmt.setDate(22, dt3);
    cStmt.setString(23, "userid0");
    cStmt.setString(24, "");
    cStmt.setString(25, "");  
    cStmt.setString(26, "");
    java.math.BigDecimal bg1 = new java.math.BigDecimal(10);
    cStmt.setBigDecimal(27, bg1);
    cStmt.setString(28, "userid");
    cStmt.setString(29, "userid");
    int hadResults = cStmt.executeUpdate();
    Your help is greatly appreciated.
    I am executing the above using Jconnect3.0 driver, inside WebSphere Application Server V8.0
    Thanks
    Nags

    NOTE: I don't work with JDBC/jConnect so (at this point) just some questions ...
    1 - are you sending this to ASE, ASA, IQ, or some other RDBMS?
    2 - what is the value of <schemaname>?
    3 - do you have other prepareCall() instances that successfully call a stored proc? [would be interesting to see if there's a difference in the format of the calls]
    A quick google search shows a couple ways to submit a stored proc execution to the RDBMS, with the format depending on the format expected by the target RDBMS.
    I'm wondering if you really need/want the parentheses around the argument list, ie, what happens if you change
    from
    -- parentheses around args
    EXEC <dbName>.<schemaName>.<SPName> ( ?,?,?,?,?,...,? )
    to
    -- no parentheses around args
    EXEC <dbName>.<schemaName>.<SPName> ?,?,?,?,?,...,?
    In ASE if I wrap the parameters in parentheses I get the same error you're getting:
    ================== w/ parentheses => error
    1> sp_who (sa)
    2> go
    Msg 102, Level 15, State 1:
    Server 'CC1_V1', Line 1:
    Incorrect syntax near 'sa'.   <<=== sa == @p0 ??
    ================== w/out parentheses => works
    1> sp_who sa
    2> go
    fid spid status  loginame origname ...
       0   17 running sa       sa       ...
    ==================

  • While Pressing the button i want to skip first screen in standard screen.

    Hello All,
    I need to create a z Program and call a screen variant of a standard transaction in it.
    I am calling a screen variant of transaction PA70 to hide some of the fields of the screen.
    Also the first screen is supressed.
    My requirement is while pressing back button it should not come on the first screen.
    while if i am doing the same thing with Transaction PA20 it is not coming back to first screen.
    How can i supress this first screen while coming back?
    Regards.

    Hi,
    Use:
    "set al the field values on the initial screen of the transaction and then use
    CALL TRANSACTION '<t-code>' AND SKIP FIRST SCREEN.
    Now you will be navigated to second screen of the transaction, when you click, you will be navigated to your program selection screen.
    Hope this helps you.
    Regards,
    Tarun

  • Am having major issues! this does not work i dont understand..does the ipod have to be off while pressing the buttons if so how is it possible if it is connected to the computer either way it turns on..and when i tried these steps while the ipod was on it

    i am having major issues! this does not work i dont understand..does the ipod have to be off while pressing the buttons if so how is it possible if it is connected to the computer either way it turns on..and when i tried these steps while the ipod was on it still doesnt  work it just asks me “slide to power off” please someone help me i just cant seem to put my ipod in DFU mode

    To get the iPod in recovery mode and DFU mode you first have to turn the iPod off.
    Just what is the problem you are tying to resolve?
    Sometimes you have to let the battery fully drain if you can't turn the iPod off. After charging for at least hour try again.

  • Bex Analizer - while pressing "Open" button or any other there is no action

    Hello,
    We have a problem with Bex Analizer application installed on a certain computers (for example Dell 520 laptop or Dell GX 755 desktop computer). After installation there is no possibility to initiate application.
    The instalation ends successfully. I am choosing Start -->  Programs --> Bussiness Explorer --> Analyzer. The correct excel window with Bex Analyzer belt on the left side of the window appears. While pressing u201EOpenu201D button or any other button belonging to Bex Analizer, there is no any program action.
    Computer with this Bex Analizer problem has WinXP, Office 2003 installation, gui patch no. 13 (file: gui710_13-10002995.exe)  and BEX patch (file: bi710sp09p_902-10004472.exe). These files are also installed on other computers (for example Dell 630 laptop) and Bex Analizer works there correctly.
    Waiting for your reply.
    Adam Pikula

    Hi,
    Please try the following....
    Uninstall:
    .NET Framework, if this is not 2.0
    SAP GUI
    Install:
    .NET Framework 2.0
    SAP GUI 710 - install GUI and Business Explorer
    GUI path 11
    BI Add - on for GUI "bi710sp09p_902-10004472.exe"
    Other Way:
    Applying the patch attached to the OSS Note 1121263 - BEx Analyzer 7.10
    Applying the Microsoft patch : http://support.microsoft.com/kb/908002/
    Rgds,
    Murali

  • Error while submitting a BUTTON defined on Page 0

    Hi,
    I am creating a Feedback/Rating region (user will select from rating 1, 2, ... 4, 5 ) and the response will be stored in database table.
    - I have created the Region at Page 0 (my requirement is to display this at all the Pages).
    This region consist of a radio item (1,2,3,4,5) and a Submit button.
    - P0_RATING (radiogroup)
    - P0_SUBMIT (button)
    I have created a Application Process which does the INSERT into the database table with the following properties.
    - OnSubmit - After page submission (After computation and validation)
    - Condition is Request = P0_SUBMIT
    Now, suppose I am at page 22 and I select some rating and press the button SUBMIT.
    So it is actually excecuting the Application Process and even inserting a record into the database table..*This is OK*
    BUT I am getting following error message, I understand that for SUBMIT button I need to provide the branch but the problem is since it's a Page 0 button and that can be displayed at any page...so how can I resolve this..
    Page 22 provided no page to branch to. Please report this error to your application administrator.*2ndly,* I want to know if this process is fine OR I have to create a On Demand Process and then create a process on every page for calling On Demand process.
    *3rdly,* How should I put this Feedback region at the bootom of the page..
    Thanks,
    Deepak

    Thanks..Scott for the quick response.
    Just to clarify..so I have to create a branch on every page where I want to display the Page 0 region and to SUBMIT.
    Is there any other way to avoid this..just wondering..
    because I have around 20 pages where user wants to have this feedback region ..
    - Also how can I display this region at the bottom of every page (just before the footer) ...right now it's coming after the last region we have on the page.
    - secondly suppose I have submitted the feedback and now I branch it to page 66..so how can I go back to previous page from Page 66.
    because it may haapen user can submit this feedback from any page like page 2, pag 3, etc..which will branch to 66 but how Can I remember the previous page as it will be different always.
    Thanks,
    Deepak

  • Strange error while creating form/report pages [ORA-20001]

    While creating two new pages with a form and report on it, I've got a strange error. I tried to create the pages several times, but I always got the same error:
    ORA-20001: Unable to create query and update page. ORA-20001: Unable to create form on table. ORA-20001: Error creating shortcut id="" ORA-00001: unique constraint (FLOWS_030000.WWV_FLOW_SHORTCUT_IDX1) violated
    Error creating query and update.
    Return to application.
    I'm using the wizard to get the pages, like I did many times before (without problems), but this time it will not work!
    Greetings,
    Jan

    Below is a view or sql query i want to create in XE to show users report on startdate,end date,road name,etc,i am having a problem making this view work when i put the code in the sql script. Kindly help me with this if you can please. Thanks. CREATE OR REPLACE FORCE VIEW "RESULTS_DETAILS_VIEW" ("STARTDATE","ENDDATE","ROAD","NAME","STATUS","TYPE","UTILITIES","DATES","LUTON",
    AS SELECT
    d.Startdate,
    d.EndDate,
    l.Road,
    u.Name,
    ws.Status,
    wt.Type,
    cb.startdate,
    cb.enddate,
    cb.road,
    cb.utility,
    cb.type,
    cb.status
    FROM
    Dates d,
    Luton l,
    Utilities u,
    WorkStatus ws,
    WorkType wt,
    Comb cb
    WHERE cb.startDate = d.StartDate
    AND cb.endDate = d.EndDate
    AND cb.road = l.Road
    AND cb.utility = u.Name
    AND cb.type = wt.Type
    AND cb.status = ws.Status
    WITH READ ONLY
    /

  • Error when pressing the buttons in ALV

    Hi all,
    I have written a report using ALV by using FM REUSE_ALV_GRID_DISPLAY
    layout-coltab_fieldname = 'FARBE'.
    layout-f2code = 'DISPLAY'.
    layout-zebra = 'X'.
    layout-box_fieldname = 'BOX'.
    event_exit-ucomm = '&XP1'.
    event_exit-before = 'X'.
    APPEND event_exit.
    variant-report = repid.
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
         EXPORTING
              I_INTERFACE_CHECK  = check_flag      
              I_CALLBACK_PROGRAM = repid
              I_STRUCTURE_NAME    = 'ITAB'
              is_layout             = layout
              it_fieldcat           = fieldcat
              it_excluding          = excluding
              it_special_groups     = gruppen[]
              it_sort               = sorttab[]
              it_filter             = filttab[]
              i_save                = 'X'
              is_variant            = variant
              it_events             = events[]
           TABLES
               T_OUTTAB             = ITAB
           EXCEPTIONS
               program_error        = 1
               OTHERS               = 2.
    The ALV grid is shown successfully after executing the program. But when I press the button like 'Print Preview', 'SpreadSheet' which are provided by the ALV. I got the following error:
    Assignment error: Overwriting a protected field.
    What happened?
    Error in ABAP application program.
    The current ABAP program "SAPLSLVC_FULLSCREEN" had to be terminated because one of the statements could not be executed.
    This is probably due to an error in the ABAP program.
    Any one has idea how to solve it? Thanks!

    Gundam,
    I feel the problem is in line in BOLD.
    excluding[] must be an Internal Table.
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
    EXPORTING
    I_INTERFACE_CHECK = check_flag
    I_CALLBACK_PROGRAM = repid
    I_STRUCTURE_NAME = 'ITAB'
    is_layout = layout
    it_fieldcat = fieldcat
    <b>it_excluding = excluding[ ]</b>
    it_special_groups = gruppen[]
    it_sort = sorttab[]
    it_filter = filttab[]
    i_save = 'X'
    is_variant = variant
    it_events = events[]
    TABLES
    T_OUTTAB = ITAB
    EXCEPTIONS
    program_error = 1
    OTHERS = 2.
    Please have a check and let me know.
    Thanks
    Kam

  • Runtime error while pressing F4 in view

    Hi,
    I have created a View which is used to create a new record in PA0023 table.
    In that ,for one field (PA0023-TAETE)when i m pressing f4 button it is throwing one Runtime Error: " Could not find attribute LANGU ", where as , that attribute itself is not present in the PA0023 table.
    Please help me regarding this issue...
    Thanks,
    Deepika

    Hi Alex,
    I m using HR_Infotype_operation F.M. to Insert the Record into the PA0023 table.
    For getting the search help , i m binding that field to context node of that F.M. using Create container formular .
    And i m doing the same for some other fields also using the same F.M,and the F4 values are populating Correctly for them...only this field is throwing error...
    What could be the problem???
    Thanks,
    Deepika

  • Saving a plot as a hws file while pressing a button

    I wanna save a plot received from a digital scope as a hws file while the button shown on the figure (its just a cutting/the important part of the program) below is in pressed (true) state.
    But when im running this program and i press the button always a hws file of a constant length is saved. It makes no difference how long the button stays pressed.
    What could be wrong?
    Attachments:
    save hws file.jpg ‏103 KB

    Without knowing all of the details of your app, I see two issues that don't match up with what you mentioned you are trying to do.
    1) The Open Waveform VI is set to "Create New Always", so at each iteration of your while loop, the old HWS file is being destroyed and a new one is getting created in it's place. If you are intending to append data to an HWS file, you must use the "Read/Write" permissions only.
    2) Your inner for loop has a Create New Waveform VI inside of it. So what is happeing is that each iteration of your for loop is creating a new waveform inside of your HWS file rather than appending to the already existing one. HWS files can save multiple waveforms into one HWS file. I see you are naming each waveform, so I'm guessing this was intentional.
    If you are trying to stream to a file only when the button is pressed, my guess is that your problem is with item 1) above. When the button is pressed, any existing HWS files at that filepath are getting destroyed, and a new one is getting created in it's place. So when your application is finished, you will have one file with one set up data in it. The data will be from the last while loop interation when the boolean was set to true.
    If you are trying to append to an existing HWS file, you will need to open the file with Read/Write permissions and then use the Open Existing Waveform VI rather then the Create New Waveform VI inside of your for loop.
    -JaredW

  • [SOLVED] Strange error while compiling packages via AUR

    I've been facing this error while compiling packages via AUR. I'm also posting the output of my /etc/makepkg.conf
    Error
    ==> Starting build()...
    checking for a BSD-compatible install... /bin/install -c
    checking whether build environment is sane... yes
    checking for a thread-safe mkdir -p... /bin/mkdir -p
    checking for gawk... gawk
    checking whether make sets $(MAKE)... yes
    checking whether cc supports -O2... yes
    checking for g++... g++
    checking whether the C++ compiler works... yes
    checking for C++ compiler default output file name... a.out
    checking for suffix of executables...
    checking whether we are cross compiling... no
    checking for suffix of object files... o
    checking whether we are using the GNU C++ compiler... yes
    checking whether g++ accepts -g... yes
    checking for style of include used by make... GNU
    checking dependency style of g++... gcc3
    checking for gcc... gcc
    checking whether we are using the GNU C compiler... yes
    checking whether gcc accepts -g... yes
    checking for gcc option to accept ISO C89... none needed
    checking dependency style of gcc... gcc3
    checking for pkg-config... /usr/bin/pkg-config
    checking pkg-config is at least version 0.9.0... yes
    checking for GSTREAMER... yes
    checking for GSTREAMER_GTK... yes
    checking for XOpenDisplay in -lX11... yes
    checking for ncursesw5-config... /usr/bin/ncursesw5-config
    checking for initscr in -lncurses... yes
    checking whether gcc supports -Wall... yes
    configure: creating ./config.status
    config.status: creating Makefile
    config.status: creating src/Makefile
    config.status: creating docs/Makefile
    config.status: creating config.h
    config.status: executing depfiles commands
    fatal: Not a git repository (or any of the parent directories): .git
    CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /tmp/yaourt-tmp-hellknight/aur-gst123/src/gst123-0.2.0/build-aux/missing --run aclocal-1.11 -Wno-portability
    sh: autom4te: command not found
    aclocal-1.11: autom4te failed with exit status: 127
    make: *** [aclocal.m4] Error 1
    ==> ERROR: A failure occurred in build().
    Aborting...
    ==> ERROR: Makepkg was unable to build gst123.
    ==> Restart building gst123 ? [y/N]
    ==> -------------------------------
    ==>
    /etc/makepkg.conf
    # /etc/makepkg.conf
    # SOURCE ACQUISITION
    #-- The download utilities that makepkg should use to acquire sources
    # Format: 'protocol::agent'
    DLAGENTS=('ftp::/usr/bin/wget -c --passive-ftp -t 3 --waitretry=3 -O %o %u'
    'http::/usr/bin/wget -c -t 3 --waitretry=3 -O %o %u'
    'https::/usr/bin/wget -c -t 3 --waitretry=3 --no-check-certificate -O %o %u'
    'rsync::/usr/bin/rsync -z %u %o'
    'scp::/usr/bin/scp -C %u %o')
    # Other common tools:
    # /usr/bin/snarf
    # /usr/bin/lftpget -c
    # /usr/bin/curl
    # ARCHITECTURE, COMPILE FLAGS
    CARCH="x86_64"
    CHOST="x86_64-unknown-linux-gnu"
    #-- Exclusive: will only run on x86_64
    # -march (or -mcpu) builds exclusively for an architecture
    # -mtune optimizes for an architecture, but builds for whole processor family
    CFLAGS="-march=amdfam10 -mtune=generic -O2 -pipe"
    CXXFLAGS="${CFLAGS}"
    LDFLAGS="-Wl,--hash-style=gnu -Wl,--as-needed"
    #-- Make Flags: change this for DistCC/SMP systems
    MAKEFLAGS="-j8"
    # BUILD ENVIRONMENT
    # Defaults: BUILDENV=(fakeroot !distcc color !ccache)
    # A negated environment option will do the opposite of the comments below.
    #-- fakeroot: Allow building packages as a non-root user
    #-- distcc: Use the Distributed C/C++/ObjC compiler
    #-- color: Colorize output messages
    #-- ccache: Use ccache to cache compilation
    BUILDENV=(fakeroot !distcc color !ccache)
    #-- If using DistCC, your MAKEFLAGS will also need modification. In addition,
    #-- specify a space-delimited list of hosts running in the DistCC cluster.
    #DISTCC_HOSTS=""
    # GLOBAL PACKAGE OPTIONS
    # These are default values for the options=() settings
    # Default: OPTIONS=(strip docs libtool emptydirs zipman purge)
    # A negated option will do the opposite of the comments below.
    #-- strip: Strip symbols from binaries/libraries in STRIP_DIRS
    #-- docs: Save doc directories specified by DOC_DIRS
    #-- libtool: Leave libtool (.la) files in packages
    #-- emptydirs: Leave empty directories in packages
    #-- zipman: Compress manual (man and info) pages in MAN_DIRS with gzip
    #-- purge: Remove files specified by PURGE_TARGETS
    OPTIONS=(strip docs libtool emptydirs zipman purge)
    #-- File integrity checks to use. Valid: md5, sha1, sha256, sha384, sha512
    INTEGRITY_CHECK=(md5)
    #-- Options to be used when stripping binaries. See `man strip' for details.
    STRIP_BINARIES="--strip-all"
    #-- Options to be used when stripping shared libraries. See `man strip' for details.
    STRIP_SHARED="--strip-unneeded"
    #-- Options to be used when stripping static libraries. See `man strip' for details.
    STRIP_STATIC="--strip-debug"
    #-- Manual (man and info) directories to compress (if zipman is specified)
    MAN_DIRS=({usr{,/local}{,/share},opt/*}/{man,info})
    #-- Doc directories to remove (if !docs is specified)
    DOC_DIRS=(usr/{,local/}{,share/}{doc,gtk-doc} opt/*/{doc,gtk-doc})
    #-- Directories to be searched for the strip option (if strip is specified)
    STRIP_DIRS=(bin lib sbin usr/{bin,lib,sbin,local/{bin,lib,sbin}} opt/*/{bin,lib,sbin})
    #-- Files to be removed from all packages (if purge is specified)
    PURGE_TARGETS=(usr/{,share}/info/dir .packlist *.pod)
    # PACKAGE OUTPUT
    # Default: put built package and cached source in build directory
    #-- Destination: specify a fixed directory where all packages will be placed
    #PKGDEST=/home/packages
    #-- Source cache: specify a fixed directory where source files will be cached
    #SRCDEST=/home/sources
    #-- Source packages: specify a fixed directory where all src packages will be placed
    #SRCPKGDEST=/home/srcpackages
    #-- Packager: name/email of the person or organization building packages
    #PACKAGER="John Doe <[email protected]>"
    # EXTENSION DEFAULTS
    # WARNING: Do NOT modify these variables unless you know what you are
    # doing.
    PKGEXT='.pkg.tar.xz'
    SRCEXT='.src.tar.gz'
    # vim: set ft=sh ts=2 sw=2 et:
    Last edited by tarun.hellknight (2011-04-12 15:45:26)

    That's strange... it wasn't installed.. although I had never,ever faced a problem while compiling packages via AUR.. maybe, I should be careful when uninstalling orphans.. thanks for the help..

  • Strange error while loading master data

    Hi,
      Has anybody seen the following error while loading master data?
    6 duplicate record found. 886 recordings used in table /BI0/XCOSTCENTER
    6 duplicate record found. 886 recordings used in table /BI0/PCOSTCENTER     
    and repeat again once (so total 4 lines of error message)
    The update mode is "PSA and then in the infoobject (Package by Package)"
    Surprisingly the step by step error analysis shows all green except in step "Processing error in Warehouse reported?" which is red.  The over all status i.e. Total and  Technical are both red.
    It all means something went wrong but with the step by step error analysis all green even in the parts like "Processing successfully finished" and "All reported data packet received" I am confused.
    To make matter more confusing there are no error records in corresponding PSA data package.
    any comments would be greatly appreciated.

    Hi Novice,
    In your InfoPackage > Processing tab, select the option Only PSA and Update subsequently into Data Target, and also add the check mark for Ignore double data records. Then try the load again...it should be okay.
    Hope this helps...

  • Strange error while execute PL/SQL

    Hi All,
    I am execting a procedure from user (say USER1) who is having the DBA role granted.
    Its getting the errors while creation:
    SQL> show errors
    Errors for PROCEDURE DISP_DBLOCKS:
    LINE/COL ERROR
    8/11 PLS-00341: declaration of cursor 'DBLOCK_CURSOR' is incomplete or
    malformed
    10/8 PL/SQL: SQL Statement ignored
    34/15 PL/SQL: ORA-00942: table or view does not exist
    42/17 PL/SQL: Item ignored
    54/8 PL/SQL: SQL Statement ignored
    56/16 PL/SQL: ORA-00942: table or view does not exist
    79/8 PL/SQL: SQL Statement ignored
    79/33 PLS-00320: the declaration of the type of this expression is
    incomplete or malformed
    LINE/COL ERROR
    82/8 PL/SQL: Statement ignored
    82/27 PLS-00320: the declaration of the type of this expression is
    incomplete or malformed
    But If I execute the same procedure from SYS user, its got created without any errors.
    The procedure is using tables SYS.V$LOCK L, SYS.V$SESSION S, SYS.V$PROCESS P, SYS.USER$ U, SYS.OBJ$ T and shows the locking info for DB.
    Please let me know if I am missing something and also how to resolve this issue.
    Thanks in advanced
    Bhupinder

    ORA-00942: table or view does not existbecause u don't have permission on some tables
    check it by manual issue select from these tables by new user

Maybe you are looking for

  • "Unable to check out" error message in CS4

    I have InDesign CS4, but do not have InCopy. When I exported an InDesign CS4 file to CS3 interchange format, and then tried to edit the orginal file, I got an error message saying: "Unable to check out this file. It may be in use by someone else." Fr

  • DVD plays everywhere but on a Mac

    I recently created a DVD in iDVD 6 and burned several copies for friends. One wrote to say it plays on her son's HP, her TV, but not on her G4 iMac. She also has iLife 6. She gets a message that says "supported disk not available." Any ideas what cou

  • Inconsistencies between Balance and Line items

    Hello masters! I found some inconsistencies betwen balance and line items. I tried to solve the problem using  FAGLF03 and RFINDEX (when executing SAP retrieved: "New GL is active. GLT0 can not be adjusted") but both did not work. We have never gone

  • R12 Test instance available.

    hi, R12 Test instance Available Now!!! http://vis1200.solutionbeacon.net Regards, Phani.K

  • How do I add FCPX to the dock? and the Furore over FCPX

    I already have FCP Studio on the Dock but when I try to drag FCPX to the Dock too it will not stay in place. I also tried to change the name of either FCP 3 or FCPX to differentiate one from the other, but that wasn't allowed. Any ideas as to how I c