I have this requirement to fetch data from the database table (EKKO, EKPO, etc.)
and download it to an IDOC XML file.
I have already gathered the data into an internal table but i have no idea how to create
an idoc file and download it to XML.
Please give me a site or a step by step procedure.
i would really appreciate your help.