SAP details:     Events  -  News -   Training  -  World wide sites  -  Sap Labs   -   SAP Magazine  -   SAP Screen saver -   Stock Price

Download ABAP source code

Program name  Program function  Author Date Added 
Z_IMPORT_EXPORT_to_memory
Version: 3.0 & above
IMPORT / EXPORT values to memory 
Module: FI
   
 

REPORT Z_IMPORT_EXPORT_to_memory  NO STANDARD PAGE HEADING.
DATA: BEGIN OF TAB2 OCCURS 0 ,
                KEY(10),
                LINE(72),
            END OF TAB2.
DATA: BEGIN OF TAB OCCURS 0,
               LINE(72),
            END OF TAB.
DATA: ID(60) VALUE 'MUSTEREDIT'.

TABLES: INDX.
PARAMETERS: KEY(10).

IMPORT TAB2 FROM DATABASE INDX(SA) ID ID.

LOOP AT TAB2 WHERE KEY EQ KEY.
          MOVE TAB2-LINE TO TAB.
          APPEND TAB.
ENDLOOP.

EXPORT TAB TO MEMORY.

 

 

 

 
 









   
 
PlanetSAP.com

Home     Post a article   Suggestion   Contact  

Disclaimer    Copyright; 1998-2001 Softron Systems, Inc. All rights reserved.