Application Development and Automation 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: 
Read only

Transfer internal table to SAP memory

Former Member
0 Likes
1,134

Hi , is there ny way to transfer contents of an internal table to SAP memory....

I am not talking about EXPORT internal table to ABAP Memory......

I want contents to be transfered to SAP memory..

Hi , is there ny way to transfer contents of an internal table to SAP memory....

I am not talking about EXPORT internal table to ABAP Memory......

I want contents to be transfered to SAP memory..

5 REPLIES 5
Read only

Former Member
0 Likes
821

Hi,

No you can not pass internal table to SAP Memory. The only statements used to pass / retrieved variables to/from SAP Memory are SET PARAMETER / GET PARAMETER. These parameter ids defined in table TPARA. You can create your custom PARAMETER ID.

As you have mentioned in your post, you can transfer the content of internal table to ABAP memory using EXPORT command.

Let me know if you need any other information.

Regards,

RS

Read only

0 Likes
821

Hi RS,

abt EXPORT internal table Im aware......

nd using SET/GET parameter Id i can pass only a single value to SAP memory...

my requirement is I want to transfer internal table contents to SAP memory so that I can access those values in a different transaction........

one way is create a custom table....populate custom table from proggram A nd read those values in program B.....

But is there ny better method

Read only

0 Likes
821

Hi

Instead of creating a Custom table, try using the Application server to copy your contents and rad them back in the next transaction.

Read only

0 Likes
821

Hi Sarath,

How to do that ???

could u plz explain me

Read only

0 Likes
821

Hi,

You can store file on Application server using statement '<b>TRANSFER</b>'. Later on you can read the same file using statement <b>'READ DATASET'</b>.

You create / open the file to read using command 'OPEN DATASET'. Once you read/write file, you close the file using 'CLOSE DATASET'.

Please refer to this link for more information regarding storing file on application server.

http://help.sap.com/saphelp_46c/helpdata/en/fc/eb3c7f358411d1829f0000e829fbfe/frameset.htm

<b>Again, it is not possible to store table in SAP memory</b>. The only command available to store data in SAP memory is SET / GET PARAMETER. You can only store parameters defined in table TPARA.

Let me know if you need any other information.

Regards,

RS