Urgent: Defaulting the value for a Lov item

Hello,
I have a lov item mapped to it's corersponding VO. I need to default it to certain value, but keep on getting the error with prompt to select a valid value, even though there is only one value being returned on searching.
The settings:
"Disable Validation" set to false.
I am executing the VO in processRequest so that it returns only one value, and then setting the Lov item with this value - using settext and setvalue.
Is there any other way to maually set the value of the item and retain the validation property?
Thanks!
Shama

The DFF fields that are being fetched vary according to the context being passed from the lov, hence making it difficult to maually handle the bean setting. Any idea of any work around?
Thanks!
Shama

Similar Messages

  • How do I default the value in an LOV?

    Dear experts,
    What I am trying to achieve is changing the default value in an LOV, based on the value of another field. I have an LOV that lists employee names. There is another field, an account number, which when selected is used to determine the default employee set against this account. This employee I want to use to add into the LOV as a default the value, before the user selects a value in the LOV. The user can still invoke the LOV and search for a different employee, but the functionality I am concered with is setting this default employee.
    I have modified the ProcessForm in the associated controller class. I have obtained the account number and using an SQL query I have obtained the default employer, but I can not seem to set this value in the LOV as a default. Does any one have any ideas?
    For the LOV there are two criteria values in the LOV mapping, the org id and the code combination id, both used in the query to get the default employee.
    Many thanks for your assistance in advance.
    Mark

    Hi,
    IF want use dependent lov ..then refer below link..
    http://oracleanil.blogspot.com/2010/12/dependent-lov-in-oaf.html
    Or
    IF u want set any default value in lov2 when value selecetd in lov1...
    Get the event of the lov1 on PFR..
    if("LOv1ID").equals(pageContext.getParameter(SOURCE_PARAM))
    && ("lovUpdate".equals(pageConext.getParameter(EVENT_PARAM))
    || "lovValidate".equals(pageConext.getParameter(EVENT_PARAM))))
    Here try set default value as given by Gyan...
    Pls check syntax errors...
    Regards
    Meher Irk

  • Settin' default value of a lov depending on the value of another lov

    hi all,
    here is my problem:
    I got two combobox item in my form;
    the first one is customer_id,
    the second one is seller_id,
    what i wanna do is:
    when selecting one customer_id, i want to set the value of the seller_id to the one associated with this customer, and give the enduser to change this value;
    i'm tryin' to do so with bind variables but it doesn't work!
    any help.;
    thanks in advance

    Hi,
    ok got your requirement clear ,see what all you have to
    First of I make clear that by frame what I ment was that when you are in the design phase of the
    and you are in the section of "formating " ,there you have 2 frames which are basically not visible as frames,
    so just forget about that.
    I have implemented the same thing in the emp table intead of your
    your customer_id and the supplier_id.
    I'm assuming that you will be having just one record in the second LOV corresponding to the
    first LOV.
    What I've done is that I have made an entry in the scott.emp table with deptno 40 so that
    for deptno 40 I have just 1 entry ,to simulate your case.
    Note:
    Customer_id type is combobox the lov is LOV_CUSTUMER (this will be equivalent to my DEPT_NO LOV)
    seller_id type is combobox too, the lov is LOV_SELLER (this will be equivalent to my EMPNO_NO LOV)
    1)My driving LOV is in deptno field.
    2)I have the driven LOV in empno field.
    3)Now when I select Operation dept (dept no 40),I get the selected value in the LOV (empno)
    and also rest of the empnos.
    This is how you can achieve the functionality as said by you.
    1)In your second LOV write some thing similar.
    select ENAME, EMPNO from SCOTT.EMP where deptno = :deptno
    union
    select ENAME, EMPNO from SCOTT.EMP where deptno != :deptno
    this is to ensure that you get all the values and at the same time
    are able to use the binding of the second LOV.
    2)In the before display section write something similar.
    declare
    l_empNo varchar2(3000);
    l_deptNo number(4);
    begin
    -- This deptno shows what you selected from the first LOV.
    l_deptNo := p_session.get_value_as_NUMBER(
    p_block_name => 'DEFAULT',
    p_attribute_name => 'A_DEPTNO',
    p_index => 1);
    --just check  wheather it returned something,at the time of loading it will not return anything,so simply
    --return in that case without doing anything.
    if(l_deptNo is null) then
    return;
    else
    --This query basically fetches the value for your second LOV.
    select empno into l_empNo from scott.emp where deptno = l_deptNo;
    --set the value for the second LOV in the session.
    p_session.set_value(
    p_block_name => 'DEFAULT',
    p_attribute_name => 'A_EMPNO',
    p_value => to_number(l_empNo));
    end if;
    end;
    please try to understand the relationship in my scenario and your scenario.
    Hope this helps.
    rahul

  • How to Change the default Search value for Field Role?

    HI,
    I went through numerous threads on how to default the search value , but does not help for my issue. Hence im posting this new thread. Please provide your suggestions on how to achieve this.
    For the Ship-to party field (in item detail )  on webui when i do a F4 help i get the pop up with various search criteria and  for the field Role the default value is "Ship-to party".  which is visible. we need to change this default value to Prospect which is available in drop down.
    The attribute is STRUCT.ROLE  and view BP_HEAD_SEARCH/SearchHelp . The method GET_DQUERY_VALUEHELPS  from the context node class is called to fill the value help for this attribute, but i dont understand how the ship-to party is filled as default. There is no code in this method to default the value.
    The generic GET_V_S_STRUCT method also does not default the Ship-to party on this field.
    I want to understand how this Ship-to party is filled by default and how can i change this to prospect..
    Many Thanks,
    Shaik

    We had a same requirement of defaulting Sales org and division in search criteria for a specific value.
    this can be doen by redefining "DO_PREPARE_OUTPUT" method in IMPL class for the respective view.
    See the code:
    METHOD do_prepare_output.
    *CALL METHOD SUPER->DO_PREPARE_OUTPUT
    **  EXPORTING
    **    iv_first_time = ABAP_FALSE
      DATA:
        lr_qs TYPE REF TO cl_crm_bol_dquery_service.
    * Get current query object
      lr_qs ?= me->typed_context->search->collection_wrapper->get_current( ).
      IF iv_first_time = abap_true.
        lr_qs->clear_selection_param_values( ).
        lr_qs->delete_empty_selection_params( ).
    *   if l_sales_orgs is initial.
        CALL METHOD lr_qs->insert_selection_param
          EXPORTING
            iv_index     = '1'
            iv_attr_name = 'SALES_ORG'
            iv_sign      = ' '
            iv_option    = 'EQ'
            iv_low       = 'O 50000514'.
    *   endif.
    *   if l_dist_chan is initial.
        CALL METHOD lr_qs->insert_selection_param
          EXPORTING
            iv_index     = '2'
            iv_attr_name = 'DISTR_CHAN'
            iv_sign      = ' '
            iv_option    = 'EQ'
            iv_low       = '01'.
    * endif.
    Hope this will help..
    THanks & Regards,
    Amit

  • What is the default timeout value for the SPQuery object?

    What is the default timeout value for the SharePoint SPQuery object? I've tried searching online but can't find anything with the actual timeout value.
    Someone suggested it might use the timeout property in the database? Anyone know if that's how it works?

    Hi,
    Do you want to avoid timeout when you query list items?
    If so, we can use the following C# code to set timeout.
    HttpContext.Current.Server.ScriptTimeout = 600; // 10 minutes
    More information is here:
    http://200oksolutions.blogspot.com/2013/03/sharepoint-2010-set-timeout-only-to.html
    The SPQuery object doesn’t provide any property to set timeout. We can also set timeout in web.config, or SQL Connections or IIS.
    Thanks,
    Dennis Guo
    TechNet Community Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Dennis Guo
    TechNet Community Support

  • Default cell values for column not properly saved in uir file in labwindows 2009 (9.1.0 427)?

    I've run into a strange problem with the table control.  Basically, even though I set default cell values for a particular column as numeric, when I try to add items to the list it tries to add them as strings, and returns an error message that it is expecting *char instead of int.  Furthermore, when I open the uir file that contains the table in question in 2010, it appears as if the default cell values for that column are still set as strings, even though in 2009 when I open the uir file it shows as numbers.  I tried converting the uir to C code, and sure enough the C code indicated that the column still is a string type.
    I've gone ahead and made a small project to show the issue.  If you open this project in labwindows 2009 and click on the table in the table_bug.uir, and edit default cell values for column 1, you will see that the cell settings have type as numeric and data type as int.  When you run the project, however, it will fail with an error message saying that it is looking for a *char.  When this same project is loaded into labwindows 2010, clicking on the table in table_bug.uir and edit default cell values (column 1) shows the type as string.  When I change this to numeric (and change numeric attribute to int), this runs fine in 2010.  I tried simply changing the uir in 2010, and then using it in 2009, but 2009 complains that the uir is from a newer version (understandable).  If there is any workaround that would let me continue to use 2009 for the time that would be great.
    Any help would be greatly appreciated.
    thanks,
    Alex Corwin
    Solved!
    Go to Solution.
    Attachments:
    table_bug.zip ‏324 KB

    I opened the UIR in 2009 (but I have 2009 SP1) and it still showed that the default value for the first column was a string. I didn't have any problems changing it to a numeric int, and then building and running the project without error.
    Here are a few things you can try:
    1) Change the default value to a string. OK out of the dialog, re-enter the dialog, and change it back to Numeric int. Resave and see if the problem has gone away.
    2) You said you get a ".UIR is from a newer version" error when opening the 2010 UIR in 2009. Does the UIR still open if you click okay? Often times this will work just fine. Assuming you don't have any problems with this, make a minor change to the UIR in 2009, such as moving the table to the left, and then back to the right and then re-save. See if your program works now.
    Kevin B.
    National Instruments

  • How to set the value of an LOV in CO prgramatically and get the Pkey value?

    Hi,
    I need to set a value to a LOV, say ItemLOV in a page through CO and get the Primaykey that LOV will return. How can I achieve this?
    Req:
    1. Set the Item_Name, say 'DELL_1618' so that the page displays this in the LOV.
    2. Fetch the PK value returned by LOV in the backend into a VO attribute say Item_ID, '100009881'.
    Thanks,
    Santosh.

    Hi Santosh,
    Sorry, I replied for General LOV Scenario, but want to set it programatically right,
    You need to execute your LOV query in Controller for Item 'DELL_1618' using prepared statement, get the value for both dispaly value and Id and set it to LOV and FormVlaue Item in PR of controller.
    Regards,
    Reetesh Sharma

  • How to default the value in Parameter ?

    Hi all,
    How am I going to default the paramenter say I have the From Item >= '0' and To Item <= '99999999', I will like system to be defaulted back the value in the parameter everytime when the refresh is being pressed ?
    Currently, I have set the default value in the parameter, it work fine for the very first time, but after I have put the search value in the refresh button, the system still showing the old value which I have keyed in earlier. I want system to be defaulted the value that I keyed in the parameter. How to do that ?
    Rgds
    Lim

    Hi Lim
    Are you using Discoverer Plus?
    If so, there is a preference in pref.txt that controls whether the parameter values are saved with the workbook. It is called SaveLastUsedParamValue. This has two settings as follows:
    0 - Use the default value as set by the report writer
    1 - Save the value the user just entered and use that as the default the next time
    Best wishes
    Michael

  • How to get the values for checked and unchecked chekboxes

    Hai i have using the checkbox in for loop.
    I need the urgent help from anyone,
    for example in the loop there is having 5 checkbox if i checked 3 of the ckeckboxes and 2 of the checkboxes are unchecked. I need to get the values for checked checkboxes and unchecked checkboxes. Because if i checked the checkboxes, those values need to be inserted into the database. Those for unchecked checkboxes values need to be deleted from the database. Can anyone help me for this
    i am using the following jsp code for this. If anyone can know about this please post me the sample code.
    <form name="confirmcontainer" id="confirmcontainer" method="post" action="submit.jsp">
    <% for(int i=0;i<value.length;i++) {%>
    <tr>
    <td><input name="assigncontainer_chkbox" d="assigncontainer _chkbox" type="checkbox" value="<%=value[0]%>"></td>
    <td class="bottomborder"><div align="center"><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><%=value[1]%> </font></div></td>
    <td bgcolor="#FFFFFF" class="bottomborder"><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><%=value[2]%></font></td>
    </tr>
    <% } %>
    <tr><td><input type="submit" name="submit" value="submit"> </td></tr>
    </form>
    Thanks & Regards,
    Tamilvanan

    Hey thanks Alex and Catastrophe for the quick response...
    I'll be sitting with the functional team and reviewing the roles created.
    Thanks for all the help once more
    Regards,
    Akash.

  • Default search value for Query By Example Report

    Is there any way I can add the wildcard % as a default search value for text fields in the customization screen for a QBE report? The aim is to relieve the user from knowing that you have to input the wildcard % in the search field.
    Also, Is there a way to change the label of the standard 'Close' button, which is a bit misleading as it actually takes you back to the report customisation window?
    Cheers,
    Arnt

    Hi,
    You can give default values for bind variables in sql report and not for QBE reports. Also it is not possible to remove the close button.
    Thanks,
    Sharmila

  • To get the value of Dynamically generated Items

    Hi , i am Writting an applications using HTMLDB, i have a page which is an input page for inputting number of hours you worked on different projects i am createing the Input text filed items dynamically through web PL/SQL , what i want to do is when the user click on the sumbit button i want to read the values of the ITem and insert into a table , since they are dynamically created Items how does HTML DB handle them is there a way to get the Value for the items i tried displaying &P9_1. which is one of the items created dynamicaly but empty value is displayed.
    Any assiatnce is of great help.
    Thanks in advance
    Bharath

    This is done once the page is submitted, and the values are available in the arrays e.g. htmldb_application.g_f01 etc.
    This is covered in the manual

  • Function module to change the value for pricing condition type

    Hello experts,
    I want to change the value for pricing condition type for an item in the transaction CRMD_ORDER.
    I used many function modules but none are working.
    Please kindly suggest a function module that will change the value for a condition type .
    I have used the following function module but its not working, please correct the coding if anything needs to be changed or added. Please help me .
    Thank you.
    CLEAR PRCD_COND.
         SELECT SINGLE * FROM PRCD_COND WHERE KPOSN = WA_ORDERADM_I-GUID AND
                                              KSCHL = COND_TY.
      IF SY-SUBRC = 0.
    *    MOVE-CORRESPONDING PRCD_COND TO L_COND_CHG.
    *    CLEAR L_COND_CHG-KBETR.
        L_COND_CHG-STUNR = PRCD_COND-STUNR.
        L_COND_CHG-KBETR = COND_PRC.
    *    L_COND_CHG-KSCHL = COND_TY.
        INSERT L_COND_CHG INTO TABLE T_COND_CHG.
    L_HEAD_GUID = CRMD_ORDERADM_H-GUID.
    L_ITEM_GUID = WA_ORDERADM_I-GUID.
    INSERT L_HEAD_GUID INTO TABLE HEAD_GUID.
    INSERT L_ITEM_GUID INTO TABLE ITEM_GUID.
        CALL FUNCTION 'CRM_ORDER_READ'
         EXPORTING
           IT_HEADER_GUID                    = HEAD_GUID
           IT_ITEM_GUID                      = ITEM_GUID
         IMPORTING
           ET_ORDERADM_H                     = LT_ORDERADM_H
           ET_ORDERADM_I                     = LT_ORDERADM_I
           ET_PRIDOC                         = IT_PRIDOC_RD
           ET_DOC_FLOW                       = T_DOC_FLOW
    *     CHANGING
    *       CV_LOG_HANDLE                     =
    *     EXCEPTIONS
    *       DOCUMENT_NOT_FOUND                = 1
    *       ERROR_OCCURRED                    = 2
    *       DOCUMENT_LOCKED                   = 3
    *       NO_CHANGE_AUTHORITY               = 4
    *       NO_DISPLAY_AUTHORITY              = 5
    *       NO_CHANGE_ALLOWED                 = 6
    *       OTHERS                            = 7
        IF SY-SUBRC <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDIF.
    MOVE-CORRESPONDING LS_PRIDOC_RD TO L_PRI_COND.
    INSERT L_PRI_COND INTO TABLE PRI_COND.
    LOOP AT IT_PRIDOC_RD INTO LS_PRIDOC_RD.
    MOVE-CORRESPONDING LS_PRIDOC_RD TO L_PRIDOC_CHG.
    L_PRIDOC_CHG-PRIC_COND = PRI_COND.
    L_PRIDOC_CHG-REF_GUID = LS_PRIDOC_RD-GUID.
    L_PRIDOC_CHG-COND_CHANGE = T_COND_CHG.
    INSERT L_PRIDOC_CHG INTO TABLE PRIDOC_CHG.
    ENDLOOP.
    LOOP AT LT_ORDERADM_H INTO LS_ORDERADM_H .
    MOVE-CORRESPONDING LS_ORDERADM_H TO L_HEADER.
    INSERT L_HEADER INTO TABLE HEADER.
    ENDLOOP.
    LOOP AT LT_ORDERADM_I INTO LS_ORDERADM_I.
    MOVE-CORRESPONDING LS_ORDERADM_I TO L_ITEM.
    INSERT L_ITEM INTO TABLE ITEM.
    ENDLOOP.
    L_FIELD-FIELDNAME = 'STUNR'.
    INSERT L_FIELD INTO TABLE FIELD.
    L_FIELD-FIELDNAME = 'KBETR'.
    L_FIELD-CHANGEABLE = 'X'.
    INSERT L_FIELD INTO TABLE FIELD.
    L_INPUT-FIELD_NAMES = FIELD.
    L_INPUT-REF_KIND = 'E'.
    L_INPUT-REF_GUID = LS_PRIDOC_RD-GUID.
    L_INPUT-OBJECTNAME = 'PRIDOC'.
    INSERT L_INPUT INTO TABLE INPUT.
        CALL FUNCTION 'CRM_ORDER_MAINTAIN'
         EXPORTING
           IT_PRIDOC                     = PRIDOC_CHG
         IMPORTING
           ET_EXCEPTION                  = EXCEPT
         CHANGING
           CT_INPUT_FIELDS               = INPUT.
        IF SY-SUBRC <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDIF.
    REFRESH EXCEPT.
    CALL FUNCTION 'CRM_ORDER_SAVE'
      EXPORTING
        IT_OBJECTS_TO_SAVE         = HEAD_GUID
    *   IV_UPDATE_TASK_LOCAL       = FALSE
    *   IV_SAVE_FRAME_LOG          = FALSE
    *   IV_NO_BDOC_SEND            = FALSE
    *   IT_ACTIVE_SWITCH           =
    IMPORTING
       ET_SAVED_OBJECTS           = SAVED
       ET_EXCEPTION               = EXCEPT
       ET_OBJECTS_NOT_SAVED       = UNSAVED
    * CHANGING
    *   CV_LOG_HANDLE              =
    * EXCEPTIONS
    *   DOCUMENT_NOT_SAVED         = 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.
    COMMIT WORK AND WAIT.

    Hi,,
    To be able to call a function module in an update work process, you must flag it in the Function Builder. When you create the function module, set the Process Type attribute to Update with immediate start
    Alternatively u can use this function module.
    CRM_STATUS_DATA_SAVE_DB
    BAPI_CUSTOMERCRM_CHANGE (If u wish to use a bapi for this).
    Also , Let me know what error you got when implementing other function module.Does the function module didnt return any error but still the value is not changed for pricing condition type?

  • How to use different default parameter value for different report subscriptions

    In ssrs is it possible to define different default parameter values for different subscriptions? In the following example I have a report which has two subscriptions with different start date and end date values:
    Report name – Testsubscription.rdl
    Subscription-1
    Input parameter (default values):
    start_date = first day of current Month
    end_date = till date
    Subscription-2
    Input parameter (default values):
    start_date = first day of current Quarter
    end_date = till date
    I know an alternative way of doing this would be to copy the rdl file with a different name but I am curious whether this can be done within a single report definition file. I am using SQL Server 2008 R2 Standard Edition.
    Thanks!
    spp

    Hi sppdba,
    As per my understanding, there is a report with two parameter: start_date and end_date, you want to configure subscription for the report, and set different default values for start date and end date. And you want to know if it is possible to achieve you
    goal by using a single report definition file.
    Since you are using SQL Server 2008 R2 Standard Edition, we need to achieve your goal by configuring two subscriptions for the report. For detail information, please refer to the following steps:
      1. In design surface, right click start_date and open Parameter Properties dialog box.
      2. In General pane, type Name and Prompt, set Data Type to Date/Time.
      3. Click Available Values in left pane, select Specify Values.
      4. Click Add button, in Label text box, type “First day of Current Month”, click (fx) button in Value section, then type the expression like below:
    =DateSerial(Year(Now()), Month(Now()), 1)
      5. Click Add button, in Label text box, type “First day of Current Quarter”, click (fx) button in Value section, then type the expression like below, then click OK.
    =DateSerial(Year(Now()), (3*DatePart("q",Now()))-2, 1)
      6. Right click end_date and open Parameter Properties dialog box.
      7. In Available Values pane, select Specify Values.
      8. Click Add button, in Label text box, type “Today”, click (fx) button in Value section, then type the expression =Today(), then click OK.
    Now that the parameters are created, we need to configure subscription for the report. For detail information, please follow these steps:
      1. Open Report Manager, and locate the report for which you want to create a new subscription.
      2. Hover over the report, and click the drop-down arrow.
      3. In the drop-down menu, click Manage. This opens the General properties page for the report.
      4. Select the Subscriptions tab, and then click New Subscription.
      5. Select the delivery extension and data source for the subscription.
      6. Select a method of delivery, then choose report delivery options.
      7. Specify conditions that cause the subscription to process and delivery to occur.
      8. Set start_date to First day of Current Month, end_date to Today, then click OK.
      9. Create a new subscription as step4 to 7, set start_date to First day of Current Quarter, end_date to Today, then click OK.
    The following screenshots are for your reference:
    For detail information about Creating Standard Subscriptions, please refer to the following document:
    http://msdn.microsoft.com/en-us/data/ms156307(v=sql.105)
    If you have any more questions, please feel free to ask.
    Thanks,
    Wendy Fu
    If you have any feedback on our support, please click
    here.

  • REP-546: Warning: The value of restricted LOV parameter

    Hi,
    When i try to invoke my report from IE with paramform=no and i am not passing the parameter LEXXX_ENTXXXX in the URL, i am getting the below error,
    REP-546: Warning: The value of restricted LOV parameter LEXXX_ENTXXXX is not among the selectable values.
    but the same report is working fine if i invoke with paramform=yes.
    The Parameter LOV query for the parameter LEXXX_ENTXXXX is ,
    SELECT LGL.CY_LEXXX_ENTXXXX, COM.SHORT_NAME FROM LEXX_ENTXXX LGL, COMXXXX COM
    WHERE LGL.CY_LEXXX_ENTXXXX = COM.COMXXXX_KEY
    UNION SELECT 0, 'ALL' FROM DUAL ORDER BY 2 ASC
    Note: Restrict List to Predetermind Values and Hide First Column check boxes are selected
    Data Type of LEXXX_ENTXXXX is Number and size is 6.
    Please, help me in resolving the above error.
    Thanks in advance
    Thanks & Rgds,
    M T

    The value that you give to parameter LEXXX_ENTXXXX when you are submitting your report on the web is not amoung the values returned by the Parameter List of Values Query , and when the Parameter List of Values Query was created "Restrict List to Predetermined Values" check box was checked.
    In order to solve the proble you can :
    - provide a value to LEXXX_ENTXXXX that is amoung the values returned by
    Parameter List of Values Query
    or
    - uncheck the Restrict List to Predetermined Values" check box of the parameter.
    Regards
    Ionut S

  • Initialize the value for an identity column - HANA SPS8?

    Can initialize the value for the sequence (_SYS_SEQUENCE_) used for an identity column?
    Thank you

    Got it.
    There are two ways a sequence can be reset:
    alter sequence "UADMIN_USER"."_SYS_SEQUENCE_210253_#0_#" restart with 1
    During a restart of the database, the system automatically executes the RESET BY statement and the sequence value is restarted with the value determined from the RESET BY subquery.
    This sequence name I got from
    But I also got the following error message when trying the first approach:
    CREATE COLUMN TABLE TEST_TABLE (ID integer GENERATED BY DEFAULT AS IDENTITY(start with 2),COL2 VARCHAR(2));
    select '"' || SCHEMA_NAME || '"."' || SEQUENCE_NAME || '"' AS SEQUENCE_NAME from SEQUENCES WHERE RESET_BY_QUERY LIKE '%TEST_TABLE%';
    INSERT INTO TEST_TABLE(COL2) VALUES('r1');
    INSERT INTO TEST_TABLE(COL2) VALUES('r2');
    alter sequence "UADMIN_USER"."_SYS_SEQUENCE_210253_#0_#" restart with 1
    Could not execute 'alter sequence "UADMIN_USER"."_SYS_SEQUENCE_210253_#0_#" restart with 1' in 259 ms 481 µs .
    SAP DBTech JDBC: [383] (at 29): invalid identifier: _sys_ prefix not allowed: _SYS_SEQUENCE_210253_#0_#: line 1 col 30 (at pos 29)
    Let me know if you find something better.
    Regards,
    Pablo Silva

