Is there any restriction on no of entries in Select-option-low ?

Is there any restriction on no of entries in Select-option-low ? I have a select option which has 22 thousand entries and the select query is thrwoing a dump.
Any inputs ?
Regards,
Ankur Bhandari

Hi Ankur,
1. i had faced same problem.
2. Virtually the limit in SELECT-OPTION low
   is not the problem.
3. The problem is with SQL query and database limit.
4. The R/3 system generates final database query
   in the form of (for select option)
   FIELD IN ('ABC','DEF','XYZ',........'')
5. Now Oracle/SqlServer
   has limit of THESE IN VALUES.
   limit is something in 2500 approx.
6. So your approach will not work
  using IN.
   It will always give error when
   entries are more.
7. SOLUTION which i did.
   1. First select all appropriate records from
      master table in your itab
     (without using IN select option clause)
  2. After that use this concept.
     Loop at ITAB.
     If Itab-Field in SelectOption.
     Else.
     DELETE ITAB.
     ENDIF.
The above will take care for any number of records. 
I hope it helps.
regards,
amit m.
Message was edited by: Amit Mittal
Message was edited by: Amit Mittal

Similar Messages

  • If the occi can work with TUXEDO well ,is there any restricts?

    we want to use occi to access oracle in TUXEDO serive.
    If the occi can work with TUXEDO well ,is there any restricts?
    who can describe how to use , step by step.
    THS a lot !
    mails:[email protected]

    Hi,
    Yes OCCI can be used to access Oracle database from Tuxedo. If you want Tuxedo to manage transactions for you then you need to follow essentially the same approach as in using OCI or Embedded SQL. Since you are accessing a resource manager, you will need to define an OPENINFO string in the Tuxedo RM file located in the udataobj directory of the Tuxedo installation. Likewise you will need to build an RM specific TMS for the Oracle Database and specify the name of the RM entry in the buildtms and buildserver commands with the -r switch.
    Before going into a step by step set of instructions, can you describe what you know about Tuxedo and OCCI? Have you built Tuxedo servers before and have they accessed a resource manager?
    Regards,
    Todd Little
    Oracle Tuxedo Chief Architect

  • Is there any restriction on the length of all Primary keys in a table

    Hi all,
    Is there any restriction on the length of all Primary keys in a data base table?
    i have some 10 fields as primary key in a DB table and length exceeds 120 and getting a warning.
    Please let me know will there be any problems in future with respect to the same?
    With regards,
    Sumanth

    Well actually there are constraints like
    Total of internal lengths of all primary key columns        1024 Bytes
    Number of primary key columns per table                     512
    For other information about SAP database please refer to http://sapdb.org/sap_db_features.htm  
    Thanks & Regards,
    Vivek Gaur
    Alwayz in high spirits

  • Is there any restriction on number of recipients in RecipientType.TO or BCC

    Hello,
    I wanted to know whether is there any restriction on number of recipients in Message.RecipientType.TO or BCC..
    Please clarify
    Thanks in advance
    Pradeep

    JavaMail imposes no limits, but your server might.

  • Is there any restriction to use ora:getFaultAsString() ??

    Hi All,
    I am using Jdev and SOA 11.1.1.2
    I have a process and in that I am using a transforation.
    I have tested below scenarios:
    1) We have a dateconversion function, and i passed in correct value to that function so it got faulted and throws subLanguage Exception.
    2)I have given wrong DVM name, so again it got faulted and throws subLanguage Exception.
    3)I defined an XSL variable and used that in another template without passing, so it got faulted and throws subLanguage Exception.
    4)I used a substring function without giving starting and ending indexes..so it got faulted and throws subLanguage Exception.
    I have a catchAll and in that i am sending notification and in that notification i am using conact('CustomInfo',ora:getFaultAsString())
    I found that except in 4th scenario in all scenarios ora:getFaultAsString() is returning null .(Even for 1,2,3, scenarios it is giving javax.xml.transform.TransformerException and for 4th scenario itis giving Fatal Error)
    I am giving errors returned below
    SubString Error(Successful)
    <bpelFault>
    <faultType>
    <message>0</message>
    </faultType>
    <subLanguageExecutionFault>
    <part  name="summary">
    <summary>XPath expression failed to execute.
    An error occurs while processing the XPath expression; the expression is
    ora:processXSLT('xsl/TransformSiebelOrderABMToTransportationOrder.xsl',bpws:getVariableData('receiveSiebelOrderABM_Consume_Message_InputVariable','body')).
    The XPath expression failed to execute; the reason was: XML-22900: (Fatal Error) An internal error condition occurred..
    Check the detailed root cause described in the exception message text and verify that the XPath query is correct.
    </summary>
    </part>
    <part  name="code">
    <code>XPathExecutionError</code>
    </part>
    </subLanguageExecutionFault>
    </bpelFault>
    DVM Error
    <bpelFault>
    <faultType>
    <message>0</message>
    </faultType>
    <subLanguageExecutionFault>
    <part  name="summary">
    <summary>XPath expression failed to execute.
    An error occurs while processing the XPath expression; the expression is
    ora:processXSLT('xsl/TransformSiebelOrderABMToTransportationOrder.xsl',bpws:getVariableData('receiveSiebelOrderABM_Consume_Message_InputVariable','body')).
    The XPath expression failed to execute; the reason was: javax.xml.transform.TransformerException: <Line 441,
    Column 233>: XML-22044: (Error) Extension function error: Error invoking 'lookupValue':'oracle.tip.dvm.exception.DVMValidationException:
    Unable to locate DVM "oramds:/deployed-composites/ZDVM_STOP_TYPE_rev1.1/STOP_TYPE.dvm"
    The Exception is "MDS-00013: no metadata found for metadata object "/deployed-composites/ZDVM_STOP_TYPE_rev1.1/STOP_TYPE.dvm""
    Please ensure the DVM exists at the location specified.'.
    Check the detailed root cause described in the exception message text and verify that the XPath query is correct.
    </summary>
    </part>
    <part  name="code">
    <code>XPathExecutionError</code>
    </part>
    </subLanguageExecutionFault>
    </bpelFault>
    Date Format Error
    <bpelFault>
    <faultType>
    <message>0</message>
    </faultType>
    <subLanguageExecutionFault>
    <part  name="summary">
    <summary>XPath expression failed to execute.
    An error occurs while processing the XPath expression; the expression is
    ora:processXSLT('xsl/TransformSiebelOrderABMToTransportationOrder.xsl',bpws:getVariableData('receiveSiebelOrderABM_Consume_Message_InputVariable','body')).
    The XPath expression failed to execute; the reason was: javax.xml.transform.TransformerException: <Line 135,
    Column 196>: XML-22044: (Error) Extension function error: Error invoking 'convertFormattedDttmToXSDDttm':'java.text.ParseException:
    Unparseable date: "10/17/201114:52:25"'.
    Check the detailed root cause described in the exception message text and verify that the XPath query is correct. </summary>
    </part>
    <part  name="code">
    <code>XPathExecutionError</code>
    </part>
    </subLanguageExecutionFault>
    </bpelFault>
    When a XSL variable is out of scope
    <bpelFault>
    <faultType>
    <message>0</message>
    </faultType>
    <subLanguageExecutionFault>
    <part  name="summary">
    <summary>XPath expression failed to execute.
    An error occurs while processing the XPath expression; the expression is
    ora:processXSLT('xsl/TransformSiebelOrderABMToTransportationOrder.xsl',bpws:getVariableData('receiveSiebelOrderABM_Consume_Message_InputVariable','body')).
    The XPath expression failed to execute; the reason was: javax.xml.transform.TransformerException:
    <Line 52, Column 50>: XML-22031: (Error) Variable not defined: 'Param'..
    Check the detailed root cause described in the exception message text and verify that the XPath query is correct. </summary>
    </part>
    <part  name="code">
    <code>XPathExecutionError</code>
    </part>
    </subLanguageExecutionFault>
    </bpelFault>Is there any restriction to use ora:getFaultAsString()
    Please guide me
    Regards
    PavanKumar.M

    Hi Pavan ,
    We frequently observe the following error in our logs:
    <Feb 11, 2011 11:12:50 AM CET> <Error> <oracle.soa.bpel.engine.xml> <BEA-000000> <BPEL1AssignWMP
    ORABPEL-09500
    XPath expression failed to execute.
    An error occurs while processing the XPath expression; the expression is ora:processXSLT('xsl/Xform_CustomerPartyListABMReqMsg_to_CustomerPartyEBMReqMsg.xsl',bpws:getVariableData('SyncCustomerPartyListReqMsg','SyncCustomerPartyList'),bpws:getVariableData('params')).
    The XPath expression failed to execute; the reason was: javax.xml.transform.TransformerException: <Line 15, Column 98>: XML-22031: (Error) Variable not defined: 'endIndex'..
    Check the detailed root cause described in the exception message text and verify that the XPath query is correct.
    Can you please share ..how you resolved it?
    Regards,
    Shagufta
    Edited by: 830719 on Feb 11, 2011 2:34 AM

  • Is there any restriction on no of page or no of char from spool

    could u pls tell me is there any restriction on no of pages or no of char from spool no into internal table in background mode when sending mail to external id.
    foreground it is working fine.
    code here..
    TABLES tsp01.
    DATA: list           LIKE abaplist OCCURS 0 WITH HEADER LINE.
    DATA: txtlines(15000) TYPE c OCCURS 0 WITH HEADER LINE.
    DATA: BEGIN OF reportlines OCCURS 0,
            data(132) TYPE c,
    END OF reportlines.
    DATA: first_line TYPE i,
          last_line  TYPE i.
    DATA: v_syspono LIKE tsp01-rqident.
    DATA mi_rq2name LIKE tsp01-rq2name.
    DATA f_repid LIKE sy-repid.
    DATA v_rqident LIKE tsp01-rqident.
    START-OF-SELECTION.
      DO 120 TIMES.
        write: / sy-index,
                 'Hello'.
      ENDDO.
    TOP-OF-PAGE.
      f_repid = 'ZMAIL7'.
      CONCATENATE f_repid0(9)'_' sy-uname0(3) INTO mi_rq2name.
      SELECT * FROM tsp01
               INTO tsp01
               WHERE rq2name = mi_rq2name
               ORDER BY rqcretime DESCENDING.
        v_rqident = tsp01-rqident.
        EXIT.
      ENDSELECT.
      IF sy-subrc NE 0.
        CLEAR v_rqident.
      ENDIF.
    END-OF-SELECTION.
    WAIT UP TO 50 SECONDS.
        v_syspono = v_rqident.
      v_syspono = sy-spono.
      SUBMIT rspolist EXPORTING LIST TO MEMORY AND RETURN
                      WITH rqident = v_syspono
                      WITH first   = first_line
                      WITH last    = last_line.
    Getting spool content to internal table
      CALL FUNCTION 'LIST_FROM_MEMORY'
        TABLES
          listobject = list
        EXCEPTIONS
          not_found  = 1
          OTHERS     = 2.
    *Spool content in Ascii format
      CALL FUNCTION 'LIST_TO_ASCI'
        TABLES
          listobject         = list
          listasci           = txtlines
        EXCEPTIONS
          empty_list         = 1
          list_index_invalid = 2
          OTHERS             = 3.

    Hi
    now i'm using only this fn module
    CALL FUNCTION 'RSPO_RETURN_SPOOLJOB'
      EXPORTING
        rqident = V_rqident
      first_line = startline
      last_line = endline
       desired_type = 'RAW'
      IMPORTING
        real_type = real_type
      TABLES
      buffer = LT_TEXT
    EXCEPTIONS
      no_such_job = 1
      job_contains_no_data = 2
      selection_empty = 3
      no_permission = 4
      can_not_access = 5
      read_error = 6
      type_no_match = 7
      OTHERS = 8.
    IF sy-subrc <> 0.
      EXIT.
    ENDIF.
    i'm getting mail correly if it is online/foreground.
    if it is background only first page i'm getting
    .spool is having the correct/all data.
    if in foreground i hardcoded the spool no to the above fn mdoule it is working fine.
    i feel there is some restriction in background
    just now i searched in net. i saw some below msg
    If you run a report in the background that has more than 255 characters in the output, the spool cuts the output to 255 characters. An OSS Note has been applied to the system which created a new output format that allows for up to 380 characters of output in the spool. When you rerun the report, the TOP-OF-PAGE contents all get outputted in complete, but the data for the report (all WRITE statements after TOP-OF-PAGE) gets cut off at 255 characters. It works fine for an ALV report but it doesn't work for a regular WRITE statement report. 
    Kumar

  • Is there any restriction on DDL replication with 11.2.0.1 GG version on HP UNix

    Is there any restriction on DDL replication with 11.2.0.1 GG version on HP Unix

    Here is few:
    1. ALTER TABLE ... MOVE TABLESPACE
    2. DDL on nested tables
    3. ALTER DATABASE  and   ALTER SYSTEM  (these are not considered to be DDL)
    4. DDL on a standby database
    In addition, classic capture  mode does not support DDL that involves password-based  column encryption, such as:
    1.CREATE TABLE t1 ( a number, b varchar2(32) ENCRYPT IDENTIFIED BY my_password);
    2.ALTER TABLE t1 ADD COLUMN c varchar2(64) ENCRYPT IDENTIFIED BY my_password
    I would request you to check documentation. you can check that here:http://www.oracle.com/technetwork/middleware/goldengate/documentation/index.html
    -Onkar

  • IMessages and FaceTime could not be used.is there any restrictions in oman for usage ?, iMessages and FaceTime could not be used.is there any restrictions in oman for usage ?

    HiiMessages and FaceTime could not be used.is there any restrictions in oman for usage ?, iMessages and FaceTime could not be used.is there any restrictions in oman for usage ?

    Answer would be no unless application provided such feature. Numbers does not as far as I know.
    Note that even if you have complete list of formulae used in a table, identifying formulae referencing any given cell is not simple.
    E.g., cell T20 is referenced not only in
    =T20+1
    but also in
    =SUM(T)
    =SUM(20:20)
    =SUM(S19:U22)
    =OFFSET(S1,19,1,1,1)
    =INDIRECT("T"&(10*2))
    In order to identify such formula, we have to actually evaluate it to see if it references the given cell. Especially such formula as OFFSET() and INDIRECT() may not be found by static parser because their parameters can be dynamic.
    Sorry to be the bearer of bad tidings.
    H

  • Is there any restriction for the types of components in a tool bar.

    Hi, i'm using a tool bar where i'm having different command buttons and an "<af:inputFile>" component.
    In one of the command button i'm having "<af:setPropertyListener>" component. This command button is not being used as a partial trigger by any other component. If i invoke this button i'm getting "Assertion failed:Incorrect use of AdfRichUIPeer.GetDomNodeForCommentComponent" error.
    if i remove the either the "<af:inputFile>" or the command button having "<af:setPropertyListener>" from the tool bar then there is no such error.
    is there any restriction to use different components in a tool bar. Please clarify me . Thanks.

    Thanks for your inputs. But non of the component using the attributes "rendered". And non of the components is being partial trigger for other components. Please let me know what else could be the cause. Thanks.

  • Restrict number of entries in Select-Options

    Hi,
    I would like to restrict the number entries in select options. Lets say I have select options field defined for GL and I want only 10 GLs to be entered on Select-Options. If more than 10 Gls then it should give message that GL count is exceeding its Limit.
    Please may I know how I can do this ?
    Thanks for you help.

    Try this if you want to restrict rows in s_matnr for example.
    At selection screen.
    data: line type i.
    describe table s_matnr lines line.
    if line > 10.
       Message 'Error' Type 'E'.
    endif.
    or else if you want only 10 Materials to be selected then try this.
    At selection-screen.
    if s_matnr-high - s_matnr-low > 10.
        Message 'Error' type 'E'.
    endif.
    Regards,
    Vamsi

  • I'm wondering is there any way to see what tool is selected in full screen mode?

    Question: Is there any way to see what tool is selected in professional full screen mode when tools and windows are hidden?
    Here's an example what i mean..i made a sketch
    So what i mean is for example you are in full screen mode, and you press "U" to activate Rectangle Tool >>> you see like pop-up or anything similar that shows you what tool is selected.
    Thank you!

    you need iPhoto v9.2 or Aperture 3.2 to view the stream on your Mac.

  • Entries in Select-Options Range

    Hi Experts,
    I am experiencing short dump if i give more no of entries in select option (in range)
    can any one please suggest a solution to this?
    Points will be awarded.
    Thanks
    Dany

    Maximum number of entries in select options is only around 1630, you cannot give more than that
    i guess it is around 1600 - 1700
    chk this program , if u increase the do loop to 1800 it will give dump
    REPORT ychatest LINE-SIZE 350.
    TABLES : mara.
    SELECT-OPTIONS : s_matnr FOR mara-matnr.
    DATA : BEGIN OF itab OCCURS 0.
            INCLUDE STRUCTURE mara.
    DATA:    END OF itab.
    DO 1600 TIMES.
      s_matnr-sign = 'I'.
      s_matnr-option = 'BT'.
      s_matnr-low = ''.
      s_matnr-high = ''.
      APPEND s_matnr.
      CLEAR s_matnr.
    ENDDO.
    SELECT  * FROM mara INTO TABLE itab WHERE matnr IN s_matnr.
    WRITE : 'hi'.
    Message was edited by:
            Chandrasekhar Jagarlamudi

  • Are there any restrictions on TIMESTAMP BY

    Hi
    I want to ask if there are any restrictions on the values given to TIMESTAMP BY?
    For example how old could that value be? Are very old messages discarded?
    Or what happens if a message arrives which has the same timestamp as a previous one that is still on the service bus?
    Regards

    Hi
    Gökhan!
    I expect that this distinction is caused by the Event Hub retention policy.  Our job may be failing because because the start time falls below the Event Hub retention window, and we do not support that scenario...
    I am afraid I would still recommend putting the data into a blob for back-testing --- you can use the same query and everything!
    Or, of course, adjust the dates in your sample data...
    Thanks,
    --Lev

  • Is there any restriction using pl/sql packages depending on Oracle Version?

    Hi everybody. Our company is using a mix of pl/sql packages to call web services and process xml inside stored procedures. We are using UTL_HTTP, UTL_DBWS and UTL_XML. Our client asks if there is any restriction using those packages on a Standard One licensed database? Does we need an upgrade p.e. enterprise edition to use those packages? I test all our development on a Express Edition, and there is no restriction. We run the same test on a Standard One and Enterprise Editions and the result was the same, no restrictions.
    To use those packages does we need an upgrade to enterprise edition?
    Xavier.

    the packages that you mention are not restricted to a particular version.

  • Is there any restriction on the maximum no of levels in OBIEE 11 g Hierarchy.?

    Hi,
    Would like to know is there any known issue associated with having a hierarchy  with more no of levels ,for example more than 13 levels for a hierarchy
    Please let me know the details.
    Thanks in advance.
    Regards
    JSmith

    Hi JSmith,
    You can create more than 13 levels. i have seen that type of hierarchy.
    http://mkashu.blogspot.com
    Regards,
    VG

