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

how to download SQ01 query output in XML format ?

nh11
Explorer
0 Kudos
555

Hello Team,

I got a requirement to add a option to a SAP query to download it in XML format. is this possible?

Thanks & regards,

Namdev

4 REPLIES 4

RAHEEL_BABAR
Active Contributor
503

Hi,

Refer this link How to Download and Upload SAP Queries

Regards

0 Kudos
503

Hi Raheel,

My requirement is to download output of a query in XML format.

Regards,

Namdev

RaymondGiuseppi
Active Contributor
0 Kudos
503
  1. You can display the query in ALV grid
  2. SAP provided a class to wrap ALV grid prevent display and and get displayed data in an internal table
  3. Most abapers know how to convert an internal table to xml

So answer is yes you can, just do it.

mkabel
Participant
0 Kudos
503

Hi,

maybe you can create a odata service for your query? The normal SGEW services provide the results also in XML.

Kind regards

Matthias