cancel
Showing results for 
Search instead for 
Did you mean: 

ALV and XML

Former Member
0 Kudos

Hi Experts,

I have some data in ALV table. In ALV besides "PRINT VERSION" button there is one button "EXPORT"

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Vishal,

Whats your exact requirement?

If you want to convert the ALV content to XML format menas you can use the method to_xml of the class IF_WD_CONTEXT_NODE.

Thanks.

Former Member
0 Kudos

As the return variable in this method is of type STRING.

It does not return all the fields in one row of ALV .

And it converts only first line of ALV. If I have 10 lines in ALV how can i capture all of 10 lines.

Do u have any sample code?

Regards,

Vishal.