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.

Similar Messages

  • 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.

  • 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 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

  • 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.

  • 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

  • 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 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

  • 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

  • Why is draw table empty after i import from memory id 'SAP_APPLICATION' ?

    Hello,
    I have the following
    data draw like draw.
    data intdraz like draz occurs 0 with header line.
    import draw
              intdraz
    from memory id 'SAP_APPICATION'
    at this point draw table is empty and does not contain the information of the selected file, so basically
    draw-DOKAR
    draw-DOKNR
    draw-DOKTL
    draw-DOKVR
    are all empty.
    does anyone know why this is happening ?
    thank you

    Hi Rushikesh,
    Dynamic table i have created with same structure as of internal table which is getting exported....
    thats why i m surprised how come structure mismatch.....i have checked in debugger, structure is same.....for both the tables,
    Can you/anyone give any example of Exporting internal table to MEMORY ID and getting it back (IMPORT) into dynamic internal table of same structure...
    Regards
    Munish Garg
    Edited by: MunishGarg on Feb 16, 2010 11:36 AM

  • Import from memory based Canon Vixia HF10

    Hi all...been using my Canon HD camera with iMovie with relatively few problems.
    What strikes me as odd is when I click "Import from Camera" it never recognizes the camera. Sometimes it imports, sometimes it doesn't or at least doesn't notify me it is importing. Anyone know anything else about this?

    Im curious, how did you fix this issue? Previously iMovie 08 found my HF100 and I could import my clips, but now it just wont recognize the camera. Camera is on, powered, and everything is correct. I got a disk on my desktop named NO NAME which contains all the clips, but iMovie does not recognize.

Maybe you are looking for