Application Development 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: 

Prgoram to send Bex query result to a TXT file

Former Member
0 Kudos

Hello Friends,

I am new to Abap. I have little knowledge of ABAP prgramming. So i am taking your help. I need sample code for a program. This program when executed , should in turn exceute a Bex query already created on an infocube and should send this query result into a TXT file. Abap version is 4.6c

the query is created in BW3.0 on an infocube.

I need some sample code as to how to achieve this.

All your ideas/suggestions on this are welcome.

Thanks a lot for your help

1 REPLY 1

athavanraja
Active Contributor
0 Kudos

use HTTP_GET functionmodule to execute the BWQUERY URL , this will return the content in to internal table which you can store it in local file.

you can also use FM <b>WEBQUERY</b> for this purpose.

Regards

Raja