2007 Apr 01 7:13 PM
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..
2007 Apr 01 7:32 PM
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
2007 Apr 01 7:40 PM
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
2007 Apr 01 8:23 PM
Hi
Instead of creating a Custom table, try using the Application server to copy your contents and rad them back in the next transaction.
2007 Apr 01 8:58 PM
2007 Apr 02 12:28 AM
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