Refresh Buffer area

Hi ,
  I am using cl_alv_table_create=>create_dynamic_table to get an dynamic internal table. At 5th record , the program is dumping and giving error as
<b>'sub routine pool buffer is full'</b>.
Could you please suggest me to refresh this buffer .
  Is there any Function module or method to refresh buffer area.
Thanking you,
Satya

Hi Naga,
There lies the problem. U can call this method only upto 21 times not more than that in one session. Even I too faced the same kind of situation. Then I arrived at a solution of storing the address of the new line type created  with the same structure of the table. Like,
TYPES: BEGIN OF ty_stuff,
       tdref TYPE REF TO data,
       END OF ty_stuff.
DATA w_stuff TYPE ty_stuff.
DATA t_stuff TYPE TABLE OF ty_stuff.
CALL METHOD cl_alv_table_create=>create_dynamic_table
        EXPORTING
          it_fieldcatalog = it_fieldcat_fin[]
        IMPORTING
          ep_table        = new_table.
    IF sy-subrc EQ 0.
Create a new Line with the same structure of the table.
        ASSIGN new_table->* TO <fs_table>.
        CREATE DATA w_stuff-tdref LIKE LINE OF <fs_table>.
        "(w_stuff-tabname).
        APPEND w_stuff TO t_stuff.
      ENDIF.
So my table t_stuff will contain all the addresses of the table structures. Use that in this way:
      READ TABLE t_stuff INDEX l_seg_tabix INTO w_stuff.
      IF sy-subrc EQ 0.
        ASSIGN w_stuff-tdref->* TO <l_line1>.
      ENDIF.
Now <l_line1> will be of line type of the internal table that u want to create.
Anyways it depends on the requirements. I thought of sharing this, might be helpful in some way to u.
-SatyaPriya

