Clean up of the roll area by program

Hi all!
My customer is running a program by a communication user which accesses functionality via RFC. This program runs a whole week.
In some cases this program allways has access to old data. This comes probably from buffering information in functional groups which are held for this long time in the roll area.
Off course the customer tried to find for each functional group an initialization module to clean it up, but there is still information left sometimes.
It is not possible, to suspend the login of the communication user after an access, because its outside requesters would wait too long on a new login.
Therefore: Is there any chance, to clean up the roll area from a running program and to clear everything, the program has cumulated in variables of the functional groups it has called without exiting the program itself?
Thanks a lot for any hints.
Axel
Message was edited by: Axel Kullmann

Thank you Rob, but the problem is not a buffer. The problem are variables in the external modus encapsulated in functional groups of the standard. Some of them provide functionmodules to clear/init them. Others do not or we did not find them until now.
My suggestion i try now is, to write a shell around the customers function. A new function will call a new transaction. This new transaction will call the existing function and will pass their result via memory to the new function. After the call transaction all the variables of the transaction are killed while in the existing solution the calling program is running for a whole week and does not forget whatever its called standard functional groups have in mind.
I am curious about if this will solve the problem.
Axel

Similar Messages

  • Error "roll area too small"! Can't find a way to resolve!Please hep.

    Hello everyone:
           i am getting the error "roll area too small" when I am looping through an internal table and calling the code below on change of some value.
    ===
    CALL FUNCTION 'GET_PRINT_PARAMETERS'
          EXPORTING
            authority              = space
            immediately            = space
            new_list_id            = c_x
            no_dialog              = c_x
           user                   = sy-uname
          IMPORTING
            out_parameters         = params
          EXCEPTIONS
            archive_info_not_found = 1
            invalid_print_params   = 2
            invalid_archive_params = 3
            OTHERS                 = 4.
        IF sy-subrc NE 0.
          CLEAR : params.
        ENDIF.
    The printer destination has to be set up
        params-pdest = v_dest.
        params-prtxt = v_spool_text.
        params-paart = lc_paart.
        params-prtxt = v_spool_text.
        params-primm = 'X'.
        params-prrel = space.
        NEW-PAGE PRINT ON PARAMETERS params NO DIALOG.
        NEW-PAGE PRINT OFF.
    ======
    I posted this before and got some feedback and tried everything but it is not fixing the problem! I rewarded points to all the answers. I had basis increase roll area size, optimized code and did everything I can but I am still getting the same error "roll area too small". Same program works in 4.6C but in ECC6.0 I get this error! I have other programs that generates more than 10,000 pages in the spool but the program I am working on creates only 7700 pages! I  am not sure what else is changed in ECC6.0! Could someone please give me any ideas? rewards assured.
    thanks.
    Mithun

    Hello Mithun,
    Even i think increasing the roll area should have helped
    Are both the systems WIndows based  or is one unix based ?
    see this
    http://listserv.sap.com/pipermail/linux.general/2001-July/thread.html#670
    and search for "roll area too small" in the list of links
    it may help
    Also,
    in this solution, it says to use 'field groups'
    http://www.sapfans.com/sapfans/forum/r2all/messages/42.html
    Try these links as well - others with the same problem
    http://marc.info/?l=mysap-linux-general&w=4&r=1&s=%22rollareatoo+small%22&q=b
    Message was edited by:
            Kris Donald

  • How to increare roll area size programmatically? Is there any code?

    Hello everyone:
              I am running a program that goes to dump with an error "roll area size too small" in ECC6.0. The same program works fine in 4.6C. We worked with BASIS to set roll area related paramteres, logged OSS notes and set parameters as SAP suggested but nothing worked! Is there any function module or any code that I could use to free the roll area size in the program? Rewards assured.
    Thanks.
    Mithun

    Thanks everyone for the feedback. I did work with SAP and had BASIS set the parameters as per the suggestions by SAP and after going back and forth they said it might be a program issue. This is the Z program and this is the code where it goes to DUMP with the error "Roll area too small".
    ================================================
    CALL FUNCTION 'GET_PRINT_PARAMETERS'
          EXPORTING
            authority              = space
            immediately            = space
            new_list_id            = c_x
            no_dialog              = c_x
           user                   = sy-uname
          IMPORTING
            out_parameters         = params
          EXCEPTIONS
            archive_info_not_found = 1
            invalid_print_params   = 2
            invalid_archive_params = 3
            OTHERS                 = 4.
        IF sy-subrc NE 0.
          CLEAR : params.
        ENDIF.
    The printer destination has to be set up
        params-pdest = v_dest.
        params-prtxt = v_spool_text.
        params-paart = c_paart.
        params-prtxt = v_spool_text.
        params-primm = 'X'.
        params-prrel = space.
        NEW-PAGE PRINT ON PARAMETERS params NO DIALOG.
        NEW-PAGE PRINT OFF.
    ===========================================
    I used FREE statements in the program to free internal tables and if I remove the code above the program runs successfully! This works fine in 4.6C! All the paramters like roll area and stuff is more in ECC6.0 compared to 4.6C but the program still abends!! Please let me know if there is any resolution!!
    *I am rewarding all the answers*
    Thanks.
    Mithun

  • Context Memory & Roll Area

    <b>what are the context memory and roll area?</b>

    Roll Area:
    Each Internal Session is subdivided into PXA
    and Roll Area. The PXA (Program Execution Area) is
    a shared memory for the byte codes of all
    programs running concurrently at any one time on
    an application server. Only the Roll Area is the
    memory that is actually reserved for the data and
    objects of each individual internal session.
    Check this link...
    http://help.sap.com/saphelp_erp2005/helpdata/en/28/d1d3f6bcb411d188b30000e83539c3/frameset.htm
    Work Area:
    The object types that you want to display
    and process in the Engineering Workbench are called
    as Work Areas. Work Areas have been created
    in Customizing for the Engineering Workbench by
    your system administrator.
    For Work area check this link...
    http://help.sap.com/saphelp_erp2005/helpdata/en/3b/3cf8d311cd11d2935e0000e8323492/frameset.htm
    User Contexts
    The memory management system assigns memory to user contexts from the following areas: roll area, SAP extended memory, and heap memory.
    The order of assignment from these memory areas arranges itself according to whether the user context runs in an SAP dialog work process or in another SAP work process. This enables the SAP system to optimally use the characteristics of the individual memory types.
    When allocating memory, the following characteristics for individual memory types become noticeable.
    Check this to kn0w more
    http://help.sap.com/saphelp_nw2004s/helpdata/en/34/d9c8b9c23c11d188b40000e83539c3/content.htm
    Reward points if found helpful....
    Cheers
    Chandra Sekhar.

  • User context and roll area

    hello
    plz help me
    what is roll area and user context?????
    reply
    thaknx
    aafaq husain

    Hi,
    <b> Roll Area</b>
    This parameter is used to specify the total size of the roll area, in bytes.
    <b>Activities</b>
    The roll area is not important with 64 bit platforms where sufficient extended memory is available. The default value is platform-specific and is determined dynamically. The default value is specified in transaction RZ11. This value should not normally be changed.
    <b>User Contexts</b>
    The memory management system assigns memory to user contexts from the following areas: roll area, SAP extended memory, and heap memory.
    The order of assignment from these memory areas arranges itself according to whether the user context runs in an SAP dialog work process or in another SAP work process. This enables the SAP system to optimally use the characteristics of the individual memory types.
    When allocating memory, the following characteristics for individual memory types become noticeable.
    Check this to kn0w more
    http://help.sap.com/saphelp_nw2004s/helpdata/en/34/d9c8b9c23c11d188b40000e83539c3/content.htm
    Regards,
    Santosh

  • Roll area too small

    Hello All,
    We have a background job which is getting canceled saying Roll area too small
    can any 1 of you please explain what exciatly it means.
    Regards,
    Ravi

    Hi Ravi,
    This is related to Memory Allocation Sequence for all Work Process Types.
    Please check the roll area parameters in your system. If the size allocated to roll area is low then background jobs will not finish successflly.
    Please check the all other parameters also related to Memory Allocation.
    ztta/roll_first: Defines the first part of the roll area that is allocated to dialog process
    ztta/roll_area: Defines the total roll area per work process
    rdisp/roll_SHM: Defines the size of the roll buffer
    rdisp/roll_MAXFS: Defines the size of roll buffer and roll file
    em/initial_size_MB: Defines the fixed size of extended memory
    ztta/roll_extension: Defines the user quota for extended memory
    abap/heap_area_dia: Defines the limit for the amount of local memory allocated to dialog work processes
    abap/heap_area_nondia: Defines the limit for the amount of local memory allocated to non-dialog work processes
    abap/heap_area_total: Defines the limit for the total amount of heap memory allocated to all work processes
    Regards
    Krishna Vanga

  • Roll Area

    Hi,
    Can we increase Roll Area.
    What will be the impact by increasing it.
    Can u pls tell me the procedure to increse the Roll area.
    Thanks,
    MK

    Hi,
    The roll area consists of 2 segments. The first segment, which can be set with the parameter ztta/roll_first, is assigned to the work process first as memory. If this is used up, the work process has more memory assigned to it.
    The amount of memory is determined by the difference between the parameters ztta/roll_area and ztta/roll_first
    The roll area is always the first memory that receives a work process. Only afterwards can extended memory be requested
    ztta/roll_area must be larger than, or the same size as ztta/roll_first
    By specifying a higher value for ztta/roll_area than for ztta/roll_first, you avoid allocating local private memory as soon as the set limits of the SAP extended memory are reached. The remaining roll memory therefore serves as the last buffer before a user context has to allocate heap memory.
    This pushes back the point in time at which a work process is switched to PRIV mode
    The roll area is not important with 64 bit platforms where sufficient extended memory is available
    These parameters need to be maintained in the Instance profile (tcode RZ10)
    Thanks,
    Sridhar

  • Film rolls are missing

    One of my iPhoto libraries has film rolls missing and rebuilding thumbs and database did not help. I can see the original photos in the iPhoto library on the hard drive though, so I would not want to reimport. Is there a way to show the film rolls again without re-importing?
    Thanks,

    Since the original photos are still in the iPhoto
    library, (even if I drag the folder to the desktop),
    how do I avoid having a second set of the same photos
    when I re-import them into that iPhoto library? Can I
    select Preferences-Advanced and tick NOT import
    photos into iPhoto library? In this way, it will give
    me an alias pointing back to the existing library,
    give me my film rolls back, but no dupes?
    After dragging to the desktop it is necessary to go in iPhoto and delete the remains from there. I was going on the assumption (correct me if I am wrong) that the photos from the missing rolls have either thumbnails or empty boxes in the iPhoto window. Delete them in iPhoto, then empty iPhoto trash before you reimport. Otherwise, iPhoto won't recreate their thumbnails and the reimport will not work.
    I don't believe that creating an alias will help, because it won't fix the link that has been broken. Plus, it will add more confusion to your library.
    Thank you all for your help. Thing is that I
    understand that they will have to be re-imported if
    the rolls are missing, but WHY are the rolls missing?
    I don't know. It usually results from user activity in the iPhoto library folder from within Finder. The simple act of renaming a roll's folder in Finder will cause iPhoto to be unable to access all of the files stores inside that roll. If you haven't done that, then it's a mystery. [I had gremlins that rearranged my files during my upgrade from iPhoto 5 to iPhoto 6. Modified files traded places with Originals, some files were missing from Originals but present in Modified-it was weird. I used this method to sort everything out and haven't had a problem since the upgrade.]
    I use iPhoto Buddy to select my iPhoto libraries (I
    have about 10 libraries) and one of those libraries
    was corrupted (due to overloaded photobook I think),
    but the iPhoto library in question, that I was not
    using, has film rolls missing when I opened the
    library. (I'm afraid this is going to get contagious
    and affect my other iphoto libraries too!)
    I haven't seen other reports of iPhoto Buddy breaking connections like this, but I don't use it so I can't really speculate. I would expect to see lots of complaints if this happened very frequently at all.
    For the future, keep a current backup of the Library6.iPhoto file for each of your libraries. It is located inside the iPhoto library folder; Duplicate it in Finder and move the copy. This is the database file which contains the metadata about albums, rolls, keywords, etc. If your database fails in the future you can simply replace this file with the backup to restore your library. I take this advice from Old Toad and backup the file every time I close iPhoto.

  • Users are creating programs with accesskey

    Hi
    Suppose if the users are created programs (non z & y) with access key how to get the list of these programs.

    hi Kiran,
    go to table ADIRACCESS, where you'll find each object where access key was entered. In table TADIR you can check for these objects if AUTHOR is SAP or someone else (that means a user).
    hope this helps
    ec

  • Rolling area & paging area ?

    what is the rolling area and paging area ?explain plzzzzzzzzzz ?

    hi
    <b>SAP Roll Area</b>
    <b>Definition</b>The roll area is a memory area with a set (configurable) size that belongs to a work process. It is located in the heap of the virtual address space of the work process.
    <b>Use</b>When the context of a work process changes, the data is copied from the roll area to a common resource called the roll file. To prevent repeated copying, another roll buffer is located in between that is part of the shared memory.
    <b>Structure</b>The roll area consists of 2 segments. The first segment, which can be set with the parameter ztta/roll_first, is assigned to the work process first as memory. If this is used up, the work process has more memory assigned to it. The amount of memory is determined by the difference between the parameters ztta/roll_area and ztta/roll_first.
    For more detailed information, please see the platform-specific section under Implementation.
    <b>Integration</b>
    For technical reasons, the roll area is always the first memory that receives a work process. Only afterwards can extended memory be requested.
    <b>SAP Paging</b>
    Memory Management
    Allocation of memory for the current internal session by transferring pages out of memory, similarly to operating system paging.
    SAP Paging enables the roll area to be extended at ABAP runtime when a large dataset, internal tables, for example, is handled.
    SAP's memory management concept currently limits SAP Paging to cases where the ABAP commands EXTRACT and EXPORT... TO MEMORY... are used.
    http://help.sap.com/saphelp_nw2004s/helpdata/en/02/962831538111d1891b0000e8322f96/content.htm

  • I want to clean all of the cookies and bugs that are in my computer causing it to be slow. What program should I use that is safe and won't mess up my computer?

    I want to clean all of the cookies and bugs that are in my computer causing it to be slow. What program should I use that is safe and won't mess up my computer?

    Problem description:
    I would like to clean up my computer. Its beginning to run slow and I believe cookies and bugs are apart of the reason.
    EtreCheck version: 2.0.6 (91)
    Report generated October 26, 2014 at 4:59:31 PM EDT
    Hardware Information: ℹ️
      MacBook Air (13-inch, Early 2014) (Verified)
      MacBook Air - model: MacBookAir6,2
      1 1.4 GHz Intel Core i5 CPU: 2-core
      4 GB RAM Not upgradeable
      BANK 0/DIMM0
      2 GB DDR3 1600 MHz ok
      BANK 1/DIMM0
      2 GB DDR3 1600 MHz ok
      Bluetooth: Good - Handoff/Airdrop2 supported
      Wireless:  en0: 802.11 a/b/g/n/ac
    Video Information: ℹ️
      Intel HD Graphics 5000 -
      Color LCD 1440 x 900
    System Software: ℹ️
      OS X 10.9.5 (13F34) - Uptime: 13 days 2:41:41
    Disk Information: ℹ️
      APPLE SSD SD0128F disk0 : (121.33 GB)
      S.M.A.R.T. Status: Verified
      EFI (disk0s1) <not mounted> : 210 MB
      Macintosh HD (disk0s2) /  [Startup]: 120.47 GB (70.38 GB free)
      Recovery HD (disk0s3) <not mounted>  [Recovery]: 650 MB
    USB Information: ℹ️
      Apple Internal Memory Card Reader
      Apple Inc. iPhone
      General USB Flash Disk 16.13 GB
      S.M.A.R.T. Status: Verified
      MSD (disk1s1) /Volumes/MSD : 16.13 GB (11.18 GB free)
      Apple Inc. BRCM20702 Hub
      Apple Inc. Bluetooth USB Host Controller
    Thunderbolt Information: ℹ️
      Apple Inc. thunderbolt_bus
    Gatekeeper: ℹ️
      Mac App Store and identified developers
    Kernel Extensions: ℹ️
      /Library/Extensions
      [loaded] foo.tap (1.0) Support
      [loaded] foo.tun (1.0) Support
    Startup Items: ℹ️
      tap: Path: /Library/StartupItems/tap
      tun: Path: /Library/StartupItems/tun
      Startup items are obsolete and will not work in future versions of OS X
    Problem System Launch Daemons: ℹ️
      [failed] com.apple.wdhelper.plist
    Launch Daemons: ℹ️
      [loaded] com.adobe.fpsaud.plist Support
      [running] com.perion.searchprotectd.plist Support
    User Launch Agents: ℹ️
      [loaded] com.genieo.completer.download.plist Support
      [loaded] com.genieo.completer.ltvbit.plist Support
      [running] com.genieo.completer.update.plist Support
      [loaded] com.google.keystone.agent.plist Support
      [invalid?] com.jdibackup.ZipCloud.autostart.plist Support
      [running] com.zeobit.MacKeeper.Helper.plist Support
    User Login Items: ℹ️
      iTunesHelper Application (/Applications/iTunes.app/Contents/MacOS/iTunesHelper.app)
    Internet Plug-ins: ℹ️
      DirectorShockwave: Version: 12.1.3r153 - SDK 10.6 Support
      Flash Player: Version: 15.0.0.189 - SDK 10.6 Support
      FlashPlayer-10.6: Version: 15.0.0.189 - SDK 10.6 Support
      JavaAppletPlugin: Version: 14.9.0 - SDK 10.7 Check version
      QuickTime Plugin: Version: 7.7.3
      Default Browser: Version: 537 - SDK 10.9
    User Internet Plug-ins: ℹ️
      TroviNPAPIPlugin: Version: 1.0 - SDK 10.9 Support
    Safari Extensions: ℹ️
      Trovi Search for Safari (Disabled)
    3rd Party Preference Panes: ℹ️
      Flash Player  Support
    Time Machine: ℹ️
      Time Machine not configured!
    Top Processes by CPU: ℹ️
          53% mds
          9% WindowServer
          3% mds_stores
          3% storeagent
          2% hidd
    Top Processes by Memory: ℹ️
      920 MB mds
      31 MB com.apple.WebKit.WebContent
      30 MB Messages
      29 MB Safari
      21 MB WindowServer
    Virtual Memory Information: ℹ️
      31 MB Free RAM
      713 MB Active RAM
      681 MB Inactive RAM
      1.09 GB Wired RAM
      17.85 GB Page-ins
      1.95 GB Page-outs

  • What is program roll area and  system paging area?

    hello sir,
    i am new to abap, plz give me the answer for the following question,
    1.what is program roll area and  system paging area?
    2.from these two, system allocate memory from which one of the memory?

    check this link.
    http://help.sap.com/saphelp_nw2004s/helpdata/en/02/96274f538111d1891b0000e8322f96/content.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/34/d9c8b9c23c11d188b40000e83539c3/content.htm
    http://help.sap.com/saphelp_47x200/helpdata/en/34/d9c8b6c23c11d188b40000e83539c3/frameset.htm
    Message was edited by: kishan negi

  • I have been saving photos that have been emailed to me. They show up in the camera roll and then I put them in separate albums. My camera roll when I try to open it freezes and the thumbprints are a jumbled and blurred. This is on my ipad.

    I have been saving photos that have been emailed to me on my ipad. They show up in the camera roll, but when I open the camera roll the thumbprints are jumbled and blurred and frozen. I can't get out of there unless I shut my ipad down and restart it. I can use other parts of my ipad ,but my camera roll remains frozen....help!

    Have you tried restarting or resetting your iPad?
    Restart: Press On/Off button until the Slide to Power Off slider appears, select Slide to Power Off and, after It shuts down, press the On/Off button until the Apple logo appears.
    Reset: Press the Home and On/Off buttons at the same time and hold them until the Apple logo appears (about 10 seconds).
    No data will be lost.

  • When I upgraded from v4 to v5 my bookmarks was lost. I do have the one that is in the firefox toolbar. Apparently I had a bookmarks add-on. V5 changed my browser how can I determine what the program was and if the bookmarks are still there?

    When I upgraded from v4 to v5 my bookmarks was lost. I do have the one that is in the firefox toolbar. Apparently I had a bookmarks add-on. V5 changed my browser how can I determine what the program was and if the bookmarks are still there?

    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
    *Do NOT click the Reset button on the Safe Mode start window or otherwise make changes.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes
    Websites remembering you and automatically log you in is stored in a cookie.
    *Create an allow Cookie Exception to keep such a cookie, especially for secure websites and if cookies expire when Firefox is closed.
    *Tools > Options > Privacy > Cookies: Exceptions
    In case you are using "Clear history when Firefox closes":
    *do not clear Cookies
    *do not clear Site Preferences
    *Tools > Options > Privacy > Firefox will: "Use custom settings for history": [X] "Clear history when Firefox closes" > Settings
    *https://support.mozilla.org/kb/Clear+Recent+History
    Note that clearing "Site Preferences" clears all exceptions for cookies, images, pop-up windows, software installation, and passwords.
    Clearing cookies will remove all specified (selected) cookies including cookies that have an allow exception and cookies from plugins.

  • Can I move photos around in iPad?  There are some photos in camera roll, are those the ones I took with iPad?  Then there are some that are imported-I guess those are the ones from my camera.  Can I combine them into different albums?  Thanks

    Can I mover photos around in iPad?  There are photos on the camera roll-are those the ones I took with iPad?  Then there are the ones labeled as imported-I guess those are the ones I took with my camera?  Can I combine pictures from both into one album?  Thanks.

    At the moment no, you cannot move photos between albums in the Photos app directly on the iPad - but with iOS 5 (which will be free to download) in the Autumn, from http://www.apple.com/ios/ios5/features.html#photos :
    Even organize your photos in albums — right on your device.

Maybe you are looking for

  • PA2002: table updation problem!!

    Hello all, Please suggest me function module by which i can change infotype 2002. i don't wanna change subtype. i only want to change values of begruz and endruz. Means only time details of employee. Regards, Purvesh.

  • Keymap in X different from system keymap SOlVED

    I have the de keymap set in rc.conf, but as soon as I start x it defaults back to US, which cramps my style a little bit with me using a qwertz keyboard and all. Also, I use fluxbox, so theres no fancy menu to change this. How do I make xorg understa

  • How do I save information onto a disc

    How do I save information from my computer onto a cd?

  • Asking Account Assignment Category for Direct Materials

    Experts, ECS Scenario with PPS, ECC EHP4, SRM7.0. The system is giving error as 'account assignment category is missing' for 'direct materials'. We have same problem while creating SC in SRM also and for PDP als. Items with account assignment are wor

  • What does this mean "Email address is already verified for another Apple ID."

    I tried adding additional email to my daughters icloud account and this is what error message showed up "Email address is already verified for another Apple ID." I think he has another account on phone yo prevent me from tracking