Shared memory for different tasks?

Hi,
i call a rfc function module in threading mode (task):
CALL FUNCTION 'Z_TEST'
STARTING NEW TASK lv_taskname
DESTINATION lv_destination_func
destination is the same system (it has to be a rfc fm to use the "starting new task" clause).
Now i want to share memory (internal table, application log) beetween the program and the called function module 'Z_TEST', but i don't know how!? the application log and the global parameters in function group are not known in called function module 'Z_TEST'!!??

Hi,
Before calling the Z_TEST , please save the application log
using
BAL_DB_SAVE_PREPARE (prepare to save)
BAL_DB_SAVE (save)
then in Z_TEST use the handle to open log and then use
BAL_LOG_MSG_ADD (add messages)
May this will be help

Similar Messages

  • Hello, I have two questions on time capsule  I can only have it on my external hd files and free up my internal memory to my mac  I can use an external hard drive, in my case a lacie rugged as shared memory for my two computers

    Hello, I have two questions on time capsule  I can only have it on my external hd files and free up my internal memory to my mac  I can use an external hard drive, in my case a lacie rugged as shared memory for my two computers

    I have a mackbook pro and an iMac if I buy a time capsule 2tb airport, I can use it with time machine and what would be the best way to use it.
    There is no particular setup required for TM.. both computers will create their own backup sparsebundle which is like a virtual disk.. Pondini explains the whole thing if you read the reference I gave you.
    and how to use time capsule airport whit other external hd to use my old lacie airport with the new time capsule
    Up to you.. you can plug the external drive into the TC and enjoy really slow file transfers or you can plug it into your computer and use it as external drive.. which is faster than the TC.. and TM can include it in the backup.
    Again everything is explained in the reference.. you are not reading it.

  • Sharing files for different users on same computer without duplicating

    Newbie here, I got my 1st mac (in ten years) last week and have been really enjoying it. I set up 3 user's accounts and wanted to share files such as iphoto and itune for all users. So I put my pictures in the shared folder, however, when I opened iphoto in each user's account, I had to import all the photos for every user, which resulted in duplicated files on each user's folders. I have tens of thousands of photos and don't want redundant files eat up my hard drive space. For this reason I'm holding off sharing my itune files.
    I'm wondering if there's a way to allow access for different users without making duplicates.
    20 in. imac   Mac OS X (10.4.8)  

    ewrspotter
    Preferably only admin can edit/import
    Well this makes things very easy and is the way that iPhoto is intended to share. In your Admin account, go to iPhoto -> Preferences -> Sharing and enable Sharing. Note that you can share an entire library or just individual albums. Leave iPhoto running and use Fast-User Switching to move to the other Account(s). In Launch iPhoto and go to Preferences -> Sharing and enable 'Look for Shared Photos'. The main library will turn up in the Source (or left-hand) pane of the other iPhoto.
    Remember that for this to work, the Admin account must be logged in and iPhoto must be running there.
    I don't really care as long as there's no redundant files.
    Define 'redundant'. You do realise that iPhoto is a database, with built-in image viewer, lightweight editor and version control. Version control means that if you modify a photo then iPhoto makes a copy, including the changes, and keeps the Original. This way you can always Revert to Original from the Photos menu. Many people switching to iPhoto are confused by this at first. If you don't want version control I strongly suggest using a different app. There a many, many image viewers for the Mac.
    As to your point comment about One-Touch DVD. I'm not familiar with that piece of Software, but every DVD (and CD) that you burn is assembled on the HD first, then burned. That assembly is a cache file and should be trashed on completion.
    As to disk space: you need to keep about 10 gigs of space on the Start-Up disk for Virtual memory, Temp files and other OS uses. If you do get an external at some point in the future it is possible to run both iPhoto and iTunes from it to free up space on the internal. Just check the help or post back to the relevant forum before moving them. It's not difficult, but there is a procedure that needs to be followed.
    Regards
    TD

  • How big a deal is the shared memory for video editing

    Hi,
    It looks like the portable Mac I have been waiting for has been released. The one thing that I am wondering about is the shared video? memory. How big a deal is it?
    It looks like it should not be an issue with iMovie. How about FCE?
    With the Macbook at $1,300 and the entry level MBP at $2,000, $700 is a lot to me- budget and otherwise- Especially since I will add a gig of ram, and the 3 year apple protection plan.

    Hi There,
    I use iMovie most of the time for around an hour project and went back and forth with iSlick FX, iTunes, garage band and iDVD, and I find my MAcBook serve me well (2.0 Ghz, 2 GB), and use external LCD for wider view editing area.
    The chipset is actually allowed to use up to 224 mb of shared memory (with based 80 mb on os X) and the bigger matched memory you install, the more flexibility for that graphic chipset to allocate shared memory.
    The only time my project getting choppy is when I select show waveform for entire clip in my project area. That is when the chipset is lack power to play it real time.
    But if you are serious about getting editing and planning to upgrade to Final cut (express or pro) later, MacBook Pro is a better investment and bigger screen too.
    Good Luck

  • How can I use the same thread pool implementation for different tasks?

    Dear java programmers,
    I have written a class which submits Callable tasks to a thread pool while illustrating the progress of the overall procedure in a JFrame with a progress bar and text area. I want to use this class for several applications in which the process and consequently the Callable object varies. I simplified my code and looks like this:
            threadPoolSize = 4;
            String[] chainArray = predock.PrepareDockEnvironment();
            int chainArrayLength = chainArray.length;
            String score = "null";
            ExecutorService executor = Executors.newFixedThreadPool(threadPoolSize);
            CompletionService<String> referee = new ExecutorCompletionService<String>(executor);
            for (int i = 0; i < threadPoolSize - 1; i++) {
                System.out.println("Submiting new thread for chain " + chainArray);
    referee.submit(new Parser(chainArray[i]));
    for (int chainIndex = threadPoolSize; chainIndex < chainArrayLength; chainIndex++) {
    try {
    System.out.println("Submiting new thread for chain " + chainArray[chainIndex]);
    referee.submit(new Parser(chainArray[i]));
    score = referee.poll(10, TimeUnit.MINUTES).get();
    System.out.println("The next score is " + score);
    executor.shutdown();
    int index = chainArrayLength - threadPoolSize;
    score = "null";
    while (!executor.isTerminated()) {
    score = referee.poll(10, TimeUnit.MINUTES).get();
    System.out.println("The next score is " + score);
    index++;
    My question is how can I replace Parser object with something changeable, so that I can set it accordingly whenever I call this method to conduct a different task?
    thanks,
    Tom                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    OK lets's start from the beginning with more details. I have that class called ProgressGUI which opens a small window with 2 buttons ("start" and "stop"), a progress bar and a text area. It also implements a thread pool to conducts the analysis of multiple files.
    My main GUI, which is much bigger that the latter, is in a class named GUI. There are 3 types of operations which implement the thread pool, each one encapsulated in a different class (SMAP, Dock, EP). The user can set the necessary parameters and when clicking on a button, opens the ProgressGUI window which depicts the progress of the respective operation at each time step.
    The code I posted is taken from ProgressGui.class and at the moment, in order to conduct one of the supported operations, I replace "new Parser(chainArray)" with either "new SMAP(chainArray[i])", "new Dock(chainArray[i])", "new EP(chainArray[i])". It would be redundant to have exactly the same thread pool implementation (shown in my first post) written 3 different times, when the only thing that needs to be changed is "new Parser(chainArray[i])".
    What I though at first was defining an abstract method named MainOperation and replace "new Parser(chainArray[i])" with:
    new Callable() {
      public void call() {
        MainOperation();
    });For instance when one wants to use SMAP.class, he would initialize MainOperation as:
    public abstract String MainOperation(){
        return new SMAP(chainArray));
    That's the most reasonable explanation I can give, but apparently an abstract method cannot be called anywhere else in the abstract class (ProgressGUI.class in my case).
    Firstly it should be Callable not Runnable.Can you explain why? You are just running a method and ignoring any result or exception. However, it makes little difference.ExecutorCompletionService takes Future objects as input, that's why it should be Callable and not Runnable. The returned value is a score (String).
    Secondly how can I change that runMyNewMethod() on demand, can I do it by defining it as abstract?How do you want to determine which method to run?The user will click on the appropriate button and the GUI will initialize (perhaps implicitly) the body of the abstract method MainOperation accordingly. Don't worry about that, this is not the point.
    Edited by: tevang2 on Dec 28, 2008 7:18 AM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Shared Memory for Custom Table

    We have three separate business environments we will call A, B, and C. Is it possible to create shared memory of a custom table in A environment so that it can be read by ABAP logic in environment B, and environment C?
    We are considering the usual ALE connection, or, an RFC call. The reseach I've read on shared memory seems like it is most efficient and should work..... But, I do not see where a custom table is shared between environments.
        Thank-You

    "Shared Memory" as I know it is shared only within one application server. With "environment" I assume you mean different SAP instances like development system, test system etc., so shared memory cannot replace the techniques that you mentioned, in my opinion.
    Thomas

  • Please help reducing shared memory for intel gpu

    Hello.i am desperately trying to lower the ammount of shared memory on the intel hd 4600 because the amd r7 won't start at newer games.i don't have this option in bios so please help me to do any other way.thank you!

    Bring this kernel panic report with you to the genius bar.  Your MBP has a GPU issue.
    Ciao.

  • Can client dynamically link to shared libraries for different versions ?

    Can Oracle client dynamically link to Oracle shared libraries if the versions are different ?
    Hi:
    I apologize for this newbie question:
    We are using PRO C to generate the client C code.
    We can compile both dynamic and static versions of our Oracle client.
    Our question is:
    is it possible to compile a dynamically linked Oracle client in say version 10.1.0.2 and actually run the application against say version 8.1.7.0 environment ?
    That is, can an Oracle client dynamically link to the Oracle shared libraries if the versions are different ?
    If it is possible, then how to modify the makefile
    to enable Oracle client to reference different versions
    of shared libraries ?
    Thanks
    JL

    What you describe is not supported.

  • How can I manage playlists for different users with home sharing?

    I have two teenagers with no taste in music, my wife who appreciates Abba my own music to manage across a fleet of devices.  My kids dont like Ozarks or Pink Floyd, and I would rather skin myself with a cheese grater than have One direction on my phone.  Does home sharing allow for different devices to sync different playlists???  And furthermore is the icloud Match thing worth the trouble???
    thanks

    After researching through the forums, I figured it out. You have to make sure you are logged in under the same account on both computers. At first I was logged under my account on my computer and logged in under my father's account on my father's computer. You have to choose one account to log in under on both computers and then you will be abler to import songs from both computers. If you do not log in under the same account, you will be able to listen to both computers' music, but not import.

  • Shared memory:  apache memory usage in solaris 10

    Hi people, I have setup a project for the apache userID and set the new equivalent of shmmax for the user via projadd. In apache I crank up StartServers to 100 but the RAM is soon exhausted - apache appears not to use shared memory under solaris 10. Under the same version of apache in solaris 9 I can fire up 100 apache startservers with little RAM usage. Any ideas what can cause this / what else I need to do? Thanks!

    a) How or why does solaris choose to share memory
    between processes
    from the same program invoked multiple times
    if that program has not
    been specifically coded to use shared memory?Take a look at 'pmap -x' output for a process.
    Basically it depend on where the memory comes from. If it's a page loaded from disk (executable, shared library) then the page begins life shared among all programs using the same page. So a small program with lots of shared libraries mapped may have a large memory footprint but have most of it shared.
    If the page is written to, then a new copy is created that is no longer shared. If the program requests memory (malloc()), then the heap is grown and it gathers more private (non-shared) page mappings.
    Simply: if we run pmap / ipcs we can see a
    shared memory reference
    for our oracle database and ldap server. There
    is no entry for apache.
    But the total memory usage is far far less than
    all the apache procs'
    individual memory totted up (all 100 of them, in
    prstat.) So there is
    some hidden sharing going on somewhere that
    solaris(2.9) is doing,
    but not showing in pmap or ipcs. (virtually
    no swap is being used.)pmap -x should be showing you exactly which pages are shared and which are not.
    b) Under solaris 10, each apache process takes up
    precisely the
    memory reported in prstat - add up the 100
    apache memory details
    and you get the total RAM in use. crank up the
    number of procs any
    more and you get out of memory errors so it
    looks like prstat is
    pretty good here. The question is - why on
    solaris10 is apache not
    'shared' but it is on solaris 9? We set up
    all the usual project details
    for this user, (jn /etc/projects) but I'm
    guessing now that these project
    tweaks where you explicitly set the shared
    memory for a user only take
    effect for programs explicitly coded to use
    shared memory , e.g. the
    oracle database, which correctly shows up a
    shared memory reference
    in ipcs .
    We can fire up thousands of apaches on the 2.9
    system without
    running out of memory - both machines have the
    same ram !
    But the binary versions of apache are exactly
    the same, and
    the config directives are identical.
    please tell me that there is something really
    simple we have missed!On Solaris 10, do all the pages for one of the apache processes appear private? That would be really, really unusual.
    Darren

  • Storing berkeley db in shared memory

    Hello,
    In our case, the durability of the bdb is required only for application restart and not for system restart. Therefore, it is desired to back the bdb by the shared memory for performance reasons instead of the file system. The article "Writing In-Memory Berkeley DB Applications" talks only about storing the bdb in the heap memory. Any pointers regarding this would be highly appreciated.
    Thanks
    Sundar

    Sundar, can you please explain what the exact problem is?
    Bogdan Coman

  • Increase shared memory by IGD (intel HD)

    when will the shared memory for intel HD graphics processor can be increase more than 256MB? some motherboard with some brand can assign until 1GB of RAM to the integrated graphic. future BIOS development should focus on this matter. 
    thank you
    azuan

    Quote from: azuan on 07-October-13, 10:32:54
    the reason i asked is because the 'manual allocation' in the bios menu only limited to 256MB only.
    The BIOS has no control over the video memory.
    That 64/128/256 MB value is a legacy and it means the reserved system RAM for GPU.
    Most of the GPUs don't need more than 64MB to operate properly.
    But it's better to give them 128 or 256MB.
    Why?
    The "plug & play" (automatic allocation) mechanism was never a perfect one.
    Two devices sharing the same I/O addressing space might lead to conflicts and system crashes.
    You don't want another device to share system RAM with your GPU.
    For this reason it's much better to "lock" that RAM area and to reserve it for the GPU.
    Coming back to video memory, that will be allocated much later (after the OS is loaded) by the GPU.
    Intel Dynamic Video Memory Technology is used for that.
    Depending on the GPU, installed system RAM and application demand, up to 1.7 GB system RAM can be reserved as video memory.
    Edited:
    http://www.intel.com/support/graphics/sb/CS-029090.htm
    Up to 1.7GB usable video memory for HD 2000, 3000, 4000 and 4600 (all the Gen 2/Gen 3/Gen 4 Intel processors).

  • One More Time: Shared Memory

    I've heard the designers of Java (Gosling, Et. Al.) are against supporting the concept of shared memory natively.
    However, have they given any more thought to simple native shared memory support?
    I know there are several "C" libraries with JNI that provide shared memory for Java. I just really would like native support.

    I like it. Although it does leave a file around that I have to delete.
    Any issues with this method?
    BTW, here is the code from the reference:
    import java.io.*;
    import java.nio.*;
    import java.nio.channels.*;
    import java.util.*;
    class TestShared1 {
    public static void main(String[] args) throws Exception {
    Random r = new Random();
    //-- Opening the file
    RandomAccessFile raf = new RandomAccessFile ("myshared", "rw");
    FileChannel fc = raf.getChannel();
    //-- Getting the memory-mapped byte buffer
    MappedByteBuffer mbb = fc.map (FileChannel.MapMode.READ_WRITE, 0, 1024);
    //-- Writing a random integer in the first 4 positions of the memory
    //-- every second
    for (int i = 0; i < 1000; ++i) {
    try { Thread.sleep(1000); } catch (InterruptedException ex) {}
    int x = r.nextInt();
    mbb.putInt(0, x);
    System.out.println ("Written to the shared memory: " + x);
    fc.close();
    raf.close();
    and
    import java.io.*;
    import java.nio.*;
    import java.nio.channels.*;
    import java.util.*;
    class TestShared2 {
    public static void main(String[] args) throws Exception {
    Random r = new Random();
    //-- Opening the file
    RandomAccessFile raf = new RandomAccessFile ("myshared", "rw");
    FileChannel fc = raf.getChannel();
    //-- Getting the memory-mapped byte buffer
    MappedByteBuffer mbb = fc.map (FileChannel.MapMode.READ_WRITE, 0, 1024);
    //-- Printing the integer that is in the first 4 positions of the memory
    //-- every second
    for (int i = 0; i < 1000; ++i) {
    try { Thread.sleep(1000); } catch (InterruptedException ex) {}
    int x = mbb.getInt(0);
    System.out.println ("Read from the shared memory: " + x);
    fc.close();
    raf.close();
    }

  • Sharing jars across different virtual machines

    Hello,
    I'm developing couple of applications using a java library (.jar). Both applications run fine in their own virtual machine and things are fine.
    However, i'm assuming that the library (although is being shared) is being linked into the byte code (generated by the compiler) and there by increasing the memory overhead of the application.
    Is there anyway to actually share this library in JRE (just like .so files in c,c++)?

    There was talk at one time about using shared memory for classes, possibly even an implementation, but it seems to have been 'de-emphasized'.Is this one of the reasons as to why Java was never considered for embedded platforms?
    I can't imagine the pain of static linking, in terms of memory usage and effort to rebuild applications.

  • Shared Memory not available

    Hi,
    I'm using MaxDB Community Edition 7.6.06.10
    Now the second customer has the error
    -24700 Could not start DBM Server
    -24832 Shared memory not available
    -24744 Shared Memory from different platform Unknown (0x00) (expected WIN32, I386)
    Both installations worked fine over several weeks/months.
    What can I do?
    Thank you,
    Christoph Schwerdtner

    Hi
    I was given this fix by SAP Support.
    In the directory X:\sapdb\data\wrk you will find two files SID.dbm.shm and SID.dbm.shi.
    Rename these files to have a .old extension and restart your DBM session.  These files will be recreated automatically.
    This can be done while the database is online.
    Regards
    Doug

Maybe you are looking for

  • Could Someone Help Me With An Old Cisco LocalDirector?

    Hello. I recently purchased an old Pix LocalDirector from eBay. As one would expect, it came with no documentation or configuration notes but for $20.00, it was hard to resist. The seller didn't know if it even worked. I thought I'd take a chance and

  • Need help with two albums

    I bought two Marilyn Manson albums from itunes store. (Born Villain & The High End of Low (Deluxe Version)) Some of the songs are not complete. The stop in middle or even less than the song is supposed to be. How do I delete what I downloaded and red

  • 1099 Withholding Tax data

    hi, how do we delete the withholding tax data for a document after it has been cleared. user has mistakenly entered the invoice as withholding  but  it should not. how can we fix this. Thanks Sivaram

  • Mail flow problem after upgrade from cu1 to sp1

    I have update Exchange server 2013 CU1 to SP1 (CAS Role). After upgrade mail cannot flow. all the mail are stuck. CAS server use to mail flow outside and receive from outside. but The problem is this CAS server mail flow not work after upgrade exchan

  • Display of JPG in binary format

    Hi, I'd like to diplay a jpg in ABAP WD. This jpg ist stored as binary in a table (several table lines of type raw). Could anyone tell me how to display this jpg in ABAP WD. Thank you and best regards, Edgar