Import from memory problem

Dear experts:
    When I am using 'import mi[] from memory ID Z_memory.', I don't know how many times can I import from the same memory ID. For example, I want to export once and need to import many times.
    My code is like this:
export mi[] to memory ID Z_memory.
import mi[] from memory ID Z_memory.
import mi[] from memory ID Z_memory.
   Could the second import successful?
   Thanks in advance.
regards,
tyrolu

hi tyrolu,
you can import from the memory for more time also....
why do you want to import same content many times in one program ? instead you can import it at once and you can  use it many times right......
sastry

Similar Messages

  • Confusion re: photostream, import from memory card, events, etc.

    confusion re: photostream, import from memory card, events, etc.
    Up until a few weeks ago, my travel-photo-handling went like this:
    Each night, I download photos to my iPad for safekeeping. They, of course, wind up in Photostream.
    When I return home, I connect my camera card to my iMac (where I have my iPhoto library), and I can "see" the photos on my memory card - the photos which, although in Photostream, I have not yet manually downloaded.
    I select and ownload them.
    New Events are created in my Library automatically, as I have my preference set to Autosplit Events.
    This week, I came home from a trip during which I had downloaded to iPad during my time away.
    I connected my memory card to the iMac.
    iPhoto did not "see" any photos to import - as far as iPhoto was concerned, those photos were already in my Library.
    I had iPhoto show all photos on my card, selected the photos from my trip (I shot over 1000) and clicked "Import Selected"
    iPhoto says they're duplicates.
    However, the photos have NOT been downloaded manually and there are NO Events in my Library for those days.
    Note: yeah, they're in Photostream, but IN THE PAST - and I mean literally up until 3 weeks ago - the photos have ALWAYS been "visible" and importable even if in Photostream, as long as I had not yet manually downloaded to the computer.
    So my question, I guess, is multi-part:
    What changed in iPhoto and/or Photostream in the past couple of weeks?
    Why are Photostream photos suddenly considered to be the same as the photos on my card which have not yet been manually downloaded to the computer?
    What the heck is going on?
    I hate having duplicates, but I also hate being confused by something that used to be really easy, then - with Photosream - became annoying, and is now simply perplexing and sometimes imcomprehendable.

    Check iPhoto's Photo Stream preference pane to see if the highlighted checkbox in the screenshot below is checked.  If it is then all photos taken by the iPad are automatifdally being imported into your library.
    Go the the Events mode and check the View ➙ Sort menu option to verify where new Evens will be located, at the top of the window or the bottom.  Then check to see if your PS pictures are there.
    As a test launch iPhoto with the Option key held down and create a new, test library.  Connect your iPad and import all photos.  Dismount the iPad, close and reopen the test library, connect the iPad again and test to see if the same problem persists. Does it?
    If it does'nt then your current library is damaged and needs to be repaired.
    OT

  • IMPORT FROM MEMORY ERROR

    When ever i run a driver program of Sap-Scrip i get an abend msg statin IMPORT FROM MEMORY ERROR: Program canceled. what should i do to get over this error...???

    Hi Kunal,
    Once again u check out the parameters u passed  correctly or not in FM.
    Give first &  next page in script layout.

  • IMPORT FROM MEMORY from a report painter.

    Hi experts.
    I have a report painter that calls an ABAP program.
    In the abap code, am I able to get the data shown on the report painter? Or the selections performed?
    I know that this might be with some kind of IMPORT FROM MEMORY but i cannot find any documentation about that. Cone someone please help me with that?
    Thank.you very much,
    Artur.

    Finally i found it myself, i share this with all of you:
    CONSTANTS:
          con_sel_data_mem_id(32)   VALUE 'COMMUNICATION-HANDLER-SELDATA'.
    DATA: it_sel    LIKE TABLE OF rstisel    WITH HEADER LINE.
    DATA: it_fields LIKE TABLE OF rstifields WITH HEADER LINE.
    IMPORT it_sel it_fields FROM MEMORY ID con_sel_data_mem_id.

  • CATS report  RCATSP01:  Problem with statement IMPORT FROM MEMORY ID.

    Hi Guys,
    I am trying to create a Z custom report using SAP template RCATSP01. In template report there is an IMPORT statement as below.
    IMPORT icatsd
           catsfields
           fieldtab
    FROM MEMORY ID 'LR2'.
    When I run the report in debug mode, I found there is no data in ICATSD, CATSFIELDS & FIELDSTAB.
    What should I do to get the data in these internal tables.
    Thanks,
    Mini

    I don't think this report is meant to be used as a stand-alone report; it's called within CATS time entry (e.g. CAT2 when user select print time sheet) which would export the info to 'LR2' memory prior to calling this report.

  • Problems with EXPORT TO MEMORY / IMPORT FROM MEMORY

    Hello.
    we've just made a SAP OS/DB migration of our 46C system from UNIX/Oracle to Windows/SQL.
    Our FI consultant has realized a processs failed.
    The ABAP program that files (it is a Z program) is using EXPORT TO MEMORY and IMPORT TO MEMORY.
    It seems the import is failing because the export to memory fails also.
    Of course we have changed memory parameters ..do you know what memory parameters are involved?
    Thanks very much for your help.

    It seems the import is failing because the export to memory fails also.
    Can you explain?
    Did you check the extended debugger facilities like memory areas?
    What is the structure/amount of data for ex- and import, same name, same data object?
    Just reveal what you are really doing, post a few code lines.
    Or not.
    Regards,
    Clemens

  • Import from Memory ID

    Hi,
       In a program, I am getting a short dump at statement,
    IMPORT T_DOWN_NOTPAYED HSDPN HIVDPN
             HIVDPV HCURR FROM MEMORY ID 'ZDOW2'.
    Short dump details given below.
    <i>Error when attempting to IMPORT object "T_DOWN_NOTPAYED".
    When attempting to import data, it was discovered that the data type of the stored data was not the same as that specified in the      
    program.</i>                                                          
    The object T_DOWN_NOTPAYED has the following declaration.  
    DATA : BEGIN OF T_DOWN_NOTPAYED OCCURS 0,
             VBELN  LIKE VBRP-VBELN,
             POSNR  LIKE VBRP-POSNR,
             CMPRE  LIKE VBRP-CMPRE,
             CMWAE  LIKE VBRK-CMWAE,
           END OF T_DOWN_NOTPAYED.
    How can we know where is the corresponding export statement and the structure of the exported parameters. Please suggest how to solve this problem.
    Thanks & Regards,
    Vishnu Priya.

    to find out where export is used, one method is,
    find the where used list for the report name.
    because normally after export statement, they should use
    submit <report name> statement.
    and that report name and the report in which import u r using will be same.

  • Import From Camera problem

    I thought I'd try out the "Import From Camera" script as the first part of my workflow. I had a card with about 30 images on it taken with my Canon 1DMkII. I typically rename my files "YYMMDD_hhmmss", and although there is no explicit way to do this (EXIF Capture Date) with IFC it appeared that using the "modified date" option gave the same results.
    I ran the script and immediately encountered several errors - the script said that "One or more of the downloaded image filenames match filenames in the specified destination folder ..." I knew this wasn't the case since all images were taken at different times.
    Is there another way to use the EXIF date within IFC? Is this a script I can modify myself in some way?
    It does almost everything I want, but the renaming part is the deal-killer.
    Any thoughts would be appreciated.
    Thanks,
    Jeff

    Try using a card reader.  That way you can open the memory card as it were an external volume, select and drag the files in small groups to a folder on the Desktop. That way you can isolate those files that are causing the problem.
    If there are only a few files that won't cooperate you may have to sacrifice them so you can reformat the memory card using the camera and then test it with some test photos and videos.
    Is it just videos that won't copy?  See if you can determine which files are causing the problem.
    OT

  • Import  from Memory id is not working

    Hi All,
    In the program SAPF110V for Tcode : F110 , I have written an enhancement where when user clicks printout button then a popup will come which will ask for whether date should be printed in the check or not. for this i have used FM : POPUP_TO_CONFIRM . here i am exporting the value if user clicks no (value is 2 for NO).
    exoprt statemnt written :
    export l_v_answer from l_v_answer to memory ID 'ANS'.
    In the driver program for check printing i am importing the value .if value = 2 then i am clearing the date that has to be printed in the check.
    import stmt :
    Import l_v_answer to l_v_answer from memory ID 'ANS'.
    however the value is not getting imported here.
    not able to find the reason why the value is not getting picked with import. please let me know the solution.
    Thanks,
    Preethi.

    called program
    REPORT  ZTEST7.
    selection-screen begin of block b1.
    parameters: a like mara-matnr.
    selection-screen end of block b1.
    types: begin of tp_sel_tab.
          include structure zstr2.
    types: end of tp_sel_tab.
    data: t_sel_tab type standard table of tp_sel_tab with header line.
    data: w_t_sel_tab type tp_sel_tab.
    *call screen 9100.
    start-of-selection.
    select ernam from mara into corresponding fields of table t_sel_tab where matnr = a.
    export t_sel_tab to memory id 'ZTEST7'.
    loop at t_sel_tab into w_t_sel_tab.
    write:/ w_t_sel_tab-ernam.
    endloop.
    calling program
    REPORT  ZTEST8.
    *types: begin of tp_sel_tab.
         include structure zstr2.
    *types: end of tp_sel_tab.
    data: begin of t_sel_tab occurs 0,
          ernam like mara-ernam,
          end of t_sel_tab.
    data: begin of sel_tab occurs 0,
          ernam like mara-ernam,
          end of sel_tab.
    *data: t_sel_tab type standard table of tp_sel_tab.
    *types:  begin of tp_sel_tab1,
           ernam like mara-ernam,
    end of tp_sel_tab1.
    *data: sel_tab type standard table of tp_sel_tab .
    data: w_sel_tab type zstr2.
    submit ztest7 with a = '000000000000000939' and return.
    import  sel_tab = t_sel_tab from memory id 'ZTEST7'.
    loop at sel_tab into w_sel_tab..
    write:/ w_sel_tab-ernam.
    endloop.
    please reward points

  • Import from catalog problems

    Cannot import from catalog, LR quits and I get about 2 or 3 photos imported.
    Adobe was no help, they had no idea why.
    Have tried to "import from Cat" twice. Moving two different catalogs into my main desktop catalog. Both did not work.
    All three catalogs ( two from laptop and my main LR cat) work fine and I can import photos no problem.
    Would like to import all the changes of photos that I have made with these two catalogs that I did on my laptop. (Both cats are on an external hard drive).
    Thoughts anyone?
    I am having some issues with my video card. Screen right now is a bit pink. This would be the fourth video card I will need on this Mac Pro. Would this be the cause?
    Thanks.

    flyboys911 wrote:
    Do I need to export the laptop cats if thy are already on a separate hard drive?
    It might help. Exporting a catalog sometimes cures corruption in the original catalog. Try exporting into a new catalog and then importing the new one on your desktop.
    Never heard of the last thing you mentioned. Can you describe more?
    Lightroom has a preferences file, which sometimes gets corrupt and can cause all kinds of weard behaviour. You can delete (or rename away) the preferences file, and LR will build a fresh one when started. If you rename it, you will still have it if you decide you want it back.
    To rename the preferences file, rename the file
    "[username]/Library/Preferences/com.adobe.Lightroom3.plist"
    to something like
    "[username]/Library/Preferences/com.adobe.Lightroom3.plist.old"
    while LR is closed and restart LR.
    Beat

  • Import From Memory Id  . Where is Export ?

    i have standard FM there is code for Import memory like below
    DATA : Zget(10) TYPE C.
    IMPORT zget FROM MEMORY ID 'ZPQR' .
    Now i want to Know from where its value comming i.e . What & where is its Export parameter.
    What is ZPQR ? Is it Program or table  ?
    in Which table i will find Memory Id 'ZPQR' ?

    >
    Monica wrote:
    > This is J_1I7_GET_BUSINESS_PLACE FM . Only Import statement is there not Export..statement  ?
    Well, in ECC 6, this has no exectuable statements at all. But what I meant was - start the program that executes this FM in debug mode. when the debugger comes up, use the menu options:
    Breakpoints -> Breakpoint at -> Breakpoint at Statement
    Then enter 'export' in the popup.
    Rob

  • Photos sent to file on desktop when importing from memory card

    The photos sent to a file when importing from a memory card appear in the file as Adobe documents and cannot be opened.  If I try to open a message appears 'Adobe Reader cannot open this document as it is not a supported file/
    What has gone wrong?

    You have already opened a thread on this issue, we don't need a second thread on the same issue.

  • Importing from Memory Id

    Hi All,
    Please tell me how the following command works and how can we see the contents which are being returned from this memory Id.
    IMPORT /ICO/MO_RUP-BERNR TO WLV_BERNR FROM MEMORY ID 'ZOR'.
    Also,
    GET PARAMETER ID 'ZOR' FIELD WLV_BERNR.
    Thanks,
    Archana.

    Hi Archana,
      If you want to see what you're importing, if it's correct, you can start debugging in the start os the transaction and create a breakpoint related to the command EXPORT. Then you probably can see if the content exported to memory it's correct.
      If you use this solution, don't stop debugging at the 1st EXPORT command, because it can be repeated before you import it.
    I hope it helps.
    Regards,
    Paulo Sousa

  • IMPORT FROM MEMORY in job submitted program

    Hi experts,
    In a method I do:
          SUBMIT zemr0044 USER sy-uname
                         VIA JOB lc_jobname
                         NUMBER lv_jobcount
                         AND RETURN.
    Before this submit I have done:
      IMPORT ls_header = ls_header FROM DATABASE.
      IMPORT iv_distr = iv_distr from DATA BUFFER.
      IMPORT lt_items = lt_items FROM DATA BUFFER.
    In program ZEMR0044 I do:
      IMPORT ls_header = ls_header FROM MEMORY ID 'ls_header'.
      IMPORT iv_distr = iv_distr from MEMORY ID 'iv_distr'.
      IMPORT lt_items = lt_items FROM MEMORY ID 'lt_items'.
    ---> Unfortunatly it doesn't work.
    If I do  SUBMIT zemr0044 AND RETURN it works fine.
    It seems that the data import doesn't works in background.
    How can I transfer data from my method to my program ?
    Program must be launched in background.
    Thanks guys.

    > Before this submit I have done:
    >
    >   IMPORT ls_header = ls_header FROM DATABASE.
    >   IMPORT iv_distr = iv_distr from DATA BUFFER.
    >   IMPORT lt_items = lt_items FROM DATA BUFFER.
    >
    > In program ZEMR0044 I do:
    >
    >   IMPORT ls_header = ls_header FROM MEMORY ID 'ls_header'.
    >   IMPORT iv_distr = iv_distr from MEMORY ID 'iv_distr'.
    >   IMPORT lt_items = lt_items FROM MEMORY ID 'lt_items'.
    Doesn't fit together...are you EXPORTING to MEMORY ID before the submit? This will store data in "ABAP memory" in the context of a user session. I strongly believe by submitting in background this context is lost.
    Check out all the other options of the IMPORT and EXPORT statements for alternatives like shared memory.
    Thomas

  • Import from memory from BADI

    Hi all,
    I have to export a value from a BADI to a Z program.
    In the Z program, it is found that the system code returns 4 and the value is not passed.
    In BADI:
    Data ans type c.
    EXPORT ans = ans TO MEMORY ID 'ANS'.
    In Z program:
    Data ans type c.
    IMPORT ans = ans FROM MEMORY ID 'ANS'.
    Any advice? Thanks!

    Hi,
    check out the purpose & how to use import export in below link wiki written by me.
    https://www.sdn.sap.com/irj/scn/wiki?path=/display/abap/passing%2bdata%2bfrom%2bone%2babap%2bprogram%2bto%2banother
    Thanks,
    Krishna