Similar Messages

  • Unable to refresh buffer memory

    Hi Gurus,
    I am trying the use the refresh an ALV report output.
    Whenever i click on the refresh button it again calls the select queries.
    In that select query i am using one function module 'STATUS_READ'.
    Now this fm is giving the same result that it was giving when the report is run for the first time even though the value is changed now.
    I think it's not clearing the buffer area for a particular input value that's why it's giving the same result for a particular input.
    Please provide your input.
    Regards,
    Amit Kumar Singh

    Try this
    DATA: REF1 TYPE REF TO CL_GUI_ALV_GRID.
    *after reuse_alv_grid_display write
    CALL FUNCTION 'GET_GLOBALS_FROM_SLVC_FULLSCR'
      IMPORTING
      ET_EXCLUDING             =
      E_REPID                  =
      E_CALLBACK_PROGRAM       =
      E_CALLBACK_ROUTINE       =
        E_GRID                   = REF1
      ET_FIELDCAT_LVC          =
      ER_TRACE                 =
      E_FLG_NO_HTML            =
      ES_LAYOUT_KKBLO          =
      ES_SEL_HIDE              =
    CALL METHOD REF1->CHECK_CHANGED_DATA.

  • Refresh DIV area contents

    I have DIV area on my page which contains php code <? echo
    rand();?> this shows random number in DIV area, now i have to
    refresh this DIV area so that on click only this DIV area refreshes
    and new random number appears. after this i will update this DIV
    section using timeout which will automatically refresh DIV area
    after specific interval of time.
    I am ok with loading another file in div area, but how can i
    get the same functionality with some code or content in the div
    area . Please help me in this regard. Thanks

    1, make a single page that echos the echo rand.
    2, use a function that pulls th php file in to the div
    container, u using Spry.Utils.updateContent
    1, u can probly do that your self,
    2, i can give u a little example.
    Include the following in the mainpage's header:
    SpryData.js
    SpryDOMUtils.js
    Also include this script in your header:
    <script type="text/javascript">
    Spry.Utils.addLoadListener(function(){
    updateDIV
    function updateDIV(){
    //DIVIDNAME = the id of the element where u want the rand to
    be loaded in also u can change rand.php to what ever file name u
    want to be loaded
    //change settimeout to how many sec u want the div to be
    refreshed
    Spry.Utils.updateContent('DIVIDNAME', 'rand.php');
    setTimeout('updateDIV();',10000);
    </script>
    This will do what u described in your post.

  • What is Column Buffer area?

    What on earth is Column Buffer area? How do i increase it?
    While issuing a simple SELECT query i received the error ORA-01406 fetched column value was truncated . It is a 9i Error. The solution for this mentioned in documentations is : Action: Increase the column buffer area to hold the largest column value or perform other appropriate processing .
    The weird thing is , this query works on our sample database, Oracle version 9.2.0.5.0 . But it doesn't work in our client site on the same version (9.2.0.5.0) .
    Any thoughts?

    I have an SQR that reads a CLOB field. I had one value returned that was > 12,000 bytes.
    Apparently, the SQR db drivers can't handle an entire CLOB as a single column in a select statement. The trick is to break up the CLOB into chunks of 12,000 KB columns and combine them later in order for the SQR to handle it.
    begin-select
    clobfield
    let $myclob = &clobfield
    show $myclob
    end-select
    The above SQL would return an error:
    (SQR 5528) ORACLE OCIStmtFetch error 1406 in cursor 18:
    ORA-01406: fetched column value was truncated
    Error on line 67:
    (SQR 3725) Bad return fetching row from database.
    To avoid this error, I used the following:
    begin-select
    substr(clobfield, 0, 12000) &clobfield1
    substr(clobfield, 12000, 24000) &clobfield2
    !Add more if your data will be > 24000 bytes
    let $myclob = &clobfield1 || &clobfield2
    show $myclob
    end-select

  • I need to move home and refresh icons back to the left. I uninstalled Firefox 4 and reinstalled Firefox 6 and the home and refresh icons are still on the left. Help! (I have tendonitis and this makes my wrist move too far.)

    # Question
    i need to move home and refresh icons back to the left. I uninstalled Firefox 4 and reinstalled Firefox 3.6 and the home and refresh icons are still on the right. Help!

    You can right-click on the "Home" button and choose "Customize," then drag all of the icons (including Home and Reload) to where you want them.
    For more detailed instructions, see [[How do I customize the toolbars?]]

  • Refresh buffer when rfc gets data from crm and the data was updated from R3

    hi all
    I have a program in r3 for maintenance of partners, so the user can create or update a CRM partner from the R3 system. if you are updating a partner, the program gets the data from CRM via RFC and saves the changes via zBDoc. if the user modify a partner and then try to check if the info were updated, he needs to leave the transaccion and run it again in order to the RFC gets the data updated. how I can avoid to leave the transaccion? i tried with a buffer refresh and commit but it doesn't works.... any idea?
    tnks

    Hi Alan,
    THANK YOU for that hint. That brought me a giant step further, seriously! Many thanks! Now my report is running and hourly creating an instance, reeally nice!
    But of course, the next problem is arising rapidly: Now that I got my report creating instances, the funny thing happening is the following: I created the WebI report with the WebI-Rich Client and then saved it to the server. In InfoView I scheduled the instance creation and the strange thing is now: The values differ. In the original report the values for some percentage ratios (e.g. 50%) show up as they should with four decimals: 0,5000 (German way of displaying numbers with decimals). BUT: In the instances of the same report, exactly these numbers would appear as 0,0000. So the numbers would just not be displayed! But all other numbers (all numbers not having decimals) would show up as they are supposed to even in the instances of the report.
    This is kind of strange to me. Does anybody have a clue what the problem might be?
    Many thanks again! And I hope I am not bothering you guys with these "newbie" questions.
    Thanks and best regards,
    Kai

  • After SALV Refresh, rows are still selected in display

    I have an SALV output (simple list) that updates  a database table based upon user action.  During the user_command processing, I modify the internal table for the SALV, removing the rows that have been updated by the user, and clearing my index row table created from the get selects methods (this appears to prevent this problem in older ALV versions).  Then, I do a alv->refresh( ).
    Upon re-entry to the SALV display, all the data is correct, but the rows that were previously selected by the user are highlighted.  For example, if the user updated row 1, I do the processing and return to the SALV display after refresh. Row 1 (formerly row 2)  is now highlighted.
    If the user updated rows 1 and 3, upon return to the screen 1 and 3 are still selected (were 2 and 4 before the update).   .  If the user updated the last row, the SALV display has no rows highlighted and cursor is on row 1, column 1, which would seem to be the correct behavior after the refresh.
    SALV_DEMO* programs don't appear to handle this, and I don't find any method that will let me reset that prior user selection.
    Any suggestions to correct the "memory" feature of the SALV display?

    Hi ,
    Try to free your container before clearing your alv grid.
    try the below code.
    CALL METHOD containername->free
            EXCEPTIONS
              cntl_error        = 1
              cntl_system_error = 2
              OTHERS            = 3.
          IF sy-subrc <> 0.
          ENDIF.
          CLEAR containername.
          CALL METHOD grid name->free
            EXCEPTIONS
              cntl_error        = 1
              cntl_system_error = 2
              OTHERS            = 3.
          IF sy-subrc <> 0.
          ENDIF.
          CLEAR grid name.
    Regards,
    Chitra

  • The back and forward arrow, the house icon and the refresh icon are missing. How do I find them, thanks

    The back and forward arrows are missing, as are the house icon and the refresh icon. All that goes in that area. Can you tell me how to find them? Thanks

    This article will help you restore them - [[Back and forward or other toolbar items are missing]]

  • Field rename in DB, how to refresh Business Area?

    I'm the Discoverer Administrator and one of the underlying
    tables in my database has has a field name change. How do
    I "refresh" the table/folder in the business area I created? I
    don't want to loose any customization I've done for that
    table/folder. I have no joins on the renamed field.
    Can you please reply back to my email as well as the forum?
    Thanks. [email protected]

    highlight the folder in the Admin edition and press Control+R.
    This will refresh the folder and reflect that the old field name
    is not available and show the addition of the new field.

  • Refresh subject area

    Hi,
    i am using 11g, and made some changing on admin tool.
    but i couldnt find them on persentation server, subject area.
    so how can i refresh the model?
    thank you

    Hi,
    By Clicking the button executes the default behavior of Refresh Display. Clicking the arrow enables you to select Refresh Display or Reload Server Metadata to refresh the subject area's metadata.
    Still if your not able to see your Subject Area then try to restart BI Presentation Services then its will get display in bi presentation page(by using opmn command)
    FYI:refer the screen short:
    http://imgur.com/l9m7W
    Thanks
    Deva

  • Urgent: Datatype change, cannot refresh business area

    First time I've pulled the Urgent thing but I have a problem. We had a datatype change for an ID field and I cannot refresh the associated business area because it get the following error message after it analyses the differences. There are several areas where this field is referenced, but it is only showing me one. When I try to refresh I get the following:
    "This item is used elsewhere, its datatype cannot be changed".
    The item is used in several joins within this business area. If they are all changed when the business area refreshes, things should work fine. Any thoughts?

    So in the database you changed the datatype for this ID field. This ID field I assume is a foreign key in other database tables. Where those tables updated also to the new datatype?

  • DVDSP 4.1.2 - Assets not refreshing or are corrupt when changed

    I've been frustrated with this time and again. I burn a test project built in DVDSP then make a change to either the main "feature" or to a menu video in FCP. I export it using compressor, using the same name (overwriting the old version). When I open DVDSP I'm asked if I want to refresh assets since some have changed. I click on refresh. When I simulate the project there is a blank (or green) screen - no video. When I try to delete the asset I can't - says it's in use. I can try re-importing the asset but same results. The only way I've found around this is to delete the "Feature", delete the menu used by the asset then delete the asset. Essentially, start over again.
    So, what's up here? Am I missing something?
    Carl

    The parsed files are the problem (at least they were for me)
    In the same directory as where your asset is, you should find a PAR folder. Trash the parsing file that matches the name of your asset. When you relaunch the DSP project, it will reparse the assets and everything should be honky dory. It does seem like the asset does not reparse well when updated/relinked etc.
    I was getting blank tracks after recompressing (keeping the original file name) and this fixed it/
    Good luck

  • How to refresh buffer ?

    I am using FM PD_OBJECTS_COLLECT, it returns lets say 10 rows. I come back to the selection screen and run the program again then it returns 20 rows somehow. If I keep doing it, it keeps updating incrementing the return lines. Even if I come back from the selection screen into the code of the program, it continues incrementing the resultset.
    Now, I am using the FM HR_INITIALIZE_BUFFER to initialize the buffer, but that is not doing anything at all.
    Any tips ?
    Thanks.

    Hi
       when you use FM to get data, do you use the internal table to collect data? If so, after you deal with the internal table do you clear it or refresh it to free the memory?

  • Refreshing Business Area - "This item is used elsewhere"

    We are preparing for an upgrade to Banner 8, and from the Discoverer side, I know one of the first tasks is to refresh the business areas in Discoverer Admin (10.1.2.2). In a test instance, I tried refreshing a couple separate folders in one of the most-used BA's; no problem.
    When I tried to refresh the entire BA (about 300 folders), I looked through the results and didn't see anything unexpected. After I hit OK, though, it worked for a while then gave me an error box - "This item is used elsewhere, its datatype cannot be changed. Error refreshing the definition of the End User Layer." No indication of WHICH item, no option other than the "OK" button. When I accept OK, it doesn't appear that anything has been refreshed.
    I would prefer not to refresh each folder individually (and, this is only one of many BA's). Can anyone give me a clue about what it's trying to tell me? For the most part, our BA's are self-contained, but there may be a case where we have a join across different BA's. If anyone has had experience with this issue, I'd appreciate anything you can share. It could be something totally unrelated to the Banner upgrade (the BA's aren't normally refreshed on a regular basis) - but I'm not sure what's the best way to track down the problem. My next plan is to refresh them in groups until I hit the one with the problem, but maybe someone has a better idea.
    And a side question - is there any way to export or copy the list of items it generates - the one where you can examine and check/uncheck individual items before proceeding?
    Thanks much,
    Martha
    Update - well, it wasn't Banner 8 related; more likely related to an earlier Banner upgrade where nobody refreshed the BA's. Normally their internal id (pidm) is numeric, but in one Banner-supplied view it's varchar. For whatever reason, the Discoverer folder had it defined as numeric. If I don't accept that change (changing datatype from numeric to varchar), it refreshes fine. Looks like the issue's been there for a while and hasn't caused us a problem yet. Still, any other input is welcome!
    Edited by: mrigg on Jun 30, 2010 10:32 AM

    Thanks for the quick answers. Working in batches seems to be working for the most part.
    I am running into one other thing that I'll throw out here and see if anyone else has seen it. On two of the BA's I'm trying to refresh, I'm getting an error "Internal EUL Error: No Transaction - there is no current transaction". This doesn't seem to be related to Banner 8 either - I get the same error on the same 2 BA's in our production environment. This is after I select "refresh", and before it comes back with the list of changes.
    The documentation helpfully tells me...
    BI-SVR-03228: Internal EUL Error: NoTransaction - there is no current transaction
    Cause: An internal error has occurred in Discoverer. User might be able to continue working, but the current operation may not have been performed correctly.
    Action: Record the steps and actions taken immediately before this error was reported and contact your customer support representative with the details.
    I can't figure out anything that's different between the 2 BA's that get this error and the dozens that refresh successfully. I've tried closing & restarting Admin - same results.
    Anyone else seen this?
    Thanks!

  • My Firefox doesn't open to the set homepages, and My back/forward/refresh buttons are constantly greyed out.

    When I open Firefox it shows a blank page. When I press the home button, the tabs I have set as home pages appear as normal. The back, forward, refresh and stop buttons are all permanently grayed out and unresponsive.
    I have updated Firefox, uninstalled it, re installed it and still it doesn't work.

    Hello.
    It's possible that you are having a problem with some Firefox add-on that is hindering your Firefox's normal behavior. Have you tried disabling all add-ons (just to check), to see if Firefox goes back to normal?
    Whenever you have a problem with Firefox, whatever it is, you should make sure it's not caused by one (or more than one) of your installed add-ons, be it an extension, a theme or a plugin. To do that easily and cleanly, run Firefox in [http://support.mozilla.com/en-US/kb/Safe+Mode safe mode] (don't forget to select ''Disable all add-ons'' when you start safe mode). If the problem disappears, you know it's from an add-on. Disable them all in normal mode, and enable them one at a time until you find the source of the problem. See [http://support.mozilla.com/en-US/kb/Troubleshooting+extensions+and+themes this article] for information about troubleshooting extensions and themes and [https://support.mozilla.com/en-US/kb/Troubleshooting+plugins this one] for plugins.
    If you need support for one of your add-ons, you'll have to contact its author.
    Please have no fear of following my instructions to the line, as all can be easily undone.
    If the problem is not disappears when all add-ons are disabled, you can go into ''Tools > Options > General > When Firefox starts:Show my homepage''. As for the interface being unresponsive, hopefully that's some problem with an add-on. But you may want to try going into ''View > Toolbars > Customize... > Restore Default Set'' to restore the interface to its default configuration.

Maybe you are looking for

  • Adding a new device profile, a camera,  to ColorSync

    I recently purchased a Canon 40D digital SLR. It allows you to select the color space you want assigned to your image files -- I selected RGB. When you open the ColorSync utility there's a tab for devices and a list that includes 'camera'. How to I a

  • Lost Songs HELP PLEASE!!

    Hi. Ive got a 4GB iPod Nano. I put some new songs in my library and tried to sync my iPod. I had 995 songs in my library. It said this was too many, and something about a playlist. I clicked OK and it synced but i only have 962 songs on my iPod and i

  • Settlement within the Project

    Hi All, There is an error during settlement - > CJ88 from a long time. My settlement structure is like Network to WBS, Lower WBS to Superior WBS, Level1 WBS to AuC and finally to FXA. My availability control is active after CJ30. Now when settling wi

  • SSO - Discoverer and VPD

    Hi, I have row-level-security implemented in the database and the policy applied to few tables in a schema. When I query this table logging into the db using Toad/sqlplus as different users I see the security policy applied and the right rows of data

  • Lightroom 5.3 will not open my A7r files but PS 6 will? Can anyone help?

    I installed LR 5 from disc, then updated tp 5.2, and 5.3.  It still says my Sony A7r file can not be read.  However, my PS 6 opens the file from the sme card.  Any help will be GREATLY appreciated!! Sincerely, Greg