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

Help on Memory Id

Former Member
0 Likes
536

Hi friends,

I need to pass a value to Memory id in my user exit

FORM USEREXIT_PRICING_PREPARE_TKOMP.

and i need to get these values in my pricing routine

RV62A624.

i don't know about memory id, can anybody tell me about this ? any sample codes will be helpfull for me .

Thanks & Regards,

Joseph

4 REPLIES 4
Read only

Former Member
0 Likes
493

Hi,

Its as simple as this

EXPORT VARIABLE TO MEOMORY ID 'ABC'.

Now where ever you want to access this

IMPORT VARIABLE FROM MEOMORY ID 'ABC'.

The declarations of VARIABLE in both the places should be exactly same.

Regards,

Ravi

Note :Please mark the helpful answers

Read only

0 Likes
493

Hi Ravi,

Thanks yhar,

how to declare the memory id ?

should i declare in both places ?

Can i use it in my function module to export data to Memory id and imjport data from User exit ?

please clear this also.

Thanks & Regards,

Joseph

Read only

0 Likes
493

You don't have to declare the memory id.

The variable you are exporting and importing should be declared at both places.

Yes you can export it in function and import it in user exit.

Regards,

Ravi

Note :Please close the thread if the issue is resolved.

Read only

Former Member
0 Likes
493

Hi,

Check this thread, here you can see the example..

Regards

vijay