Clear memory or buffer or...?

Hi
I create program, but I need clear "something" - memory, buffer or...?
My program have a selection screen and modificate output screen (using ALV buttons). When I modify data (using new framework and next part of code old infotype framework) program give  "RAISE EXCEPTION TYPE cx_hrpa_violated_precondition"
I don't know have change a
CL_HRPA_MASTERDATA_FACTORY=>LEGACY_MODE( abap_true ) and next abap_false
When I run program e.g. at first modify new infotype framework, then use F3 (back button). I get selection screen then again use F8 (run button) and then old infotype framework. Everything is ok.
Between using both infotype framework I must use F3 (back button).
What I can do for working without F3 button?
Thank you

Can you help me explain how?
I don't have any experience with this.
For "old" framework I use
HR_PSBUFFER_INITIALIZE
HR_INFOTYPE_OPERATION
For "new" framework I use
cl_hrpa_masterdata_factory=>get_business_logic
g_masterdata_bl->initialize
according guide
http://scn.sap.com/people/aditya.palekar/blog/2010/01/19/uploading-a-pa-infotype-record-with-cost-assignment

Similar Messages

  • Hello,  I want to know how to clear the memory or buffer cash from my mac book?

    Hello,  I want to know how to clear the memory or buffer cash from my mac book? When I look at the series, it puts more and more time to load. Thank you.
    Sorry for my english, i talk french.

    Ok ce n'est pas le problème alors.
    Boot à partir de votre disque d'installation et de lancerl'utilitaire de disque. Le disque de démarrage peut être nécessaire de réparation.
    Using Disk Utility to verify or repair disks
    Ok that's not the problem then.
    Boot from your install disc and run Disk Utility. The startup disk may need repairing.

  • IPAD 16 GB HOW TO CLEAR MEMORY

    IPAD 16 GB HOW TO CLEAR MEMORY ios7

    What do you mean by 'clear memory' ?
    You can close apps via the iPad's taskbar (a lot of the apps that show on the taskbar will just be 'recently used', they won't be using resources) : from the home screen (if you have an app 'open' on-screen then it won't show on the taskbar for closing) double-click the home button to bring up the taskbar at the bottom of the iPad's screen, then press and hold any of the apps on the taskbar for a couple of seconds or so until they start shaking, then press the '-' in the top left of the iTunes app to close it, and touch any part of the screen above the taskbar so as to stop the shaking and close the taskbar.
    If you want to delete content from your iPad to free up storage then you can see how much space each app is taking up via Settings > General > Usage. To delete an app (and therefore its content) press and hold any of the apps on your iPad’s homescreen and after a couple of seconds or so they should start to shake. Then press the 'x' in the left corner to delete the ones that you don't want, and when you've finished deleting press the home button so as to stop the shaking. If you don't get the 'x' on any of the apps that you've downloaded (you can't delete built-in apps) then check that Settings > General > Restrictions > Deleting Apps isn't set 'off'.
    To do a soft-reset (i.e. a reboot) : press and hold both the sleep and home buttons for about 10 to 15 seconds (ignore the red slider), after which the Apple logo should appear.

  • Clearing memory in ActionScript 3.0

    Does anyone know how to clear memory in AS3.0. My app loads a lot of SWF and the memory usage keep accumulate and does not go down untill the app crash. I've tried flash.system.System.gc(); , set movie clip to null,and removeChild but seems no luck for me.
    This is how i trace the memory usage:
    var mem:String = Number( System.totalMemory / 1024 / 1024 ).toFixed( 2 );
    trace( "RAM Usage: "+mem+"MB" ); // eg traces “24.94Mb”
    Any help means a lot to me. Appreciate in advance.
    Amir

    This article should give you more insight:
    http://www.rgbeffects.com/blog/uncategorized/flash-optimization-freeing-memory/
    It`s also memorable that manually calling the GarbageCollector only works in AIR and the Debug-Version of the Flash Player.

  • Clear the text buffer in Terminal.app

    I have searched and can't find a solution to this. Here's what I want to do in a single terminal window:
    * run command1
    * Shell > Export Text As . . . file1.txt
    * run command2
    * Shell > Export Text As . . . file2.txt
    But I want file2.txt to have ONLY the output of command2.
    As it is, the Export Text As function seems to be infinitely cumulative. But I want to separate out the output into different files without having to close my Terminal window and start a new session.
    Please don't respond with suggestions of piping output to a file or other such. I'm working with proprietary tools that prevent me from doing things like that. The only way I have to collect the data I need is thru Export Text As . . .
    I'm running OSX 10.5.4, Terminal 2.0.1(240).
    Thanks very much

    I think you'll find that 'Export Text As' saves the entire window contents. Therefore it isn't the case that it is appending data to the file, but that what you're writing out includes both the first and second commands.
    As previously mentioned you could clear the scrollback buffer between commands, but I don't know a way to do that programmatically in the shell (other than via osascript, maybe. The only other way I can see around this is to use separate windows for each command but you said you don't want to do that.

  • Type "purge" in Terminal and get:   -bash: purge: command not found   Is there another built-in command to clear memory leaks?   want to clear memory periodically

    I have 10.6.8.  When I type "purge" in Terminal I get:   -bash: purge: command not found   Is there another built-in command to clear memory leaks?   I have FreeMemory (works well) and considering FreeMemory Pro, to clear memory periodically, say every 20 minutes, or preferably when a threshold is reached, say when only 100MB is available.

    To get purge to work you need to install Xcode from Optional Installs on the 10.6 install DVD. Also be sure you install CHUD Tools with it.
    But running purge or anything like it is pointless if within a short period of time the VM just grows back again. Sounds like you need more RAM.
    Where are the memory leaks? Just because the VM reaches a certain size doesn't necessarily mean it's from a memory leak.

  • How clear the CWAI buffer?

    I'd like to test the different DC voltage value in PCI 6052 E card with visual basic 6.0,for example 2.5V / 5.0V/7.0V etc.How long time must I wait in programme configured?or how could I clear CWAI's buffer?
    Why is test result so more different with performing program at the second time?

    Hi Kelven,
    I posted an answer to this question in the other post you made on it. Lets try to keep our posts on this issue all in one thread.
    Thanks,
    Sal

  • I am unable to clear memory.  Usage, in Settings, just spins.  I have erased pics and that did nothing.

    I Am unable to clear memory.

    If you deleted photos from the Camera Roll album they may still be on your iPad. Check the Photos app and look for the Recently Deleted album. Photos reside there for 30 days in case you want them back. If you are sure that you want to delete the photos deleted them from the Recently Deleted album.

  • As clear memory dead Switch cisco 2960

    Hello All !!
    As Clear memory dead process I/O Switch cisco 2960 ?

    I do not speak English perfectly, I'll try to summarize 
    Switch this process my memory I / 0 Very High, restart several times, but the process does not diminish.
    thank you.

  • Clear memory

    Hi everyone
    Is there a command in action script to free the memory of Illustrator , to force the situation like
    when i close a document by the 'x' or use the 'Ctrl W' ?
    I draw a picture using illustrator scripting, but when tge scripting finished if i want to use the tool of the palette there are
    a lot of malfunction.
    best reagards
    Stefano

    Trantham wrote:
     how to clear memory from a MFC-6490CW?
    Hi,
    Welcome to HP support forums. MFC-6490CW is not from HP. The manual shows few places you may need to clear memory for fax or for normal print jobs. Please use page #48 or page #101 on the following manual to clear memory on a  Brother MFC-6490CW.
          http://download.brother.com/welcome/doc002354/cv_mfc6490w_asaoceeng_usr_a.pdf
    Regards.
    BH
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

  • How to clear memory in java on the fly?

    i want to clear memory that use by Jpanel,how do i clear that memory? it's becouse i use that panel for add many images, and i want use the same panel to add others images.
    i has use panel.removeAll(), but it is not remove the memory that use by the panel.
    so how can i remove the memory that use by the panel?

    remove the references to the objects that you removed from the JPannel... when it needs it, then Garbage Collector will allow them to be disposed, but it will dispose of them when it needs to, so you may not see the memory ever returned to your system while your app is running.

  • Ipad not clearing memory after movie erased

    Ipad not clearing memory after movie erased. Any fixes out there?

    I did both a soft and hard reset. I just wanted to know if I am going to have to do this every week after my kid loads movies and erases them. It seems this is a major flaw in 7.03 and needs to be rectified.

  • Clearing memory map of maps?

    Hi I have the following Class:
    public class TestClass{
    Map<String, Map<String, String>> aMap = new TreeMap<String, Map<String, String>>();
    public void addStuff () {
    //this adds things to aMap
    public void clearMap() {
    aMap = new TreeMap<String, Map<String, String>>();
    Does my clearMap method make all memory used by this map ava. for garbage collection? What is the proper way to clear all memory to reset the aMap variable? Thanks.

    user12374594 wrote:
    What is the proper way to clear all memory to reset the aMap variable?There is no one proper way to clear it. You can do what you're doing, or you can simply call aMap.clear(). The only significant difference is whatever it means in terms of your class's semantics whether you have a completely new map or the original map with nothing in it.
    However, one doesn't generally think in terms of "clearing memory" in Java. You hang on to a reference as long as you need to use it for your code to do its job, and when you no longer need it, you let the reference go. GC takes care of the rest, and it's not often that you have to even think about it.

  • Clearing Memory and using External HD as iTunes Location

    Hi all
    I am having a little trouble with clearing space on my MacBook Pro (4GB Memory running Mac OS X 10.7.5). It is running slowly and often comes up with a warning message saying there's insufficinet space on the start up disk and that there is little memory left. I have copied all pictures and music on to an External HD (2TB Seagate connected by Wifi) but all the music is still in the iTunes library too.
    I would still like to use iTunes as my music library but need to delete the music from my laptop so that it has more space on it. How do I do this? I have tried it with one song i.e. I have deleted it from the iTunes library on my machine and the song remains on the External HD..... but how can it work so that when I go into iTunes it will still find the songs on the Extrnal HD?
    I will also be buying a Sonos hifi system so I will be using the music stored on the external hard drive as the library but I believe this all goes through iTunes anyway?
    Hopefully this makes sense and apologies for the lack of knowledge around technical jargon...
    Thanks in advance.....

    Our iTunes guru Terence Devlin advises the following:
    1. Quit iTunes
    2. Drag the iTunes folder from your internal hd - located in ~/Music folder - to your external hd (which has to be formatted as HFS Extended (Journaled)). DO NOT delete the original one from your internal hd... yet!
    3. When the transfer is complete, press and hold the Option(alt) key and fire up iTunes.
    4. A "Choose iTunes Library" window will come up. Click on the "Choose Library" button.
    5. Navigate to where the iTunes folder is located in the external hd.
    6. Within the iTunes folder, select the iTunes Library file and click Choose...
    That's it. iTunes will now display all your playlists, songs, movies, podcasts etc. At this point, should you wish, you can delete the iTunes folder from the internal hd to free up space.
    More info:
    http://support.apple.com/kb/HT1751
    Or if you prefer a more complicated explanation:
    http://www.ilounge.com/index.php/articles/comments/moving-your-itunes-library-to -a-new-hard-drive

  • Clear DB Table Buffer in J2EE Engine

    Hi all,
    Is it possible to clear specific database table buffer in Open SQL layer in J2EE engine? I'm insterested in programmatically and manually approach.
    I know that buffer is automatically refreshed after successfull INSERT, UPDATE or DELETE statement, but unfortunately is unaffected if I change data outside OpenSQL connection - for example if I change data in SQL Studio, data readed from table buffer stay unmodified.
    Regards,
    Juraj

    Hi Babu,
    if the Z table has the VBELN in the key and the only process updating this table is the USEREXIT_SAVE_DOCUMENT_PREPARE, then you do not need any additional locking for this table.
    But you should put this updating into a function module and call this function IN UPDATE TASK in the user exit.
    Then you can be sure, that the update take place with the successful save of the sales document, any errors will roll it back together with order data. Database consistency is given.
    Regards,
    Clemens

Maybe you are looking for

  • Freeze between the end of a timeline and a menu with video.

    Hi, I have a timeline with some content advisor in the beginning of my encore cs3 project, then redirects to another timeline with a segment of a video, after that it redirects to the menu with another video (that video is the continuation of the pre

  • Freight in Delivery

    Hi Experts The client reqt is to add Freight charges and pallet charges in delivery document not in Sales order. How these values will pass onto Invoice document. Will i have to maintain in Delivery  the condition types same that iam maintaining in S

  • Complex Cutover Strategy

    Hi all, I would like to seek your help on the issues that I am currently facing. Company A is currently running SAP ECC6.0. They are about to take over several warehouses Company B, which is also using SAP. I would need to know how to advice them acc

  • Possible to create a second handle on a point without moving the first one?

    Hello again, Just had a question about something that often drives me crazy. Sometimes when I'm modifying an object (especially text that has been turned into outlines for logos etc) There are points on the path that I want/need to remove. Many of th

  • ITunes HDCP error on a FULLY COMPLIANT SYSTEM

    OK, I've just about had enough of this DRM nonsense. Everyone who pays has to run around for hours trying to find a way to play the stuff they paid for while those who don't pay just sit down and watch! Great way to do business. Great way to encourag