GENERATE_SUBPOOL_DIR_FULL  error while populating dynamic tables

Hello!
I have created a program that extensively uses dynamic internal tables. However, I faced a probelm regarding dynamic popultion of tables.
Here is the sample:
REPORT  ZTEST.
DATA: t_fcat    TYPE lvc_t_fcat,
      dt_outtab TYPE REF TO DATA.
FIELD-SYMBOLS: <tab> TYPE STANDARD TABLE.
CALL FUNCTION 'LVC_FIELDCATALOG_MERGE'
        EXPORTING i_structure_name = 'CSKS'
        CHANGING  ct_fieldcat      = t_fcat.
DO 100 TIMES.
  CALL METHOD cl_alv_table_create=>create_dynamic_table
               EXPORTING it_fieldcatalog = t_fcat
               IMPORTING ep_table        = dt_outtab
               EXCEPTIONS generate_subpool_dir_full = 1
                          others                    = 2.
  IF sy-subrc = 0.
      WRITE / sy-index.
  ELSE.
      WRITE: / 'Error - sy-subrc = ', sy-subrc.
      EXIT.
  ENDIF.
ENDDO.
WRITE / 'End'.
By using this program I found out that I can create no more than 36 internal tables for each program run. At the 37th one, the program raises an exception GENERATE_SUBPOOL_DIR_FULL.
Each method call creates a subroutine pool that stores a table, and obviously their number is limited somehow, in my case to 36.
we can ask user to leave the program and start again, which is really not a feature of a professional application.
I'd like to have the solution with no limits as my program should run for as many as 100 tables where I need to create dynamically, at one strech.
I'm using 4.6 release.
Are there any experiences with this?
Thanks in advance!
Kind regards,
Lalitha.

Check this form, is one alternative, may be is usefull for you:
FORM create_corresponding_tables TABLES not_standard
STRUCTURE not_standard.
DATA: progname LIKE sy-repid.
DATA: BEGIN OF repcode OCCURS 10,
line(72),
END OF repcode.
repcode-line = 'REPORT NEW_INFOTYPE_DATA.'.
APPEND repcode.
repcode-line = 'FORM DATA_DECLARATIONS.'.
APPEND repcode.
LOOP AT not_standard.
CONCATENATE 'P' not_standard-infty INTO repcode-line.
CONCATENATE 'DATA: ' repcode-line 'LIKE' repcode-line
'OCCURS 10 WITH HEADER LINE.'
INTO repcode-line SEPARATED BY space.
APPEND repcode.
ENDLOOP.
repcode-line = 'ENDFORM.'.
APPEND repcode.
GENERATE SUBROUTINE POOL repcode NAME progname.
PERFORM data_declarations IN PROGRAM (progname).
ENDFORM. " CREATE_CORRESPONDING_TABLES

