04-30-2009 1:12 PM
Hi I am using a BDC in an exit but the data is getting cleared in the Exit and after every perform bdcdata the values of the bdc data gets cleared . Pls advise on how to use BDCDATA in an exit
04-30-2009 1:14 PM
04-30-2009 1:17 PM
Hi,
Debug the entire coding part. Find is there any commands like Refresh or Clear in Code.
04-30-2009 1:19 PM
Hi ,
look whether BDCDATA is there in export parameter is in exit..
else try to use the Export BDC data to memory in exit..
and IMPORT BDC data from memory in where you want to use the BDC data..
export BDCDATA to memory id 'BDCDATA'.
Import BDCDATA from memory id 'BDCDATA'.
ot
EXPORT messtab FROM messtab TO MEMORY ID para.
IMPORT messtab TO messtab FROM MEMORY ID para.
Regards,
Prabhudas
04-30-2009 1:38 PM
it is just updating the value of the last perform in the memory id i.e its overwriting the othervalues in the memory id
04-30-2009 1:46 PM
it will overwrite the values in the memory id with these statements... instead you will have to append the entries in the table first and then export the internal table to the memory id.....
or in the form where you are exporting the bdc data to the memory id...... write this code....
" populate values in bdcdata...
import BDCDATA[] from memory ID 'BDCDATA'.
append bdcdata.
export BDCDATA[] to memory id 'BDCDATA'.
Regards,
Siddarth
05-01-2009 9:23 AM
Import and Export solved the issue and I can get the data now in BDCDATA table