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

Memory ID

Former Member
0 Likes
929

Hi Guys,

How do I know where a particular memory id is being filled in case if it is being filled outside a program?

5 REPLIES 5
Read only

Former Member
Read only

Former Member
0 Likes
861

Hi,

Check with this table.............

SDOKSTCA SDOK: Physical information object memory c

SDOKSTCAT SDOK: Descriptions of memory categories

TCGSGP EHS: Search parameter (reproduction from S

TMEMO User-specific memory

TSH01 Name texts for shared memory segments

TSHM0 Name texts for shared memory segments

Read only

former_member761936
Active Participant
0 Likes
861

>

> Hi Guys,

>

>

> How do I know where a particular memory id is being filled in case if it is being filled outside a program?

Hi,

memory id can be maintained in User profile.

Goto system->userprofile->owndata.

in that Parameters tqab you can assign memory id for that particular users.

Read only

Former Member
0 Likes
861

HI,

Reading Data Objects from Memory

To read data objects from ABAP memory into an ABAP program, use the following statement:

Syntax

IMPORT <f1> [TO <g 1>] <f 2> [TO <g 2>] ... FROM MEMORY ID <key>.

This statement reads the data objects specified in the list from a cluster in memory. If you do not use the TO <g i > option, the data object <f i > in memory is assigned to the data object in the program with the same name. If you do use the option, the data object <f i > is read from memory into the field <g i >. The name <key> identifies the cluster in memory. It may be up to 32 characters long.

You do not have to read all of the objects stored under a particular name <key>. You can restrict the number of objects by specifying their names. If the memory does not contain any objects under the name <key>, SY-SUBRC is set to 4. If, on the other hand, there is a data cluster in memory with the name <key>, SY-SUBRC is always 0, regardless of whether it contained the data object <f i >. If the cluster does not contain the data object <f i >, the target field remains unchanged.

In this statement, the system does not check whether the structure of the object in memory is compatible with the structure into which you are reading it. The data is transported bit by bit. If the structures are incompatible, the data in the target field may be incorrect.

Regards,

jayan.

Read only

Former Member
0 Likes
861

Hi,

This statement reads the data objects specified in the list from a cluster in memory. If you do not use the TO <g i > option, the data object <f i > in memory is assigned to the data object in the program with the same name. If you do use the option, the data object <f i > is read from memory into the field <g i >. The name <key> identifies the cluster in memory. It may be up to 32 characters long.

You do not have to read all of the objects stored under a particular name <key>. You can restrict the number of objects by specifying their names. If the memory does not contain any objects under the name <key>, SY-SUBRC is set to 4. If, on the other hand, there is a data cluster in memory with the name <key>, SY-SUBRC is always 0, regardless of whether it contained the data object <f i >. If the cluster does not contain the data object <f i >, the target field remains unchanged.

In this statement, the system does not check whether the structure of the object in memory is compatible with the structure into which you are reading it. The data is transported bit by bit. If the structures are incompatible, the data in the target field may be incorrect.

Thanks & Regards,

Mani