Similar Messages

  • SOM Error while using Dynamic Tables

    Hi Gurus,
        I have created a Adobe form with Dynamic tables and integrated in Webdynpro ABAP.
    When I test the form, while opening the form the following error occurs ..
    " The SOM Expression '$record.BP_DETAILS' for the dataRef specified on field 'BP_DETAILS' ,resolved to an incompatible node of type 'dataValue'..
    After I press ok in the popup error message the Interactive form is displayed and I am able to add rows dynamically .. but the data .. but on submit the data is not passed to the context..
    when i change the cardinality of the context from " 0..n" to "1..n" .. this error does not appear.. but while submit only the first row is saved to the context..
    Has some one come across this error.. Please let me know how to get the dynamic table data to be passed to webdynpro ..
    Thanks and Regards
    Sivaraj

    Hi
    To show dynamic data in tables using adobe,follow these steps:
    1. Create a value node say DataSource of cardinality 1.n and an other value node  of cardinality 0.n which actually contains data.
    2. create an array or use value node to collect data which is to be transferred to adobe.
    3. data can be collected using for loop and create node element inside the loop and set corresponding values of each element.
    4. add this element to value node.(step 3,4 are to be performed under loop)
    5.You can use reverse loop to read and send data from adobe to data base which can be performed under submit button to sap.
    Sample code to send data from dynpro view to adobe
    Collection myRecords = new ArrayList();
    myRecords.clear();
    Collection records = new Vector();
    IPrivateTestAdobeFormView.INotificationRecordsElement notifRecord = null;
    int NUM_RECORDS = 5;
    for (int i = 0; i < NUM_RECORDS; i++)
    IPrivateTestAdobeFormView
         .INotificationRecordsElement
              notifRecordElement =
                   wdContext
                        .createNotificationRecordsElement();
    notifRecordElement.setNotificationNumber("" + i);
    notifRecordElement.setNotificationDesc("Description for " + i);
    myRecords.add(notifRecordElement);
    wdContext.nodeNotificationRecords().bind(myRecords);
    To save data from adobe to sap
    IPublic<your view>.I<your>Node node = wdContext.<your>node();
            node.invalidate();
            int size = wdContext.nodeRFQ_Questions().size();
            Zqq_Qid_Ans_Txt newnode;
            for (int i = size-1; i >= 0; i--) {
                 newnode = new Zqq_Qid_Ans_Txt();
                 String answertext = wdContext.nodeRFQ_Questions().getRFQ_QuestionsElementAt(i).getAnswer_Text();
                 newnode.setAnswer_Text(answertext);
                 String questionid = wdContext.nodeRFQ_Questions().getRFQ_QuestionsElementAt(i).getQuestion_Id();
                 newnode.setQuestion_Id(questionid);
                 quote.addT_Qid_Anstxt(newnode);
    Mandeep Virk

  • Error while creating dynamic Table

    Hi All,
    I have a node 'SEG' with 3 attributes, ATTR1.2.3, I am tring to crate dynamic table using this context node. Initialy i am displaying view with button, when click on this button i want to create table dynamically.. if click again one more table i have to create.. its giving dump... here is the code... How to do this???
    data: wd_node_info type ref to if_wd_context_node_info,
            wd_node type ref to if_wd_context_node,
            lr_container type ref to cl_wd_uielement_container,
            lv_tablename type string,
            lt_db_data type ref to data,
            lr_table type ref to cl_wd_table.
      field-symbols: <lt_data> type any table.
      wd_node_info = wd_context->get_node_info( ).
      wd_node = wd_context->get_child_node( name = 'SEG' ).
    lr_container ?= view->get_root_element( ).
      cl_wd_matrix_layout=>new_matrix_layout( container = lr_container ).
    " Creating internal table with the same structure as our dynamic
      context node
      CALL METHOD CL_WD_DYNAMIC_TOOL=>CREATE_TABLE_FROM_NODE
        EXPORTING
          UI_PARENT = lr_container
          TABLE_ID  = 'MY_TABLE'
          NODE      = wd_node
        RECEIVING
          TABLE     = lr_table.
      cl_wd_matrix_data=>new_matrix_data( element = lr_table ).
      lr_table->bind_data_source( path = 'SEG' ).
    Thanks'
    Madhan.

    Hi Sarbjeet,
    The code is working fine, when i use in wddomodify view method without button click on first time.( I checked this by creating another component). But I am creating dynamic table when click on button(view contains one button initially), for this i created two attributes FLAG OF TYPE wdy_boolean and count of type int1. and in button action i write this code :
      DATA lo_el_context TYPE REF TO if_wd_context_element.
        DATA ls_context TYPE wd_this->element_context.
        DATA lv_flag LIKE ls_context-flag.
      get element via lead selection
        lo_el_context = wd_context->get_element( ).
      get single attribute
        lo_el_context->set_attribute(
            name =  `FLAG`
            value = abap_true ).
      DATA lv_count LIKE ls_context-count.
    get element via lead selection
      lo_el_context = wd_context->get_element(  ).
    get single attribute
      lo_el_context->get_attribute(
        EXPORTING
          name =  `COUNT`
        IMPORTING
          value = lv_count ).
    lv_count = lv_count + 1.
    lo_el_context->set_attribute(
        EXPORTING
          name =  `COUNT`
          value = lv_count ).
    and in wddomodify view method following code..
    Method WDDOMODIFYVIEW
    DATA lo_el_context TYPE REF TO if_wd_context_element.
      DATA ls_context TYPE wd_this->element_context.
      DATA lv_flag LIKE ls_context-flag.
      get element via lead selection
        lo_el_context = wd_context->get_element(  ).
      get single attribute
        lo_el_context->get_attribute(
          EXPORTING
            name =  `FLAG`
          IMPORTING
            value = lv_flag ).
      DATA lv_count LIKE ls_context-count.
    get element via lead selection
      lo_el_context = wd_context->get_element(  ).
    get single attribute
      lo_el_context->get_attribute(
        EXPORTING
          name =  `COUNT`
        IMPORTING
          value = lv_count ).
    if lv_flag = abap_true. ......
    Remaining code same post previously************8
    get element via lead selection
      lo_el_context = wd_context->get_element(  ).
    get single attribute
      lo_el_context->set_attribute(
        EXPORTING
          name =  `FLAG`
          value = abap_false ).
    endif.
    endmethod...
    I created like this i am not getting other UI elements(input, ddbykey,button).
    And if i click view button again it going to dump..
    Thanks,
    Madhan.

  • Error while populating Xref table

    Hi all,
    I have created a project where i will extract job_id from source instance(which i am getting from AIAServiceConfigProperties.xml file) and populate it in the xref table.
    Now i have imported 3 knowledge modules for this project:-
    1. KM_LKM SQL to SQL (Mediator XREF)
    2. KM_IKM SQL Control Append (Mediator XREF)
    have not imported CKM as it cant handle LONG datatypes.
    I have kept xref_table in the target datastore and the the job table in the source datastore panel. i have created a variable which extracts the sourceID from the AIAConfig file. But when it comes to the step of populating data into the xref table this error crops up:-
    com.sunopsis.sql.SnpsMissingParametersException: Missing parameter
         at com.sunopsis.sql.SnpsQuery.completeHostVariable(SnpsQuery.java)
         at com.sunopsis.sql.SnpsQuery.updateExecStatement(SnpsQuery.java)
         at com.sunopsis.sql.SnpsQuery.executeUpdate(SnpsQuery.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execStdOrders(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSqlI.treatTaskTrt(SnpSessTaskSqlI.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java)
         at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java)
         at com.sunopsis.dwg.cmd.DwgCommandSession.treatCommand(DwgCommandSession.java)
         at com.sunopsis.dwg.cmd.DwgCommandBase.execute(DwgCommandBase.java)
         at com.sunopsis.dwg.cmd.e.i(e.java)
         at com.sunopsis.dwg.cmd.g.y(g.java)
         at com.sunopsis.dwg.cmd.e.run(e.java)
         at java.lang.Thread.run(Unknown Source)
    Am i missing something here?
    Regards,
    Sourav

    Hi SH,
    I have created a variable GetSourceColumnName and in the xref table i have mapped #GetSourceColumnName against XREF_COLUMN_NAME in the xref table. When i am executing the package it is showing the required value but it is showing error in loading data into this xref table.
    (in my AIAServiceConfig file my systemID is EBIZ_01 so when i am clicking on the variable after execution i can see this system ID)

  • Error while dropping a table

    Hi All,
    i got an error while dropping a table which is
    ORA-00600: internal error code, arguments: [kghstack_free1], [kntgmvm: collst], [], [], [], [], [], [], [], [], [], []
    i know learnt that -600 error is related to dba. now how to proceed.
    thanks and regards,
    sri ram.

    00600 errors should be raised as service request with Oracle as it implies some internal bug.
    You can search oracle support first to see if anyone has had the same class of 00600 error, and then if not (and therefore no patch) raise your issue with Oracle.
    http://support.oracle.com

  • Error while loading AS400 table

    Posted: 14 May 2014 08:11
    Post subject: Error while loading AS400 table
    Hi,
    I was trying to load an AS400 table using a flat file as source. The table and flat file has a single field only. I'm getting the error "<SQLExecute>: <[IBM][System i Access ODBC Driver]Error in assignment.>"
    The screenshot of the full error message is attached. can someone please help me to resolve this.
    Thanks,
    david

    Posted: 14 May 2014 08:11
    Post subject: Error while loading AS400 table
    Hi,
    I was trying to load an AS400 table using a flat file as source. The table and flat file has a single field only. I'm getting the error "<SQLExecute>: <[IBM][System i Access ODBC Driver]Error in assignment.>"
    The screenshot of the full error message is attached. can someone please help me to resolve this.
    Thanks,
    david

  • Full Load: Error while executing :TRUNCATE TABLE: S_ETL_PARAM

    Hi All,
    We are using Bi Apps 7.9.6.1. Full Load was running fine. But Now we are facing a problem with truncating a table "S_ETL_PARAM".
    I have restart informatica Server And also DAC Srever. But still I am getting the same in the DAC Log as, *"NOMALY INFO::: Error while executing : TRUNCATE TABLE:S_ETL_PARAM*
    *MESSAGE:::com.siebel.etl.database.IllegalSQLQueryException: DBConnection_OLTP:SIEBTRUN ('siebel.S_ETL_PARAM')*
    *Values :*
    *Null Map*
    *EXCEPTION CLASS::: java.lang.Exception"*
    Any Suggestion.....
    Thanks in Advance,
    Deepak

    are you trying to run incremental load when you get this truncate error? can you re-run full load and see that still runs ok? pls also check your DW side database logs like alert lor any DB level issue. such errors do not throw friendly messages in DAC/Informatica side.

  • Error while filling setup tables for 2lis_13_vahdr

    Dear friends,
    I am getting below Error while filling setup tables for 2lis_13_vahdr.
    More faulty documents found than the tolerated 0000000000
    Message no. M2222
    Can any one guide me how to address this issue.
    Thanks and Regards
    Nithya

    Hello Nithya,
    It seems the No of tolerated faulty documents that you have given is 0. So when you initialize try to these.
    While executing OLI*BW including a value in the maintain  "No. tolerated faulty documents" - 5000 or 10000.
    Then execute the program in background.
    Once the job is completed check the background job log if any errors.
    Thanks
    Chandran

  • Error while filling setup table for Sales

    Dear Team,
    We are getting following error while filling setup table for Sales (application component 11) and for Billing (application component 13),
    application component 11
    Error determining rate: foreign curr.  local curr. INR date 08.10.2007 (doc. 673624) (JOB - RMCVNEUA)
    Message No M2810
    application component 13
    Billing document 480050000: error determining stats. currency rate (no updating)
    More faulty documents found than the tolerated 0000000000 (JOB - RMCVNEUF)
    I have seen lot of threads based on this but all r showing diffrenent currency to INR but for the above mentioned documents currency is in INR only so why it is showing the error I am not able to determine.
    If anybody faced this problem kindly reply to this.
    Best Regards,
    SG

    Hi There,
    Might be your using a wrong document number.
    I mean if your using the 11 you should use only Sales document number and for 13 you should only use billing document number.
    If you use vice versa that error will throw.
    Regards,
    MQ

  • Timeout error while filling setup tables

    HI all
    I am getting timeout error while filling setup tables(OLI1BW).I clicked on execute button on hte screen.Its not scheduled as a background job.
    Going through threads i have come to know that to solve this issue
    1.BASIS team have to increase backgroung processses or memory
    2.run it as a background job.
    When I went to Program->Executein the backgroundPrint background parameters window has popped up.
    What to do in there?I am afraid if I include parameters like printer name....what is it and how long is it going to print?
    Please let me know.
    Thanks,
    Harika.

    thanks for the reply.
    it was set to LOCL only.
    But i have 3 options in the dropdown  windowsprinter :Send to onenote2007
                                      Microsoft XPS document writer
                                      OUrprinteraddress
    WHich one to choose here?
    Edited by: harikag on Aug 10, 2011 8:47 AM

  • 3-1674105521 Multiple Paths error while using Bridge Table

    https://support.us.oracle.com/oip/faces/secure/srm/srview/SRViewStandalone.jspx?sr=3-1674105521
    Customer Smiths Medical International Limited
    Description: Multiple Paths error while using Bridge Table
    1. I have a urgent customer encounterd a design issue and customer was trying to add 3 logical joins between SDI_GPOUP_MEMBERSHIP and these 3 tables (FACT_HOSPITAL_FINANCE_DTLS, FACT_HOSPITAL_BEDS_UTILZN and FACT_HOSPITAL_ATRIBUTES)
    2. They found found out by adding these 3 joins, they ended with circular error.
    [nQSError: 15001] Could not load navigation space for subject area GXODS.
    [nQSError: 15009] Multiple paths exist to table DIM_SDI_CUSTOMER_DEMOGRAPHICS. Circular logical schemas are not supported.
    In response to this circular error, the developer was able to bypass the error using aliases, but this is not desired by client.
    3. They want to know how to avoid this error totally without using alias table and suggest a way to resolve the circular join(Multiple Path) error.
    Appreciated if someone can give some pointer or suggestion as the customer is in stiff deadline.
    Thanks
    Teik

    The strange thing compared to your output is that I get an error when I have table prefix in the query block:
    Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    Master table "SYSTEM"."SYS_IMPORT_FULL_01" successfully loaded/unloaded
    Starting "SYSTEM"."SYS_IMPORT_FULL_01":  system/******** DUMPFILE=TMP1.dmp LOGFILE=imp.log PARALLEL=8 QUERY=SYSADM.TMP1:"WHERE TMP1.A = 2" REMAP_TABLE=SYSADM.TMP1:TMP3 CONTENT=DATA_ONLY
    Processing object type TABLE_EXPORT/TABLE/TABLE_DATA
    ORA-31693: Table data object "SYSADM"."TMP3" failed to load/unload and is being skipped due to error:
    ORA-38500: Unsupported operation: Oracle XML DB not present
    Job "SYSTEM"."SYS_IMPORT_FULL_01" completed with 1 error(s) at Fri Dec 13 10:39:11 2013 elapsed 0 00:00:03
    And if I remove it, it works:
    Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    Master table "SYSTEM"."SYS_IMPORT_FULL_01" successfully loaded/unloaded
    Starting "SYSTEM"."SYS_IMPORT_FULL_01":  system/******** DUMPFILE=TMP1.dmp LOGFILE=imp.log PARALLEL=8 QUERY=SYSADM.TMP1:"WHERE A = 2" REMAP_TABLE=SYSADM.TMP1:TMP3 CONTENT=DATA_ONLY
    Processing object type TABLE_EXPORT/TABLE/TABLE_DATA
    . . imported "SYSADM"."TMP3"                             5.406 KB       1 out of 2 rows
    Job "SYSTEM"."SYS_IMPORT_FULL_01" successfully completed at Fri Dec 13 10:36:50 2013 elapsed 0 00:00:01
    Nicolas.
    PS: as you can see, I'm on 11.2.0.4, I do not have 11.2.0.1 that you seem to use.

  • Out of Disk Space Error while Generating Pivot Table

    Hi!
    I encountered the following error while Generating Pivot Table -
    View pivotTableView!1 returned the following message:
    Odbc driver returned an error (SQLExtendedFetch).
    Error Details
    Error Codes: OPR4ONWY:U9IM8TAC
    Location: saw.odbc.statement.fetch,
    saw.cube.engine.execute.dataTraversal, saw.cube.engine.execute,
    saw.cube.cache.processCube, saw.views.pivottable.displayer,
    saw.subsystem.portal, saw.httpserver.request,
    saw.rpc.server.responder, saw.rpc.server,
    saw.rpc.server.socketServer, saw.threadPool, saw.threadPool,
    saw.threads
    File: ./project/webodbcaccess/odbcresultsetimpl.cpp, Line: 182
    State: S1000. Code: 10058. [NQODBC] [SQL_STATE: S1000] [nQSError:
    10058] A general error has occurred. Out of disk space. (S1000)

    user11204020, what's your question?? :)
    You're getting an out of disk space error ... which means you've run out of disk space, no?
    Since it's saw related I'm guessing you'll need to make more space available to your OracleBIdata/tmp directory

  • DAC: "error while reading repository table". Please help!

    Hi everybody,
    I copied DAC directory from server to a workstation.
    DAC client on server machine runs normally.
    When trying to run DAC client on the workstation, I get an error message "Error while reading repository table".
    I tried to find any DAC log file to get some additional information, but I couldn't.
    The connection in DAC seems to be configured properly (test connection successful).
    The only difference I found between server and workstation is that there are two Oracle homes installed on the workstation and one - on the server.
    Thanks,
    Alex

    So you can read the tables now? Good to know.
    Just as a hint: if you "tnsping" your data source from a command window, you'll see which path and file is used, so you can find out which home.
    TNS Ping Utility for 32-bit Windows: Version 11.1.0.6.0 - Production on 04-MAR-2009 16:42:43
    Copyright (c) 1997, 2007, Oracle. All rights reserved.
    Used parameter files:
    C:\Oracle\product\11.1.0\client_1\network\admin\sqlnet.ora <--- my 11g home is used and not the 9i or 10g which also reside on this machine.
    @DAC client can't connect to server: i.e. the icon stays red?
    - Is your server up and running? (I don't want to start a flame war, but it happens to the best of us)
    - Did you go through the steps here? http://download.oracle.com/docs/cd/E12513_01/doc/bic.101/e12653/dac_configure.htm
    Cheers,
    C.

  • DAC: error while reading repository table

    Hi everybody,
    I installed DAC (copied from server to a workstation).
    When trying to run DAC client on the workstation, I get an error message "Error while reading repository table"
    The connection seems to be configured properly (test connection successful).
    DAC client on server machine starts normally.
    What can be a problem?
    Thanks,
    Alex

    Hello again!
    Has anybody seen this problem?
    What can it be?
    Where can I find DAC logs?
    Cheers,
    Alex

  • Getting an error while populating the XREF table

    Hi all,
    I have created a package for populating xref table(have imported the required kms into this project)in which the steps are as follows:-
    1. getting the source column name from the AIAserviceConfigProperties file
    2. then the interface for extracting the job_id into the xref table
    I am getting the source column name but i am not able to populate the xref table..i am getting the following error:-
    com.sunopsis.core.SnpsInexistantObjectException: There is no connection for this logical schema/context pair:ESB_XREF / GLOBAL
    please throw a light on this
    Regards,
    Sourav
    Edited by: user13263578 on Feb 20, 2011 8:26 PM

    hi all,
    Do i have to create a new context because of importing KM_LKM SQL to SQL (ESB XREF) in my project?
    Regards,
    Sourav
    Edited by: user13263578 on Feb 20, 2011 10:36 PM

Maybe you are looking for