‎2006 Sep 08 11:51 AM
import i_chge[] from database indx(ar) id v_id.
export i_chge[] from database indx(ar) id v_id.
i want exact meaning of the these two statements....
‎2006 Sep 08 11:53 AM
Basically the above statements are used to pass data between two programs.
You pass the data to indx database in the calling prg using EXPORT statement and can read it in the called program via IMPORT.
Also, please note that the table structure should be same in both the abaps.
‎2006 Sep 08 11:56 AM
Export fields of an internal table to the database table INDX : vise versa for import
‎2006 Sep 08 11:57 AM
Hi,
export internal table memory using databade index
import internal table from memory .
internal table length and type should be same in
export and import and also they are active in same
LUW.
Regards
Amole
‎2006 Sep 08 11:58 AM
import and export are basically use for communication between to entities.
Here data is imported and exported with db index and this we can refer from memory ID .The structure of importing and exporting internal table must be same.
‎2006 Sep 08 11:58 AM
Hi silpa,
1. This kind of import export
comes into picture
when CLUSTER tables are involved.
2. since data is stored in encoded/raw format
in cluster tables,
we cannot directly use select.
3. Hence, such IMPORT comes into picture,
which appropriately reads the table,
converts the data in the required format,
and provides back to us in the internal table.
regards,
amit m.