‎2008 Mar 12 1:23 PM
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
‎2008 Mar 12 1:27 PM
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
‎2008 Mar 12 1:27 PM
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
‎2008 Mar 12 1:31 PM
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
‎2008 Mar 12 1:31 PM
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
‎2008 Mar 12 1:31 PM
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'.