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: 

Help on Memory Id

Former Member
0 Kudos

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

Former Member
0 Kudos

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

0 Kudos

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

0 Kudos

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.

former_member188685
Active Contributor
0 Kudos

Hi,

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

Regards

vijay