Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

ABAP Code

Former Member
0 Kudos
84

Hi ALL,

Can you please tell where actually the abap code will be stored when we create a new program and save it.

Regards,

Dinesh.

5 REPLIES 5

Former Member
0 Kudos
61

HI,

STORED IN 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.

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.

BELOW is the code to send internal table to abap memory

This code is from which program you want to export to the ABAP memory:

export ist_resb to memory id 'ZPPC0122_FD'.

where ist_resb is the internal table name &

ZPPC0122_FD is the include name of my program ZPPC0122.

This code is from which program you want to import from the ABAP memory

import *ist_resb *= ist_resb from memory id 'ZPPC0122_FD'.

where ist_resb This internal table is the importing program internal table.

ist_resb This internal table is the exporting program internal table.

********PLEASE REWARD POINTS IF THE INFORMATION IS HELPFUL TO YOU***********

Former Member
0 Kudos
61

i dont know, but you could do a SQL-trace using TA ST05.

Former Member
0 Kudos
61

<b>TRDIR</b>

Former Member
0 Kudos
61

Hi,

All the reports ( including Zreports ) are stored in the system table

TRDIR.

Regards

Bala

Former Member
0 Kudos
61

Hi

Check table TRDIR

Reward all helpfull answers

Regards

Pavan