Import memory id

Hi i need to import memory ID
weather i need to declare the same structure for importing the memory id or same structure with different names
because i am downloading the memory ID from a query report
if i declare the same structure in the programe it is not accepting the structure it is saying uniocode check is active ...
the how to use import memory id from the memory with same structure different names

*"Table declarations...................................................
TABLES:
  SPFLI.                               " Flight Data
*"Selection Screen Elements............................................
SELECT-OPTIONS:
  S_CARRID FOR SPFLI-CARRID.           " Carrier ID
*" Data declarations...................................................
Work variables                                                      *
DATA:
   BEGIN OF FS_SPFLI,
     CARRID    TYPE SPFLI-CARRID,      " Carrier ID
     CONNID    TYPE SPFLI-CONNID,      " Flight Connection ID
     COUNTRYFR TYPE SPFLI-COUNTRYFR,   " Country From
     CITYFROM  TYPE SPFLI-CITYFROM,    " City from
     AIRPFROM  TYPE SPFLI-AIRPFROM,    " Airport from
     COUNTRYTO TYPE SPFLI-COUNTRYTO,   " Destination
     CITYTO    TYPE SPFLI-CITYTO,      " Cityto
     AIRPTO    TYPE SPFLI-AIRPTO,      " Airport to
     FLTIME    TYPE SPFLI-FLTIME,      " Flight Time
  END OF FS_SPFLI.
DATA:
  W_CHECKBOX TYPE C.                   " Checkbox.
Internal table to hold Flight data                                  *
DATA:
  T_SPFLI LIKE
STANDARD TABLE
       OF FS_SPFLI.
                      START-OF-SELECTION EVENT                      *
START-OF-SELECTION.
  PERFORM SPFLI_SELECTION.
                      END-OF-SELECTION EVENT                        *
END-OF-SELECTION.
  SET PF-STATUS 'FLIGHT'.
  PERFORM DISPLAY.
                      AT USER COMMAND                               *
AT USER-COMMAND.
  CASE SY-UCOMM.
    WHEN 'DISPLAY'.
      PERFORM SELECTION.
  ENDCASE.
*&      Form  SPFLI_SELECTION
      Subroutine to select records from SPFLI
      No interface parameters available
FORM SPFLI_SELECTION .
  SELECT CARRID                        " Carrier ID
         CONNID                        " Flight Connection ID
         COUNTRYFR                     " Country From
         CITYFROM                      " City From
         AIRPFROM                      " Airport From
         COUNTRYTO                     " Country to
         CITYTO                        " City to
         AIRPTO                        " Airport To
         FLTIME                        " Flight Time
    INTO TABLE T_SPFLI
    FROM SPFLI
   WHERE CARRID IN S_CARRID.
  IF SY-SUBRC EQ 0.
  ENDIF.
ENDFORM.                               " SPFLI_SELECTION
*&      Form  DISPLAY
      Subroutine to Display the records
      No interface parameters available
FORM DISPLAY .
  IF SY-SUBRC EQ 0.
    LOOP AT T_SPFLI INTO FS_SPFLI.
      WRITE:
        /  W_CHECKBOX AS CHECKBOX,
            FS_SPFLI-CARRID,
            FS_SPFLI-CONNID,
            FS_SPFLI-COUNTRYFR,
            FS_SPFLI-CITYFROM,
            FS_SPFLI-AIRPFROM,
            FS_SPFLI-COUNTRYTO,
            FS_SPFLI-CITYTO,
            FS_SPFLI-AIRPTO,
            FS_SPFLI-FLTIME.
    ENDLOOP.
  ELSE.
    WRITE: 'No Records Found'(001).
  ENDIF.
ENDFORM.                             " DISPLAY
*&      Form  SELECTION
      Subroutine to select data from different table
      No Interface parameters Available
FORM SELECTION .
*" Data declarations...................................................
Work variables                                                      *
  DATA:
    LW_LINE TYPE I,                    " Line Count
    LW_LNO  TYPE I VALUE '3'.          " Line Number
  DATA:
    BEGIN OF LFS_SPFLI,
      CARRID LIKE SPFLI-CARRID,
      CONNID LIKE SPFLI-CONNID,
    END OF LFS_SPFLI.
