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: 

I want to create a new Memory ID

Former Member
0 Kudos

Hi,

I want to create a new Memory ID.

I want to use this id to transport the value from one program to another program using SAP Memory.

Thanks/Regards,

Abhijit

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

Memory ID refers to the use of ABAP Memory which is specific to an external session(window). When you have multiple sessions open, each of the concurrent sessions(windows) has it's own ABAP Memory.

ABAP Memory can thus, only be used to share data between internal sessions, that is programs/transactions that have been called by other programs/transactions in the same external session(window).

ABAP memory is cleared(and correspondingly all Memory IDs), when the session is deleted(window is closed), not when the transaction ends. The only exception to this rule when a transaction ends through the use of

LEAVE TO TRANSACTION

which is when the entire external session is flushed and the ABAP Memory is cleared.

Check out this example ot ABAP memory .

http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb3bde358411d1829f0000e829fbfe/content.htm

<b>Reward points if useful</b>

Regards

Ashu

5 REPLIES 5

Former Member
0 Kudos

Hi,

Memory ID refers to the use of ABAP Memory which is specific to an external session(window). When you have multiple sessions open, each of the concurrent sessions(windows) has it's own ABAP Memory.

ABAP Memory can thus, only be used to share data between internal sessions, that is programs/transactions that have been called by other programs/transactions in the same external session(window).

ABAP memory is cleared(and correspondingly all Memory IDs), when the session is deleted(window is closed), not when the transaction ends. The only exception to this rule when a transaction ends through the use of

LEAVE TO TRANSACTION

which is when the entire external session is flushed and the ABAP Memory is cleared.

Check out this example ot ABAP memory .

http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb3bde358411d1829f0000e829fbfe/content.htm

<b>Reward points if useful</b>

Regards

Ashu

Former Member
0 Kudos

Hi,

1 . goto transaction SM30 for <b>table tpara</b> and create your new parameter.

2 . you can go to SE80, Other object button -> More... tab -> SET/GET parameter ID.

Enter a name and press the create button.

former_member404244
Active Contributor
0 Kudos

Hi,

Goto to transaction CODE SM30 and enter tpara and create your new parameter.

Regards,

Nagaraj

Former Member
0 Kudos

go to sm30, give tpara as the table name. you can add the parameter id in tpara. Then you can use it as the parameter id.

Former Member
0 Kudos

You can use SET/GET parameter while programming.

Regards,

Reema.