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

Export to memory id

Former Member
0 Likes
576

hi,

my requirment is that i use the check-box in main program but i need this check-box value in some other include program how to get this check-box value in other program.

please advice

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
548

hi,

Just make use of export and import statements ...

i.e,


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

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

Regards,

Santosh

4 REPLIES 4
Read only

Former Member
0 Likes
549

hi,

Just make use of export and import statements ...

i.e,


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

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

Regards,

Santosh

Read only

rahulkavuri
Active Contributor
0 Likes
548
EXPORT EXCH TO MEMORY ID 'EXCH'.

EXCH is the value I have captured and exporting and note that

Memory ID should always be in CAPITAL letters

Read only

Former Member
0 Likes
548

Hi,

If the include program is there with in the main program then declare that check box in TOP include or Globally, then the check box value will be avialble for entire program

Regards

Sudheer

Read only

Former Member
0 Likes
548

in ur program write as

EXPORT p_val TO DATABASE indx(ar) CLIENT sy-mandt ID 'ZCRREV'.

in another program wrie as...

IMPORT p_val FROM DATABASE indx(ar) CLIENT sy-mandt ID 'ZCRPROP'.

after the p_val is been used for data purpose u need to delete the value from database.

DELETE FROM DATABASE indx(ar) CLIENT sy-mandt ID 'ZCRPROP'.