Internal table to hold SPFLI data                                   *
  DATA:
    LT_SPFLI LIKE
    STANDARD TABLE
          OF LFS_SPFLI.
  DESCRIBE TABLE T_SPFLI LINES LW_LINE.
  DO LW_LINE TIMES.
    READ LINE LW_LNO FIELD VALUE W_CHECKBOX INTO W_CHECKBOX
                            FS_SPFLI-CARRID INTO FS_SPFLI-CARRID
                            FS_SPFLI-CONNID INTO FS_SPFLI-CONNID.
    IF SY-SUBRC EQ 0.
      IF W_CHECKBOX = 'X'.
        LFS_SPFLI-CARRID = FS_SPFLI-CARRID.
        LFS_SPFLI-CONNID = FS_SPFLI-CONNID.
        APPEND LFS_SPFLI TO LT_SPFLI.
      ENDIF.
    ENDIF.
    ADD 1 TO LW_LNO.
  ENDDO.                               " DO LW_LINE TIMES
  EXPORT LT_SPFLI FROM LT_SPFLI TO MEMORY ID 'ZMEMORY'.
  SUBMIT Z_TEST.                  " Calling another report
ENDFORM.                               " SELECTION
<b>Now in the other Report with name Z_TEST</b>.
*" Data declarations...................................................
Work variables                                                      *
DATA:
  BEGIN OF FS_SPFLI,
    CARRID    TYPE SPFLI-CARRID,       " Carrier ID
    CONNID    TYPE SPFLI-CONNID,       " Flight Connection ID
  END OF FS_SPFLI.
Internal table to hold SPFLI data                                   *
DATA:
  T_SPFLI LIKE
STANDARD TABLE
       OF FS_SPFLI.
*" Data declarations...................................................
Work variables                                                      *
DATA:
  BEGIN OF FS_SFLIGHT,
    CARRID   TYPE SFLIGHT-CARRID,      " Carrier ID
    CONNID   TYPE SFLIGHT-CONNID,      " Flight Connection ID
    FLDATE   TYPE SFLIGHT-FLDATE,      " Flight Date
    PRICE    TYPE SFLIGHT-PRICE,       " Price
    CURRENCY TYPE SFLIGHT-CURRENCY,    " Currency
  END OF FS_SFLIGHT.
Internal table to hold SFLIGHT data                                 *
DATA:
  T_SFLIGHT LIKE
   STANDARD TABLE
         OF FS_SFLIGHT.
IMPORT LT_SPFLI TO T_SPFLI FROM MEMORY ID 'ZMEMORY'.
                                       " Importing the records
IF NOT T_SPFLI[] IS INITIAL.
  SELECT CARRID                        " Carrier ID
         CONNID                        " Flight Connection ID
         FLDATE                        " Flight Date
         PRICE                         " Price
         CURRENCY                      " Currency
    INTO TABLE T_SFLIGHT
    FROM SFLIGHT
     FOR ALL ENTRIES IN T_SPFLI
   WHERE CARRID = T_SPFLI-CARRID AND
         CONNID = T_SPFLI-CONNID.
  IF SY-SUBRC EQ 0.
    LOOP AT T_SFLIGHT INTO FS_SFLIGHT.
      WRITE:
        / FS_SFLIGHT-CARRID,
          FS_SFLIGHT-CONNID,
          FS_SFLIGHT-FLDATE,
          FS_SFLIGHT-PRICE CURRENCY FS_SFLIGHT-CURRENCY,
          FS_SFLIGHT-CURRENCY.
    ENDLOOP.
  ELSE.
    WRITE: 'No Records Found'(001).
  ENDIF.
ELSE.
  WRITE: 'No Records Selected'(002).
ENDIF.
Regards,
Pavan

