Need to clear SAP memory

Hi Experts,
I need to Clear SAP memory set using the 'Parameter ID' keyword in reports. Please advise.
Thanks in advance,
Vivenchandar R

Sure, you can simply set the parameter id to a blank field.  For example.
data: vbeln type vbak-vbeln.
vbeln = space.
set parameter id 'AUN' field vbeln.
Regards,
Rich Heilman

Similar Messages

  • I have a MacBook, do I need to clear the memory or defragment the disk like I need to do on my work pc with Windows?

    I have a MacBook, do I need to clear the memory or defragment the disk like I need to do on my work pc with Windows?
    If so, what do I need to d

    WOsloop_ORD wrote:
    I have a MacBook, do I need to clear the memory or defragment the disk like I need to do on my work pc with Windows?
    No you don't.
    Mac's auto-defragment by writing 2GB+ sized files and smaller to one space on the drive, so you really don't need to worry about it.
    If your going to parititon your drive or need a large space of free space, then Carbon Copy Cloning the entire OS x parittion to a external drive, option booting off of it and then erasing and reverse cloning is the approved  method of defragmenting and freeing up disk space, rahter than using defragmentaiton software that can cause issues and make the machine inoperatible.
    http://www.bombich.com/
    If you need steps to *cough* clean your Mac of caches and whatnot less your kid/wife/mother/girlfriend/boss, see's it then the steps are as follows.
    1: Clean/clear your browser caches first, delete your history etc. from within the program itself, delete any files on the machine by dragging to Trash and emtpy Trash (secure erase not needed if you follow the steps later)
    2: Download CCleaner for the Mac and run that
    3: Download OnyX for the Mac and run all the cleaning and maintainece, reboot at the end.
    4: For scrubbing hard drives of traces (deleted files), use Apple's Disk Utility > Erase Free Space option: Zero (or 7x if you need military/foresic level type deletion, but it takes overnight to complete)
    Make sure your browser plug-ins are current, Flash, Silverlight especially.
    https://www.mozilla.org/en-US/plugincheck/
    And your Mac needs more codecs, search for Perian, VLC and Flip4Mac, install those.

  • I just bought a new mac and need to clear the memory of my old one but i don't have a startup disk.  how do i do this?

    I just bought a new mac book pro and need to clear my old mac of it's contents to give it away---  I do not have my startup disk anymore.  How can i completely delete my old mac's memory?

    Erasing your drive:
    Dragging the files to the Trash removes the references to them from the Directory. As has always been the tradition, the data blocks that held the actual data are not over-written, they are merely added to the free list for later re-use. Their original contents are still present.
    Disk Utility "Erase" or "Partition" of a drive (which finishes in under a minute) also does not over-write the data blocks, but merely creates a new, empty directory.
    To clear the data that may still be present (admittedly in a disorganized mess of unlinked blocks) you need to overwrite the data. Use the erase tab, then choose "Security Erase" Options, and overwrite once with Zeroes. This process can take several hours as it is -- if you insist on multiple passes, it can take days to complete, with little additional protection. Multiple passes is unnecessary unless your drive held Military Secrets.
    When you have erased, be sure to install some version of Mac OS X -- a Mac with no obvious Operating software may be dead, and  is much more likely to quickly become landfill.

  • SAP memory - how to clear?

    Hi,
    I need to clean the SAP memory. What is the command for to do this?
    (not is clear the abap memory but sap memory)
    The command bellow not wiped the memory.
    FREE MEMORY ID 'ZDEMAND'
    best regards,
    Marcelo Bogaz

    Hi.
    Try this . By Using <b>Delete</b>.
    DELETE FROM { {MEMORY ID id}
                | {DATABASE      dbtab(ar) [CLIENT cl] ID id}
                | {SHARED MEMORY dbtab(ar) [CLIENT cl] ID id}
                | {SHARED BUFFER dbtab(ar) [CLIENT cl] ID id} }.
    Eg:.
    DELETE FROM MEMORY ID id.
    Regards
    Bala..

  • How to clear the values present in SAP memory.

    Hi,
    i am building a module pool program in that  im using subscreen which is designed as 'selection-screen 0500 as subscreen.'
      when we validate the selection screen elements, if it come acrosses any error condition it disables every field in theselection-screen enabling the error field(error value is still present). this works fine here.
      but i  need to clear the values present in that field.to retain the values im using memory ids.
    solution required immediately.
    Thanks,
    Nagaraju.

    Hi,
    Use FREE MEMORY.
    FREE MEMORY deletes the entire ABAP memory including all the data that was exported with EXPORT TO MEMORY ID key.
    If helpful pl reward.
    Cheers...

  • How to clear/free SAP memory

    Hi All,
    How can i make sap memory free.
    Actually i am doing a BDC program where i am generating personnel no through PA40.
    My requrirement is to clear personnel no in each loop pass of the BDC transaction so
    that a fresh personnel no gets generated automatically in each loop pass. Pls help me
    resolving this issue.
    Pls reply asap as it is very urgent.
    Thanks,
    Rupesh

    Hey,
    if you dont mind can you please explain me in detail what effect this will have.
    i am attaching a snippet of my code, where i am performing call BDC.
    FORM sub_bdc_sessions .
    *> Local Constants
      DATA: l_ctumode LIKE ctu_params-dismode VALUE 'A',
             l_cupdate LIKE ctu_params-updmode VALUE 'S',
             l_tcode(4) TYPE c VALUE 'PA40',
             l_sdate(10) TYPE c,
             l_edate(10) TYPE c.
      LOOP AT i_itab INTO wa_itab.
    **> change the start date format to mm/dd/yyyy
        CONCATENATE wa_itab-begda0(2) '/' wa_itab-begda3(2) '/'
         wa_itab-begda+6(4) INTO l_sdate.
    **> change the start date format to mm/dd/yyyy
        CONCATENATE wa_itab-endda0(2) '/' wa_itab-endda3(2) '/'
         wa_itab-endda+6(4) INTO l_edate.
    **> change the start date format to mm/dd/yyyy
        CONCATENATE wa_itab-gbdat0(2) '/' wa_itab-gbdat3(2) '/'
         wa_itab-gbdat+6(4) INTO wa_itab-gbdat.
        PERFORM bdc_dynpro      USING 'SAPMP50A' '2000'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'RP50G-EINDA'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '/00'.
        PERFORM bdc_field       USING 'RP50G-PERNR'
        PERFORM bdc_field       USING 'RP50G-EINDA' l_sdate.
        PERFORM bdc_dynpro      USING 'SAPMP50A' '2000'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'T529T-MNTXT(12)'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '=PICK'.
        PERFORM bdc_field       USING 'RP50G-EINDA' l_sdate.
        PERFORM bdc_field       USING 'RP50G-SELEC(12)'
                                      'X'.
        PERFORM bdc_dynpro      USING 'MP000000' '2000'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'PSPAR-WERKS'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '/00'.
        PERFORM bdc_field       USING 'P0000-BEGDA' l_sdate.
        PERFORM bdc_field       USING 'P0000-ENDDA' l_edate.
        PERFORM bdc_field       USING 'P0000-MASSN'
                                      'CA'.
        PERFORM bdc_field       USING 'P0000-MASSG' wa_itab-massg.
        PERFORM bdc_field       USING 'PSPAR-PLANS' wa_itab-plans.
        PERFORM bdc_field       USING 'PSPAR-WERKS' wa_itab-werks.
        PERFORM bdc_field       USING 'PSPAR-PERSG' wa_itab-persg.
        PERFORM bdc_field       USING 'PSPAR-PERSK' wa_itab-persk.
        PERFORM bdc_dynpro      USING 'MP000000' '2000'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'PSPAR-PERNR'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '=UPD'.
        PERFORM bdc_field       USING 'PSPAR-PERNR'
        PERFORM bdc_field       USING 'P0000-BEGDA' l_sdate.
        PERFORM bdc_field       USING 'P0000-ENDDA' l_edate.
        PERFORM bdc_field       USING 'P0000-MASSN'
                                      'CA'.
        PERFORM bdc_field       USING 'P0000-MASSG' wa_itab-massg.
        PERFORM bdc_field       USING 'PSPAR-PLANS' wa_itab-plans.
        PERFORM bdc_field       USING 'PSPAR-WERKS' wa_itab-werks.
        PERFORM bdc_field       USING 'PSPAR-PERSG' wa_itab-persg.
        PERFORM bdc_field       USING 'PSPAR-PERSK' wa_itab-persk.
        PERFORM bdc_dynpro      USING 'MP000100' '2000'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'P0001-BTRTL'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '/00'.
        PERFORM bdc_field       USING 'P0001-BEGDA' l_sdate.
        PERFORM bdc_field       USING 'P0001-ENDDA' l_edate.
        PERFORM bdc_field       USING 'P0001-BTRTL' wa_itab-btrtl.
        PERFORM bdc_field       USING 'P0001-ABKRS' wa_itab-abkrs.
        PERFORM bdc_field       USING 'P0001-PLANS' wa_itab-plans.
        PERFORM bdc_dynpro      USING 'MP000100' '2000'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'P0001-BEGDA'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '=UPD'.
        PERFORM bdc_field       USING 'P0001-BEGDA' l_sdate.
        PERFORM bdc_field       USING 'P0001-ENDDA' l_edate.
        PERFORM bdc_field       USING 'P0001-BTRTL' wa_itab-btrtl.
        PERFORM bdc_field       USING 'P0001-ABKRS' wa_itab-abkrs.
        PERFORM bdc_field       USING 'P0001-PLANS' wa_itab-plans.
        PERFORM bdc_field       USING 'P0001-VDSK1'
                                      '2001'.
        PERFORM bdc_dynpro      USING 'MP000200' '2025'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'P0002-ANZKD'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '/00'.
        PERFORM bdc_field       USING 'P0002-BEGDA' l_sdate.
        PERFORM bdc_field       USING 'P0002-ENDDA' l_edate.
        PERFORM bdc_field       USING 'Q0002-ANREX' wa_itab-anrex.
        PERFORM bdc_field       USING 'P0002-VORNA' wa_itab-vorna.
        PERFORM bdc_field       USING 'P0002-NACHN' wa_itab-nachn.
        PERFORM bdc_field       USING 'Q0002-GESC2' wa_itab-gesc2.
        PERFORM bdc_field       USING 'Q0002-GESC1'
                                      'X'.
        PERFORM bdc_field       USING 'P0002-GBDAT' wa_itab-gbdat.
        PERFORM bdc_field       USING 'P0002-SPRSL'
                                      'EN'.
        PERFORM bdc_field       USING 'P0002-NATIO' wa_itab-natio.
        PERFORM bdc_field       USING 'Q0002-FATXT' wa_itab-fatxt.
        PERFORM bdc_field       USING 'P0002-ANZKD' wa_itab-anzkd.
        PERFORM bdc_dynpro      USING 'MP000200' '2025'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'P0002-BEGDA'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '=UPD'.
        PERFORM bdc_field       USING 'P0002-BEGDA' wa_itab-gbdat.
        PERFORM bdc_field       USING 'P0002-ENDDA' l_edate.
        PERFORM bdc_field       USING 'Q0002-ANREX' wa_itab-anrex.
        PERFORM bdc_field       USING 'P0002-VORNA' wa_itab-vorna.
        PERFORM bdc_field       USING 'P0002-NACHN' wa_itab-nachn.
        PERFORM bdc_field       USING 'Q0002-GESC1' wa_itab-gesc2.
        PERFORM bdc_field       USING 'P0002-GBDAT' wa_itab-gbdat.
        PERFORM bdc_field       USING 'P0002-SPRSL'
                                      'EN'.
        PERFORM bdc_field       USING 'P0002-NATIO' wa_itab-natio.
        PERFORM bdc_field       USING 'Q0002-FATXT' wa_itab-fatxt.
        PERFORM bdc_dynpro      USING 'MP010500' '2000'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'P0105-USRID'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      'UPD'.
        PERFORM bdc_field       USING 'P0105-BEGDA' l_sdate.
        PERFORM bdc_field       USING 'P0105-ENDDA' l_edate.
        PERFORM bdc_field       USING 'P0105-USRID' wa_itab-usrid.
        PERFORM bdc_dynpro      USING 'SAPMP50A' '2000'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '/EBCK'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'RP50G-PERNR'.
      REFRESH i_bdcmsgcoll.
        CALL TRANSACTION l_tcode USING i_bdcitab
                         MODE   l_ctumode
                         UPDATE l_cupdate
                         MESSAGES INTO i_bdcmsgcoll.
    *>  refresh the bdc data tab
        REFRESH i_bdcitab.

  • My start up disk Macintosh HD is full on my McAir OSX 10.9.4 memory 4GB. I need to clear the disk so that I can update it with the new software IOS 10.9.5 requiring 2.05GB. Need guidance on how to clear space.

    My start up disk Macintosh HD is full on my McAir OSX 10.9.4 memory 4GB. I need to clear the disk so that I can update it with the new software IOS 10.9.5 requiring 2.05GB. Need guidance on how to clear space.

    For information about the Other category in the Storage display, see this support article. If the Storage display seems to be inaccurate, try rebuilding the Spotlight index.
    Empty the Trash if you haven't already done so. If you use iPhoto, empty its internal Trash first:
              iPhoto ▹ Empty Trash
    Do the same in other applications, such as Aperture, that have an internal Trash feature. Then restart the computer. That will temporarily free up some space.
    According to Apple documentation, you need at least 9 GB of available space on the startup volume (as shown in the Finder Info window) for normal operation—not the mythical 10%, 15%, or any other percentage. You also need enough space left over to allow for growth of the data. There is little or no performance advantage to having more available space than the minimum Apple recommends. Available storage space that you'll never use is wasted space.
    When Time Machine backs up a portable Mac, some of the free space will be used to make local snapshots, which are backup copies of recently deleted files. The space occupied by local snapshots is reported as available by the Finder, and should be considered as such. In the Storage display of System Information, local snapshots are shown as  Backups. The snapshots are automatically deleted when they expire or when free space falls below a certain level. You ordinarily don't need to, and should not, delete local snapshots yourself. If you followed bad advice to disable local snapshots by running a shell command, you may have ended up with a lot of data in the Other category. Ask for instructions in that case.
    See this support article for some simple ways to free up storage space.
    You can more effectively use a tool such as OmniDiskSweeper (ODS) or GrandPerspective (GP) to explore the volume and find out what's taking up the space. You can also delete files with it, but don't do that unless you're sure that you know what you're deleting and that all data is safely backed up. That means you have multiple backups, not just one. Note that ODS only works with OS X 10.8 or later. If you're running an older OS version, use GP.
    Deleting files inside an iPhoto or Aperture library will corrupt the library. Any changes to a photo library must be made from within the application that created it. The same goes for Mail files.
    Proceed further only if the problem isn't solved by the above steps.
    ODS or GP can't see the whole filesystem when you run it just by double-clicking; it only sees files that you have permission to read. To see everything, you have to run it as root.
    Back up all data now.
    If you have more than one user account, make sure you're logged in as an administrator. The administrator account is the one that was created automatically when you first set up the computer.
    Install the app you downloaded in the Applications folder as usual. Quit it if it's running.
    Triple-click anywhere in the corresponding line of text below on this page to select it, then copy the selected text to the Clipboard by pressing the key combination command-C:
    sudo /Applications/OmniDiskSweeper.app/Contents/MacOS/OmniDiskSweeper
    sudo /Applications/GrandPerspective.app/Contents/MacOS/GrandPerspective
    Launch the built-in Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
    Paste into the Terminal window by pressing command-V. You'll be prompted for your login password, which won't be displayed when you type it. Type carefully and then press return. You may get a one-time warning to be careful. If you see a message that your username "is not in the sudoers file," then you're not logged in as an administrator. Ignore any other messages that appear in the Terminal window.
    The application window will open, eventually showing all files in all folders, sorted by size. It may take a few minutes for the app to finish scanning.
    I don't recommend that you make a habit of doing this. Don't delete anything as root. If something needs to be deleted, make sure you know what it is and how it got there, and then delete it by other, safer, means. When in doubt, leave it alone or ask for guidance.
    When you're done with the app, quit it and also quit Terminal.

  • I need to clear some of my mail and pictures because they're using all of my memory, but how?

    I need to clear some of my mail and pictures because they're using all of my memory, but how?

    Just open the "Photos" app, open the "Camera Roll" folder and start deleting the pictures you do not want to keep. For mails just open the Mail app and do the same, click edit, choose your emails you do not want to keep and delete them.

  • Do we necessarily need to clear the BW queues in preprocessing steps of SAP

    Hello Experts,
    A quick question.
    I am doing EHP upgrade on BW system
    Do we necessarily need to clear the BW queues in preprocessing steps of SAPehpi?
    OR the same can be done just before downtime?
    A fast response is much appreciated.
    Best Regards
    Sachin Bhatt

    Hello Markus,
    Thanks for the info.
    We finished EHP4 implementation successfully last saturday.
    However to my surprise didnt receive any message by EHPI to clear delta queues.
    We cleared it just before down time.
    Anyways thanks for the answer.
    We wil take a close look when implementing next time during the phase mentioned.
    Regards
    Sachin Bhatt

  • Hi Friends ....Difference between SAP memory and ABAP memory

    Hi Friends,
    I faced a interview and they ask this question
    What is the difference between SAP Memory and ABAP memory..

    conti
    SAP Memory
    SAP memory is a memory area to which all main sessions within a SAPgui have access. You can use SAP memory either to pass data from one program to another within a session, or to pass data from one session to another. Application programs that use SAP memory must do so using SPA/GPA parameters (also known as SET/GET parameters). These parameters can be set either for a particular user or for a particular program using the SET PARAMETER statement.
    Other ABAP programs can then retrieve the set parameters using the GET PARAMETER statement. The most frequent use of SPA/GPA parameters is to fill input fields on screens.
    ABAP Memory
    ABAP memory is a memory area that all ABAP programs within the same internal session can access using the EXPORT and IMPORT statements. Data within this area remains intact during a whole sequence of program calls. To pass data to a program which you are calling, the data needs to be placed in ABAP memory before the call is made. The internal session of the called program then replaces that of the calling program. The program called can then read from the ABAP memory. If control is then returned to the program which made the initial call, the same process operates in reverse.
    A simple example of ABAP memory is using the EXPORT/IMPORT statements.
    Here in this program, I get the data, export it to memory,
    clear out the internal table in my progam, then reimport the data into it and write out the data.
    You probably wounldn't do this in a normal program,
    but this is how you can pass data from program a to program b when A Submits program B.
    report zxy_0002 .
    data: it001 type table of t001 with header line.
    select * into table it001 from t001.
    export it001 = it001 to memory id 'ZXY_TEST'.
    clear it001. refresh it001.
    import it001 = it001 from memory id 'ZXY_TEST'.
    loop at it001.
    write:/ it001-bukrs, it001-butxt.
    endloop.
    SAP Memory
    SAP memory is a memory area to which all main sessions within a SAPgui have access.
    You can use SAP memory either to pass data from one program to another within a session,
    or to pass data from one session to another.
    Application programs that use SAP memory must do so using SPA/GPA parameters (also known as SET/GET parameters).
    These parameters can be set either for a particular user
    or for a particular program using the SET PARAMETER statement.
    Other ABAP programs can then retrieve the set parameters using the GET PARAMETER statement.
    The most frequent use of SPA/GPA parameters is to fill input fields on screens
    ABAP/4 Memory
    ABAP memory is a memory area that all ABAP programs within the same internal session can access
    using the EXPORT and IMPORT statements.
    Data within this area remains intact during a whole sequence of program calls. To pass data
    to a program which you are calling,
    the data needs to be placed in ABAP memory before the call is made.
    The internal session of the called program then replaces that of the calling program.
    The program called can then read from the ABAP memory.
    If control is then returned to the program which made the initial call, the same process operates in reverse.
    SAP memory
    The SAP memory, otherwise known as the global memory,
    is available to a user during the entire duration of a terminal session.
    Its contents are retained across transaction boundaries as well as external and internal sessions.
    The SET PARAMETER and GET PARAMETER statements allow you to write to, or read from, the SAP memory.
    ABAP/4 memory
    The contents of the ABAP/4 memory are retained only during the lifetime of an external session
    (see also Organization of Modularization Units).
    You can retain or pass data across internal sessions.
    The EXPORT TO MEMORY and IMPORT FROM MEMORY statements allow you to write data to, or read data from, the ABAP memory.
    ABAP Memmory & SAP Memmory
    http://www.sap-img.com/abap/difference-between-sap-and-abap-memory.htm
    http://www.sap-img.com/abap/type-and-uses-of-lock-objects-in-sap.htm
    Set
    http://www.geocities.com/SiliconValley/Campus/6345/set_para.htm
    GET
    http://www.geocities.com/SiliconValley/Campus/6345/get_para.htm
    EXPORT
    http://www.geocities.com/SiliconValley/Campus/6345/export01.htm
    Other Imp Help
    http://www.geocities.com/SiliconValley/Campus/6345/abapindx.htm

  • Hi All,Can any provide an example for SAP MEMORY AND ABAP memory

    Hi All,
          Can any provide me an example for SAP MEMORY AND ABAP memory.
    thanks&regards.
    Bharat.

    HI Bharat
    A simple example of ABAP memory is using the EXPORT/IMPORT statements.
    Here in this program, I get the data, export it to memory,
    clear out the internal table in my progam, then reimport the data into it and write out the data.
    You probably wounldn't do this in a normal program,
    but this is how you can pass data from program a to program b when A Submits program B.
    report zxy_0002 .
    data: it001 type table of t001 with header line.
    select * into table it001 from t001.
    export it001 = it001 to memory id 'ZXY_TEST'.
    clear it001. refresh it001.
    import it001 = it001 from memory id 'ZXY_TEST'.
    loop at it001.
    write:/ it001-bukrs, it001-butxt.
    endloop.
    SAP Memory
    SAP memory is a memory area to which all main sessions within a SAPgui have access.
    You can use SAP memory either to pass data from one program to another within a session,
    or to pass data from one session to another.
    Application programs that use SAP memory must do so using SPA/GPA parameters (also known as SET/GET parameters).
    These parameters can be set either for a particular user
    or for a particular program using the SET PARAMETER statement.
    Other ABAP programs can then retrieve the set parameters using the GET PARAMETER statement.
    The most frequent use of SPA/GPA parameters is to fill input fields on screens
    ABAP/4 Memory
    ABAP memory is a memory area that all ABAP programs within the same internal session can access
    using the EXPORT and IMPORT statements.
    Data within this area remains intact during a whole sequence of program calls. To pass data
    to a program which you are calling,
    the data needs to be placed in ABAP memory before the call is made.
    The internal session of the called program then replaces that of the calling program.
    The program called can then read from the ABAP memory.
    If control is then returned to the program which made the initial call, the same process operates in reverse.
    SAP memory
    The SAP memory, otherwise known as the global memory,
    is available to a user during the entire duration of a terminal session.
    Its contents are retained across transaction boundaries as well as external and internal sessions.
    The SET PARAMETER and GET PARAMETER statements allow you to write to, or read from, the SAP memory.
    ABAP/4 memory
    The contents of the ABAP/4 memory are retained only during the lifetime of an external session
    (see also Organization of Modularization Units).
    You can retain or pass data across internal sessions.
    The EXPORT TO MEMORY and IMPORT FROM MEMORY statements allow you to write data to, or read data from, the ABAP memory.
    ABAP Memmory & SAP Memmory
    http://www.sap-img.com/abap/difference-between-sap-and-abap-memory.htm
    http://www.sap-img.com/abap/type-and-uses-of-lock-objects-in-sap.htm
    Set
    http://www.geocities.com/SiliconValley/Campus/6345/set_para.htm
    GET
    http://www.geocities.com/SiliconValley/Campus/6345/get_para.htm
    EXPORT
    http://www.geocities.com/SiliconValley/Campus/6345/export01.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb3bc4358411d1829f0000e829fbfe/frameset.htm
    Other Imp Help
    http://www.geocities.com/SiliconValley/Campus/6345/abapindx.htm
    Regards Rk

  • SAP Memory

    hi all,
    Please tell me the code for passing a particular flag value to a SAP memory . Then calling the memory at any other location and freeing the memory thereafter.
    Also please let me know the code for disabling/enabling  a particular screen field .
    Thanks ,
    Paul

    To fill the input fields of a called transaction with data from the calling program, you can use the SPA/GPA technique. SPA/GPA parameters are values that the system stores in the global, user-specific SAP memory. SAP memory allows you to pass values between programs. A user can access the values stored in the SAP memory during one terminal session for all parallel sessions. Each SPA/GPA parameter is identified by a 20-character code. You can maintain them in the Repository Browser in the ABAP Workbench. The values in SPA/GPA parameters are user-specific.
    <b>SPA/GPA Parameters as Default Values</b>
    The SPA/GPA Parameter Technique is a general procedure for filling the initial screen when a program is called. To use this technique for parameters on selection screens, you must link the parameter to an SPA/GPA parameter from the SAP memory as follows:
    PARAMETERS <p> ...... MEMORY ID <pid>......
    If you use this addition, the current value of SPA/GPA parameter <pid> from the global user-related SAP memory is assigned to parameter <p> as a default value. Description <pid> can contain a maximum of twenty characters and must not be enclosed in quotation marks.
    REPORT DEMO.
    <b>PARAMETERS TEST(16) MEMORY ID RID.</b>
    ABAP programs can access the parameters using the SET PARAMETER and GET PARAMETER statements.
    To fill one, use:
    <b>SET PARAMETER ID <pid> FIELD <f>.</b>
    This statement saves the contents of field <f> under the ID <pid> in the SAP memory. The code <pid> can be up to 20 characters long. If there was already a value stored under <pid>, this statement overwrites it. If the ID <pid> does not exist, double-click <pid> in the ABAP Editor to create a new parameter object.
    To read an SPA/GPA parameter, use:
    <b>GET PARAMETER ID <pid> FIELD <f>.</b>
    <b>Passing Data Between Programs</b>
    There are two ways of passing data to a called program:
    Passing Data Using Internal Memory Areas
    There are two cross-program memory areas to which ABAP programs have access (refer to the diagram in Memory Structures of an ABAP Program) that you can use to pass data between programs.
    <b>SAP Memory</b>
    SAP memory is a memory area to which all main sessions within a SAPgui have access. You can use SAP memory either to pass data from one program to another within a session, or to pass data from one session to another. Application programs that use SAP memory must do so using SPA/GPA parameters (also known as SET/GET parameters). These parameters can be set either for a particular user or for a particular program using the SET PARAMETER statement. Other ABAP programs can then retrieve the set parameters using the GET PARAMETER statement. The most frequent use of SPA/GPA parameters is to fill input fields on screens (see below).
    <b>ABAP Memory</b>
    ABAP memory is a memory area that all ABAP programs within the same internal session can access using the EXPORT and IMPORT statements. Data within this area remains intact during a whole sequence of program calls. To pass data to a program which you are calling, the data needs to be placed in ABAP memory before the call is made. The internal session of the called program then replaces that of the calling program. The program called can then read from the ABAP memory. If control is then returned to the program which made the initial call, the same process operates in reverse. For further information, refer to Data Clusters in ABAP Memory.
    Filling Input Fields on an Initial Screen
    Most programs that you call from other programs have their own initial screen that the user must fill with values. For an executable program, this is normally the selection screen. The SUBMIT statement has a series of additions that you can use to fill the input fields of the called program:
    Filling the Selection Screen of a Called Program
    You cannot fill the input fields of a screen using additions in the calling statement. Instead, you can use SPA/GPA parameters. For further information, refer to Filling an Initial Screen Using SPA/GPA Parameters.
    regards
    vinod

  • Examples for SAP Memory and ABAP Memory

    Hi all,
        can u give me one example of sap memory and abap memory.
                                              Ranjith

    Hi,
    <b>SAP Memory</b>
    SAP memory is a memory area to which all main sessions within a SAPgui have access. You can use SAP memory either to pass data from one program to another within a session, or to pass data from one session to another. Application programs that use SAP memory must do so using SPA/GPA parameters (also known as SET/GET parameters). These parameters can be set either for a particular user or for a particular program at the time of logon using the SET PARAMETER statement. Other ABAP programs can then retrieve the set parameters using the GET PARAMETER statement. The most frequent use of SPA/GPA parameters is to fill input fields on screens .
    <b>example:</b>
    ABAP programs can access the parameters using the SET PARAMETER and GET PARAMETERstatements.
    To fill one, use:
    SET PARAMETER ID pid FIELD f
    This statement saves the contents of field f under the ID pid in the SAP memory. The ID pid can be up to 20 characters long. If there was already a value stored under pid, this statement overwrites it. If you double-click pid in the ABAP Editor, parameters that do not exist can be created as a Repository object.
    To read an SPA/GPA parameter, use:
    GET PARAMETER ID pid FIELD f.
    This statement places the value stored under the pid ID into the variable f. If the system does not find any value for pid in the SAP memory, sy-subrc is set to 4. Otherwise, it sets the value to 0.
    <b>ABAP Memory</b>
    ABAP memory is a memory area that all ABAP programs within the same internal session can access using the EXPORT and IMPORT statements. Data within this memory area remains throughout a sequence of program calls, with the exception of LEAVE TO TRANSACTION. To pass data to a program that you are calling, the data needs to be placed in ABAP memory before the call is made from the internal calling session using the EXPORT statement. The internal session of the called program then replaces that of the calling program. The program called can then read from the ABAP memory using the IMPORT statement. If control is then returned to the program that made the initial call, the same procedure operates in reverse.If a transaction is called using LEAVE TO TRANSACTION, the ABAP memory and the call stack are deleted. They cannot be used for data transfer.
    Since objects belonging to ABAP objects can only be accessed within an internal session, it does not make sense and is therefore forbidden (from a syntax point of view) to pass a reference to an object to a calling program through the ABAP memory.
    <b>Example:</b>
    Export hello to memory id 'Hello_world'.
    Import hello from memory id 'Hello_world'
    Regards
    Sudheer

  • Lockbox - clearing SAP documents issue

    Hello all,
    Me along with our functional consultant are trying to figure out a lockbox document clearing issue and hope you could through some suggestions in. We are using FLB2 to clear SAP documents by using different search rules for invoice numbers on FLB2. Right now we have 5 different kinds of search rules based on document number (BELNR) and reference document number (XBLNR). We are able to clear the documents successfully if we have either document or reference documnet numbers in our input file using one of these 5 search rules. But now we would like to clear the documents also based on document assignment number (ZUONR). We tried few assignment numbers in the input file with all 5 search rules but FLB2 is not clearing any SAP documents. We are not sure if we need to have a new search rule specific to clearing the documents based on assignment numbers or how to create more search rules. Could you please suggest us if you have any thoughts on this?
    Thanks,

    Anyone with any suggestions? Please let me know. Thanks.

  • Fm to read from SAP memory

    Hi,
    I need a fm whic will read the sub-equipments currnetly dismanteled for a superior equipment.
    I am using tcode ieo2 and enhancement IEQM0003
    Plz help

    Hi
    you can use export and import parameter i.d to read from sap memory
    Regards
    Divya

Maybe you are looking for

  • Printer for Old iMac with OS8.6

    I'm trying to help a friend with an iMac DVD running OS 8.6.  They need to get a new printer.  Are there any printers that will run with OS 8.6 or can the old iMac be updated with an earlier version of OSX?  Help! Thanks!

  • Cannot open InDesign CC file

    I have some files that have been sent to me (Australia) from Belgium. All open fine except one which displays this message "Cannot open the file 'xxxxxxxx' Adobe InDesign may not support the file format, a plug-in that supports the file may be missin

  • Workflow - Help in Condition Task

    Hi, I have a Workflow that in the all Conditions tasks appear the expression: <FRAMESET rows="*" frameborder=0> How to modify this for to appear the reals conditions of task? best regards, Daniel

  • Design brochure for business

    I would like to know to which is the best suited programme to make a brochure for my business concern?? I do know that microsoft publisher is one but does it have a mac version too?? Please help .....OT you do have spontaneous and valued answers... s

  • VISA TCP/IP wait after query

    Hi  I found an issue with the driver to MSO-X 2014A TCP/IP scope which was sending the status request too early after the previous query was issued.  I have modified the vis, but I was wondering if there is a VISA property node which specifies the wa