Maybe you are looking for

  • I can't get any help setting up Firefox 4 beta to rid my Computer of worms and viruses

    To All Forum Helpers, I am not smarter than a computer. I graduated High School in 1969 before computer knowledge became vital to www. I am computer novice at best computer dummie at least. I had an encounter with a demonic person in http://www.palta

  • Error while reinstalling iTunes . "The feature you are trying to use is on a network resource that is unavailable

    When trying to update my iTunes 10.6.1 software, I keep getting a message that states, "the feature you are trying to use is on a network resource that is unavailable".  Specifically, it is an error for 'Bonjour.msi'.  Can someone please help me get

  • Low terminal resolution during install

    I'm migrating one of my computers from Gentoo to Arch. I can successfully get past GRUB . Right after the Linux kernel starts the resolution switches to only about 40  wide and a comparable height. When text gets to the end of the screen it continues

  • Design RG in Route Pattern

    I  would like to set that all calls to a specific destination, were commuted to a Gateway A, and if  all lines are busy, these calls are switched by Gateway B. I have this configuration: Actual RP: Route Pattern* : 9199.XXXXXX      Partition: Outgoin

  • Crystal Report Server - Schedule reports have failed.

    Hi, Recently, several scheduled reports have failed with the error message "server error. CrystalEnterprise.Smtp: SMTP_E_TCPSOCKET_SEND(3)". It happens randomly, to different reports at different times. Can anyone let me know what information does th