Similar Messages

  • RFC function module with call transaction  and Import memory ID

    Hi,
    I am calling RFC function module from R/3 which exists in BW.
    In BW stand alone function module works fine.
    When I am Calling from R/3 it is not working,
    Can you tell me is it because of the below code, And suggest if any corrections required.
    I am calling the call transaction and using EXPORT memory iD inside the program
    and IMPORT in after that.
    And populating RFC table's table  " p_i_tcode_user" finally.
    set parameter id 'TCD' field p_tcode.
    call transaction 'Z_BW_RSUSR002' AND SKIP FIRST SCREEN.
      ENDIF.
    get the final user data from submitted program
    import gt_users_complete from memory id tcode_userid.
    LOOP AT gt_users_complete.
          lwa_tcode_user-tcode =  p_tcode.
          lwa_tcode_user-uname = gt_users_complete-Bname.
          APPEND lwa_tcode_user TO p_i_tcode_user.
    ENDLOOP.
    Thanks,
    Veerendra.

    HI,
       Can you just exaplin it clearly plz..
    Thanks
    Mahesh

  • XML Metadata import - Memory Problem

    I am trying to import metadata through "extras->XML Import\Export"  Option giving the path to XML file (file:D:\RSAD_C07.xml). It has parsed the file and saved some objects but half-way it stopped with the error that I pasted below. It’s an 8GB RAM server and we are not running any other processed. CPU utilization is around 15%. I am not able to understand why this is happening. Please advise me on what to do.
    ERROR DETAILS
    Memory low. Leave the transaction before taking a break!
    Message no. 00072
    Diagnosis
    The memory on your application server is running low.
    System Response
    You are exclusively using one of the few work processes running on the application server. So that this does not hinder the other users too much, the work process is released if you do not work with it for a few minutes. The system terminates the transaction, causing you to lose data that you previously entered.
    Procedure
    Continue to work as normal and exit the transaction before you take a long break.

    Hi Ankush,
    i am not too familiar with the XML part, but anyway this does not appear to be the problem. What i understand is that you are using a frontend dialog process for uploading the XML stuff. in this case it actually does not matter how much RAM you have installed in total, because the single dialog work process has only a fraction of total RAM assigned as working memory. hence my recommendation is to cut the XML file into smaller packets for import.
    maybe you can tell us details once you are successfully done with the case?
    THX & regards,
    Harry

  • EXPORT & IMPORT Memory ID

    Hi experts.
    I have a strange problem:
    Within the PI-Sheet I get a serial number and activate a FM that has the following command:
    EXPORT LWA_SERIAL-SERIALNO TO MEMORY ID 'SER'.
    (LWA_SERIAL-SERIALNO has the requested value).
    At the end of the process I activate a FM that has the command IMPORT LV_SERNR FROM MEMORY ID 'SER'.
    For some reason field LV_SERNR doesn't get the value and sy-subrc equal 4.
    Both LWA_SERIAL-SERIALNO  and LV_SERNR  are the same type (GERNR).
    Does anyone know why's that ???
    Thanks in advance,
    Rebeka

    Hi,
    The problem is not a strange problem... its a common problem if the variable names are different during EXPORT and IMPORT.
    To get the value from memory id it is a must that both have the same name as well as the same type and also of the same length.. so that is why you could export the value to memory... but during retrieving the value from the memory the above mentioned are the prerequisites.
    In you case Both LWA_SERIAL-SERIALNO and LV_SERNR should be of same type (GERNR) and should be of the same variable name.
    Replace the variable name during export or import.. so as you are using the table field during export declared that while importing as declared during exporting.
    Hope this would help you.
    Good luck
    Narin

  • Export/import memory ID in OO

    I tried to use the conventional way of EXPORT itab TO MEMORY ID 'itab' and
    IMPORT itab FROM MEMORY 'itab' but it is not working in object oriented environment. How to write the correct syntax in object oriented environment?
    Thanks

    Hi..
    Internal table with Header line is not Supported in ABAP OO.
    So it may be the reason why you are getting an error.
    Declare your ITAB without header line.
    Try the Same code.
    <b>reward if Helpful</b>

  • Export/Import memory

    Hi,
    what is the difference between Export/Import buffer
    and   Exp./Imp.SHM buffer
    regards,
    dev

    Hi Dev,
    This will be useful.
    Whenever a user session is created during any transactions, objects are created
    in memory. If another user is accessing the same object another copy is
    created in the memory - which means accessing objects is one copy per
    user per session (Session Memory).
    Until before SAP Application Server 6.40 these objects cannot accessed
    by other sessions or other programs. The concept of Shared Memory
    enables to access this memory if the object is not locked by that
    session. SAP Provides a class for accessing shared memories -
    CL_ABAP_MEMORY_AREA. Static methods are available in this class for
    binding a session to the memory area.
    What are the Advantages of Shared Memory?
    ~Data is kept only once in Memory.
    ~The Data will be in the memory as Memory Tables that reflect the
    structure of Database table.
    ~Fast access at Main Memory Speed.
    ~Saves Memory (Saves Approximately 3MB Per user per Session.
    More on Next Posting...
    http://groups.google.com/group/DEVS_SAP
    --Thanks and Regards,
    Ragu
    ERP,
    Suzlon Energy Limted, Pune
    +919370675797
    I have no limits for others sky is only a reason

  • EXPORT AND IMPORT MEMORY COMMAND

    Hi Experts,
      I AM FACING PROBLEM TO EXPORT VALUES FROM INTERNAL TABLE OF ONE TRANSACTION TO ANOTHER TRANSACTION AND IMPORT  THOSE INTERNAL TABLE DATA. HOW TO RESOLVE THE ISSUE.
    THANKS
    BalaNarasimman.

    Hi,
    Here are the documents which you can use for the syntax
    Export
    [http://www.s001.org/ABAP-Hlp/abapexport_data_cluster.htm]
    Import:-
    [http://www.sts.tu-harburg.de/teaching/sap_r3/ABAP4/import01.htm]

  • Important memory information for A64 owners

    I just found an interesting read at Anandtech comparing many 2-2-2-x timing RAM sticks against each other. Near the end of the article there was a mention of performance with Athlon64 based systems. It appears that many of the Samsung based memory chips(Corsair, Kingston, Mushkin) have difficulties with the Athlon64 and could cause some issues, especially past DDR433.
       It appears that the Micron memory chips are very good performers with the Athlon64. So if you are looking for memory for your new Athlon64 system, you should consider Crucial Ballistix or OCZ Enchanced Bandwidth memory.
       What caught my eye is that all testing for the Athlon64 was done on the MSI K8N Neo2 Platinum, so these results especially apply to us.
       Here is a link to the article:
    http://www.anandtech.com/memory/showdoc.aspx?i=2145&p=19

    Yep many to many folks had issues with Corsiar memory even with the K8T800 boards too. So it is the memory and not the boards. When I built my system clear back in the spring I saw all the issues with corsiar and decided on Kingmax instead. I have been happy and never had to look back and wonder. I would not touch Corsiar with a 10' pole.

  • Background jobs with IMPORTING data from memory

    Hi there, I am using FM's JOB_OPEN, SUBMIT job to Background and JOB_CLOSE to create a job in Background. I am EXPORTING two transparent tables to memory before submitting the job, in the submitted job i IMPORTING the two tables, but no data comes back. The structure of the 2 transparent table is exactly the same in both programs. If i omit the 'VIA JOB' parameter and debug the submitted program it works fine...please tel me what am i doing wrong or any info will help.
    Code is as follows:
           CALL FUNCTION 'JOB_OPEN'
              EXPORTING
                jobname          = name
              IMPORTING
                jobcount         = number
              EXCEPTIONS
                cant_create_job  = 1
                invalid_job_data = 2
                jobname_missing  = 3
                OTHERS           = 4.
            IF sy-subrc = 0.
              EXPORT ipost[] TO MEMORY ID 'ZIPOST'.
              EXPORT isadr3[] TO MEMORY ID 'ZISADR3'.
              EXPORT ierrgr[] TO MEMORY ID 'ZIERRGR'.
              SUBMIT zsad_invoice_subsequent_dt_bgb
                                  TO SAP-SPOOL
                                  SPOOL PARAMETERS params
                                  WITHOUT SPOOL DYNPRO
                                  USER sy-uname
                                  VIA JOB name NUMBER number
                                  AND RETURN.
              IF sy-subrc = 0.
                CALL FUNCTION 'JOB_CLOSE'
                  EXPORTING
                    jobcount             = number
                    jobname              = name
                    strtimmed            = 'X'
                  EXCEPTIONS
                    cant_start_immediate = 1
                    invalid_startdate    = 2
                    jobname_missing      = 3
                    job_close_failed     = 4
                    job_nosteps          = 5
                    job_notex            = 6
                    lock_failed          = 7
                    OTHERS               = 8.
                IF sy-subrc <> 0.
                  WRITE / 'Job did not close properly'.
                ENDIF.

    Hi Albert John,
    I am getting same problem here. Could you please let me know hoe did you resolve this issue.
    import memory is not working in background. please help me.
    I am waiting for your reply.
    Thanks
    Raghunath

  • Import/Export code using Memory ID in BO Method

    Hi experts,
    I am having a approver name and other relevant data in my report. I don't want to write the entire code I want to bring it into my BO method by using import/export memory id. Pl. guide me what should I do ? Is it possible or not?
    Thank you,
    Saquib

    I am a bit confused that what you are trying to achieve. In any case I think you can forget any export/import memory ID related solutions - they will not work!
    The workflow (or its step/task) is executing your BO method, right? You want this method to have some data when it gets executed? Normally you would want to populate the data to the workflow (or task) container, for example with function SAP_WAPI_WRITE_CONTAINER (you just need the work item ID). Then when this data is in the container, you can use it in your method (binding required).
    Somehow I feel that you looking a difficult solution for a simple problem. If you need some relevant data in your workflow, let the workflow to find it (add a new step to the workflow, and copy/paste the relevant part of the code of your report to this step). (Or try to give the data to the workflow already when it gets started, if possible). Don't try to mix things with some separate report, unless it is completely necessary, and if it is, then writing into the container is most likely the best approach.
    Regards,
    Karri

  • 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

  • How to find EXPORT MODE of MEMORY ID with ref to IMPORT  MODE of MEMORY ID

    HI ,Friends,Iam not able to find Export memory ID with ref to available IMPORT Memory ID in particular SD routine of a program.
    Plz let me know how to find Export Memory ID reference program with available import memeory ID as I need to do changes for exiting routine program done by somebody .

    As it's an SD routine probably the simplest way is to set a breakpoint on the keyword 'EXPORT' when you first enter the transaction.  May need to skip a few but eventually you will come across the correct one.  When you do find it I would also suggest placing a comment on the IMPORT statement to say where the value has come from for future reference.

  • Problem with BTE and FI-parking- no data from memory ID to ABAP

    Hi Experts,
    I have a scenario in Business Workflow where I want to catch the data(BKPF & BSEG) after SAP transaction processing - event is to change parked FI-document with FBV2. I´m trying to use BTE to receive the data after processing transaction.
    All BTE steps seems to be activated - because I can debug my functions when processing FBV2 - but I cannot reach any data into my coding after processing.
    I have created my project in BF24:
    ZXXX Testing: WF-memory ID
    I have also linked few FI-events to my BTE interface funtion in BF34:
    00001130 ZXXX ZXXX_FIPP_CHANGE_BTE
    00002213 ZXXX ZXXX_FIPP_CHANGE_BTE
    00002217 ZXXX ZXXX_FIPP_CHANGE_BTE
    My BTE function ZXXX_FIPP_CHANGE_BTE is as following:
    DATA: memid(15) VALUE 'ZXXX_2217'.
    *Initialize
    CLEAR: t_vbkpf,
    t_vbsegs.
    FREE MEMORY ID 'ZXXX_2217'.
    *Backtracking of BTE
    EXPORT t_vbkpf
    t_vbsegs
    TO MEMORY ID memid.
    ENDFUNCTION.
    I have also created funtion to call FBV2:
    data: memid(15) value 'ZXXX_2217'.
    CALL TRANSACTION 'FBV2'.
    *Import memory of BTE
    IMPORT t_vbkpf
    t_vbsegs
    FROM MEMORY ID memid.
    *Free memory id
    FREE MEMORY ID memid.  
    When I set a breakpoint to both of the functions and I execute FBV2 I reach the breakpoints. Problem is that the data is not passed from memid 'ZXXX_2217' into function after FBV2(this syntax: IMPORT t_vbkpf t_vbsegs FROM MEMORY ID memid.)
    What could be missing. So both functions are called but NO DATA is passed from memory ID to my internal tables? This seems to be a problem with memory ID´s. Also in my BTE function ZXXX_FIPP_CHANGE_BTE I receive a sy-subrc value 4 when executing syntax "FREE MEMORY ID 'ZXXX_2217'. ".
    All hints appreciated,
    Jani

    Hi Ramki,
    I must be frustrating You with these stupid questions... You have already supported me hugely to get more famailiar with BTE. For example not to commit in BTE etc. Big thanks for that!
    In all cases when I have tested my project in BF24 has been always active; and yes I have changed the pre. posted document always to trigger the BTE.
    I still have a problem. I copied all customizing and coding into other system - with same dissapointing results. Let me describe this once more:
    <b>My entry in BF24:</b>
    <i>Product:                 ZBE
    Text:                       Jani testing
    RFC destination:
    Active:   </i>               X
    <b>My entry in BF34:</b>
    <i>Event:                   00002214
    Product:                    ZBE
    Ctr:
    Appl:
    Function module:            ZBE_BTE</i>
    <b>My BTE function:</b>
    <i>  DATA: memid(15) VALUE 'ZBE_BTE2214'.
      DATA: t_vbkpf LIKE fvbkpf OCCURS 0 WITH HEADER LINE.
      FREE MEMORY ID memid.
      EXPORT t_vbkpf TO MEMORY ID memid.</i>
    <b>And the function ZBE_BTE_EXECUTE where I call FBV2:</b>
    <i>  DATA: memid(15) VALUE 'ZBE_BTE2214'.
      DATA: t_vbkpf LIKE fvbkpf OCCURS 0 WITH HEADER LINE.
      CALL TRANSACTION 'FBV2'.
      IMPORT t_vbkpf FROM MEMORY ID memid.
      FREE MEMORY ID memid.</i>
    When I process my function ZBE_BTE_EXECUTE - and I have added a breakpoint into ZBE_BTE - for FBV2 call <b>it does not reach the breakpoint</b> in ZBE_BTE at all! This occurs when using event linkage 00002214! And I do execute a real change to parked document.
    But if I change the entry in BF34 to be linked for event 00002217 or 00002218 process reaches my breakpoint in BTE function ZBE_BTE! But in these cases also, it does not import the data after transaction call in function ZBE_BTE_EXECUTE. When I continue debugging the coding in BTE function ZBE_BTE further into SAP-coding, I can see that my internal table t_vbkpf is filled. But when I leave SAP-coding when FBV2 is completed and return to ZBE_BTE_EXECUTE - where t_vbkpf should be filled from memory id - t_vbkpf is empty!
    Again as a conclusion in this system:
    For BTE event 00002214 this locig does not work at all. For events 00002217 and 00002218 it does get activated, but does not bring any data from memory ID into my abap. Strangest this is that I use absolutely same kind of coding that You.
    Can You see if I have to fill those empty fields( Ctr. & Appl.) in my BF34 customizing? Or is some other customizing action missing?
    Br,
    Jani

  • SHARED MEMORY AND DATABASE MEMORY giving problem.

    Hello Friends,
    I am facing problem with EXPORT MEMORY and IMPORT MEMORY.
    I have developed one program which will EXPORT the internal table and some variables to the memory.This program will call another program via background job. IMPORT memory used in another program to get the first program data.
    This IMPORT command is working perfect in foreground. But  it is not working in background.
    So, I have reviewed couple of forums and I tried both SHARED MEMORY AND DATABASE MEMORY.  But no use. Still background is giving problem.
    When I remove VIA JOB  parameter in the SUBMIT statement it is working. But i need to execute this program in background via background job. Please help me . what should I do?
    pls find the below code of mine.
    option1
    EXPORT TAB = ITAB
           TO DATABASE indx(Z1)
                FROM   w_indx
                CLIENT sy-mandt
                ID     'XYZ'.
    option2
    EXPORT ITAB   FROM ITAB
      TO SHARED MEMORY indx(Z1)
      FROM w_indx
      CLIENT sy-mandt
      ID 'XYZ'.
       SUBMIT   ZPROG2   TO SAP-SPOOL
                      SPOOL PARAMETERS print_parameters
                       WITHOUT SPOOL DYNPRO
          *_VIA JOB name NUMBER number*_
                       AND RETURN.
    ===
    Hope every bidy understood the problem.
    my sincere request is ... pls post only relavent answer. do not post dummy answer for points.
    Thanks
    Raghu

    Hi.
    You can not exchange data between your programs using ABAP memory, because this memory is shared between objects within the same internal session.
    When you call your report using VIA JOB, a new session is created.
    Instead of using EXPORT and IMPORT to memory, put both programs into the same Function Group, and use global data objects of the _TOP include to exchange data.
    Another option, is to use SPA/GPA parameters (SET PARAMETER ID / GET PARAMETER ID), because SAP memory it is available between all open sessions. Of course, it depends on wich type of data you want to export.
    Hope it was helpful,
    Kind regards.
    F.S.A.

  • Export and import in alv grid

    Hi all,
            I am going thru a code in oops alv where when i click in any of the record in the output list then it shuld go to a transaction where it shuld dump all the field values with respect to the clicked field.
    frnds i have used EXPORT AND IMPORT memory concept to get my thing done but i m facing problem.
    please help what can be done to come up with a solution.
    if needed i will provide my codes.
    Thanks,
    satya

    Hi,
    Use the get_selected_rows or get_selected_field Methods
    Thanks,
    Muthu.

Maybe you are looking for