Maybe you are looking for

  • Logic 9.1.4 and Lion strangeness

    Hi all... After having my macpro for several years it was pretty loaded up with crap so I decide to wipe and install lion clean.  I succeeded in doing that and managed to get Logic 9.1.4 loaded, registered etc.  The only hassle I'm having is I use an

  • We get paid with cheques and organise specialised coloured aluminium. I can not rid my mac book pro or my IMac of the american spell checker.

    We get paid with cheques and organise, specialised coloured aluminium. I can not rid my apple devices, mac book pro, desktop IMac or IPhone of the american spell checker. Everything, Numbers and Pages et al, always default back to US English. To cap

  • Can NOT get mozilla fire fox browser to close

    I am changing over to Google Chrome and I went into my control Panel to delete Mozilla Fire Fox Browser and it Says that I must close the browser first. I HAVE IT CLOSED . I am trying to change browsers because My Adobe Flash Player CRASHED and I can

  • Have not yet found anything that remedies this problem in iMovie 5.0.2

    Ok- I have two .mov clips. (info: Dimensions: 320x240; Codecs: Photo-JPEG, µ-Law 2:1; Channel Count: 1) They were recorded using a still frame digital camera. They play perfectly fine in Quicktime. They are very long, however, and I'd like to edit th

  • Hard Drive appears dead

    My hard drive ( WD 1.5 TB) has apparently died.  When I start the computer I get nothing but the fans.  The hard drive does nothing.  I replaced the hard drive (HD 500GB)  and now need help installing the new drive and booting, and reloading the OS (