Maybe you are looking for

  • Viewing and adding rss feeds on iPad

    How can I see if a site I'm on has an RSS feed and how would I subscribe? On my Mac there's usually an icon in the address bar of whatever browser I'm using and clicking on it will add the feed to Google Reader. Can I do this on the iPad?

  • Logon failure due to an internal error

    Hi, We have installed XI 3.1 SP3 (plus fixpacks) on a server and I am trying to access Web Intelligence on the client machine. I get the error "Logon failure due to an internal error." Any ideas what the problem may be? I can login into Web Intellige

  • Can i upgrade my Imac from 10.5.8 to snow leopard?

    So i have an Imac from around 2006, id IMac 7,1 with no upgrades, just the basic. Its currently on 10.5.8 software (Leopard), but i do have the dvd disc for snow leopard (10.6). Is it possible to upgrade the software on the mac, as i heard it wasnt f

  • HowTo?  find most recent checkins, by userID, sorted by date??

    I can't find any reporting capabilities within RON. Is there another tool? Has anyone written these sql scripts and can share? Thanks, curt

  • Where can I find Resolution Benchmarking.vi used in Tutorial 3778?

    Where can I go to download the Resolution Benchmarking.vi program used in Tutorial # 3778 "Performing High-Accuracy Temperature Measurements Using a NI Digital Multimeter and Switch"? Thank you, Kevin Hanson